Hey guys
Ok I have now done a fresh install of Icy2 :mryellow: 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 :)
SOLVED Help Request: Signature In Previous Posts, Video Size, Posts Like
Subject: 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
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
Subject: Re: A Little Help Please :)
Sorry if I'm not making sense :roll: And thanks for such a speedy reply Joshua :mryellow:
Joshua203 wrote: [View Post]
Sorry if I'm not making sense :roll: And thanks for such a speedy reply Joshua :mryellow:
Subject: 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:
and this should be the new:
I would trust MG's edits rather than blindly change it back :LOL:
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:
$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);
$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:
// 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);
// 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 :LOL:
Subject: 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 :D
PS Now I'm on Icy2 I will try and use the custom bbcode for my text :mryellow: so get ready for another post LOL
Thanks again m8 :v:
Can't thank you enough Joshua for your help :D
PS Now I'm on Icy2 I will try and use the custom bbcode for my text :mryellow: so get ready for another post LOL
Thanks again m8 :v:
Subject: 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:
new:
old:
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';
{
$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:
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;
{
$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;
:
Subject: Re: A Little Help Please :)
Got it :mryellow: I deleted the // 16/9 YouTube width and height: 640x385 and changed all the video's to 425x350 and its worked a treat :mryellow:
Thanks Joshua (again)
Thanks Joshua (again)
Subject: 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
But like I said you should really make sure if this is smart to do!
You're welcome anyway :wink:
i 'ld start by only changing
$width = in_array($width, $width_array) ? $width : 640;
$height = in_array($height, $height_array) ? $height : 385;
$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 :wink:
Subject: 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
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
Subject: Re: A Little Help Please :)
I agree Spydie, you could n't have known that I already requested this in PM :mryellow:
Subject: 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.
Topic title edited.
Page 1 of 1
You cannot post new topicsYou 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
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.0801s (PHP: 25% SQL: 75%)
SQL queries: 10 - Debug Off - GZIP Enabled