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)

8thos 07-23-2011 02:14 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2223772)
Thank you for your report. Unfortunately I can't reproduce the problem so I don't have any suggestions at this time. I will keep a look-out should I find more info on the problem.



I don't use the media library so I'm not sure how it would fit in, if at all. I'd imagine it would require you to manually modify a template to add {vb:raw more_share_options} to the template and then a custom plugin to register the share template to the media library template(s).

As for setting an image you should be able to set an image for your facebook application and it should use that if you have your app-id set in facebook settings.

My Facebook App Image seems to be broken. I'll figure it out thanks!

onegawd 07-23-2011 03:09 AM

Quote:

Originally Posted by yahooooh (Post 2223677)
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared

I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225

Mukashi 07-24-2011 12:56 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2221363)
Thanks for the info, I'm not 100% sure what the issue yet, althogh VBSEO seems like a good scape-goat. :D

I actually just noticed I left some debug code in causing all parts of the mod to be active at all times. I just fixed this and released version 2.25. Please try it when you get a chance- you will probably still get the error but maybe you can tell me if it's specific to 1 page this time? (Like just formhome, just theeads, just albums, just member profiles, etc...) or if you still get them on all pages.

Thanks.

I suggest everyone upgrade to 2.25 as it should have better performance with the debug code removed.

Okay, finally got a chance to update, let's see what we've got.

As soon as I turn the extension on, with all the other settings set to No or disabled, threads show me this. Just get a white page with this error, no thread loading whatsoever.

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 108

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

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 553


BirdOPrey5 07-24-2011 01:01 PM

Quote:

Originally Posted by onegawd (Post 2223778)
I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225

Quote:

Originally Posted by yahooooh (Post 2223677)
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared

Could you guys try turning Auto Template Edits OFF (No) and see if anything changes?

Quote:

Originally Posted by Mukashi (Post 2224131)
Okay, finally got a chance to update, let's see what we've got.

As soon as I turn the extension on, with all the other settings set to No or disabled, threads show me this. Just get a white page with this error, no thread loading whatsoever.

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 108

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

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php(4465) : eval()'d code:108) in [path]/vbseo/includes/functions_vbseo_url.php on line 553


You said everything was already off, but if yo left auto template edits on please try again with them off.

Also if everyone could confirm WHAT PAGES do you get these errors on?
ALL?
Threads?
Blogs?
Forumhome?

etc... Please would help in debugging these issues.

onegawd 07-24-2011 04:32 PM

Same issue.

So I uninstalled the plugin, downloaded again with a different browser, installed, and enabled with auto template updates off. No go, same issue.

As well, what I just noticed, is if I edit the template files with the one that was posted earlier, I hit save, and it looks like it saves. But when I go back and check, nothing has changed.

BirdOPrey5 07-24-2011 07:34 PM

Quote:

Originally Posted by onegawd (Post 2224391)
Same issue.

So I uninstalled the plugin, downloaded again with a different browser, installed, and enabled with auto template updates off. No go, same issue.

As well, what I just noticed, is if I edit the template files with the one that was posted earlier, I hit save, and it looks like it saves. But when I go back and check, nothing has changed.

OK I found your problem- it is likely the problem everyone has been having.

Somehow in the code for the Facebook Send button I used a funky quote character instead of the normal quote character ("). Probably a copy and paste issue.

To fix your issue edit the XML product file... look for the line:

Code:

<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>
Replace all the " quotes in red with a normal " quote.

You might not see a difference in the shape of the quote depending on the font you are using but trust me they are different characters.

The funky quote isn't valid on some systems.

I will fix the quotes in the next release, due out very soon, if you don't want to manually edit yourself.

Once you make the changes re-import the product, it should work.

The new version I am pleased to announce will allow for asynchronous javascript loading of all buttons to improve page load performance.

onegawd 07-24-2011 08:21 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2224460)
OK I found your problem- it is likely the problem everyone has been having.

Somehow in the code for the Facebook Send button I used a funky quote character instead of the normal quote character ("). Probably a copy and paste issue.

To fix your issue edit the XML product file... look for the line:

Code:

<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>
Replace all the " quotes in red with a normal " quote.

You might not see a difference in the shape of the quote depending on the font you are using but trust me they are different characters.

The funky quote isn't valid on some systems.

I will fix the quotes in the next release, due out very soon, if you don't want to manually edit yourself.

Once you make the changes re-import the product, it should work.

The new version I am pleased to announce will allow for asynchronous javascript loading of all buttons to improve page load performance.

Nice, thanks. That seems to have solved 1 issue. I can see the facebook like button now when the mod is enabled.

But I cant see any more buttons. My template file still is incomplete, and when I copy over the completed one and save, it processes like it's saving, but it remains the same.
Not sure if you have any ideas what's going on there.

BirdOPrey5 07-24-2011 08:26 PM

Maybe you need to "revert" the more_share_options template now. It might have saved over the old version.

Worst case uninstall the mod, then go to edit templates- if the more_share_options template still exists after uninstalling, manually delete it, then re-install.

onegawd 07-24-2011 08:38 PM

Weird.
I uninstalled the mod, deleted the template. then re-installed it. And the template is still messed up.
It cuts off at the exact same point every time and won't allow it to go passed that.

onegawd 07-24-2011 08:54 PM

Ok. Fixed it.
For the template, when I copied over the good one that was posted here. I replaced the same quotes in that file as you specified for the xml. Worked perfect. Thanks!


All times are GMT. The time now is 07:37 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.01829 seconds
  • Memory Usage 1,764KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_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