Social icons twitter & facebook URLs STRIPPED OUT

Gamebox for Joomla 1.5 support forum by GavickPro
GK User
Wed Aug 11, 2010 11:53 am
Social icons twitter & facebook URL in template Parameters no matter witch way I type the URL IE:
Code: Select all
http://www.facebook.com/USERNAME
https://www.facebook.com/USERNAME
www.facebook.com/USERNAME
http://facebook.com/USERNAME
facebook.com/USERNAME
/USERNAME

I get URLs like this:
Code: Select all
http://prohydrosupply.com/www.facebook.comprohydrosupply

ALSO MISSING THE / BETWEEN .com & prohydrosupply NOT A TYPO and the site URL is attached.

If I use https
then it will take the site URL off but the / between .com and my user name gets stripped out.

Am I missing something?

Thank you

Ron
User avatar
Junior Boarder

GK User
Wed Aug 11, 2010 2:10 pm
Yes, you're right. To fix it please in file layouts/blocks/botsl.php replace social-icons container with:
Code: Select all
   <div id="social-icons">
      <a href="<?php echo $this->_tpl->params->get('social_twitter','#'); ?>" class="socialicon" id="social_twitter">Twitter</a>
      <a href="<?php echo $this->_tpl->params->get('social_facebook','#'); ?>" class="socialicon" id="social_facebook">Facebook</a>
      <a href="<?php echo $this->_tpl->params->get('social_email','#'); ?>" class="socialicon" id="social_email">E-mail</a>
      <a href="<?php echo $this->_tpl->params->get('social_rss','#'); ?>" class="socialicon" id="social_rss">RSS</a>
   </div>


thanks for the feedback :)
User avatar
Administrator

GK User
Sat Aug 14, 2010 7:54 am
Thnak you. Great work by the way.
User avatar
Junior Boarder

GK User
Sat Aug 14, 2010 8:43 am
Thank you solved
User avatar
Junior Boarder

GK User
Fri Feb 04, 2011 1:07 am
Hello there

How to configure to only facebook and email icon to a appear
User avatar
Fresh Boarder

GK User
Sat Feb 05, 2011 1:06 am
Using Black and White template have the same problem but the fix above does not work?

Please help....
User avatar
Fresh Boarder


cron