|
Page 1 of 1
|
Dragon36
Joined: July 2012
Posts: 32
|
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
|
#1 Sun 02 Sep, 2012 20:53 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#2 Sun 02 Sep, 2012 21:34 |
|
Dragon36
Joined: July 2012
Posts: 32
|
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. 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
|
#3 Sun 02 Sep, 2012 21:59 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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:
$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:
// 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?¿?)
|
#4 Sun 02 Sep, 2012 22:31 |
|
Dragon36
Joined: July 2012
Posts: 32
|
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
|
#5 Sun 02 Sep, 2012 22:44 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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:
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:
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;
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?¿?)
|
#6 Sun 02 Sep, 2012 23:00 |
|
Dragon36
Joined: July 2012
Posts: 32
|
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)
|
#7 Mon 03 Sep, 2012 00:06 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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
$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?¿?)
|
#8 Mon 03 Sep, 2012 00:34 |
|
Dragon36
Joined: July 2012
Posts: 32
|
Re: A Little Help Please :)
Will keep an eye on it but so far so good
|
#9 Mon 03 Sep, 2012 01:08 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
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
|
#10 Mon 03 Sep, 2012 17:16 |
|
Joshua203
Joshua 203
Dutch A Go Go
Joined: August 2008
Posts: 1754
Location: Earth, Europe, the Netherlands, Rotterdam
|
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?¿?)
|
#11 Mon 03 Sep, 2012 17:20 |
|
Dragon36
Joined: July 2012
Posts: 32
|
Re: [SOLVED] A Little Help Please :)
Sorry guys note taken
|
#12 Mon 03 Sep, 2012 20:45 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
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
|
#13 Sun 09 Sep, 2012 21:11 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|