Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Help Request: Signature In Previous Posts, Video Size, Posts Like 
 
Hey guys

Ok I have now done a fresh install of Icy2   though have a few questions/problems and hoping someone can help with. I have gone through search function but no joy.

1st We seem to have a problem with the Check here to attach your signature to your previous posts as well In the user CP  It's just not doing it even though a tick has been placed in the box and then hit submit got to see if its worked and nothing go back to settings and tick has gone ?

2nd Question, is there anyway to resize a youtube video that is posted?

3rd Question, should we be seeing anything/anywhere when someone clicks the like button on a post? (I have it turned on in each forum and in ACP)

Thanks for any help, feel free to yell at me if I have done this wrong  
 



 
Dragon36Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
1. It's normal  that that "tick" will disapear after submit, however it should attach a new or update the old sig to posts posted before the sig-change

2. What exactly do you mean ..do you want to have a bigger youtube screen in the posts or do you want users to have a button for full size viewing?

3. It should change to You like this post • Unlike • Share, it's facebook related
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Joshua203 wrote: [View Post]
1. It's normal  that that "tick" will disapear after submit, however it should attach a new or update the old sig to posts posted before the sig-change. Hmmm thats not happening but not to worry

2. What exactly do you mean ..do you want to have a bigger youtube screen in the posts or do you want users to have a button for full size viewing? On the older version of icy the video's posted were smaller like a square and now they are bigger like rectangle I was wondering if I could make them like that again

3. It should change to You like this post • Unlike • Share, it's facebook related. Hmmm thats not doing anything at all


Sorry if I'm not making sense   And thanks for such a speedy reply Joshua  
 



 
Dragon36Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Well point 1 and 3 ... for me both seem to work, so it may be best to make some separate topics about these.

About point 2:

I think you should really make sure you know why it was changed before changing it back.
But in includes/bbcode.php this is the old code:
Code: [Download] [Hide] [Select]
                $default_width = ((($tag === 'youtube') || ($tag === 'googlevideo')) ? '425' : '320');
                $width = (isset($item['params']['width']) ? intval($item['params']['width']) : $default_width);
                $width = ((($width > 10) && ($width < 641)) ? $width : $default_width);

                $default_width = ((($tag === 'youtube') || ($tag === 'googlevideo')) ? '350' : '240');
                $height = (isset($item['params']['height']) ? intval($item['params']['height']) : $default_height);
                $height = ((($height > 10) && ($height < 481)) ? $height : $default_height);


and this should be the new:
Code: [Download] [Hide] [Select]
                // 4/3 YouTube width and height: 425x350
                // 16/9 YouTube width and height: 640x385
                $default_width = ((($tag === 'vimeo') || ($tag === 'youtube') || ($tag === 'googlevideo')) ? 640 : 320);
                $width = (isset($item['params']['width']) ? intval($item['params']['width']) : $default_width);
                $width = ((($width > 10) && ($width < 641)) ? $width : $default_width);

                $default_height = ((($tag === 'vimeo') || ($tag === 'youtube') || ($tag === 'googlevideo')) ? 385 : 240);
                $height = (isset($item['params']['height']) ? intval($item['params']['height']) : $default_height);
                $height = ((($height > 10) && ($height < 481)) ? $height : $default_height);


I would trust MG's edits rather than blindly change it back  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Ok will check out the code for the video's and make another post about the like feature (maybe I need to be signed into facebook for it to work)

Can't thank you enough Joshua for your help  

PS Now I'm on Icy2 I will try and use the custom bbcode for my text   so get ready for another post LOL

Thanks again m8  
 



 
Dragon36Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Sorry but this time I'm in doubt about the codes i posted earlier, this next part should be more important    

old:
Code: [Download] [Hide] [Select]
                elseif ($tag === 'youtube')
                {
                    $color_append = '';
                    if ($color_1 || $color_1)
                    {
                        $color_append .= ($color_1 ? ('&color1=0x' . str_replace('#', '', $color_1)) : '');
                        $color_append .= ($color_2 ? ('&color2=0x' . str_replace('#', '', $color_2)) : '');
                    }

                    $width = in_array($width, $width_array) ? $width : '425';
                    $height = in_array($height, $height_array) ? $height : '350';


new:
Code: [Download] [Hide] [Select]
                elseif ($tag === 'youtube')
                {
                    $color_append = '';
                    if ($color_1 || $color_2)
                    {
                        $color_append .= ($color_1 ? ('&color1=0x' . str_replace('#', '', $color_1)) : '');
                        $color_append .= ($color_2 ? ('&color2=0x' . str_replace('#', '', $color_2)) : '');
                    }

                    $width = in_array($width, $width_array) ? $width : 640;
                    $height = in_array($height, $height_array) ? $height : 385;


 
Off Topic
:
Quote:
maybe I need to be signed into facebook for it to work

Well I have no Facebook account either but the text changes anyway (that doesn't mean it also works on facebook though)

 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Got it    I deleted the // 16/9 YouTube width and height: 640x385 and changed all the video's to 425x350 and its worked a treat  

Thanks Joshua (again)
 



 
Dragon36Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
// 16/9 YouTube width and height: 640x385  is just an info line (it's commented out (//)

i 'ld start by only changing
Code: [Download] [Hide] [Select]
$width = in_array($width, $width_array) ? $width : 640;
 $height = in_array($height, $height_array) ? $height : 385;


But like I said you should really make sure if this is smart to do!

You're welcome anyway  
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
Will keep an eye on it but so far so good  
 



 
Dragon36Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] A Little Help Please :) 
 
Dragon36

May i ask you, to put explicit Post titles, and not " A little help Please".

Something like " Profile problem" or similar

Because it´s a bit confusing the way you post.

Before one views the post, where´s no way to know, what it is about
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: A Little Help Please :) 
 
I agree Spydie, you could n't have known that I already requested this in PM
 




____________
www.DutchaGoGo.com (development/under construction ...Forever?¿?)
 
Joshua203Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] A Little Help Please :) 
 
Sorry guys note taken  
 



 
Dragon36Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] A Little Help Please :) 
 
About Video size it's quite tricky... I tried to list some common size to avoid unwanted stretching... you should pay attention when playing with non-standard size.

Topic title edited.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events