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)

hasidoo 06-23-2012 05:50 PM

Dear developer,
I'm having some compatibility issues with downloads II and 8wayrun media library mods.
The share buttons appear at the top of theses mod pages, but although someone clicks the like button, it is not getting the current page url (I mean it appears as if the person has liked the community). Can u kindly tell me a solution for this please..

Apart from that, this mod works fine and I simply love this

BirdOPrey5 06-24-2012 03:05 PM

Can I get a link to your community?

hasidoo 06-24-2012 03:40 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2342557)
Can I get a link to your community?

Surely. Check out this link.
http://www.zoom.lk/forums/media.php?do=details&mid=144

637 likes here represent the like for the community, not for this page.

I'm having the same issue here too.
http://www.zoom.lk/forums/downloads.php?do=file&id=185

BirdOPrey5 06-24-2012 04:46 PM

I have confirmed in your HTML source code the correct URL is being supplied to the Facebook Like button on all pages.

However Facebook itself reports a "Redirect Error" when access your site's pages:
https://developers.facebook.com/tool...rums%2Ffaq.php

If you scroll down that page near the bottom you will see it it being redirected to your forum homepage.

I don't know how or why that is happening, you may have something in your .htaccess file or something setup on your server that does this- it is not normal vBulletin behavior.

hasidoo 06-24-2012 04:58 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2342579)
I have confirmed in your HTML source code the correct URL is being supplied to the Facebook Like button on all pages.

However Facebook itself reports a "Redirect Error" when access your site's pages:
https://developers.facebook.com/tool...rums%2Ffaq.php

If you scroll down that page near the bottom you will see it it being redirected to your forum homepage.

I don't know how or why that is happening, you may have something in your .htaccess file or something setup on your server that does this- it is not normal vBulletin behavior.

whom should I contact regarding this issue? Thank you very much for the quick response.

BirdOPrey5 06-24-2012 05:03 PM

I really don't know... I doubt Facebook has staff to answer these questions. Do you have any kind of custom htaccess file? I was hoping the link above would have reminded you about something you setup that may be interfering.

I can't really think of any reason Facebook's spider is getting a 301 redirect when regular users do not except for a custom setting in htaccess or the server.

You may see if your host has an answer but I doubt they will.

hasidoo 06-25-2012 11:43 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2342584)
I really don't know... I doubt Facebook has staff to answer these questions. Do you have any kind of custom htaccess file? I was hoping the link above would have reminded you about something you setup that may be interfering.

I can't really think of any reason Facebook's spider is getting a 301 redirect when regular users do not except for a custom setting in htaccess or the server.

You may see if your host has an answer but I doubt they will.

I have an htaccess file. At the top of that file,there are these lines.
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml

I'm sorry if I asked you something wrong. I've no idea what to do.:(

BirdOPrey5 06-25-2012 06:02 PM

You didn't ask anything wrong, I just have no idea what to do to fix it. If I ever figure it out I will post here.

charlesr 07-01-2012 03:20 PM

What are the admin options for this please? Can you specify only on CMS for example? (Sorry if earlier in thread).

BirdOPrey5 07-01-2012 04:06 PM

In the first post is a link to the full admin options:
http://www.qapla.com/mods/ss/msotng_admincp_free.jpg

Basically it is enabled by default on ALL pages. You can specify THIS_SCRIPT values to disable on specific pages.

If you ONLY wanted it on the CMS it would probably be easier to follow the instructions for the manual template edit and simply put the code inside a template conditional- such as:

Code:

<vb:if condition="THIS_SCRIPT=='vbcms'">
{vb:raw more_share_tng}
</vb:if>

So it only appears on the CMS and you don't have to enter 20 different THIS_SCRIPT values to literally disable them on every other page.


All times are GMT. The time now is 08:41 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.02154 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (3)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