vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons (https://vborg.vbsupport.ru/showthread.php?t=266159)

BirdOPrey5 03-26-2012 12:01 PM

ahhh... hmmm... try ths:

Code:

$template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><img src="images/misc/konata4.gif" alt="" style="float:left; margin: 3px 10px 3px 3px" /><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div style="padding-left: 10px;">'. $moreshare . '</div></div>';
How does that work?

If it doesn't, try changing "padding-left" to "margin-left"

Emeralda 03-26-2012 01:03 PM

Neither padding or margin worked: http://prntscr.com/7fcho

BirdOPrey5 03-26-2012 01:24 PM

Try padding-left again but this time with "70px" as the value.

I am playing with fitebug on your site and it looks like it needs to be that big to have an effect.

If it still doesn't work a dirtier way will be to edit the more_share_options template.

Add this code:
Code:

<vb:if condition="THIS_SCRIPT=='index'"><td width="20">&nbsp;</td></vb:if>
Directly after the existing line:
Code:

<vb:if condition="THIS_SCRIPT=='member'"><td width="20">&nbsp;</td></vb:if>

Emeralda 03-26-2012 02:36 PM

Padding 110px did the job nicely, thanks~

http://prntscr.com/7ffqj

speedy5489 03-28-2012 02:50 AM

Downloaded the mod, uploaded everything to my server and got the mod installed. facebook connect button is appearing, but linking back to my site. Can't get the like buttons to appear anywhere. It's all set to "yes" in both the facebook options and the mods options.

I believe I'm having trouble with getting the facebook ID. I went through the process to get my ID and secret and entered them under the facebook option, but that's where I'm hitting a wall. What kind of setting up do I need to do on heroku to get this to work?

BirdOPrey5 03-28-2012 04:12 PM

Was the original VB Facebook Button showing in the threads before you installed this mod?

If you're not sure, disable this mod and see. The original button must show before this will work.

Make sure your forums and threads are visible to guests as well, since vbulletin won't show the code if they aren't.

If everything else is working, please post a link to a thread so I can see what is going on.

Termure 03-30-2012 09:39 AM

hello there,

i have vers 4.0.3 and i got this error.

Fatal error: Call to undefined function get_fbcanonicalurl() in /home/***/public_html/forums/includes/class_bootstrap.php(384) : eval()'d code on line 34

what can cause this, i entered api's and secret ids and set bop5 up too.

thanks

BirdOPrey5 03-30-2012 12:23 PM

The lowest version I tested this on was 4.0.8- by the error you got I'd say it's likely the mod just isn't compatible with 4.0.3. No one should be running 4.0.3 anyway. I would strongly suggest you upgrade.

iCrazy 03-31-2012 01:18 PM

I cannot see buttons in threads and forums (only on index). I'm on 4.1.11

predpriemach 04-05-2012 11:46 AM

Today mod start making strange conflict with my facebook conect ???

My facebook conect button not showing when epage load... when i disable the mod facebook conect button apear normaly


All times are GMT. The time now is 08:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02049 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete