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)

S3Ponline 07-16-2011 06:24 AM

BOP, awesome mod. I’m just wondering if we can reorder them. I would like to put google plus first :(

Iain M 07-16-2011 07:41 AM

Cheers BOP!

How about an option to show it on FORUMDISPLAY?

Also, anyone else getting "The page at http://xn--ivga/ could not be reached." when clicking the fb send button?

BirdOPrey5 07-16-2011 08:49 AM

1 Attachment(s)
Quote:

Originally Posted by S3Ponline
Love this mod however for some reason on my static style the Like button goes WAY FAR OUT LEFT

http://www.personalitynation.com/ana...-overview.html

EDIT: I went with it in it?s default location. It looks great!

However, there?s an issue with it on Chrome and Firefox for fixed styles.

Thanks!

This is what I see from your link in Chrome, FF, and IE:
https://vborg.vbsupport.ru/attachmen...1&d=1310808806

That is the expected look. The Facebook button is over to the left because it needs to leave room for the count box once you start getting likes. This is a limitation from facebook, they do not allow the button to by dynamically resized based on count- it always takes the max width whether it needs it or not.

Quote:

Originally Posted by ExcelFox (Post 2221092)
BOP, thanks a lot for this mod. I think this is going to be a great add-on. Keep up the excellent work....

Thank You :)

Quote:

Originally Posted by ExcelFox (Post 2221093)
Please let us know when you could upgrade it for 4.1.5 Beta

You should definitely try it for yourself. 1 report of 1 problem from 1 person doesn't mean it doesn't work on 4.1.5 beta- there is no way of knowing what might be causing his or her issue.

Quote:

Originally Posted by Mukashi (Post 2221095)
Getting a similar error to that reported above, on 4.1.3

Code:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97


This makes it even less likely 4.1.5 is the problem. Can you please give me a link to your forum?

Quote:

Originally Posted by S3Ponline (Post 2221102)
BOP, awesome mod. I?m just wondering if we can reorder them. I would like to put google plus first :(

You can edit the template more_share_options and move the Google Code above the Facebook Code. However I don't recommend this- I spent A LOT of time A LOT making custom spacing to make these buttons look as good as possible depending which ones were enabled and which aren't- and moving them around will break these customizations.

Give me a little bit, I'll release a "virgin" template with no spacing customization and you can edit that more easily. Once you have it setup how you want it will be easy to make a couple of spacing adjustments unique to your site.

Quote:

Originally Posted by Iain M (Post 2221121)
Cheers BOP!

How about an option to show it on FORUMDISPLAY?

Also, anyone else getting "The page at http://xn--ivga/ could not be reached." when clicking the fb send button?

I will put FORUMDISPLAY on the list as a future possible share location. Is the URL http://xn--ivga/ related to your site somehow? :confused: Please give me a link to a thread on your site.

Do you have the Facebook App ID entered in Facebook Options?

Iain M 07-16-2011 08:58 AM

Thanks. Nope that URL isn't anything to do with my site, I even searched the database, and templates with no results.

I have my Facebook App ID entered into the Facebook Options, and my Facebook Connect is working fine, so it's an odd one =/

BirdOPrey5 07-16-2011 08:59 AM

1 Attachment(s)
For anyone/everyone getting the invalid character errors please do this:

Go to your Admin CP -> Maintenance -> View PHP Info

Then paste here your PHP Version AND copy and paste the text in the "Configure Command" box- Something like:

PHP Version 5.2.14

Code:

'./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr/local' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--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-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pic' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'
This is what your "View PHP Info" will look like:

https://vborg.vbsupport.ru/attachmen...1&d=1310810287

BirdOPrey5 07-16-2011 09:00 AM

Quote:

Originally Posted by Iain M (Post 2221130)
Thanks. Nope that URL isn't anything to do with my site, I even searched the database, and templates with no results.

I have my Facebook App ID entered into the Facebook Options, and my Facebook Connect is working fine, so it's an odd one =/

Link to your site?

Iain M 07-16-2011 09:08 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2221132)
Link to your site?

sent in PM

BirdOPrey5 07-16-2011 09:11 AM

Quote:

Originally Posted by BaanFarsang (Post 2221060)
Errors on vbulletin suite 4.1.5 Beta 1
Code:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_core.php(4490) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_core.php(4490) : eval()'d code on line 97


Quote:

Originally Posted by Mukashi (Post 2221095)
Getting a similar error to that reported above, on 4.1.3

Code:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97


Anyone getting this error please do the following:

In Admin CP -> Plugin Manager:
Find the plugin: Add Share Options to Templates and disable it.

Please let me know if you still get the error- My guess is the errors go away.

You can safely disable this plugin and will only lose functionality on forumhome, albums, and pictures. IF this works I can give instructions on how to manually edit those templates. (Just paste in 1 line)

If you still get the error please also check your FORUMHOME share option- make sure it's NOT "What's Going On" box- this is the only other code I can conceive would be causing the error.

Please let me know if either of the above help.:up:

BirdOPrey5 07-16-2011 09:48 AM

Quote:

Originally Posted by Iain M (Post 2221121)
Cheers BOP!

How about an option to show it on FORUMDISPLAY?

Also, anyone else getting "The page at http://xn--ivga/ could not be reached." when clicking the fb send button?

I see this is a bug present when people have turned off "Force Standard URL" option.

I will fix it in the next update.

For now if you have turned off "Force Standard URL" and want to use the Send button then make the following manual template edit:

Edit the template: more_share_options

Find the line:
Code:

<fb:send href=?{vb:raw bophref}? font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>
And replace it with:
Code:

<fb:send  font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>

BaanFarsang 07-16-2011 09:53 AM

Disable of Add Share Options to Templates and still warning too.


All times are GMT. The time now is 09:34 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.01920 seconds
  • Memory Usage 1,765KB
  • 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
  • (6)bbcode_code_printable
  • (11)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