PDA

View Full Version : Miscellaneous Hacks - More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons


Pages : 1 2 [3] 4

thenamesgould
01-26-2012, 09:47 AM
Yes it does happen on your site too ... like I say, it doesn't stay there for my site (or your site), it's only while the page is loading, then it disappears ... so it's not a major problem. But anyway, I am using Firefox, the latest version. :)

BirdOPrey5
01-26-2012, 01:26 PM
Hmmm... I'm not seeing in on Chrome or IE (latest versions) I don't want to run the new FF because each release seems worse and worse- but if it's just loading I wouldn't think there is much I could do about it anyway. Thanks for the report though.

beatyourtruck
01-27-2012, 02:33 AM
Has anyone lost the Facebook icon? Upgraded to 4.1.9 when I THINK it went away? Running 2.51. Tried left and right alignment. No dice.

BirdOPrey5
01-27-2012, 03:51 PM
Has anyone lost the Facebook icon? Upgraded to 4.1.9 when I THINK it went away? Running 2.51. Tried left and right alignment. No dice.

If you disable the mod, does the Facebook button show?

sevak
02-03-2012, 10:59 AM
thanks

tidus78
02-10-2012, 08:44 AM
Is this mod compatible with v3Arcade?I have some problems with this....

http://www.console-planet.it/arcade.php

BirdOPrey5
02-10-2012, 08:21 PM
Is this mod compatible with v3Arcade?I have some problems with this....

http://www.console-planet.it/arcade.php

It shouldn't cause any problems, but it won't show up on arcade pages or games.

kiawah75
02-18-2012, 10:20 AM
I am using v 4.1.5

My site is here (http://www.smallbusinessforum.com/forum.php)

I received the following message when I clicked on like facebook:

The app ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your app to be a prefix of My domain

I tried looking at the settings and could not see where I would make a change. This has been running fine as far as I know for 6 months. Any help would be appreciated.

BirdOPrey5
02-18-2012, 11:24 AM
Facebook made changes on their side that broke Facebook Connect on all VB versions before VB 4.1.7. To use Facebook Connect you now need to upgrade to at least VB 4.1.7.

Mondi
02-20-2012, 10:59 PM
Hi all -

All seems to be working terrifically well, except for one little thing:

When 'Liking' or 'Sending' a post - directing to Facebook - the associated image isn't picked-up from the actual article but replaced with one that's taken from - I guess - somewhere else..

See pics..

Anyway to change this?

Thanks -

Mondi

Winter Sonata
02-21-2012, 04:26 AM
Yes, same problem as Mondi indicated, using 4.1.10 default theme.

Disabled for now

BirdOPrey5
02-21-2012, 10:59 AM
For everything Facebook does right they don't pick images very well.

If you have Facebook Connect setup you can add an image for your "app" in the developer's page for the app and that image should be used.

If you don't have Facebook Connect enabled/setup then you can manually add this line line to your headinclude template.

<meta property="og:image" content="http://www.youursite.com/images/myimage.jpg" />

Where of course you replace the URL with your own URL to an image.

Unfortunately this image won't vary by thread, it will have to be the same image for all your likes- I personally use a forum logo.

Note- changes will not be immediate- facebook stores a cache of your page so it may take several days for changes to appear on a page that has already been "liked." Try it on a brand new page/thread to make sure it is working.

LuDawgs
02-24-2012, 10:34 PM
I was wondering if someone might be able to help me. I have a few forums where this isn't showing up and I can't figure out way. Can BOP offer any guidance? Thanks!

BirdOPrey5
02-24-2012, 11:48 PM
I was wondering if someone might be able to help me. I have a few forums where this isn't showing up and I can't figure out way. Can BOP offer any guidance? Thanks!

As of vb 4.1.8 if the forums aren't visible to the public the Facebook Like button (and by extension this mod) won't show. Theory is not to share content the public can't see.

LuDawgs
02-25-2012, 11:51 AM
Ahhhh....make sense. Any way to override that?

BirdOPrey5
02-25-2012, 05:12 PM
Not that I've figured out yet.

Noerenberg
02-28-2012, 12:52 PM
Hi,

i have the vB 4.1.10 and my Forum is www.das-grosse-tierforum.de

Is it possible to change the englisch text in german on the FB button?

BlueCheri
02-28-2012, 01:11 PM
Joe can it be done like attached image (it is on DP forum)

G!

Noerenberg
02-28-2012, 01:25 PM
We dont like the counter, we looking for the text just in german.

Be the first of your friends to like this.

This one in german, i was looking in the code for
en_EN

then for me i need it de_DE

so FB give automaticly german language

BirdOPrey5
02-28-2012, 02:16 PM
Joe can it be done like attached image (it is on DP forum)



G!

There is an option to do the "box count" on Facebook Like if that is what you mean. If you mean make the bar look exactly like it does on Digital Point you'd have to manually edit the template I suppose to get it how you want.

We dont like the counter, we looking for the text just in german.

Be the first of your friends to like this.

This one in german, i was looking in the code for
en_EN

then for me i need it de_DE

so FB give automaticly german language

Edit the "more_share_options" template- look for: en_US and change it to your language.

However that code is really only used in older VB4 versions. Newer VB4 versions this should be set by the forum itself. If this mod is disabled is your LIKE button in English or German?

Noerenberg
02-28-2012, 02:31 PM
Great, now it is in german,

When the Mod is disable, then the FB Button is in German

BirdOPrey5
02-28-2012, 02:58 PM
Glad it worked. :up:

New Joe
02-28-2012, 03:09 PM
Hi,

i have the vB 4.1.10 and my Forum is www.das-grosse-tierforum.de

Is it possible to change the englisch text in german on the FB button?
I get this error on your url


Warning: require(INDEX_SCRIPT) [function.require]: failed to open stream: No such file or directory in /kunden/329916_13127/das-grosse-tierforum/index.php on line 17

Fatal error: require() [function.require]: Failed opening required 'INDEX_SCRIPT' (include_path='.:/usr/local/lib/php') in /kunden/329916_13127/das-grosse-tierforum/index.php on line 17

BirdOPrey5
02-29-2012, 02:48 PM
Updated to version 2.61

Bugfix only - Fixed a bug where a required file include would fail depending on your forum directory structure. Upgrade only necessary if you were getting errors before.

BlueCheri
02-29-2012, 04:14 PM
Updated, thanx Joe.

Working fine.

G!

BaanFarsang
03-01-2012, 02:14 AM
+1 button errors

I got this image: https://ssl.gstatic.com/s2/oz/images/stars/po/SRP/p1err2.gif

BirdOPrey5
03-01-2012, 11:11 AM
+1 button errors

I got this image: https://ssl.gstatic.com/s2/oz/images/stars/po/SRP/p1err2.gif

I will need a link to a thread (or whatever page is giving the error.)

cdoyle
03-02-2012, 02:48 AM
Just installed and looks to work great.
Just wondering, is there anyway to add the buttons to VBGarage pages too?

I would love for users to 'like' and 'plus one' users cars.

BirdOPrey5
03-02-2012, 11:13 AM
There is no way to add this to additional pages at this time without a lot of additional programming.

I am working on an options that will allow it to run on any page but it's taking longer than expected. I will try and speed it up.

BaanFarsang
03-02-2012, 11:43 AM
I will need a link to a thread (or whatever page is giving the error.)

Try to press +1 button my site (http://www.baanfarsang.com/forum.php), all links show error.

BirdOPrey5
03-02-2012, 11:56 AM
As you can see in this screen shot it is working fine for me.

Perhaps something is wrong with your Google + account setup?

BaanFarsang
03-02-2012, 12:00 PM
As you can see in this screen shot it is working fine for me.

Perhaps something is wrong with your Google + account setup?

Can you press it, and see working?

BirdOPrey5
03-02-2012, 01:46 PM
I did press it, it worked. Then I "un-pressed" it.

thunderclap82
03-02-2012, 05:44 PM
How can I change the font color of "Be the first of your friends to like this"?

BirdOPrey5
03-02-2012, 08:26 PM
Facebook only offers two options, and it is in the mod settings, you can choose "light" or "dark" style for all the Facebook buttons.

sportsfroma2
03-06-2012, 04:40 AM
just upgraded my site from vb 4.1.10 to 4.1.11, mod still works great. Thanks BOP5!

Preech
03-06-2012, 02:00 PM
Maybe this is what I need to do. Because the default Facebook feature is not working for me in 4.1.10. I'll leave it alone for a few days.

alhidaya
03-09-2012, 12:38 PM
https://vborg.vbsupport.ru/attachment.php?attachmentid=131070&d=1310783235

Hello,

I can not find the button as the image

Please, help me

BirdOPrey5
03-09-2012, 01:24 PM
alhidaya,

If you're not seeing the buttons make sure the forum you are testing in is open to guest viewing. If guests cannot view threads then vBulletin does not show the Facebook Like button. If vBulletin doesn't show the Facebook Like button, the "more share options" don't show either.

alhidaya
03-10-2012, 02:04 AM
Hy,

It 's open to guest viewing. Everything works except in the subjects. It is open to all. I am the administrator and I see it in my account.

What I do ?

BirdOPrey5
03-10-2012, 02:17 AM
Do you mean when you "Like" something on Facebook the subject doesn't get posted?

Please give me a link to a thread on your forum, any thread with the share buttons on it.

Emeralda
03-13-2012, 12:34 AM
http://img32.imageshack.us/img32/8555/4b8be60ac257473a9bd8019.png

http://neoanimechains.com/forum.php

vB 4.1.10

Rawr, I was looking to add a gif image next to Share This forum, just like with the 3 above boxes, but I can't seem to find where I could do it. The more_share_options had only the lower part of the box, below the text, and influenced all such buttons on the forum.

tekmaster
03-13-2012, 04:00 AM
How do I change the order of which share buttons to display? I want my fb share button to be at the end

ultimategeek
03-13-2012, 01:04 PM
How do i move the buttons a little higher?
you can see them on the right hand side on the picture

https://vborg.vbsupport.ru/

ultimategeek
03-14-2012, 05:06 PM
anyone?

ultimategeek
03-15-2012, 08:54 PM
:( sad

BirdOPrey5
03-15-2012, 08:58 PM
http://neoanimechains.com/forum.php

vB 4.1.10

Rawr, I was looking to add a gif image next to Share This forum, just like with the 3 above boxes, but I can't seem to find where I could do it. The more_share_options had only the lower part of the box, below the text, and influenced all such buttons on the forum.

To edit the the image (the "thumbs up") easiest way would be to replace (overwrite) the image "share_like.png" (in images/misc/) with one you do want to use.

If you have to do more specific editing the code is not in a template, I never intended it to be edited- but if you want to try you need to go to the Plugin on the "parse_templates" hook and find the line:

$template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div>'. $moreshare . '</div></div>';


How do I change the order of which share buttons to display? I want my fb share button to be at the end

You have to manually edit the more_share_options template to change the order of the buttons. Instructions to move the buttons are and were included in the zip file.

How do i move the buttons a little higher?
you can see them on the right hand side on the picture

http://i458.photobucket.com/albums/qq301/bollockscock/twitter.jpg

You will need to manually edit the more_share_options template... try putting another <br /> tag at the very bottom.

ultimategeek
03-15-2012, 10:40 PM
You will need to manually edit the more_share_options template... try putting another <br /> tag at the very bottom.

didn't work :(

BirdOPrey5
03-15-2012, 11:07 PM
OK... Plan B...

Add this code to your "additional.css" template:


.bop5share {
position:relative;
top: -10px;
}

ultimategeek
03-15-2012, 11:41 PM
that worked prefect
Thank you

monkeyboy1916
03-16-2012, 10:47 AM
I've had to disable this modification unfortunately. I'm unsure why, but it seems to be causing 50+ extra queries on all pages. The specific plugin causing this to happen to me is:

Plugin: Add Share Options to Templates
Hook: process_templates_complete

After removing the following from the plugin, the 50+ extra queries disappear:
require_once(DIR . '/includes/adminfunctions_template.php');

Any ideas? It could possibly be my setup, but I'm not too sure about that.

Thanks!

Edit: I should note, this only started after updating to vBulletin 4.1.11. Previously my Forum was running 4.1.7 with no issues, or extra queries.

Vick98
03-16-2012, 11:58 AM
Does this work properly for version 4.1.11?

BirdOPrey5
03-16-2012, 12:43 PM
Monkeyboy,

I believe it is a side effect of this bug in 4.1.11: http://tracker.vbulletin.com/browse/VBIV-14446

It is set to be fixed in 4.1.12.

The main issue with this bug is it doesn't allow translated phases to be used on some situations and kh99 provided a fix for that part: https://vborg.vbsupport.ru/showpost.php?p=2306760&postcount=4

But it does not appear to help the query situation much. I saw mine from 76 to 72 on a 1 post thread. :eek:

I will investigate the issue further.

Does the mod still work for you with the "require" statement removed? It was used only for adding share buttons to albums, pictures, and member profiles. I'm curious if these areas still work with it removed.


Does this work properly for version 4.1.11?

It does work on 4.1.11 except for the extra queries due to the bug described above.

BirdOPrey5
03-18-2012, 11:24 AM
OK I believe I have a fix for the extra 50 query issue.

I have posted it in JIRA for comment: http://tracker.vbulletin.com/browse/VBIV-14451

I know it solves the query issue on the front end, the only discussion is if it will still fix the bug that brought about this edit to begin with.

The bug only involved exporting styles when using a language other than the master language so if you don't ever do that you can use the fix without issue.

It has reduced query usage on my forum for a post from 77 to 27.

This mod is not the only one that uses adminfunctions_template.php but this fix will fix the query issue for all of them.

The fix is to edit adminfunctions_template.php in the /includes/ direcotry.'

There's a big block of code starting at line 5855 we want to put in an if condition.

So change:

$only = array
(
// phrased groups
'buddylist' => fetch_phrase('group_buddy_list', 'style', '', false, false, $languageid),
'calendar' => fetch_phrase('group_calendar', 'style', '', false, false, $languageid),
'faq' => fetch_phrase('group_faq', 'style', '', false, false, $languageid),
'reputation' => fetch_phrase('group_user_reputation', 'style', '', false, false, $languageid),
'poll' => fetch_phrase('group_poll', 'style', '', false, false, $languageid),
'pm' => fetch_phrase('group_private_message', 'style', '', false, false, $languageid),
'register' => fetch_phrase('group_registration', 'style', '', false, false, $languageid),
'search' => fetch_phrase('group_search', 'style', '', false, false, $languageid),
'usercp' => fetch_phrase('group_user_control_panel', 'style', '', false, false, $languageid),
'usernote' => fetch_phrase('group_user_note', 'style', '', false, false, $languageid),
'whosonline' => fetch_phrase('group_whos_online', 'style', '', false, false, $languageid),
'showgroup' => fetch_phrase('group_show_groups', 'style', '', false, false, $languageid),
'posticon' => fetch_phrase('group_post_icon', 'style', '', false, false, $languageid),
'userfield' => fetch_phrase('group_user_profile_field', 'style', '', false, false, $languageid),
'bbcode' => fetch_phrase('group_bb_code_layout', 'style', '', false, false, $languageid),
'help' => fetch_phrase('group_help', 'style', '', false, false, $languageid),
'editor' => fetch_phrase('group_editor', 'style', '', false, false, $languageid),
'forumdisplay' => fetch_phrase('group_forum_display', 'style', '', false, false, $languageid),
'forumhome' => fetch_phrase('group_forum_home', 'style', '', false, false, $languageid),
'pagenav' => fetch_phrase('group_page_navigation', 'style', '', false, false, $languageid),
'postbit' => fetch_phrase('group_postbit', 'style', '', false, false, $languageid),
'posthistory' => fetch_phrase('group_posthistory', 'style', '', false, false, $languageid),
'threadbit' => fetch_phrase('group_threadbit', 'style', '', false, false, $languageid),
'im_' => fetch_phrase('group_instant_messaging', 'style', '', false, false, $languageid),
'memberinfo' => fetch_phrase('group_member_info', 'style', '', false, false, $languageid),
'memberlist' => fetch_phrase('group_members_list', 'style', '', false, false, $languageid),
'moderation' => fetch_phrase('group_moderation', 'style', '', false, false, $languageid),
'modify' => fetch_phrase('group_modify_user_option', 'style', '', false, false, $languageid),
'new' => fetch_phrase('group_new_posting', 'style', '', false, false, $languageid),
'showthread' => fetch_phrase('group_show_thread', 'style', '', false, false, $languageid),
'smiliepopup' => fetch_phrase('group_smilie_popup', 'style', '', false, false, $languageid),
'subscribe' => fetch_phrase('group_subscribed_thread', 'style', '', false, false, $languageid),
'whoposted' => fetch_phrase('group_who_posted', 'style', '', false, false, $languageid),
'threadadmin' => fetch_phrase('group_thread_administration', 'style', '', false, false, $languageid),
'navbar' => fetch_phrase('group_navigation_breadcrumb', 'style', '', false, false, $languageid),
'printthread' => fetch_phrase('group_printable_thread', 'style', '', false, false, $languageid),
'attachmentlist' => fetch_phrase('group_attachment_list', 'style', '', false, false, $languageid),
'userinfraction' => fetch_phrase('group_user_infraction', 'style', '', false, false, $languageid),
'subscription' => fetch_phrase('group_paid_subscriptions', 'style', '', false, false, $languageid),
'announcement' => fetch_phrase('announcement', 'global', '', false, false, $languageid),
'visitormessage' => fetch_phrase('group_visitor_message', 'style', '', false, false, $languageid),
'humanverify' => fetch_phrase('group_human_verification', 'style', '', false, false, $languageid),
'socialgroups' => fetch_phrase('group_socialgroups', 'style', '', false, false, $languageid),
'picture' => fetch_phrase('group_picture_comment', 'style', '', false, false, $languageid),
'ad_' => fetch_phrase('group_ad_location', 'style', '', false, false, $languageid),
'album' => fetch_phrase('group_album', 'style', '', false, false, $languageid),
'tag' => fetch_phrase('tag', 'global', '', false, false, $languageid),
'assetmanager' => fetch_phrase('group_asset_manager', 'style', '', false, false, $languageid),
'css' => fetch_phrase('group_css', 'style', '', false, false, $languageid),
'block' => fetch_phrase('group_block', 'style', '', false, false, $languageid),
'facebook' => fetch_phrase('group_facebook', 'global', '', false, false, $languageid),
'aaa' => 'AAA Old Backup'
);


to


if (THIS_SCRIPT == "") //Check if being run from front end or back end. Admincp-template.php has no script defined
{
$only = array
(
// phrased groups
'buddylist' => fetch_phrase('group_buddy_list', 'style', '', false, false, $languageid),
'calendar' => fetch_phrase('group_calendar', 'style', '', false, false, $languageid),
'faq' => fetch_phrase('group_faq', 'style', '', false, false, $languageid),
'reputation' => fetch_phrase('group_user_reputation', 'style', '', false, false, $languageid),
'poll' => fetch_phrase('group_poll', 'style', '', false, false, $languageid),
'pm' => fetch_phrase('group_private_message', 'style', '', false, false, $languageid),
'register' => fetch_phrase('group_registration', 'style', '', false, false, $languageid),
'search' => fetch_phrase('group_search', 'style', '', false, false, $languageid),
'usercp' => fetch_phrase('group_user_control_panel', 'style', '', false, false, $languageid),
'usernote' => fetch_phrase('group_user_note', 'style', '', false, false, $languageid),
'whosonline' => fetch_phrase('group_whos_online', 'style', '', false, false, $languageid),
'showgroup' => fetch_phrase('group_show_groups', 'style', '', false, false, $languageid),
'posticon' => fetch_phrase('group_post_icon', 'style', '', false, false, $languageid),
'userfield' => fetch_phrase('group_user_profile_field', 'style', '', false, false, $languageid),
'bbcode' => fetch_phrase('group_bb_code_layout', 'style', '', false, false, $languageid),
'help' => fetch_phrase('group_help', 'style', '', false, false, $languageid),
'editor' => fetch_phrase('group_editor', 'style', '', false, false, $languageid),
'forumdisplay' => fetch_phrase('group_forum_display', 'style', '', false, false, $languageid),
'forumhome' => fetch_phrase('group_forum_home', 'style', '', false, false, $languageid),
'pagenav' => fetch_phrase('group_page_navigation', 'style', '', false, false, $languageid),
'postbit' => fetch_phrase('group_postbit', 'style', '', false, false, $languageid),
'posthistory' => fetch_phrase('group_posthistory', 'style', '', false, false, $languageid),
'threadbit' => fetch_phrase('group_threadbit', 'style', '', false, false, $languageid),
'im_' => fetch_phrase('group_instant_messaging', 'style', '', false, false, $languageid),
'memberinfo' => fetch_phrase('group_member_info', 'style', '', false, false, $languageid),
'memberlist' => fetch_phrase('group_members_list', 'style', '', false, false, $languageid),
'moderation' => fetch_phrase('group_moderation', 'style', '', false, false, $languageid),
'modify' => fetch_phrase('group_modify_user_option', 'style', '', false, false, $languageid),
'new' => fetch_phrase('group_new_posting', 'style', '', false, false, $languageid),
'showthread' => fetch_phrase('group_show_thread', 'style', '', false, false, $languageid),
'smiliepopup' => fetch_phrase('group_smilie_popup', 'style', '', false, false, $languageid),
'subscribe' => fetch_phrase('group_subscribed_thread', 'style', '', false, false, $languageid),
'whoposted' => fetch_phrase('group_who_posted', 'style', '', false, false, $languageid),
'threadadmin' => fetch_phrase('group_thread_administration', 'style', '', false, false, $languageid),
'navbar' => fetch_phrase('group_navigation_breadcrumb', 'style', '', false, false, $languageid),
'printthread' => fetch_phrase('group_printable_thread', 'style', '', false, false, $languageid),
'attachmentlist' => fetch_phrase('group_attachment_list', 'style', '', false, false, $languageid),
'userinfraction' => fetch_phrase('group_user_infraction', 'style', '', false, false, $languageid),
'subscription' => fetch_phrase('group_paid_subscriptions', 'style', '', false, false, $languageid),
'announcement' => fetch_phrase('announcement', 'global', '', false, false, $languageid),
'visitormessage' => fetch_phrase('group_visitor_message', 'style', '', false, false, $languageid),
'humanverify' => fetch_phrase('group_human_verification', 'style', '', false, false, $languageid),
'socialgroups' => fetch_phrase('group_socialgroups', 'style', '', false, false, $languageid),
'picture' => fetch_phrase('group_picture_comment', 'style', '', false, false, $languageid),
'ad_' => fetch_phrase('group_ad_location', 'style', '', false, false, $languageid),
'album' => fetch_phrase('group_album', 'style', '', false, false, $languageid),
'tag' => fetch_phrase('tag', 'global', '', false, false, $languageid),
'assetmanager' => fetch_phrase('group_asset_manager', 'style', '', false, false, $languageid),
'css' => fetch_phrase('group_css', 'style', '', false, false, $languageid),
'block' => fetch_phrase('group_block', 'style', '', false, false, $languageid),
'facebook' => fetch_phrase('group_facebook', 'global', '', false, false, $languageid),
'aaa' => 'AAA Old Backup'
);
}
else //Used in the front end, use the less-query version
{
$only = array
(
// phrased groups
'buddylist' => $vbphrase['group_buddy_list'],
'calendar' => $vbphrase['group_calendar'],
'faq' => $vbphrase['group_faq'],
'reputation' => $vbphrase['group_user_reputation'],
'poll' => $vbphrase['group_poll'],
'pm' => $vbphrase['group_private_message'],
'register' => $vbphrase['group_registration'],
'search' => $vbphrase['group_search'],
'usercp' => $vbphrase['group_user_control_panel'],
'usernote' => $vbphrase['group_user_note'],
'whosonline' => $vbphrase['group_whos_online'],
'showgroup' => $vbphrase['group_show_groups'],
'posticon' => $vbphrase['group_post_icon'],
'userfield' => $vbphrase['group_user_profile_field'],
'bbcode' => $vbphrase['group_bb_code_layout'],
'help' => $vbphrase['group_help'],
'editor' => $vbphrase['group_editor'],
'forumdisplay' => $vbphrase['group_forum_display'],
'forumhome' => $vbphrase['group_forum_home'],
'pagenav' => $vbphrase['group_page_navigation'],
'postbit' => $vbphrase['group_postbit'],
'posthistory' => $vbphrase['group_posthistory'],
'threadbit' => $vbphrase['group_threadbit'],
'im_' => $vbphrase['group_instant_messaging'],
'memberinfo' => $vbphrase['group_member_info'],
'memberlist' => $vbphrase['group_members_list'],
'moderation' => $vbphrase['group_moderation'],
'modify' => $vbphrase['group_modify_user_option'],
'new' => $vbphrase['group_new_posting'],
'showthread' => $vbphrase['group_show_thread'],
'smiliepopup' => $vbphrase['group_smilie_popup'],
'subscribe' => $vbphrase['group_subscribed_thread'],
'whoposted' => $vbphrase['group_who_posted'],
'threadadmin' => $vbphrase['group_thread_administration'],
'navbar' => $vbphrase['group_navigation_breadcrumb'],
'printthread' => $vbphrase['group_printable_thread'],
'attachmentlist' => $vbphrase['group_attachment_list'],
'userinfraction' => $vbphrase['group_user_infraction'],
'subscription' => $vbphrase['group_paid_subscriptions'],
'announcement' => $vbphrase['announcement'],
'visitormessage' => $vbphrase['group_visitor_message'],
'humanverify' => $vbphrase['group_human_verification'],
'socialgroups' => $vbphrase['group_socialgroups'],
'picture' => $vbphrase['group_picture_comment'],
'ad_' => $vbphrase['group_ad_location'],
'album' => $vbphrase['group_album'],
'tag' => $vbphrase['tag'],
'assetmanager' => $vbphrase['group_asset_manager'],
'css' => $vbphrase['group_css'],
'block' => $vbphrase['group_block'],
'facebook' => $vbphrase['group_facebook']
);
}

satlazone
03-25-2012, 02:39 PM
and if i want to just use addthis for analytics?

BirdOPrey5
03-25-2012, 04:50 PM
If you go to addthis.com you can get your own addthis userid and add it to the mod. This will allow you to use basic analytics (you will get a report in email with recent shares and such.)

If you want to use their advanced tracking features then don't use this mod.

Naijasite
03-25-2012, 07:59 PM
Wooo it works well on http://www.naijafinder.com/forum.php

Emeralda
03-26-2012, 10:54 AM
To edit the the image (the "thumbs up") easiest way would be to replace (overwrite) the image "share_like.png" (in images/misc/) with one you do want to use.

If you have to do more specific editing the code is not in a template, I never intended it to be edited- but if you want to try you need to go to the Plugin on the "parse_templates" hook and find the line:

$template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div>'. $moreshare . '</div></div>';

Rawr, thanks, I somehow skipped this reply before >.<

Before: http://prntscr.com/7f8t4
After: http://prntscr.com/7f8tz

But I think the way I try to insert the code is somehow wrong, because before there was this nice space on the lower part: http://prntscr.com/7f8u9 but now there's none: http://prntscr.com/7f8wh

Here's how I've inserted the image:

$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>'. $moreshare . '</div></div>';

BirdOPrey5
03-26-2012, 11:26 AM
I'm not sure what is causing the space to be removed but you can force it back with this 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>&nbsp;&nbsp;&nbsp;'. $moreshare . '</div></div>';

Emeralda
03-26-2012, 11:32 AM
It doesn't seem to be it, it put the buttons lower, instead of more to the right:

Before: http://prntscr.com/7f9tw
After: http://prntscr.com/7f9to

BirdOPrey5
03-26-2012, 12:01 PM
ahhh... hmmm... try ths:


$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:

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


Directly after the existing line:

<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

BrightStar
04-05-2012, 12:18 PM
HI BirdOPrey5, it's a great mod and works perfectly fine for my forums. Thank you for sharing.

Whenever I enable this mod, it breaks W3C validation of my forum....anything I can do it make it pass validation?

Cheers

BirdOPrey5
04-05-2012, 06:58 PM
BrightStar,

Some of the buttons, like Google +1 simply cannot pass strict validation. I've looked this up before and the work-arounds suggested were extremely convoluted and not something I would bother attempting.

It's not like there's anyone out there giving cash prizes to sites that validate properly. ;)

predpriemach - I had problems with Facebook Connect this morning myself- it looked like some sort of conflict with "Add This." But it appears to be working fine now- please re-try.

Since all javascript is served from facebook, google addthis, etc... we are at the mercy of their developers- sometimes bug make it out into the wild.

BirdOPrey5
04-06-2012, 10:04 AM
Facebook Like Bug

Facebook has made changes to their javascripts. It now creates a (mostly) invisible <div> element 2000 pixels above the button location on the page. For the vast majority of users who have the Facebook Like button "above the fold" (near the top of the page where it is recommended) this safely puts the <div>'s out of view so they don't affect page navigation.

However if you use the "What's Going On Box" location on FORUMHOME then it is very possible 2000 pixels is still visible on your page.

Unfortunately there is nothing I can do, I hope Facebook will eventually fix this by maybe going to 20,000 pixels or some absurdly large number or maybe removing need for these <div>'s at all.

Anyone getting this error can check with firebug and you will see the absolute positioned <div> with a value of -2000. It has no "class" attribute so it cannot be overridden or fixed with CSS.

For now I recommend moving the position of your Share buttons on FORUMHOME to "Top Left" or "Top Right" in your settings. It is better anyway, more people will see and use it there.

MarySBP
04-10-2012, 01:54 PM
Hi there

The mod has two issues. One when tweeting a post we need to be able to shorten the link before the tweet. I know you said somewhere that twitter automatically shortens all links.. but this does not work. See example here: http://screencast.com/t/RYqpsgdYV You can see when I hit tweet I am told "oopps your tweet is over 140 characters"

What can I do to make links shorten, is there a way that I can add a bit.ly account to this mod where all links will be shortened through bit.ly?

Also.. my twitter counts do not work, I know you said this is a fault of twitter.. have you found any new info on this? Do you know of any mod that the twitter counts do work on?

BirdOPrey5
04-10-2012, 03:39 PM
Those issues are caused by Twitter's default share code.

If you copy the code directly from twitter and paste it directly into your SHOWTHREAD template (basically what this mod does) you will have the same issues.

I did notice Twitter added a new IFRAME option for the Tweet button. It seems to fix the count issue but the URL still doesn't shorten until after you send the Tweet.

I have not updated this mod to use the twitter IFRAME code. I'm not sure if/when I will. I have released instructions for those with the Gold version (http://www.qapla.com/mods/showthread.php/74-More-Share-Options-for-VB4-by-BOP5-GOLD?p=950&viewfull=1#post950) of the mod to take advantage of the IFRAME option since the Gold version has an option to easily add new buttons.

BrightStar
04-13-2012, 07:05 PM
Is it possible to inlcude addthis analytic code so we can track the progress?

BirdOPrey5
04-13-2012, 07:39 PM
If you follow the instructions/link to sign up for your own Add This account and enter your AddThis username into the mod settings then you will be able to view sharing stats on AddThis.com.

BrightStar
04-14-2012, 08:07 AM
Is it the same as AddThis.com Public ID? or do I enter the username? I've public id added but i dont get any stats.

BirdOPrey5
04-14-2012, 02:01 PM
Yes, you put your AddThis Username into the mod setting "AddThis.com Public ID."

Then to check your analytics you go to www.addthis.com and log in if you aren't already logged in.

On the top of the page in the back bar you click on "Analytics" and you will be able to click on your forum URL and get the stats for your site.

netproint
04-16-2012, 05:26 AM
Sigh ... the Twitter count and Digg count, both won't work for me ... I know I know .. gotta buy the gold version to solve these issues. As soon as I begin making some money through my forum, I will. For now ...

BirdOPrey5
04-16-2012, 11:03 AM
Please don't feel you have to buy the gold to fix the issue... First I've never seen dig count not work so I can promise you going gold will not help that.

The twitter upgrade to an iframe you could conceivably do yourself by editing the more_share_options template and removing the old twitter code and replacing it with the iframe code.

doobiefillin
04-18-2012, 05:19 PM
any way to get pinterest share to work with this mod?

BrightStar
04-18-2012, 05:28 PM
I've just contacted addthis and they responded as follow

I think the problem is that you're writing AddThis to the page using JavaScript rather than using a standard <script> tag. We look for the profile ID in that tag, so we're not picking it up if you put it there. So you'll have to put it into your addthis_config variable. Here's a snippet you can add to your page to do it:

<script type="text/javascript">
if (typeof addthis_config !== "undefined") {
addthis_config.pub = 'ra-xxxxxxxx'
} else {
var addthis_config = {
pub: 'ra-xxxxxxxx'
};
}
</script>

I know it's a free mod but any chance of incorporating what addthis people are suggesting?

Thank You :)

Nirjonadda
04-18-2012, 06:20 PM
Installed GOLD Version working on 4.1.10 without Manual Template Edits !

BirdOPrey5
04-18-2012, 10:15 PM
any way to get pinterest share to work with this mod?

No, Pinterest needs an image or video for it to share.
I do have a separate Pinterest mod: https://vborg.vbsupport.ru/showthread.php?t=281444

EDIT - YES, There is now a Pinterest option for the GOLD version. (Because the Gold version allows new buttons.)

I've just contacted addthis and they responded as follow



I know it's a free mod but any chance of incorporating what addthis people are suggesting?

Thank You :)

Thanks for the info, let me look into it.

It's weird because I am using basically the same code on my own site and I get a weekly analytics email update tells me what pages were shared and how many times without having to add anything special.

BrightStar
04-20-2012, 07:31 AM
Its all working now BirdOPrey5....thanks for your support :)

One question is when users click on tweet button on blogs, they message contains full forum name plus title hence becoming too large to tweet....how can I overcome this?

BirdOPrey5
04-20-2012, 04:09 PM
That's the first time I've seen that issue- I'm afraid I have no option to shorten the default text- it's coming from the page title not the mod itself. I take it shortening the forum title is out of the question.

You could edit the more_share_option template and find the first instance of this code:

data-url="{vb:raw bophref}"

and right after it, in the same line, add:
data-text="Description..."

Where you replace Description... with a short description that will be the default text for EVERY tweet. Hopefully your users enter some additional info.

datoneer
05-06-2012, 01:59 PM
Hello BOP5, i cannot get this to work in posts, cms articles and blogs. I have template modification system. Is there solution for this?

BirdOPrey5
05-06-2012, 03:53 PM
First- Disable this mod and check your threads, articles, and blogs... Is the default Facebook Like button showing up? If not then this mod will never work until that issue is resolved.

You may need to enable the Facebook Like button in the Facebook Options in Settings.

You also may need to make sure your forums/threads/blogs are visible to guests. vBUlletin will not show the Facebook button on private forums and therefore this mod will not show up on private forums.

If the facebook like button is showing, enable the mod and post a link to a thread where I can see the facebook button.

datoneer
05-06-2012, 11:53 PM
I don't know what is it anymore...Share buttons shows only on forum home, but articles, blogs and posts-nope.
Facebook, twitter and g+1 are enabled, but work only with mentioned above.
It is visible to guests.I've tried manual template edit, still nothing.
www.imspot.org

BirdOPrey5
05-07-2012, 10:39 AM
I don't see your vbulletin facebook button at all:
http://www.imspot.org/general-seo/2091-keyword-desity-really-needed.html

Is my mod disabled? If not please disable it now (via product manager) and don't put it back on until I say so.

Also there are no manual template edits you can do for threads, blog, or cms.

datoneer
05-07-2012, 04:46 PM
It was enabled. I'll disable it now

BirdOPrey5
05-07-2012, 06:12 PM
ok, so even with my mod disabled there is no trace of the vBulletin default like button on your page.

So go to the Admin CP -> Settings -> Options -> Facebook Options
Make sure: Like Button - Threads is set to Yes.

If it's already Yes then your style is probably missing the button.
To test use the Default Style tempirarily just to check if it works there.

datoneer
05-07-2012, 07:47 PM
Yes i know that user from this site created my style. A lot of bugs need to be fixed

BirdOPrey5
05-07-2012, 07:57 PM
OK, you need to add this code to your SHOWTHREAD template:

<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>

In the default template it's under this code:


<div id="pagetitle" class="pagetitle">
<h1>
{vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
</h1>


You'll have to find somewhere where it works for you.

datoneer
05-07-2012, 10:23 PM
No man i'm sorry it is not style problem. I've tried with vb default style and still nothing is there. Only works with forum home page

BirdOPrey5
05-07-2012, 10:28 PM
And you're sure you did this:
So go to the Admin CP -> Settings -> Options -> Facebook Options
Make sure: Like Button - Threads is set to Yes.

And if you do a "search Templates for this code: {vb:raw fblikebutton}
SHOWTHREAD is returned as a result?

If both of those are true AND your thread is obviously public because I saw it AND you've disabled other mods, I am at a loss. Do you have ticket support? Would be time to open a ticket.

datoneer
05-07-2012, 10:51 PM
Oh it was publish to facebook thread enabled. I didn't enabled like button threads. It works now - Finally!! Thank you BOP5 for helping me! In my opinion you have best mods here.

420
05-08-2012, 07:18 PM
Will this add-on automatically post threads from a specific forum, to our Facebook page, like an RSS feed?

BirdOPrey5
05-09-2012, 12:22 AM
no.

420
05-09-2012, 12:33 AM
By chance, do you know of one that will?

Thank you so much for your valuable time and energy.

no.

BirdOPrey5
05-09-2012, 12:44 AM
No I don't, sorry.

Dave234
05-13-2012, 06:40 PM
I successfully installed mine but I see nothing new on my vbulletin 4.1.11 website. Can you please advise?

BirdOPrey5
05-13-2012, 09:14 PM
Please look at the last few posts in this thread, it is likely one of them cover's your issue.

If not post a link to your forum.

keteflips
05-15-2012, 06:52 AM
This plugin only works in Guest Viewable forums.

?Its posible to make it works in all forums?

Thanks :D

chrisngrod
05-16-2012, 03:11 PM
4.1.12

cricketusers.com

I just noticed this the other day, but if I use anything but the legacy Facebook share my Facebook connect disappears on those pages (ie forum.php, threadview). They are still present on the main page because I guess it doesn't use the share links.

I'm more than happy to purchase the Gold version. Only 10 bucks? Definitely worth it to show a little support.

BirdOPrey5
05-16-2012, 04:17 PM
This plugin only works in Guest Viewable forums.

?Its posible to make it works in all forums?

Thanks :D

Not in this version... vBulletin doesn't load any of the sharing code- plus Facebook can't "scrape" a private forum so it can't create a proper link. That's why vBulletin doesn't show it in private forums to begin with.

4.1.12

cricketusers.com

I just noticed this the other day, but if I use anything but the legacy Facebook share my Facebook connect disappears on those pages (ie forum.php, threadview). They are still present on the main page because I guess it doesn't use the share links.



Weird- what VB version are you using and can I get a link? If you see on the demo forum Facebook connect works fine on all pages along with a non-legacy like button so it must be something unusual causing the problem.

chrisngrod
05-16-2012, 04:29 PM
Sure I will re enable the non legacy Facebook like and you'll see on www.cricketusers.com it displays and www.cricketusers.com/forum.php it will not along with any other page utilizing the mod.

It is the newest 4.1.12 w/ update.

BirdOPrey5
05-16-2012, 04:37 PM
What browser?

I see a working FB Connect and FB Like (and send) on this page: http://www.cricketusers.com/ctia-2012-coverage-cricketusers/31535-lg-optimus-vu-5-cdma-phablet-phone-flashing-possible.html

in Chrome.

chrisngrod
05-16-2012, 04:52 PM
Interesting... Safari it comes up on that post.

PC - Chrome, IE, Firefox on my computer won't display it.

Safari does not display it on forum.php though.

BirdOPrey5
05-16-2012, 05:55 PM
PC Chrome - works for me
PC IE9 -No Button... IE reports a javascript error: SCRIPT5009: 'jQuery' is undefined
jquery-ui-min.js, line 10 character 2

Can you try it on the default style temporarily to see if you have the same problem?

chrisngrod
05-16-2012, 06:06 PM
http://www.cricketusers.com/forum.php?styleid=1

Same thing... I believe you should be able to use that link to view default. Normal theme is:

http://www.cricketusers.com/forum.php?styleid=22

I could also turn it off to show you that it does display with More Share Options disabled.

Thanks.

BirdOPrey5
05-16-2012, 06:46 PM
Both links show me the same style.

You need to enable the option to let users choose their own style in Admin CP -> Settings -> Style & Language Options.

chrisngrod
05-16-2012, 07:58 PM
Sorry... It was actually because default was not checked in the Style Manager. I do have a mobile style and desktop I let users choose from.

Thanks.

BirdOPrey5
05-16-2012, 08:21 PM
With the default style it is working on IE9 for me as well.

I'm afraid it's something in your style conflicting, but I don't know what- JavaScript is not my strong point.

https://vborg.vbsupport.ru/attachment.php?attachmentid=138470&stc=1&d=1337203290

chrisngrod
05-16-2012, 08:34 PM
Hmm... Thanks... Does the forum listing display it as well? I've tried on different computers and it doesn't come up in my IE 9. Except I am logged in as admin which shouldn't make a difference, but I never know.

Paid and installing gold. Thanks for the quick help.

BirdOPrey5
05-17-2012, 11:08 AM
Thanks.

No it doesn't show on forum listings... (forumdisplay.)

k1klass
05-19-2012, 12:19 PM
hi, i just noticed today its not showing up in forum posts, im pretty sure it was doing and it still shows on forum home ok, ive tried it on the default theme and what i ever i try it will not show in forum posts?

any idea's

lovevn
05-19-2012, 12:36 PM
It doesnot appaer on my blog. Any idea to fix this problem? Thanks.

BirdOPrey5
05-19-2012, 03:15 PM
hi, i just noticed today its not showing up in forum posts, im pretty sure it was doing and it still shows on forum home ok, ive tried it on the default theme and what i ever i try it will not show in forum posts?

any idea's

It doesnot appaer on my blog. Any idea to fix this problem? Thanks.

It's the same steps as for everyone else...

1) Make sure the Like Button is enabled in Admin CP -> Settings -> Options -> Facebook Options. There are "Like Button" yes/no for Blogs, Threads, and CMS. NOTE: This is different then the "Publish to Facebook" which is also an option for blog, threads. and CMS>

2) If the Like Button is ON make sure the content (thread or blog) is visible to guests. vBulletin will not share any page not visible to guests because Facebook needs to scrape the page and it only scrapes public pages.

If the like button is ON and the page is public, post a link to a page where you think the button should be showing. Also disable the More Share Options mod to make sure the default vBulletin Facebook Like button shows. The default Like button needs to show else this mod won't work.

lovevn
05-20-2012, 01:58 PM
2) If the Like Button is ON make sure the content (thread or blog) is visible to guests. vBulletin will not share any page not visible to guests because Facebook needs to scrape the page and it only scrapes public pages.

If the like button is ON and the page is public, post a link to a page where you think the button should be showing. Also disable the More Share Options mod to make sure the default vBulletin Facebook Like button shows. The default Like button needs to show else this mod won't work.

Thanks for your reply. I have tried but the default Like button does not work. I do not know the reason.

BirdOPrey5
05-20-2012, 07:15 PM
If its a custom style you should try it against the default style.

Obviously make sure the thread is guest viewable.

If still not working try disabling other mods to see if a conflict.

Dave234
05-21-2012, 08:46 PM
Mine appears on the top of the page, but for some reason when I click it, it does nothing. It's weird because when I "Like" something, my website name appears on my facebook, and it says "Dave234 Likes This" on my website.

but when I click the "Connect" button at the top of my website, it does nothing.

chrisngrod
05-21-2012, 09:57 PM
Mine appears on the top of the page, but for some reason when I click it, it does nothing. It's weird because when I "Like" something, my website name appears on my facebook, and it says "Dave234 Likes This" on my website.

but when I click the "Connect" button at the top of my website, it does nothing.

Mine wasn't displaying at all... The connect button. I rewrote some things and got it to display, but clicking it just resulted in me being sent home.

Paolitus
05-28-2012, 03:00 PM
works on vb 420..??

thanks

BirdOPrey5
05-28-2012, 03:34 PM
Yes, you can see it in action on 4.2.0 at the demo site: http://www.qapla.com/mods/

GamerPerfection
05-29-2012, 06:36 PM
I've installed it, you can see it here at the bottom of my forum: http://www.gamerperfection.com/forum.php but there is no Facebook button.

I have enabled facebook option in admincp > options. I didn't put an application ID because well i don't have an application. So why would facebook not be appearing?

BirdOPrey5
05-30-2012, 09:18 AM
Apparently you need an Application ID these days for it to show.

GamerPerfection
05-30-2012, 11:04 AM
Apparently you need an Application ID these days for it to show.So it won't work unless i create an application which I have no idea of how to do?

BirdOPrey5
05-30-2012, 11:29 AM
In Facebook Options (vbulletin settings) there is a link in the text description of the Application iD setting - http://www.facebook.com/developers/

Basically tells you what to do, not hard.

GamerPerfection
05-30-2012, 05:47 PM
I've entered the app id and the secret but it still doesn't appear on the share items.

BirdOPrey5
05-31-2012, 11:44 AM
None of the required meta tags are being generated on your page, this is unrelated to this mod...

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.gamerperfection.com%2Fan nouncements-5%2Fgamerperfection-still-alive-691%2F

It may be your custom style, see if it works with the default style.

GamerPerfection
05-31-2012, 07:08 PM
Ok it works with the default style. So there's something with my custom style that is causing a problem with it.

GamerPerfection
05-31-2012, 07:48 PM
Ok, quick question. I reverted my headinclude template on my custom style which got the facebook bit working. I then compared my headinclude on my custom style to the default style an the only difference was this....

CUSTOM style had this in the headinclude:

<vb:if condition="$vboptions['enablefacebookconnect']">
<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin_facebook.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
<!--
var FB_APIKEY = "{vb:raw vboptions.facebookapikey}";
var FB_RECEIVER = "{vb:raw vboptions.facebookreceiverlocation}"
// -->
</script>
</vb:if>

When I added it to the default style one the facebook bit didn't work.

I'm not sure where this code came from, was it your Mod that adds this code?

BirdOPrey5
06-01-2012, 03:56 PM
No it's not from my mod.

FYI- Mods can't alter the templates saved in the database. When it says an "auto template edit" it is an edit "on the fly" you never see- it happens in code only.

Not sure where that code is from... maybe a very old VB version...

BirdOPrey5
06-13-2012, 01:55 PM
New Release

More Share Options The Next Generation (3.0) (https://vborg.vbsupport.ru/showthread.php?t=266159)

(Just a link to the top/first post.)

Please check out all new version- a complete rewrite of the old code!

Note- The Free version of this mod does have LESS built in share buttons then the Free 2.x version, however it allows the share buttons to be used on every page and has numerous other benefits. You should consider upgrading as it does still have the most popular options (Facebook, Twitter, Google +1) as well as "AddThis" which itself has options for every social media site out there.

ahobilam
06-13-2012, 03:36 PM
After fresh install in my VB 4.2
I am not getting the Facebook Like and Send buttons
http://dl.dropbox.com/u/24348664/more-share.JPG
Getting only Tweet, G+ and Addthis?
What to do?
nvs

BirdOPrey5
06-13-2012, 04:14 PM
This happens if you don't have the built in Facebook Options setup properly.

In Admin CP -> Settings -> Options -> Facebook Options

You must have the Facebook Platform enabled.

You must have an application id and you should have an application secret too.

cdoyle
06-13-2012, 06:32 PM
Hi,
I just installed the new version, but I don't see any buttons now.
I went through the settings and it looks like everything is set right.

I disabled the old version first before loading the new one too.

Any ideas?

BirdOPrey5
06-13-2012, 07:47 PM
If the mod is enabled, is the setting "Automatically Show Below Navbar?" enabled?

It is by default but maybe it got accidentally shut off?

At a loss as to how/why there would be nothing,

If you want you can PM me an admin log in and I'll take a look.

CharlieDelta
06-13-2012, 08:11 PM
Really liking the updgrade BOP! :up:

sensimilla
06-13-2012, 08:16 PM
Its not working on blog (http://alxblog.net/)s anymore?

TIA

Ricsca
06-14-2012, 12:41 AM
I did not know if the new version is

More Share Options TNG FREE by BOP5 (V3.0).zip

???

I delete

More Share Options for VB4 by BOP5v261.zip

and install

More Share Options TNG FREE by BOP5 (V3.0).zip

????

Thanks

Robru
06-14-2012, 12:56 AM
Thanks for your update! ;)

BirdOPrey5
06-14-2012, 12:06 PM
Its not working on blogs anymore?

TIA

It should work on EVERY page now, including blogs:
http://www.qapla.com/mods/entry.php/11-An-introduction-to-IP-Addresses-and-Domain-Levels

I did not know if the new version is

More Share Options TNG FREE by BOP5 (V3.0).zip

???

I delete

More Share Options for VB4 by BOP5v261.zip

and install

More Share Options TNG FREE by BOP5 (V3.0).zip

????

Thanks


If you currently use More Share Options 2.61 I suggest you go to Admin CP -> Products & Plugins -> Product Manager and "Disable" the mod from the Drop Down menu.

You should then install and setup the New Mod (3.0)

If you like the way 3.0 works then go back to the Product Manager and Uninstall the 2.61 mod.

cdoyle
06-14-2012, 01:43 PM
OK, I got it working.
for some reason I had to totally uninstall the old version to make it work.

but, now that it's working I don't see the option on ForumHome to have the button display in the what's going on box. Is that still an option?

fwulfers
06-14-2012, 02:21 PM
I also had the issue with the new version not working after disabling the old 2.6 version. The old one needs to be uninstalled first before you install the 3.0 version. Great mod, thanks for the update! :)

BirdOPrey5
06-14-2012, 03:55 PM
OK, I got it working.
for some reason I had to totally uninstall the old version to make it work.

but, now that it's working I don't see the option on ForumHome to have the button display in the what's going on box. Is that still an option?

No, it is no longer an options because it will be on the top of the page now.

Thanks both of you for the feedback on uninstalling the old mod first. It's weird because I stitll have 2.61 installed but disabled on my sites. Nevertheless I will update the instructions. :)

Disco_Stu
06-14-2012, 07:12 PM
I must be doing something wrong. I installed for 4.2 PL1 and it looks ok except that the only way it will display the FB like button is if I also use the built in function to display the same button int he thread. If I disable displaying the built in thread button then the mod FB button does not display either.

So now I have the same button displaying in your mod and also int he thread. What am I doing wrong?

BirdOPrey5
06-14-2012, 08:37 PM
Get it working, so you have two Facebook Like Buttons.

Then in my mod there is a setting: Disable Built-In Facebook Like

Set it to "YES"

Now you should have only one Like button.

Disco_Stu
06-14-2012, 09:02 PM
I get it working and the FB like is in both places. Then I disable the built in using your mod and they both disappear leaving only the other buttons. They're either both on or both off

I disabled it for now. I'll try it again later

BirdOPrey5
06-15-2012, 01:20 AM
I get it working and the FB like is in both places. Then I disable the built in using your mod and they both disappear leaving only the other buttons. They're either both on or both off

I disabled it for now. I'll try it again later

And just to confirm-

You are running VB 4.2.0?

You have a Facebook Application ID and Secret setup in Facebook Options? Basically the top of the settings look like this:

https://vborg.vbsupport.ru/attachment.php?attachmentid=139127&stc=1&d=1339726749

If you want to post or PM me a link to your forum I'd like to take a look see if I notice anything different.

Last question- do you have a custom style? If so can you try on the default style?

Disco_Stu
06-15-2012, 02:06 AM
I have 4.2.pPL1 but I did not set up a facebook app ID . I didn't think I needed one for the recommend button. I will try to add the app id

And it does the same thing on the default style as it does for my custom one.

The recommend and share button in your mod work fine without an app ID but only if the built in like button is displayed. If the built in like button is disabled then the recommend and share button in your mod do not display.

I will play around with it some more as I don't really want to create an app on facebook right now but I do want to make use of the share and recommend functions

BirdOPrey5
06-15-2012, 10:59 AM
The mod instructions clearly say you need an app id and the facebook platform enabled for this mod to work right.

Without the above the facebook javascript isn't put on every page, which is what is necessary since this mod puts the Like button on pages vBulletin never intended.

I suppose if you are adverse to putting in an appid you could make an edit to the more_share_tng template.

Find the line:

<vb:if condition="$msot['fbold']">

and change it to:

<vb:if condition="1">

That will force the FB JavaScript on every page, but it still looks for an appid... Not sure if it will work correctly without one. Worth a try though I suppose.

If it doesn't work be sure to Revert the template back to normal.

BirdOPrey5
06-15-2012, 11:06 AM
Update- Yes the above edit will work if you don't want to enter an appid.

I will update the next version to do this automatically if no app id is present.

GamerPerfection
06-16-2012, 02:58 PM
I have updated to 3.0 and it is working fine even though I haven't uninstalled 2.61.

Also i'm using VBSEO too and it seems fine. Thanks.

fwulfers
06-16-2012, 03:38 PM
When tweeting a thread, the links don't match up when using vbSEO.

For example, http://saabworld.net/showthread.php?t=25820 in the tweet window should be http://saabworld.net/f142/diesel-cars-usa-25820/

Not a big deal though, clicking the non-VBSEOed link still gets you to the right page. But I am not sure what the search engine spiders lurking on Twitter think of that.

BirdOPrey5
06-16-2012, 06:29 PM
I have updated to 3.0 and it is working fine even though I haven't uninstalled 2.61.

Also i'm using VBSEO too and it seems fine. Thanks.

When tweeting a thread, the links don't match up when using vbSEO.

For example, http://saabworld.net/showthread.php?t=25820 in the tweet window should be http://saabworld.net/f142/diesel-cars-usa-25820/

Not a big deal though, clicking the non-VBSEOed link still gets you to the right page. But I am not sure what the search engine spiders lurking on Twitter think of that.

Thanks for the VBSEO Feedback guys. I appreciate it. :)

As for the search engine spiders on Twitter- not a big deal for 2 reasons

1) Twitter is shortening the links anyway

and

2) Once they reach your page there is a "canocial url" meta tag I'm sure so it will tell the search engine what the correct URL of the page should be.

GamerPerfection
06-17-2012, 06:18 AM
What changes are in the update?

BirdOPrey5
06-17-2012, 01:19 PM
Sorry, my browser froze-up halfway through updating the thread and I left it for a while and forgot about it. :o

Anyway Updated to 3.1

New option for those who wanted "centered" buttons instead of just left or right alignment.

New code to let the Facebook Like button(s) work regardless of whether the built in Facebook Platform is enabled and regardless of if a Facebook App ID is entered.

SocketTF
06-17-2012, 08:59 PM
I'm trying to deploy the bar manually using the provided option and edit my desired templates, I don't like the BOP5 in ALL the pages so I've edited for example SHOWTREAD inserting the code {vb:raw more_share_tng} inside as you said. The BOP bar don't show at all.

Any ideas or what I'm missing?

BirdOPrey5
06-18-2012, 12:53 PM
The mod instructions say clearly you can only put the template in the navbar, header, or footer template.

I did not include code to show it in SHOWTHREAD or any other template besides the 3 above.

HOWEVER, I did include the option to disable the bar on pages you don't want- the setting Disable on these Scripts (Pages) you can add the pages you don't want it to show on.

SocketTF
06-18-2012, 05:32 PM
HOWEVER, I did include the option to disable the bar on pages you don't want- the setting Disable on these Scripts (Pages) you can add the pages you don't want it to show on.

Lol, sorry, I missed that option. Thanks for the explanation :o

BirdOPrey5
06-19-2012, 09:27 AM
No problem... there are A LOT of options. :eek:

Skierpetros
06-19-2012, 01:36 PM
when i click on like it gives me an Error.


The page at http://www.shopforum.gr/content.php could not be reached.

BirdOPrey5
06-20-2012, 12:56 AM
when i click on like it gives me an Error.


The page at http://www.shopforum.gr/content.php could not be reached.

Here is the report from Facebook:

https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.shopforum.gr%2Fcontent.p hp


Using data from http://www.shopforum.gr/content.php because there was an error following the redirect path

Circular redirect path detected (see 'Redirect Path' section for details).

URL requested a HTTP redirect, but it could not be followed.


I'm sure what it means exactly, Facebook isn't able to read your page how they want- Are you doing anything special/weird with your htaccess maybe?

A google search found this- may be of use?

http://stackoverflow.com/questions/8229656/how-to-fix-facebook-circular-redirect

GamerPerfection
06-20-2012, 07:38 PM
See where I currently have this mod: http://www.gamerperfection.com

Is it possible for me to move it to the line above, where it has the little navigation bit with the home button and forum, but have the Mod right aligned so it doesn't clash with the navigation?

StonePilot
06-20-2012, 08:21 PM
So far so good. Took me a while to realize that the THIS_SCRIPT was just talking about the php pages on my server.

I can't get it to exclude content.php though, perhaps that's an alias and not the actual file name? not sure, otherwise it appears to be working fine.

BirdOPrey5
06-21-2012, 12:17 PM
See where I currently have this mod: http://www.gamerperfection.com

Is it possible for me to move it to the line above, where it has the little navigation bit with the home button and forum, but have the Mod right aligned so it doesn't clash with the navigation?

I'm sure it is possible but would involve some serious editing of the navar template. Also may run into issues with long thread titles that would make the breadcrumb trail very long.

So far so good. Took me a while to realize that the THIS_SCRIPT was just talking about the php pages on my server.

I can't get it to exclude content.php though, perhaps that's an alias and not the actual file name? not sure, otherwise it appears to be working fine.

vbcms is the THIS_SCRIPT value for content.php

hasidoo
06-22-2012, 06:42 PM
perfect mod. I love it..

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
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/tools/debug/og/object?q=http%3A%2F%2Fwww.zoom.lk%2Fforums%2Ffaq.p hp

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
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/tools/debug/og/object?q=http%3A%2F%2Fwww.zoom.lk%2Fforums%2Ffaq.p hp

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
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:


<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.

charlesr
07-01-2012, 06:16 PM
Nice one. I'll give this a shot on my test server.

BirdOPrey5
07-04-2012, 10:39 PM
Updated to version 3.1.1. No real new feature but I updated the option in Admin CP when selecting styles to disable to a checkbox list instead of having to manually enter styleids.

Syxguns
07-06-2012, 04:43 AM
Updated to version 3.1.1. No real new feature but I updated the option in Admin CP when selecting styles to disable to a checkbox list instead of having to manually enter styleids.

Okay, well I'm having a little problem with it not showing once I log in to the forum. I wanted to see it in action so I registered on your forum. I asked about that problem there. I'll go ahead and install the updated version. I doubt it will solve the issue though!!:erm:

BirdOPrey5
07-06-2012, 09:35 AM
DO you have a customs style? Please give a link to your forum.

You can try it on the default style by doing the following:

To get the default style go to Admin CP -> Styles & Templates -> Style Manager -> Add New Style and create a new style with no parent style. This will be the default style.

Then go to Admin CP -> Settings -> Options -> Style & Language Settings and give permission for users to change styles (if it was disabled) so you can change to the default style to test it.

BaanFarsang
07-06-2012, 02:57 PM
Hi., Are your MOD supported for https: site?

I have been found that your MOD cause warning on site with https installed

Syxguns
07-06-2012, 07:30 PM
DO you have a customs style? Please give a link to your forum.

You can try it on the default style by doing the following:

To get the default style go to Admin CP -> Styles & Templates -> Style Manager -> Add New Style and create a new style with no parent style. This will be the default style.

Then go to Admin CP -> Settings -> Options -> Style & Language Settings and give permission for users to change styles (if it was disabled) so you can change to the default style to test it.

My style is a style that I created based off the default style, but it has no parent style. I created the style the same way you mentioned above. I will try the Style & Language settings real quick. That may be what the problem is. In the meantime my site is http://www.place4musicians.com I'll post back shortly, because I have other styles that I might need to do the same thing to. Let me know if you need AdminCP access. I will PM you with the details.

Edit: I tested it. For some reason my default style doesn't look correct on header and footer, but I think that is because of some code changes that I made to disable it. However, I have the same issue where the mod does not show up once I'm logged in. I'll send you a PM to look at the site for me.

Thanks!

Edit 2: Very strange. I logged in as the user I sent you credentials for and the mod was working. For some reason I'm not able to view it as the owner of the Forum. I might have a setting set wrong in the AdminCP. I'm going to create a new user and see if they can view it.

BirdOPrey5
07-07-2012, 10:11 AM
Hi., Are your MOD supported for https: site?

I have been found that your MOD cause warning on site with https installed

The next version should fix this.

My style is a style that I created based off the default style, but it has no parent style. I created the style the same way you mentioned above. I will try the Style & Language settings real quick. That may be what the problem is. In the meantime my site is http://www.place4musicians.com I'll post back shortly, because I have other styles that I might need to do the same thing to. Let me know if you need AdminCP access. I will PM you with the details.

Edit: I tested it. For some reason my default style doesn't look correct on header and footer, but I think that is because of some code changes that I made to disable it. However, I have the same issue where the mod does not show up once I'm logged in. I'll send you a PM to look at the site for me.

Thanks!

Edit 2: Very strange. I logged in as the user I sent you credentials for and the mod was working. For some reason I'm not able to view it as the owner of the Forum. I might have a setting set wrong in the AdminCP. I'm going to create a new user and see if they can view it.

As a gust it is displaying fine as well.

Syxguns
07-07-2012, 07:58 PM
As a gust it is displaying fine as well.

Yes, I figured this part out. I have around 22 different ranks, which means in turn 22 different usergroups, even though only 1/2 of those are used. Let me give you an example:

My Usergroup is Admin. That is my primary usergroup.

Secondary Usergroups are: Musician, Guitar, and Vocals.

What I learned was that if I turned off permissions for secondary Usergroups, it would effect the primary Usergroup in the Mod. Maybe this could be fixed?

However, I still have one small problem. My Facebook Connect does not show when the mod is enabled, but if I disable it then it shows! I'm not sure about this, I'll double check my settings.

BirdOPrey5
07-08-2012, 09:01 AM
Yes I am realizing that if I give permissions to "disable" by usergroup I shouldn't factor in secondary groups.

I'm going to re-write the permissions to ENABLE by usergroup and will have the regular groups (registered users, mods, super-mods, admins) enabled by default but easily changed.

I have another big fix in the works for custom pages as well, I will bundle them both in the next update coming shortly (later today hopefully.)

I will take a look on your site about the Facebook connect- I confirm it works fine on my site with the mod enabled.

BirdOPrey5
07-08-2012, 04:38 PM
Updated to version 3.2.

If upgrading from below 3.2 you will have to redo the Usergroup permissions in the mod settings. I have changed it from disabling it for selected groups to enabling it for selected groups. (By default it is active for all standard usergroups except banned users (groups 1 - 7)).

Added a new plugin that will give better results when sharing custom pages via Facebook. This plugin requires a hook that was introduced in VB 4.1.10. If you are running an older version there us a new text file in the mod zip that tells you how to make 1 easy file edit if you want.

Syxguns
07-08-2012, 07:54 PM
Yes I am realizing that if I give permissions to "disable" by usergroup I shouldn't factor in secondary groups.

I'm going to re-write the permissions to ENABLE by usergroup and will have the regular groups (registered users, mods, super-mods, admins) enabled by default but easily changed.

Great fix! It works not using the secondary usergroup perfectly! Many thanks :)

socceronly
07-11-2012, 06:13 PM
Hi! I bought the Gold version, really glad to have this mod.

It works when show under nav bar is selected.

But when I turn that off and insert {vb:raw more_share_tng} into a template, nothing comes up. I am trying to get this into the top of articles in the CMS.

This is my first time doing anything this, so maybe I am missing something. If I just put in some text like AAA in the template it appears, so that part of the template is visible.

Running 4.2

Thanks,
JM

datoneer
07-11-2012, 07:14 PM
Awesome much better than first one. Thanks +++++++

BirdOPrey5
07-11-2012, 08:21 PM
Hi! I bought the Gold version, really glad to have this mod.

It works when show under nav bar is selected.

But when I turn that off and insert {vb:raw more_share_tng} into a template, nothing comes up. I am trying to get this into the top of articles in the CMS.

This is my first time doing anything this, so maybe I am missing something. If I just put in some text like AAA in the template it appears, so that part of the template is visible.

Running 4.2

Thanks,
JM

The ONLY templates it will work on are Header, Navbar, and Footer. It is not set to work in any other templates. It says that in the instructions.

You can use a template conditional to only show it in the CMS if that is your goal-


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


But still must be in one of the 3 templates mentioned.

socceronly
07-13-2012, 02:07 PM
Ooops sorry, I didn't see that!

Thanks for the reply! And the mod!

djbaxter
07-31-2012, 01:08 AM
Reserved.

This post will contain useful hints and options for the Share Buttons that are outside the scope of the mod itself.


Condition to show Share Button(s) Only on Specific / Guest Viewable Forusm

This is a useful conditional if you want to hide the Facebook Like button (and all of the share buttons) in forums that aren't open to the public. If someone "Likes" a thread in a private forum people will be greeted with a no-permission "have to register" message which usually people will just get annoyed at rather than register. In fact if it's a private forum they may not even have access even after registering.

To use this conditional edit the SHOWTHREAD template... find the code:
<vb:if condition="$show['fb_likebutton']">

and change it too:

<vb:if condition="$show['fb_likebutton'] AND !in_array($threadinfo['forumid'], array(3,4,5))">


Where 3,4,5 are forum id's of the forums you want to hide the button in. You can add or remove more numbers as needed so long as they are separated by commas.


Alternate location for Share Buttons

This location has been used by VB 3.x forms and was recently suggested by someone (forget who, sorry) as a good location for the Facebook button on VB 4.x.

To do this edit the SHOWTHREAD template.

Find the code:

<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>


DELETE IT.

Now find the code:

<div id="thread_controls" class="thread_controls toolsmenu">
<div>


And right below it add:

<vb:if condition="$show['fb_likebutton']">
<span style="margin-left:0px; position:absolute; left:60px;
margin-top:3px;">{vb:raw fblikebutton}</span>
</vb:if>


This is for the default vBulletin 4 style. You may have to play with the style settings to get it to look right on a custom style.

This looks good on Chrome, IE9, and Firefox. The height alignments are a little off on Opera browsers but nothing too bad.

Screenshot Attached.

Issue 1:
These relocation instructions do not work for me: vBulletin 4.2.0 PL2

Using the Gold TNG version - see http://localsearchforum.catalystemarketing.com/showthread.php?171-New-Local-Search-Forum-OFFICIAL-LAUNCH-TODAY!

Issue 2:

As you can see from the link, the share icons are not evenly spaced. How do I fix that?

BirdOPrey5
07-31-2012, 11:31 AM
Issue 1:
These relocation instructions do not work for me: vBulletin 4.2.0 PL2

Using the Gold TNG version - see http://localsearchforum.catalystemarketing.com/showthread.php?171-New-Local-Search-Forum-OFFICIAL-LAUNCH-TODAY!

Issue 2:

As you can see from the link, the share icons are not evenly spaced. How do I fix that?

Regarding issue 1- sorry those tips are not relevant to version 3.0+ of More Share Options. I have edited that post- that was legacy stuff for the old version of the mod.'

Issue 2 - They aren't evenly spaced because there are no likes yet for Facebook or Google. Once you get 1 like for each the count boxes will show filling in the gaps. There is no way to make them evenly spaced and keep the counts. If you disable the count for the Google button then it will have better spacing but you'll never see the count.

There's no way to disable the count for Facebook, it will need that room regardless.'

djbaxter
07-31-2012, 11:43 AM
Would inserting {vb:raw more_share_tng} work to accomplish that relocation? and if so, where would it be inserted?

BirdOPrey5
07-31-2012, 06:46 PM
Due to the global nature of the TNG version of this mod {vb:raw more_share_tng} can only be pasted in global templates (header, navbar, and footer.) As designed it simply won't work in any other template.

Budabing
08-04-2012, 05:10 AM
Hi Joe, hopefully this is an easy one for you!
Firstly, thanks for this mod, Its awesome! Secondly, the text next to the facebook like button (Be the first of you friends to like this) inherits the text color from the body.plugin I have tried altering all of the code but to no avail? I have altered these so far:


.connect_widget .connect_widget_text {
line-height: 14px;
color:#ffffff
}
.connect_widget td.connect_widget_vertical_center {
border-spacing: 0;
font-size: 11px;
line-height: normal;
color: #ffffff;
}
body {
color: #ffffff;
direction: ltr;
font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
font-size: 11px;
line-height: 1.28;
text-align: left;
}


Changing the color code from #333333 to #ffffff on all of the above changes the color of the font, which I am saving into the additional.css template, however, the font still reverts back to #333333 after refreshing the page? Is there anything you suggest? Thanks again.

Mick

BirdOPrey5
08-04-2012, 08:45 AM
Hi Joe, hopefully this is an easy one for you!
Firstly, thanks for this mod, Its awesome! Secondly, the text next to the facebook like button (Be the first of you friends to like this) inherits the text color from the body.plugin I have tried altering all of the code but to no avail? I have altered these so far:


.connect_widget .connect_widget_text {
line-height: 14px;
color:#ffffff
}
.connect_widget td.connect_widget_vertical_center {
border-spacing: 0;
font-size: 11px;
line-height: normal;
color: #ffffff;
}
body {
color: #ffffff;
direction: ltr;
font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
font-size: 11px;
line-height: 1.28;
text-align: left;
}


Changing the color code from #333333 to #ffffff on all of the above changes the color of the font, which I am saving into the additional.css template, however, the font still reverts back to #333333 after refreshing the page? Is there anything you suggest? Thanks again.

Mick


Mick,

Facebook only offers 2 options for the button, light or dark. The colors never change.

https://vborg.vbsupport.ru/attachment.php?attachmentid=140298&stc=1&d=1344073336

They do this for consistent branding. Even if it was technically possible to change colors, which I don't believe it is, part of their Terms or Service is you will not modify their buttons in any way.

Budabing
08-04-2012, 11:40 AM
Mick,

Facebook only offers 2 options for the button, light or dark. The colors never change.



Aaah, didnt see I could change the button color. Changed it and fixed! Thanks for the tip. The text just happened to be the same color as my background. Thanks heaps for your help and work :)

WhatChaMissin
08-05-2012, 03:26 PM
Just wanted to say thank you for this mod. Installed and working as advertised!

SilverBoy
08-13-2012, 06:10 AM
Hi BirdOPrey5
Is it possible to change the place of the bar in CMS articles to be under the article text?

BirdOPrey5
08-14-2012, 11:37 AM
Not really. Best you cold do is follow manual template instructions and put it in the footer instead of navbar.

Fongool
08-16-2012, 02:04 PM
Installed and working great on VB 4.2...
Thanks a bunch...Other Mods didn't want to work right, but this does everything I need...

Thank you again..

F

DougCooper
08-28-2012, 02:34 PM
installed on my board www.ukmusic.com but the facebook pop when clicking on the LIKE buttom appears for 1 second and them disappears, please help.

BirdOPrey5
08-29-2012, 04:58 PM
I would need to see the mod active to see what the problem is.

bzcomputers
08-29-2012, 09:03 PM
Request: Instead of just the option to "Disable on these Scripts", offer an option to "Enable on these Scripts".

There are a lot of scripts related to pages that I don't want to display on and I always seem to be coming across more.

private, usercp, profile, faq, search, misc, group, showgroups, subscription, online, calendar, memberlist, activity + any mods you don't want it to appear on, etc.

I think overall it would be easier (at least for me) to keep track of which scripts/pages it displays on than which scripts I don't want it to display on.

BirdOPrey5
09-02-2012, 12:49 PM
Request: Instead of just the option to "Disable on these Scripts", offer an option to "Enable on these Scripts".

There are a lot of scripts related to pages that I don't want to display on and I always seem to be coming across more.

private, usercp, profile, faq, search, misc, group, showgroups, subscription, online, calendar, memberlist, activity + any mods you don't want it to appear on, etc.

I think overall it would be easier (at least for me) to keep track of which scripts/pages it displays on than which scripts I don't want it to display on.

I understand... Not sure when the next update will be but I will make an option so the specified scripts can either be to enable on or to disable on. :up:

dougdirac
09-14-2012, 07:54 AM
Request: Instead of just the option to "Disable on these Scripts", offer an option to "Enable on these Scripts".

There are a lot of scripts related to pages that I don't want to display on and I always seem to be coming across more.

private, usercp, profile, faq, search, misc, group, showgroups, subscription, online, calendar, memberlist, activity + any mods you don't want it to appear on, etc.

I think overall it would be easier (at least for me) to keep track of which scripts/pages it displays on than which scripts I don't want it to display on.

What you have so far is useful, though. Do we have a list of all the scripts we should block that could be copy and pasted in?

Basically I want it to work in Blogs, Threads, Forums and my add-ons. Probably everything else I want to block.

BirdOPrey5
09-16-2012, 10:51 PM
I only disable on these scripts:


private
usercp
profile

Vick98
09-17-2012, 04:57 AM
Installed but for some reason this mod only shows on forum home. What do I need to do to allow this to show on all forum except private forums? I changed the options to disable in private forums but they don't show in any of the public forums.

http://www.elitedevildogs.com

BirdOPrey5
09-17-2012, 08:36 AM
Installed but for some reason this mod only shows on forum home. What do I need to do to allow this to show on all forum except private forums? I changed the options to disable in private forums but they don't show in any of the public forums.

http://www.elitedevildogs.com

You're using the old and unsupported version.... The current version is in the file: More Share Options TNG FREE (v 3.2) by BOP5.zip and that is the one described in the first post now.

The version you are using does not work well on custom styles, it would probably work on the default style.

Vick98
09-17-2012, 01:44 PM
You're using the old and unsupported version.... The current version is in the file: More Share Options TNG FREE (v 3.2) by BOP5.zip and that is the one described in the first post now.

The version you are using does not work well on custom styles, it would probably work on the default style.

Thank you, installed and works great. Another question, is there any way when I tweet a topic from my forum that it will automatically change the title of the tweet to the title of the topic. Currently the title is always the name of the forumhome/website.

Superorb
09-17-2012, 09:33 PM
I'm not familiar with all these social sharing things, but when you click the "Like" button or any of the others is it liking the entire forum/site or is it only liking that particular page/section/post/thread?

Syxguns
09-17-2012, 10:19 PM
I'm not familiar with all these social sharing things, but when you click the "Like" button or any of the others is it liking the entire forum/site or is it only liking that particular page/section/post/thread?

It will post a link to the post with the post title. If you select it on the forum home page it is like saying that you liked the forum and has a link to the forum and not a post on the forum.

Superorb
09-17-2012, 10:35 PM
It will post a link to the post with the post title. If you select it on the forum home page it is like saying that you liked the forum and has a link to the forum and not a post on the forum.
Gotcha, thanks.

BirdOPrey5
09-18-2012, 11:47 AM
I'm not familiar with all these social sharing things, but when you click the "Like" button or any of the others is it liking the entire forum/site or is it only liking that particular page/section/post/thread?

On my forum sharing a thread share the title of the thread, not the forum name.

Twitter should be picking up the title from the <title> tag in the HTML page, can you post a link to a thread on your site so I can see it?

Superorb
09-18-2012, 04:01 PM
On my forum sharing a thread share the title of the thread, not the forum name.

Twitter should be picking up the title from the <title> tag in the HTML page, can you post a link to a thread on your site so I can see it?
I've downloaded the plugin but haven't installed it yet, I was just curious how it worked. I am trying to figure out a place to stick it on the site. I was thinking right under the search bar in the white row underneath. What do you think?

www.snowdaycolorado.com

dougdirac
09-19-2012, 08:08 PM
I only disable on these scripts:


private
usercp
profile


Here's the ones I've found so far:

private
usercp
profile
faq
search
searchsubscribed
group
showgroups
subscription
online
calendar
memberlist
member
report
inlinemod

dougdirac
09-19-2012, 08:10 PM
I've downloaded the plugin but haven't installed it yet, I was just curious how it worked. I am trying to figure out a place to stick it on the site. I was thinking right under the search bar in the white row underneath. What do you think?

www.snowdaycolorado.com

I think you'll have to edit the Navbar template for that.

I'd like the extra buttons to appear along side the default vB 4.2 Facebook Like location. But I think that's too difficult if you also want it to appear on a bunch of other pages besides threads and blogs.

Superorb
09-19-2012, 08:51 PM
I think you'll have to edit the Navbar template for that.

I'd like the extra buttons to appear along side the default vB 4.2 Facebook Like location. But I think that's too difficult if you also want it to appear on a bunch of other pages besides threads and blogs.
It was easy actually, I just had to remove the default styling and add my own and it fits nicely. Still playing with it on the test site though.

Superorb
09-19-2012, 09:43 PM
What's the difference as far as how the numbers are displayed for the different FB button options? For example, does the "Like" button with count only display likes from clicking that button on my forum, or does it count likes from clicking the button AND likes from people on Facebook.com?

Syxguns
09-19-2012, 09:56 PM
What's the difference as far as how the numbers are displayed for the different FB button options? For example, does the "Like" button with count only display likes from clicking that button on my forum, or does it count likes from clicking the button AND likes from people on Facebook.com?


The second one. You can only like something one time, so you want your users to like it as well. This will help your forum get more exposure from you users friends.

Superorb
09-19-2012, 10:10 PM
The second one. You can only like something one time, so you want your users to like it as well. This will help your forum get more exposure from you users friends.
Awesome, I was hoping it would count likes from hitting the button on my forum AND people liking the forum's page on FB proper. Do I need to setup some kind of API with FB to make sure it shows counts from both places?

Edit: Looks like it will count them on different browsers without the FB Connect enabled. On the subject, is there a benefit to enabling the FB connect?

Syxguns
09-19-2012, 10:33 PM
Awesome, I was hoping it would count likes from hitting the button on my forum AND people liking the forum's page on FB proper. Do I need to setup some kind of API with FB to make sure it shows counts from both places?

No, if they are going to use any of the options it will ask them to sign in at FB, Twitter, etc. If they don't have an account they have the option to create one.

Superorb
09-19-2012, 10:49 PM
No, if they are going to use any of the options it will ask them to sign in at FB, Twitter, etc. If they don't have an account they have the option to create one.
So what's the point of using all the built in FB stuff?

Syxguns
09-19-2012, 11:01 PM
So what's the point of using all the built in FB stuff?

You have to look at it a couple of ways. First if they did not use FB connect, then FB doesn't know who is selecting the recommend so a small window opens one time. After they are signed in Vb and FB knows who the user is. They have to want to select that they like it.

A good thing to do is at the top of your sig place a comment like, "If you liked this post please recommend us to FB or Twitter!" You use this kind of mod to help draw attention to your forum. It doesn't mean all users will use it.

Superorb
09-19-2012, 11:24 PM
Ok. This text here worries me. I have the FB platform disabled in Vb.

For best sharing results the Facebook Platform must be enabled and you must have a Facebook App ID entered in your Facebook Settings:

Admin CP -> Settings -> Options -> Facebook Options

If you do not have the above settings enabled/filled in then the open graph data Facebook needs will not be provided by vBulletin. Facebook will still try to gather the required information from your page so the share should still work but it is not ideal.

Syxguns
09-19-2012, 11:53 PM
Ok. This text here worries me. I have the FB platform disabled in Vb.

As is stated, it will still work. However the best option is to have a FB page with a business page attached to it. Then you can FB your articles as you create them as well. Make the majority of FB open to the public for view.

Superorb
09-20-2012, 01:10 AM
As is stated, it will still work. However the best option is to have a FB page with a business page attached to it. Then you can FB your articles as you create them as well. Make the majority of FB open to the public for view.
Is there a guide floating around here for Facebook? I'm a social/FB newbie and this is all alien to me. My forum isn't really a business, I'm not sure if that matters though.

Syxguns
09-20-2012, 01:44 AM
Is there a guide floating around here for Facebook? I'm a social/FB newbie and this is all alien to me. My forum isn't really a business, I'm not sure if that matters though.

There may be a few that could really tell you step by step, but that may be difficult as well. Most of it is pretty self explanatory but FB is constantly changing. I'm new to it as well. I''ve searched for how to do's for facebook and the site has changed again.

Basically keep your personal site simple and open for public view. You will need to get an application for VBulletin that will give you your FB key. After that I would still make a social page about what you do on your forum. There will be a link from your personal page to the new page you created. That is a good place to also post announcements, specials, offers etc..

Just jump in head first and and doggy paddle until you get a feel for it. You wl be asked to create friends and get your page looking nice. I would try to keep content limited. Post articles from your forum as well as posts. As you increase your online friends they are given updates every few days.

Good luck!

Sent from Samsung III S

Superorb
09-20-2012, 02:13 AM
Wow, you typed all that from your phone?!

I created a FB Fan page (I think it's called) for my personal travel blog. I guess I'd do the same thing for the Ski forum too. I don't have any articles, the site is just a forum. I haven't even launched it publicly yet. Still testing plugins and getting everything squared away.

Syxguns
09-20-2012, 02:32 AM
Wow, you typed all that from your phone?!

I created a FB Fan page (I think it's called) for my personal travel blog. I guess I'd do the same thing for the Ski forum too. I don't have any articles, the site is just a forum. I haven't even launched it publicly yet. Still testing plugins and getting everything squared away.

Yeah, when I'm at work a phone is all have! The typing isn't that difficult plus I have auto text where it guesses the word for me. Even with just a forum, you can recommend certain threads that may be a good read for people interested in skiing! I'm an armature but love to ski. I can name some bad places (for beginners) and a couple of great places. The most fun I had was in Taos NM. Not Angle Fire, that's beginners, but the Outback in Taos was for an armature very difficult. Greens are blues, blues are blacks, and blacks were yellow! The yellows were crazy! Think they spent more time in the air then on the snow!!

Superorb
09-20-2012, 02:47 AM
Yeah, when I'm at work a phone is all have! The typing isn't that difficult plus I have auto text where it guesses the word for me. Even with just a forum, you can recommend certain threads that may be a good read for people interested in skiing! I'm an armature but love to ski. I can name some bad places (for beginners) and a couple of great places. The most fun I had was in Taos NM. Not Angle Fire, that's beginners, but the Outback in Taos was for an armature very difficult. Greens are blues, blues are blacks, and blacks were yellow! The yellows were crazy! Think they spent more time in the air then on the snow!!
Small world, I was just down in Taos and did ziplining at Angel Fire a few weeks ago :) I'm just north in Denver.

There's a recommend button for FB, should I be using that or the Like button? I've only ever seen Like so that's what I've got it set to now.

Syxguns
09-20-2012, 03:07 AM
Small world, I was just down in Taos and did ziplining at Angel Fire a few weeks ago :) I'm just north in Denver.

There's a recommend button for FB, should I be using that or the Like button? I've only ever seen Like so that's what I've got it set to now.

I haven't ever done any zip lining. Looks like fun if you are high enough to really scare the crap out of you!

I just use this mod and I also use another mod that I like. I use both in case someone doesn't see the one on top, I also have one on the side of the page. I also use the vB facebook for people to connect. I don't need anything else!

fxdigi-cash
09-20-2012, 08:28 AM
There is something weird about this plugin... It doesn't show facebook like stuff...

here is my link: www.forexmegacashback.com/en

possibly there is something wrong somewhere...

any idea??

Edit: after several tries, I could manage to make it work... I still don't know why it didn't work before though...

dougdirac
09-20-2012, 05:56 PM
How do I get the settings page to show styles I enabled after installing this mod?

marcus123
09-21-2012, 12:41 PM
using vb4.2 and used this plugin and now facebook one isnt showing

Superorb
09-21-2012, 03:20 PM
using vb4.2 and used this plugin and now facebook one isnt showing
I noticed this too on my test site and I PM'd Joe on his site last night. I actually started a new test site that's an exact copy of the live site and the problem only persists on the test site. The FB Like button still works on the live site for some reason. Best I can find is that some embedded CSS that draws from the FB site isn't getting embedded on the test site for some reason.

BirdOPrey5
09-21-2012, 08:35 PM
I've downloaded the plugin but haven't installed it yet, I was just curious how it worked. I am trying to figure out a place to stick it on the site. I was thinking right under the search bar in the white row underneath. What do you think?

www.snowdaycolorado.com

It looks good there on your site. Please Mark the Mod as "Installed" in the top/first post. :up:

using vb4.2 and used this plugin and now facebook one isnt showing

I noticed this too on my test site and I PM'd Joe on his site last night. I actually started a new test site that's an exact copy of the live site and the problem only persists on the test site. The FB Like button still works on the live site for some reason. Best I can find is that some embedded CSS that draws from the FB site isn't getting embedded on the test site for some reason.

Most likely reasons is in Facebook Options (the default vBulletin Facebook Options) you have a Facebook Application ID entered but no Facebook Secret entered. You need neither or both, you can't just have the application ID with no secret.

If that isn't what is going on please post a link to your site.

BirdOPrey5
09-21-2012, 08:37 PM
Here's the ones I've found so far:

private
usercp
profile
faq
search
searchsubscribed
group
showgroups
subscription
online
calendar
memberlist
member
report
inlinemod


Some of those would depend on if guests can access those pages on your site- for example some people may want to share calendars.

Also note- there is special code in the mod to handle the "search" script. Anyone who shares a "search" page will actually create a share to the main forum URL instead.

Superorb
09-21-2012, 08:48 PM
It looks good there on your site. Please Mark the Mod as "Installed" in the top/first post. :up:

Done. I thought I did it already but it must've slipped my mind.
[quote]
Most likely reasons is in Facebook Options (the default vBulletin Facebook Options) you have a Facebook Application ID entered but no Facebook Secret entered. You need neither or both, you can't just have the application ID with no secret.

If that isn't what is going on please post a link to your site.

I had both entered and then just deleted both and it's still doing it. I PM'd you on Qapla with more info last night. It's weird that it only exhibits this behavior on some pages and not others when the template is the same.

marcus123
09-22-2012, 12:00 AM
Most likely reasons is in Facebook Options (the default vBulletin Facebook Options) you have a Facebook Application ID entered but no Facebook Secret entered. You need neither or both, you can't just have the application ID with no secret.

If that isn't what is going on please post a link to your site.

https://vborg.vbsupport.ru/external/2012/09/9.jpg

https://vborg.vbsupport.ru/external/2012/09/10.jpg

site link: http://www.animeandmangazone.com/forum/forum.php

BirdOPrey5
09-22-2012, 12:52 AM
You are using the old version. (Not the "TNG" Version.)

In the old version you MUST have the Facebook Application ID and Facebook Secret filled in and working, and Facebook Platform enabled.

Superorb
09-22-2012, 01:24 AM
You are using the old version. (Not the "TNG" Version.)

In the old version you MUST have the Facebook Application ID and Facebook Secret filled in and working, and Facebook Platform enabled.
I'm using the TNG version and the problem persists. As I mentioned before I sent you a PM on your site last night.

BTW, how can you tell he's using the old version? Mine looks just like his.

BirdOPrey5
09-22-2012, 05:36 PM
When I view the HTML source of the page and search for say twitter.com I see the code around the twitter button is using <table> HTML tags but the TNG version uses only <DIV> tags.

Sorry for the delay I will check the PM now.

Superorb
09-22-2012, 06:47 PM
When I view the HTML source of the page and search for say twitter.com I see the code around the twitter button is using <table> HTML tags but the TNG version uses only <DIV> tags.

Sorry for the delay I will check the PM now.
Gotcha. Please take your time, I'm in no hurry and I know you're a busy guy :)

steeler7
09-26-2012, 02:01 AM
BoP... i'd like to get the buttons on the same line (aligned far right) of the Thread Title. How can I accomplish this?

Thanks!