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 07-16-2011 09:56 AM

Quote:

Originally Posted by BaanFarsang (Post 2221144)
Disable of Add Share Options to Templates and still warning too.

Thanks. Please let me know what your "FORUMHOME" location is set to. Please turn it off on FORUMHOME and test again.

Thank You.

sweetpotato 07-16-2011 10:01 AM

Have syntax error:
Quote:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/content/25/6973325/html/includes/class_core.php(4464) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/content/25/6973325/html/includes/class_core.php(4464) : eval()'d code on line 97

BirdOPrey5 07-16-2011 10:08 AM

Quote:

Originally Posted by sweetpotato (Post 2221147)
Have syntax error:

Please see posts #95 and #98.
Also I need to know your vBulletin version and a link to your forum.

BirdOPrey5 07-16-2011 11:02 AM

1 Attachment(s)
Attached is a copy of a "virgin" template- it has very minimal custom spacing edits.

Use this template if you want to customize the order of the various share buttons.

Each share button is between START and END code comments such as:

HTML Code:

<!-- Google+1 START -->

<vb:if condition="$bopgoog">
<td>
<div>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="medium" style="width:70px;" count="<vb:if condition="$bopgoog == 2">false<vb:else />true</vb:if>" href="{vb:raw bophref}"></g:plusone>
</div>
</td>
<vb:if condition="$bopgoog == 2"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Google+1 END -->

That is the Google +1 block. You should copy and move all of it above any other block(s) you want to change the order.

Most share code blocks are small and simple but some like Facebook Like and AddThis are very long and complicated. Make sure you moved the ENTIRE block when changing orders, from the START to the END tags. Do not edit parts of the template marked "Do Not Edit."

Going forward I will include this template file in the zip file of the mod but for version 2.20 it was not included.

You open the text file and copy the entire code into your more_share_options template on any style(s) you want.

BaanFarsang 07-16-2011 11:31 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2221145)
Thanks. Please let me know what your "FORUMHOME" location is set to. Please turn it off on FORUMHOME and test again.

Thank You.

Same problems too, now I'm used v1.05 that have no effect to my members site.

Hakan39 07-16-2011 12:10 PM

Thanks

Mukashi 07-16-2011 12:33 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2221129)
This makes it even less likely 4.1.5 is the problem. Can you please give me a link to your forum?

http://bmgf.bulbagarden.net

Have currently disabled the addon, while we try and figure this out. Almost midnight here right now, will try your solution from here tomorrow.

PHP Version 5.2.9
Code:

'./configure' '--enable-bcmath' '--enable-calendar' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--without-pear'

BirdOPrey5 07-16-2011 03:41 PM

Quote:

Originally Posted by Mukashi (Post 2221187)
http://bmgf.bulbagarden.net

Have currently disabled the addon, while we try and figure this out. Almost midnight here right now, will try your solution from here tomorrow.

PHP Version 5.2.9
Code:

'./configure' '--enable-bcmath' '--enable-calendar' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-pic' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--without-pear'


Thanks.

I see your Facebook Like button is on the right but I thought they moved it to the left in 4.1.2. Did you do something to move it to the right or is that the default location in 4.1.3?

danswano 07-16-2011 04:02 PM

VB 4.3.1PL1

Recommend button is not working at Forumhome WOG box, when i hit it disappears for a moment then it comeback without any count made.

BirdOPrey5 07-16-2011 05:58 PM

Quote:

Originally Posted by danswano (Post 2221244)
VB 4.3.1PL1

Recommend button is not working at Forumhome WOG box, when i hit it disappears for a moment then it comeback without any count made.

Link to your forum?

When you say recommend doesn't work- have you tried Like?

Does it work in threads?


All times are GMT. The time now is 03:59 AM.

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.04926 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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