PDA

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


Pages : [1] 2 3 4

BirdOPrey5
07-01-2011, 10:00 PM
Brought to you by BirdOPrey5
www.Qapla.com (http://www.qapla.com/mods/)

Current Version: 3.2

More Share Options The Next Generation (v 3.0) is a complete rewrite of my "More Share Options" mod. If you are looking for the old version I am keeping it attached (More Share Options for VB4 by BOP5v261.zip) but it will no longer be updated or supported.

The purpose of the mod is to add additional share "buttons" (Besides Facebook Like) to vBulletin.

Demo: Practically every page of Qapla.com (http://www.qapla.com/mods/) has the "Gold" version enabled.

There is GOLD Version with additional features available at:
http://www.qapla.com/mods/showthread.php/74-More-Share-Options-for-VB4-by-BOP5-GOLD

The FREE Version allows sharing to the following sites:


Facebook (Like OR Recommend with Send Button Option, and with old style "Share" option, Dark Option, Show Faces Option)
Twitter (Specify "Via" Username, Related Account, default hash tags, and language- With or without counts)
Google +1 (With or without count, option to use built in Facebook language or specify custom language)
Add This (Option to input publisher ID for analytics tracking, enable/disable printing, disable duplicate sites option)


The FREE Version also has the following Style Vars for basic styling:

Height of Share Bar (in Pixels)
Padding
Margins


The GOLD Version has all of the above PLUS the following additional share options:

Pinterest (With or without count, option to specify pinned image, better Pin It sharing button in Beta available for testing)
Digg (With count or icon only)
Linked In (With or without count)
StumbleUpon (Several options with/without counts)
Reddit (Several options with/without "points")
Custom Buttons (Add as many additional custom buttons as you want!)


The GOLD Version also has additional Style Vars for complete control of Share Bar Styling:

Background
Border


(Both FREE and GOLD can be completely customized by CSS as well if you prefer not to use Style Vars.)

Some of the major differences between More Share Options TNG and the Original Version:

Share Buttons now show on ALL pages, including pages by 3rd party applications like Arcades and Media Galleries.
Twitter Count Now WORKS
Table-less design (All formatting done via CSS/Style Vars)
Additional built-in Facebook and Twitter options
New options to disable by Usergroup and/or THIS_SCRIPT value (as well as by Forum and by Style)
Pinterest Now Integrated (Gold version only)



As with the prior version, fast loading Asynchronous JavaScript is used everywhere possible.

IMPORTANT UPGRADE NOTICE!

If you are "upgrading" from an old version (any version less than 3.0) be aware this version (TNG) has been coded as a completely new and separate mod. It will NOT upgrade an old version.

I suggest if you run an old version of "More Share Options" you disable it via Product Manager in Admin CP.

Install and configure this new mod and make sure it works and you like it.

If you do like it then you can uninstall the old mod from Product Manager.

IMPORTANT - Some users have reported the new mod will not run until the old mod is uninstalled. If you have installed 3.0 and it is not running, please try uninstalling the old mod first.

VBSEO Compatibility:

UPDATE: It has been reported working with VBSEO!

Basically I have no idea how compatible this may be with VBSEO as I don't have access to a VBSEO enabled forum. If you use VBSEO be sure it works as designed (you can share pages.)

Test share 3 pages: The Forum Home, a Thread (showthread), and a Forum (forumdisplay) - if all 3 shares work I am confident the mod will work completely for you. I suggest you use Twitter or Facebook for your testing.

If you do run into VBSEO issues please post here and I will do my best to fix.

General Compatibility:
This has been tested as far back a VB 4.0.8 and as recent as VB 4.2.0. It is expected to work on all VB 4.x.x versions however if you have a very old version of VB please try the FREE version before purchasing the Gold to ensure compatibility. This is not compatible with VB 3.x.

As of version 3.2.0 there is a recommended manual file edit for those running VB 4.1.9 or below.

Admin CP Full Screen Shot: http://www.qapla.com/mods/ss/msotng_admincp_free.jpg

VB 3.8 Version Here (https://vborg.vbsupport.ru/showthread.php?t=268967).

Please Mark as Installed if you use this. :)
Donations always appreciated. :up:

To be clear the New (TNG) Version is: More Share Options TNG FREE (v 3.2) by BOP5.zip

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5
07-02-2011, 11:08 AM
Reserved.

The following text is not relevant to Version 3.0 or above.

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.

Ricsca
07-02-2011, 11:45 AM
In my site (vbulletin + vbseo) dont work...

BirdOPrey5
07-02-2011, 11:47 AM
In my site (vbulletin + vbseo) dont work...

Please give me some more info- how is it not working?

What version of vBulletin?

Do you see anything at all?

Do you have the regular Facebook Like button enabled?

Link to your site?

BirdOPrey5
07-02-2011, 12:02 PM
I just updated to version 1.01 - Found an error on 4.1.2, maybe other version as well. Please update.

reasoner
07-02-2011, 12:31 PM
In my site (vbulletin + vbseo) dont work...
The same to me. (4.1.4) I don`t see anything in the frontend!? (I can give you no link, because i installed it in my test-VB

singh9211
07-02-2011, 12:35 PM
can please provide the download link to whole zip file as u have mentioned, currently only product xml file is available for download.........

BirdOPrey5
07-02-2011, 12:41 PM
The same to me. (4.1.4) I don`t see anything in the frontend!? (I can give you no link, because i installed it in my test-VB

Very sorry about that. Yes I have uploaded the zip file now instead of just the xml.

can please provide the download link to whole zip file as u have mentioned, currently only product xml file is available for download.........

I have no way of testing this with VBSEO installed. My only guess if maybe VBSEO overrides the default Like Button as well for some reason.

I have installed this on the following forums:

VB 4.1.4 Suite
VB 4.1.2 Forum Only
VB 4.0.8 Forum Only

It worked on all of them on different servers, but none of them have VBSEO installed.

Just to double check make sure you have Enabled the mod and enabled the extra share buttons- everything is disabled by default.

singh9211
07-02-2011, 12:52 PM
hi BirdOPrey5,

thanks for providing the download zip file.

I request you to please check my website http://www.geekworld.co.in, as i have installed the mod and its showing properly but none of the facebook, tweeter, and google +1 buttons are working.

You can check right now.

BirdOPrey5
07-02-2011, 01:28 PM
I was just able to Like and Google +1 this thread which I picked at random just fine:
http://www.geekworld.co.in/showthread.php?2103-apps-gt

Make sure you are testing it with a thread in a public accessible (guest accessible) forum. They might not work in hidden/secret forums.

Twitter is working fine too.

What browser are you using?

I am unliking the page now so it won't show but the +1 will.

singh9211
07-02-2011, 01:47 PM
I was just able to Like and Google +1 this thread which I picked at random just fine:
http://www.geekworld.co.in/showthread.php?2103-apps-gt

Make sure you are testing it with a thread in a public accessible (guest accessible) forum. They might not work in hidden/secret forums.

Twitter is working fine too.

What browser are you using?

I am unliking the page now so it won't show but the +1 will.

Ya u r correct its working, the problem comes only in firefox browser, while it working fine in google chrome.

So want you to please check it under the firefox browser.

BirdOPrey5
07-02-2011, 03:07 PM
I just "Liked" and Google +1 this page: http://www.geekworld.co.in/showthread.php?277-books

Using Firefox 3.6.17 without any problem.

Maybe you are running NoScript on Firefox? That would block any of these from working since they are all javascript based.

Also, what version of vBulletin are you running?

sweetpotato
07-02-2011, 03:53 PM
Love this nice mod, thanks!

BirdOPrey5
07-02-2011, 04:03 PM
I have this error when try to install it

Please try downloading it again. If the error persists try downloading with a different web browser.

I just downloaded it myself and it imported fine.

The error you got is usually the result of a corrupt download.

EDIT- I guess you got it working. ;)

zelnik
07-02-2011, 04:15 PM
The twitter button doesn't work with VBSEO install as it tries to post the nonvbseo url to twitter.

Oddly it works on your previous twitter button integration just fine.

The twitter button also has all your custom @JUOTnet stuff in it also.

sweetpotato
07-02-2011, 04:26 PM
Please try downloading it again. If the error persists try downloading with a different web browser.

I just downloaded it myself and it imported fine.

The error you got is usually the result of a corrupt download.

EDIT- I guess you got it working. ;)
Yes, Thank you! The error showed because I took instruction text file to install :D. Now it works like a charm and I love it.

lodos0677
07-02-2011, 04:27 PM
No working vb4 suite :(

sweetpotato
07-02-2011, 04:31 PM
No working vb4 suite :(
It works for me Vb4.1.4 suite

BirdOPrey5
07-02-2011, 04:42 PM
The twitter button doesn't work with VBSEO install as it tries to post the nonvbseo url to twitter.

Oddly it works on your previous twitter button integration just fine.

The twitter button also has all your custom @JUOTnet stuff in it also.

Oh jeeze! Whoops... Will FIX ASAP.

BirdOPrey5
07-02-2011, 05:02 PM
The twitter button doesn't work with VBSEO install as it tries to post the nonvbseo url to twitter.

Oddly it works on your previous twitter button integration just fine.

The twitter button also has all your custom @JUOTnet stuff in it also.

Uploaded new version 1.02 to fix the twitter username issue- sorry.

I don't understand why with VBSEO the original (vBulletin created) URL won't work at the same time as the VBSEO generated URL. That seems like something basic that should be part of VBSEO.

Honestly I don't have VBSEO so I have no way of test this with it. I have however explicitly set the URL for every share option, not just twitter- so if twitter isn't working with VBSEO my guess is none of them will work with VBSEO.

If you're willing to experiment edit the plugin and find and remove all instances of:
'.$href.'

There's a lot of them. That should cause Twitter and all other share options to use the current URL in the web browser as the link to the thread- this will work but it's not ideal since people may visit the same thread via numerous URLs- but the shares should work with VBSEO in this setup- counts might not be true though.

No working vb4 suite :(

You need to give me some information if you expect help. Some of the basics would be:

What isn't working exactly? Is there an error message? Did it import OK? What version of vBulletin are you using? What browser are you using?

There's not much I can do with "no working vb4 suite :(" - I designed this on a VB 4 suite so it should be working.

It works for me Vb4.1.4 suite

Glad it's working for someone! :up:

puertoblack2003
07-03-2011, 04:27 AM
works good with vbseo..nice job

OlijO
07-03-2011, 06:31 AM
On my side : vBSuite 4.1.4
Google+ work without problem.
Twitter work but the count of tweet stay to zero, perhaps the action is not instantaneous ?

zelnik
07-03-2011, 08:37 AM
Uploaded new version 1.02 to fix the twitter username issue- sorry.

I don't understand why with VBSEO the original (vBulletin created) URL won't work at the same time as the VBSEO generated URL. That seems like something basic that should be part of VBSEO.

Honestly I don't have VBSEO so I have no way of test this with it. I have however explicitly set the URL for every share option, not just twitter- so if twitter isn't working with VBSEO my guess is none of them will work with VBSEO.

If you're willing to experiment edit the plugin and find and remove all instances of:
'.$href.'

There's a lot of them. That should cause Twitter and all other share options to use the current URL in the web browser as the link to the thread- this will work but it's not ideal since people may visit the same thread via numerous URLs- but the shares should work with VBSEO in this setup- counts might not be true though.



You need to give me some information if you expect help. Some of the basics would be:

What isn't working exactly? Is there an error message? Did it import OK? What version of vBulletin are you using? What browser are you using?

There's not much I can do with "no working vb4 suite :(" - I designed this on a VB 4 suite so it should be working.



Glad it's working for someone! :up:

Thanks, I think once the hardcoded twitter stuff was removed then vbseo stuff worked with twitter! :)

oBEAVISo
07-03-2011, 09:32 AM
Seems to work ok for me too on 4.1.4 with vbseo installed . One thing i notice , Once tweeted, the tweet carries the full url address and not the shortened url . Any ideas ?

troyuncucom
07-03-2011, 09:43 AM
can i use 3.8.x?

Sage Knight
07-03-2011, 10:07 AM
Good day sir.

You have just made my day, I needed the exact samething. Cheers!

Edit; Nominated :)

lodos0677
07-03-2011, 03:38 PM
İt ıs facebook connect open.
Later installed. Thank you.

BirdOPrey5
07-03-2011, 03:52 PM
First, you're welcome to everyone who has said "thank you." :)

On my side : vBSuite 4.1.4
Google+ work without problem.
Twitter work but the count of tweet stay to zero, perhaps the action is not instantaneous ?

No it's a conflict with the twitter button and VB4- well known. I noted this 3 times. (In the first post, in the mod instructions, and in the mod setting itself. In all 3 places I said there is a known issue and the count will probably not work with twitter. I recommend disabling the count box for twitter. I included the option to turn it on only in the event t gets fixed by either vBulletin or twitter.)

Thanks, I think once the hardcoded twitter stuff was removed then vbseo stuff worked with twitter! :)

Glad to hear... I will try to program in a VBSEO Installed Yes/No option in the next version so it works either way out of the box without custom edits.

Seems to work ok for me too on 4.1.4 with vbseo installed . One thing i notice , Once tweeted, the tweet carries the full url address and not the shortened url . Any ideas ?


I believe that is something twitter is deciding to do on their own. If you mouse-over the link you will see it indeed has the link to the url shortener address.

stationar
07-03-2011, 04:55 PM
Installed. Like it very much. Two questions:
1. How can I add this to other pages, like downloads.php?
2. How can I edit "tweet" to include URL with title?

BirdOPrey5
07-03-2011, 06:00 PM
1) This should show anywhere the standard vBulletin Facebook Like button would normally show. I'd imagine to add it to a downloads page would require custom coding a plugin to make the facebook_likebutton template available to that page.

2) the title and a link to the page is already included on each tweet.

stationar
07-03-2011, 10:50 PM
It includes title, Site name, but not the link.

BirdOPrey5
07-04-2011, 12:50 AM
can i use 3.8.x?

No, as VB 3.8x does not have a built in Facebook Like button this mod will not work on 3.8. I plan to release a separate mod similar to this for 3.8 but I don't have an estimate yet when that will be.

It includes title, Site name, but not the link.

Please upgrade to the new version, 1.03. I have added a new option: Clean Twitter URL?- You and anyone else with a non-English forum must enable this option for Twitter Links to be created.

oBEAVISo
07-04-2011, 05:36 AM
I believe that is something twitter is deciding to do on their own. If you mouse-over the link you will see it indeed has the link to the url shortener address.

Apologies, I did not notice that at all. Thankyou for the mod and thank you for the reply . nominated and installed. All buttons working as they should with tweet count turned off.

zelnik
07-04-2011, 07:04 AM
Hi BOP5,

Just to clear things up with the vBSEO being compatible with this modification.

It's doesn't really work, per se. Both Twitter and G+1 display the non vbseo urls but if the end user clicks on those then vbSEO will handle that url and convert it to the SEO URL structure.

This isn't a huge problem for Twitter (even though your original Twitter integration worked fine) but for G+1 I assume this is going to be a big problem as Google will obviously only have the VBSEO urls stored on their search engine.

I'm going to try your suggest about removing the href (if memory serves me correct) but could you tell me where to look for it? in the main XML and then reinstall?

Of perhaps you could do it and post it here and we can check to see if it works?

Thanks mate.

zelnik
07-04-2011, 07:31 AM
Hi BOP5,

Just to update, I've figured out how to remove the href tags from Twitter and G+1 and I can confirm they now work perfectly with VBSEO.

I've not attempted the FB stuff as it looks beyond my ability to remove those successfully.

So if you could do a vBSEO option in the next release it would be GREATLY appreciated by us users. Thanks :)

BirdOPrey5
07-04-2011, 12:27 PM
Thanks for the update zelnik.

With Facebook, Twitter, and Digg it really doesn't matter what URL gets sent as long as the URL works- which they do.

I see what you are saying about the Google +1 though- you would want your VBSEO URL sent.

Here is the issue though...

When you first click on a post you go to a URL that looks like /showthread.php?t=1001.

But when you return to a URL via the "First unread post" link you get a URL that looks like /showthread.php?p=2001#post2001.

Plus add page numbers to the mix and you could have many different URLs for the very same page.

By forcing the "href" into the code it normalizes all of these possible URLs to just 1 consistent URL. This is essential to keep the "counts" correct and also will be sure to send someone who follows a link to the top of the page of the thread rather than some post further down the page.

I know VBSEO has nicer looking URLs than in my example above, but the issue is still the same- multiple URLs for the very same page.

I can add the VBSEO fix to the next version of this but it will be near impossible to keep the counts correct. Still it's better than nothing I guess.

stationar
07-04-2011, 02:52 PM
Please upgrade to the new version, 1.03
Thanks. Fix works.

zelnik
07-04-2011, 09:15 PM
By forcing the "href" into the code it normalizes all of these possible URLs to just 1 consistent URL. This is essential to keep the "counts" correct and also will be sure to send someone who follows a link to the top of the page of the thread rather than some post further down the page.

I know VBSEO has nicer looking URLs than in my example above, but the issue is still the same- multiple URLs for the very same page.

I can add the VBSEO fix to the next version of this but it will be near impossible to keep the counts correct. Still it's better than nothing I guess.

Removing the href for twitter sprung the counter into life!

I've clicked on G+1 and I get a counter for that too..

BirdOPrey5
07-04-2011, 11:25 PM
Excellent news.

BirdOPrey5
07-05-2011, 12:20 AM
Released version 1.05. The new option "Force Standard URL?" should be turned off for VBSEO users. This is the equivalent of doing the manual plugin edit I mentioned earlier about removing "$href" from the code.

You should probably experiment with this option whether or not you use VBSEO. It is a function of the type of friendly URL you use as well as if your forum is English language or not. Each share option has its own quirks.

Mukashi
07-05-2011, 02:25 AM
Just uploaded and installed the latest version, but I seem to be having problems with the placement of the buttons. Both with the standard version and with the modified version that you have in the first post. I've attached a screenshot showing how it's appearing for us. Any reason why it would be looking like this? We're using vBSEO, and have the "Force Standard URL?" option off as instructed.

OlijO
07-05-2011, 03:38 AM
First, you're welcome to everyone who has said "thank you." :)



No it's a conflict with the twitter button and VB4- well known. I noted this 3 times. (In the first post, in the mod instructions, and in the mod setting itself. In all 3 places I said there is a known issue and the count will probably not work with twitter. I recommend disabling the count box for twitter. I included the option to turn it on only in the event t gets fixed by either vBulletin or twitter.)



Glad to hear... I will try to program in a VBSEO Installed Yes/No option in the next version so it works either way out of the box without custom edits.




I believe that is something twitter is deciding to do on their own. If you mouse-over the link you will see it indeed has the link to the url shortener address.

Thank you for your support, and sorry for asking something who is already in the first post.
Nominated !

BirdOPrey5
07-05-2011, 11:04 AM
Just uploaded and installed the latest version, but I seem to be having problems with the placement of the buttons. Both with the standard version and with the modified version that you have in the first post. I've attached a screenshot showing how it's appearing for us. Any reason why it would be looking like this? We're using vBSEO, and have the "Force Standard URL?" option off as instructed.

That's very weird that for you your facebook button comes up last when for everyone else the facebook button comes up first. Maybe it's because you're in Australia and the seasons are reversed and the toilet water spins the other way? (just kidding.) (well a little serious.)

I have some ideas to force them into the right order but the easiest fix for now would be to add some extra spacing between the facebook button and the rest.

If you are comfortable, go to thr Admin CP -> Plugin Manager -> Edit the Plugin: More Share Options.

Find the code:

//Standard (Default) Layout
$bop5fb[1] = '<fb:like href=\"'.$href.'\" layout=\"standard\" send=\"false\" width=\"260\" show_faces=\"false\" action=\"like\" colorscheme=\"light\" font=\"tahoma\"></fb:like>';


And replace it with:


//Standard (Default) Layout
$bop5fb[1] = '&nbsp;&nbsp;&nbsp;<fb:like href=\"'.$href.'\" layout=\"standard\" send=\"false\" width=\"260\" show_faces=\"false\" action=\"like\" colorscheme=\"light\" font=\"tahoma\"></fb:like>';


Note the code added in red. That will put proper spacing between your buttons.

Mukashi
07-05-2011, 09:41 PM
Now that's both interesting and weird. Adding the 3 non-breaking spaces makes no difference to the positioning, it leaves it in the same place. Though it could have perhaps been something with its interaction with another addon and tried changing the execution order, however that doesn't seem to change a thing either.

BirdOPrey5
07-05-2011, 10:23 PM
If you can hold out a little longer I'm working a new version that should have vastly better positioning. It will be template based so changes, if needed, will be easier.

Eliasen
07-06-2011, 11:45 AM
If there a way to enable this without having to enable facebook connect?

BirdOPrey5
07-06-2011, 12:07 PM
Not right now but I'll make sure that option is in the next version.

Eliasen
07-06-2011, 12:26 PM
no problem :)!

Tagged for future versions.

BirdOPrey5
07-09-2011, 08:12 PM
Version 2.0 has been released.

This is a major change to how the mod is coded. It now uses its own template.

There are a number of new features including enabling the new Facebook "Send" button, a classic style "Facebook Share" option, and a better AddThis.com share button with a counter.

If your happy with your current version feel free to keep using it but going forward all support will be based off the new 2.0 version.

This is a summary of the options available in 2.0:

Enable More Share Options? - Turns the mod on or off.

Placement - Will Left-justify or Right-justify the share buttons in threads (showthread). In Blogs and CMS they stay in the only logical place. If you choose to enable the AddThis.com Share Button WITH count then you must use the Right side justification. The mod will force right-justification if the AddThis Count Box is enabled.

Disable Facebook Connect Platform? - Since this mod requires your Facebook integration settings to be turned on this will also automatically turn on Facebook Connect. Setting this option to "Yes" will disable Facebook Connect if you do not want to use it.

Force Standard URL? - This should usually be turned on- some people using VBSEO might need to turn it off. Turn this off only if you find links generated by the share options do not link back to the correct thread.

Clean URL? - This strips non-English characters from URLs which are not compatible with Twitter and possible other share sites. You should keep this enabled unless you find links not working for some reason.

Facebook Like Button Type - This lets you choose between a Like and Recommend button, a standard layout or a button count layout, a classic "Share" button, and the legacy IFRAME version of the Facebook Like button. (Or disable the Like button completely.)

Enable Facebook Send Button - Enables or disables the new Facebook "Send" button.

Facebook - Light or Dark - Will use the light or dark layout for Facebook buttons. Light is the standard color and works on most pages. Dark is better for very dark styles. In the event you have both light and dark styles you should choose one and manually edit the more_share_options templates in the other styles and force them to be light or dark as needed.

Your Twitter Username - You should enter your Twitter username here. It will be included with a "via" notice in every tweet from your forum. This is optional.

Related Twitter Username - Twitter allows you to associate a second username with your tweet button. This username will not be part of the tweet but will be presented as an option to follow after the user submits the tweet. You can include a username OR a username and short description of the account. Examples:

JUOTnet (username only)
JUOTnet:The JUOT Twitter Account (username and description)

Enable Twitter Tweet Button - Enables or disables showing the Tweet button.

Enable Twitter Count Box - Enables or disables showing the count box attached to the Tweet button. Note the counter does not work on many VB4 forums due to a conflict between Twitter and vBulletin. You shold test and disable the count if you find it does not work.

Enable Digg Button - Enables or disables showing the Digg button or icon.

Enable Digg Count Box - If enabled the class Digg button with counter will be displayed. If disabled a small Digg icon will show instead.

Enable Google +1 Button - Enables or disables showing the +1 button.

Enable Google +1 Count Box - Enables or disables the counter attached to the +1 button.

AddThis.com Public ID - You should visit www.addthis.com and get your own public id but it is not required. You can use the default public ID or erase it completely. If you register at addthis.com you can put your username here and you will be able to track your shares made via AddThis.

Enable AddThis.com Share Button - Enables or disables showing the AddThis.com Share button.

Enable AddThis.com Count Box - If yes the counter attached to the AddThis Share button will show. If no, no counter will show. If you choose to have no counter you must upload the included image into your /images/misc/ directory on your server. You can also create and upload your own image if you prefer so long as it's named addthis_button.png and is in the images/misc/ directory.

----NOTES-----

By default the AddThis button has the share options for Facebook, Twitter, and Digg built in. This mod is designed so that if you have Facebook, Twitter, and/or Digg enabled it will automatically remove these share options from the AddThis menu to allow room for even more share options and not to confuse your users with multiple ways to share the same page using the same service.

----Upgrade Instructions-----

Just import the product xml file setting "Allow Overwrite" to "Yes"

Full installation instructions included in zip file.

BirdOPrey5
07-09-2011, 08:31 PM
I have pulled version 2.0 because it does not look good in Firefox. I will update ASAP. In the mean time I have made 1.05 available for download again. Please do not use 2.0.

CharlieDelta
07-09-2011, 08:40 PM
I have pulled version 2.0 because it does not look good in Firefox. I will update ASAP. In the mean time I have made 1.05 available for download again. Please do not use 2.0.

Hmm. I just downloaded and installed and use Firefox and it looks great on my site.:D

BirdOPrey5
07-09-2011, 11:52 PM
Hmm. I just downloaded and installed and use Firefox and it looks great on my site.:D

That's great. Unfortunately I had only tested it on Chrome. When I tested it on other browsers it wasn't what I was hoping for, especially on FF. I hate CSS... I couldn't believe how relatively simple code was so different between browsers.

I hope to have a new 2.1 version ready for tomorrow but if 2.0 is good for you I would stay with it. :)

+buG
07-10-2011, 03:12 AM
Only thing keeping me from an install is the digg button. It doesn't look right for some reason (probably an easy fix), do you have any suggestions? https://vborg.vbsupport.ru/external/2011/07/96.jpg Thanks!

Edit: I haven't been able to reproduce the problem unless using the template modification. Everything seems to be working fine without that voluntary step for me.

BirdOPrey5
07-10-2011, 11:59 AM
Only thing keeping me from an install is the digg button. It doesn't look right for some reason (probably an easy fix), do you have any suggestions? https://vborg.vbsupport.ru/external/2011/07/96.jpg Thanks!

Edit: I haven't been able to reproduce the problem unless using the template modification. Everything seems to be working fine without that voluntary step for me.

Are yo using version 2.0? That is one of the issues I noticed. It doesn't happen in Chrome but does in most other browsers. For some reason the word "Digg" in text is displaying even though via CSS it's set to be invisible.

I have found a solution by moving the location of the share menu 1 line up and that will be part of the next release.

Another option of course is just to disable the Digg button completely. People will be able to share to Digg via AddThis if you disable the Digg button.

prado.boris
07-10-2011, 11:02 PM
Is working great on my site (version 1.5) waiting for the version 2.0!!! But i have one question!!

How i can add the share bar to the bottom of the thread?

BirdOPrey5
07-10-2011, 11:25 PM
Is working great on my site (version 1.5) waiting for the version 2.0!!! But i have one question!!

How i can add the share bar to the bottom of the thread?

You wold have to edit your SHOWTHREAD template and move the template hook "facebook_likebutton" to wherever you want in SHOWTHREAD- nearer the bottom would be fine.

Dr.osamA
07-11-2011, 12:46 AM
i love your MODs bro
waiting for version 2.0 or hope 2.1
keep it up bro

waiting . . . . .

Pvtiste
07-11-2011, 07:32 PM
Excellent work but I can't see the send button option... can you tell me please how activate it?

wildheart
07-11-2011, 08:33 PM
Marked as installed and it works. Thanks!

BirdOPrey5
07-11-2011, 08:34 PM
Excellent work but I can't see the send button option... can you tell me please how activate it?

As I noted at the top of this thread I had to pull version 2.0, I will release it as soon as possible as soon as I finish fixing an incompatibility with Firefox. The Send button wasn't part of version 1.05 which you downloaded. Check back soon- in a day or two for the update.

Pvtiste
07-11-2011, 08:53 PM
As I noted at the top of this thread I had to pull version 2.0, I will release it as soon as possible as soon as I finish fixing an incompatibility with Firefox. The Send button wasn't part of version 1.05 which you downloaded. Check back soon- in a day or two for the update.

oh sorry man I didn't read that :)
5 stars

hugh_
07-12-2011, 01:45 AM
Nice mod, thanks. Have you considered adding StumbleUpon (massive referrals)? Also more locations to add the buttons to such as albums, pictures, calendar, calendar posts, member profiles would be great... :)

victorvu
07-12-2011, 04:48 AM
Hi BirdOPrey5:

Thank you for the mod. I installed it using version 1.05, but I installed the other version before that. Now I wanted to remove the buttons that are in the thread area. I need your help here. What code must I remove?

Thanks.

Victor

BirdOPrey5
07-12-2011, 11:17 AM
Nice mod, thanks. Have you considered adding StumbleUpon (massive referrals)? Also more locations to add the buttons to such as albums, pictures, calendar, calendar posts, member profiles would be great... :)

Will definitely be considered for future versions.


Hi BirdOPrey5:

Thank you for the mod. I installed it using version 1.05, but I installed the other version before that. Now I wanted to remove the buttons that are in the thread area. I need your help here. What code must I remove?

Thanks.

Victor

I don't understand the question- if you installed 1.05 and chose "allow overwrite" to be yes it would remove all the old code before installing.

Worst case just uninstall the product through your admin cp and then re-install. There were no manual code edits as part of this mod- unless you mean the option one I posted in the 2nd post in which case just undo that change.

NokStar
07-12-2011, 02:09 PM
Can you please make this for 3.8.x? or atleast some template edits for now, proper addition of +1 Button? Facebook like will be added advantage.

BirdOPrey5
07-12-2011, 02:15 PM
Can you please make this for 3.8.x? or atleast some template edits for now, proper addition of +1 Button? Facebook like will be added advantage.

I do plan to release something for 3.8 as soon as I get version 2.0 stable.

If you want to make manual template edits the codes for each button can be fond on these pages:

http://developers.facebook.com/docs/reference/plugins/like/
http://twitter.com/about/resources/tweetbutton
http://about.digg.com/downloads/button/smart
http://www.google.com/+1/button/
http://www.addthis.com

NokStar
07-12-2011, 02:20 PM
I do plan to release something for 3.8 as soon as I get version 2.0 stable.

If you want to make manual template edits the codes for each button can be fond on these pages:

http://developers.facebook.com/docs/reference/plugins/like/
http://twitter.com/about/resources/tweetbutton
http://about.digg.com/downloads/button/smart
http://www.google.com/+1/button/
http://www.addthis.com

Thanks but how to give the page/thread URL to the button?
If we add that default code to the vb 3.8.x template, will it take all the pages as one or will detect as separate pages and will index correctly?

BirdOPrey5
07-12-2011, 03:21 PM
Be default these buttons will take the current URL automatically. It will work if yo keep the URLs blank. It's just better to include a full URL for consistency.

Alecsmith
07-13-2011, 06:46 AM
Installed look good :)

Thanks :)

wampforum
07-13-2011, 07:44 AM
Ok I have a problem. I disabled this yesterday to try and fi the VB facebook issues now I have gone and enabled it again but its not showing - checked all settings different styles and deleted my broswer cache - still nothing!

will version 2 be faster loading? this version slows my page load down.

Great mod though! If only I could get the built in FB like to work properly!!

toon79
07-13-2011, 09:12 AM
Great job to have it all in one plugin, well done

un? in?
07-13-2011, 10:41 AM
Thanks for mod because, not work by my site. demo: http://raovat.vn-news.org/phu-kien-thoi-trang/1259-den-led-am-nuoc.html#post2072
Please tell me with fix

BirdOPrey5
07-13-2011, 12:18 PM
Ok I have a problem. I disabled this yesterday to try and fi the VB facebook issues now I have gone and enabled it again but its not showing - checked all settings different styles and deleted my broswer cache - still nothing!

will version 2 be faster loading? this version slows my page load down.

Great mod though! If only I could get the built in FB like to work properly!!

Built in Facebook must be enabled for this to show. Version 2.0 will not be any faster loading because all these buttons HAVE to load off their respective sites, they can't be made local.

While this mod allows you to use all these different buttons it doesn't mean you should enable all of them. I would pick only the ones that would work best on your site because yes each one adds some load time to the page.

Great job to have it all in one plugin, well done

Thanks/ More are coming too.

Thanks for mod because, not work by my site. demo: http://raovat.vn-news.org/phu-kien-thoi-trang/1259-den-led-am-nuoc.html#post2072
Please tell me with fix

Please make sure you have Facebook Like button enabled. You need to be able to see the default built in Like button before this mod will work.

un? in?
07-13-2011, 01:05 PM
Please make sure you have Facebook Like button enabled. You need to be able to see the default built in Like button before this mod will work.

Oh my site vbb Options please see images:
https://vborg.vbsupport.ru/external/2011/07/34.png

Thank.

doobiefillin
07-13-2011, 03:46 PM
can you update this to include the Facebook Send button as well?

byalik
07-13-2011, 05:48 PM
What exactly does Force Standard URL? do and how necessary is it? I had to disable it because when it was enabled, my other plugin stopped working properly (https://vborg.vbsupport.ru/showthread.php?t=240677)

RK KINGKONG
07-13-2011, 06:02 PM
great mod thanks alot for your hard work,time & effort .. thank you for bringing these great free mods to us here at VB

doobiefillin
07-13-2011, 06:25 PM
how do i add in the send button and align the group of buttons to the right of the page?

BirdOPrey5
07-13-2011, 07:02 PM
Oh my site vbb Options please see images:
http://data.xuantruongb.com/uploads/data-xuan-truong-b-com-60680848418267668342.png

Thank.

You need to have the Facebook Platform Enabled in Admin CP -> Settings -> Options -> Facebook Options.

If you don't see the built in vBulletin facebook button on your page BEFORE enabling this mod you won't see the extra buttons added by this either.

can you update this to include the Facebook Send button as well?

It will be part of my 2.0 version. Due out soon. My internet connection was down this morning so I wasn't able to use my real computer, otherwise would be done by now.

What exactly does Force Standard URL? do and how necessary is it? I had to disable it because when it was enabled, my other plugin stopped working properly (https://vborg.vbsupport.ru/showthread.php?t=240677)

It implicitly tells each share button to use the same main URL for each thread no matter what URL is actually in someone's browser. People get get to a thread by following the link to the top of the thread, or to any unique post on the page- each is a different URL. Standard URL forces the main URL to be shared each time. It's not required but a better experience including better counts (usually.) I really can't see how it wold stop another mod from working but don't worry about it if you have to turn it off.

great mod thanks alot for your hard work,time & effort .. thank you for bringing these great free mods to us here at VB

You're welcome. :)

how do i add in the send button and align the group of buttons to the right of the page?

Wait for version 2.0. :D

Peterson1
07-14-2011, 12:14 AM
So why don't the URLS on my fb profile page click through to a valid page.

"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https://developers.facebook.com/tools/lint/) and fixing any errors."

I'm using VBSeo

BirdOPrey5
07-14-2011, 11:32 AM
So why don't the URLS on my fb profile page click through to a valid page.

"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https://developers.facebook.com/tools/lint/) and fixing any errors."

I'm using VBSeo

Did you turn off the "Use Standard URL" option as suggested for VBSEO users?

If so please give me a link to a post on your forum where I can see the Like button.

LuDawgs
07-15-2011, 01:26 AM
This is a very nice mod! My entire forum is SSL encrypted, so I'm afraid it might throw warnings with external content. Do I have any options? I think there are SSL options for Facebook/Twitter...any ideas?

BirdOPrey5
07-15-2011, 07:25 PM
I don't know what you will need but this mod is not going to be SSL native anytime soon.

BirdOPrey5
07-16-2011, 01:35 AM
Sorry for the Delay but version 2.2 is now released.

I have tested it on Firefox, Chrome, IE, Opera, and Safari browsers. I have installed it and tested it on VB 4.0.8, 4.1.2, and 4.1.4. I expect it should work on all 4.x versions.

I have changed MANY of the settings, even if upgrading you will need to go to the mod settings in Options and configure it before using it.

There are MANY share buttons now, see the top post for the full listing.

Just because they are all available doesn't mean you SHOULD enable them all. I suggest choosing only the ones that will work best for your community. Each button adds loading time to your page and takes up valuable screen real-estate. This is a balancing act you need to figure out what works best for YOUR forum.

As requested I added share options to Pictures, Albums, and Member Profiles. I also added a share option to FORUMHOME for people who want to share the forum index.

More locations may come in future versions.

BaanFarsang
07-16-2011, 01:56 AM
Errors on vbulletin suite 4.1.5 Beta 1
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_core.php(4490) : eval()'d code on line 96

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

BirdOPrey5
07-16-2011, 02:05 AM
I can't test it on the 4.1.5 beta yet. Like I said I installed this on 4.0.8, 4.1.2, and 4.1.4 without issue.

Maybe try downloading it again in case of a corrupt file... otherwise it could be an incompatibility with 4.1.5 or a bug with the Beta product. I don't usually install Betas so will probably need to wait until 4.1.5 is released before I will test it on 4.1.5.

S3Ponline
07-16-2011, 04:12 AM
Love this mod however for some reason on my static style the Like button goes WAY FAR OUT LEFT

http://www.personalitynation.com/analytical-psychology/5322-c-g-jung-system-types-general-overview.html

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

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

Thanks!

ExcelFox
07-16-2011, 05:13 AM
BOP, thanks a lot for this mod. I think this is going to be a great add-on. Keep up the excellent work....

ExcelFox
07-16-2011, 05:13 AM
Please let us know when you could upgrade it for 4.1.5 Beta

Mukashi
07-16-2011, 05:29 AM
Getting a similar error to that reported above, on 4.1.3


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

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

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

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

S3Ponline
07-16-2011, 06:24 AM
BOP, awesome mod. I’m just wondering if we can reorder them. I would like to put google plus first :(

Iain M
07-16-2011, 07:41 AM
Cheers BOP!

How about an option to show it on FORUMDISPLAY?

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

BirdOPrey5
07-16-2011, 08:49 AM
Love this mod however for some reason on my static style the Like button goes WAY FAR OUT LEFT

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

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

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

Thanks!

This is what I see from your link in Chrome, FF, and IE:
https://vborg.vbsupport.ru/attachment.php?attachmentid=131076&stc=1&d=1310808806

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

BOP, thanks a lot for this mod. I think this is going to be a great add-on. Keep up the excellent work....

Thank You :)

Please let us know when you could upgrade it for 4.1.5 Beta

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

Getting a similar error to that reported above, on 4.1.3


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

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

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

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

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

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

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

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

Cheers BOP!

How about an option to show it on FORUMDISPLAY?

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

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

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

Iain M
07-16-2011, 08:58 AM
Thanks. Nope that URL isn't anything to do with my site, I even searched the database, and templates with no results.

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

BirdOPrey5
07-16-2011, 08:59 AM
For anyone/everyone getting the invalid character errors please do this:

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

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

PHP Version 5.2.14

'./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr/local' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pic' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'

This is what your "View PHP Info" will look like:

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

BirdOPrey5
07-16-2011, 09:00 AM
Thanks. Nope that URL isn't anything to do with my site, I even searched the database, and templates with no results.

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

Link to your site?

Iain M
07-16-2011, 09:08 AM
Link to your site?
sent in PM

BirdOPrey5
07-16-2011, 09:11 AM
Errors on vbulletin suite 4.1.5 Beta 1
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_core.php(4490) : eval()'d code on line 96

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

Getting a similar error to that reported above, on 4.1.3


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

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

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

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

Anyone getting this error please do the following:

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

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

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

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

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

BirdOPrey5
07-16-2011, 09:48 AM
Cheers BOP!

How about an option to show it on FORUMDISPLAY?

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

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

I will fix it in the next update.

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

Edit the template: more_share_options

Find the line:
<fb:send href=?{vb:raw bophref}? font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>

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

BaanFarsang
07-16-2011, 09:53 AM
Disable of Add Share Options to Templates and still warning too.

BirdOPrey5
07-16-2011, 09:56 AM
Disable of Add Share Options to Templates and still warning too.

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

Thank You.

sweetpotato
07-16-2011, 10:01 AM
Have syntax error:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/content/25/6973325/html/includes/class_core.php(4464) : eval()'d code on line 96

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

BirdOPrey5
07-16-2011, 10:08 AM
Have syntax error:

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

BirdOPrey5
07-16-2011, 11:02 AM
Attached is a copy of a "virgin" template- it has very minimal custom spacing edits.

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

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


<!-- Google+1 START -->

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

<!-- Google+1 END -->


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

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

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

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

BaanFarsang
07-16-2011, 11:31 AM
Thanks. Please let me know what your "FORUMHOME" location is set to. Please turn it off on FORUMHOME and test again.

Thank You.

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

Hakan39
07-16-2011, 12:10 PM
Thanks

Mukashi
07-16-2011, 12:33 PM
This makes it even less likely 4.1.5 is the problem. Can you please give me a link to your forum?
http://bmgf.bulbagarden.net

Have currently disabled the addon, while we try and figure this out. Almost midnight here right now, will try your solution from here (https://vborg.vbsupport.ru/showpost.php?p=2221136&postcount=98) tomorrow.

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

BirdOPrey5
07-16-2011, 03:41 PM
http://bmgf.bulbagarden.net

Have currently disabled the addon, while we try and figure this out. Almost midnight here right now, will try your solution from here (https://vborg.vbsupport.ru/showpost.php?p=2221136&postcount=98) tomorrow.

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


Thanks.

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

danswano
07-16-2011, 04:02 PM
VB 4.3.1PL1

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

BirdOPrey5
07-16-2011, 05:58 PM
VB 4.3.1PL1

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

Link to your forum?

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

Does it work in threads?

danswano
07-16-2011, 07:27 PM
Like is the same as Recommend and yes it works in threads but not in forumhome.

BirdOPrey5
07-16-2011, 08:34 PM
Link to your forum??? This is a share mod after all, you'd think I wouldn't have to pull teeth to get people to share their forums. :p

BirdOPrey5
07-16-2011, 08:52 PM
I have released Version 2.23. This fixed the bug where the Facebook Send button wouldn't work on some pages if the "Force Standard URL" option was disabled.

Added new option to turn off automatic template edits.
Added instructions for manual template edits.

Added option to disable the mod in specific styles.

Added "Virgin Template" to the zip file for people who want to re-order the layout of the share buttons.

Still working on those getting "invalid character" errors. Please follow instructions in posts 95 & 98 if you are still getting those errors. Please give me as much info as possible - your forum version, link to your forum, php version, etc...

remekk
07-16-2011, 09:19 PM
Hi,
On iPad there is no google +1 icon :(

Remek

StonePilot
07-16-2011, 09:23 PM
Works great thus far! Nice work.

I'll read through the docs and the rest of this thea to see if anyone has mentioned this, but I'd like to change the order that the icons appear.

BirdOPrey5
07-16-2011, 11:25 PM
Hi,
On iPad there is no google +1 icon :(

Remek

Do you ever see a Google +1 on iPad? At any other site?

Works great thus far! Nice work.

I'll read through the docs and the rest of this thea to see if anyone has mentioned this, but I'd like to change the order that the icons appear.

Open the virgin template text file that was in the zip and follow the instructions.

Mukashi
07-16-2011, 11:41 PM
Thanks.

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

I don't believe we've done anything to change its location, so I'm assuming that's its default location.

Using v22, I made the change from your post earlier, and it removed 2 of the errors, but two of the errors remained.
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97
Also, one of my staff noticed that member profiles would not load when the mod was active.

Upgraded to v223, and found that we got a slightly different error. Disabled the add share options to templates plugin, and disabled everything in the mod other than turning it off, and still had the following error.


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

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

I'm guessing that these errors may have something to do with our vBSEO settings? That's about the only thing which seems to make sense.
Probably should mention also, we do have an edited class_core.php, as per Paul M's changes here (https://vborg.vbsupport.ru/showthread.php?t=231873).

BirdOPrey5
07-17-2011, 12:20 AM
I don't believe we've done anything to change its location, so I'm assuming that's its default location.

Using v22, I made the change from your post earlier, and it removed 2 of the errors, but two of the errors remained.
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 96

Parse error: syntax error, unexpected '<' in /home/themozz/public_html/bmgf/includes/class_core.php(4465) : eval()'d code on line 97
Also, one of my staff noticed that member profiles would not load when the mod was active.

Upgraded to v223, and found that we got a slightly different error. Disabled the add share options to templates plugin, and disabled everything in the mod other than turning it off, and still had the following error.


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

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

I'm guessing that these errors may have something to do with our vBSEO settings? That's about the only thing which seems to make sense.
Probably should mention also, we do have an edited class_core.php, as per Paul M's changes here (https://vborg.vbsupport.ru/showthread.php?t=231873).

Thanks for the info, I'm not 100% sure what the issue yet, althogh VBSEO seems like a good scape-goat. :D

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

Thanks.

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

yahooooh
07-17-2011, 03:00 PM
could you support groups and groups disscusions

ijob
07-17-2011, 05:10 PM
Hi,

I can see it on my forum home but not in my threads anywhere.....

BirdOPrey5
07-17-2011, 06:34 PM
could you support groups and groups disscusions

They are on the list.

Hi,

I can see it on my forum home but not in my threads anywhere.....

https://vborg.vbsupport.ru/external/2011/08/1.gif

MySaltyreef
07-17-2011, 07:20 PM
installed on 4.1.4 works great, nominated !!

Dr.osamA
07-17-2011, 11:31 PM
Excellent

installed + 5stars
thank you bro
can i translate it to Arabic ??

BirdOPrey5
07-18-2011, 12:11 AM
installed on 4.1.4 works great, nominated !!

Thanks. :)

Excellent

installed + 5stars
thank you bro
can i translate it to Arabic ??

Yes but I would wait a few more days to see if I can figure out the invalid character error. :up:

S3Ponline
07-18-2011, 12:30 AM
I nominated as well!

If only there was a way to help speed up the delivery of these.

My 2nd view at 2MBPs connection is ~1 second, but these buttons increase it up by a second.

BirdOPrey5
07-18-2011, 12:53 AM
Thank you all for the nominations! :)

The Rocketeer
07-18-2011, 01:39 AM
needs a bit more work BOP. Great mod But I just upgraded from V2 to V225 and my forums favicon is gone! :p lol

BirdOPrey5
07-18-2011, 03:47 AM
needs a bit more work BOP. Great mod But I just upgraded from V2 to V225 and my forums favicon is gone! :p lol

I don't see how this mod could possibly affect your favicon... link to your forum?

Ricsca
07-18-2011, 08:19 AM
In italian the like bottom dont is tight

https://vborg.vbsupport.ru/

BirdOPrey5
07-18-2011, 10:14 AM
In italian the like bottom dont is tight

http://img819.imageshack.us/img819/5966/likek.jpg

In the template more_share_options

find the code:


<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>


Directly under this add the line:
<td width="10">&nbsp;</td>

Should fix your spacing issue.

BlueCheri
07-18-2011, 10:33 AM
Very useful, thanx

DevOne5555
07-18-2011, 02:15 PM
Does version 2.25 still require Facebook Connect be turned on?

vigneshrajesh
07-18-2011, 02:42 PM
wow..very cool ..i just installed for my forum..it rocks..

BirdOPrey5
07-18-2011, 04:28 PM
Very useful, thanx

wow..very cool ..i just installed for my forum..it rocks..

Thanks. :up:

Does version 2.25 still require Facebook Connect be turned on?

It does require the Facebook Platform to be enabled, but now there is a setting to let you disable Facebook Connect from inside this mod.

masterweb
07-18-2011, 05:22 PM
Installed on 5 minutes and working great till now, if anyone is looking for a showcase about how it look feel free to check: http://www.onlinewebmarket.net/forum.php

Thanks BirdOPrey5 for releasing this hack.

BaanFarsang
07-18-2011, 05:46 PM
OK, it work on VB4.1.5 by replaced Virgin Template - more_share_options Code to more_share_options.

http://www.baanfarsang.com/forum.php

BirdOPrey5
07-18-2011, 07:47 PM
OK, it work on VB4.1.5 by replaced Virgin Template - more_share_options Code to more_share_options.

http://www.baanfarsang.com/forum.php

Thank you for this info!:up:

sticky
07-18-2011, 11:18 PM
Will this work on the CMS?

BirdOPrey5
07-19-2011, 12:22 AM
Will this work on the CMS?

It works on CMS Articles.

Taurus1
07-19-2011, 08:21 AM
Is it possible to have all the buttons only load after the page loaded?

BirdOPrey5
07-19-2011, 09:49 AM
Is it possible to have all the buttons only load after the page loaded?

It wold be nice but at this time none of them offer asynchronous loading. I will keep an eye out for it if they do. I imagine they probably will one day.


In other news it looks like in 4.1.5 you can activate Facebook Like without enabling the Facebook Platform: http://tracker.vbulletin.com/browse/VBIV-7715

I'm not sure the ramifications yet for this mod, once 4.1.5 is final I will probably release a new version only for 4.1.5 and above.

Taurus1
07-19-2011, 10:13 AM
I asked because I read in this thread: https://www.vbulletin.com/forum/showthread.php/376625-Google-1/page2

about some way to do it with jquery. This would really be great, and I think would make a very big difference in page load times.

BaanFarsang
07-19-2011, 10:19 AM
It wold be nice but at this time none of them offer asynchronous loading. I will keep an eye out for it if they do. I imagine they probably will one day.


In other news it looks like in 4.1.5 you can activate Facebook Like without enabling the Facebook Platform: http://tracker.vbulletin.com/browse/VBIV-7715

I'm not sure the ramifications yet for this mod, once 4.1.5 is final I will probably release a new version only for 4.1.5 and above.

What's your means, we have to enable or disable "Enable Facebook Platform"?

For me work with set Yes at of Enable Facebook Platform.

BirdOPrey5
07-19-2011, 01:41 PM
I asked because I read in this thread: https://www.vbulletin.com/forum/showthread.php/376625-Google-1/page2

about some way to do it with jquery. This would really be great, and I think would make a very big difference in page load times.

I'll look into it.

What's your means, we have to enable or disable "Enable Facebook Platform"?

For me work with set Yes at of Enable Facebook Platform.

Up through and including 4.1.4 you must enable the Facebook Platform for the mod to work. Starting in 4.1.5 this might not be required, but it wouldn't hurt. I'm not going to make any changes though while 4.1.5 is in beta though.

bosken
07-19-2011, 03:53 PM
Installed, works with 4.1.4

onegawd
07-19-2011, 07:26 PM
Hi,

I installed the plugin. Facebook Platform was enabled and working, I checked again and it's still enabled.
Nothing is showing up on the site though.

Version 4.1.4
http://needtobuildmuscle.net/forum/forum.php

Thanks.

BirdOPrey5
07-20-2011, 12:10 AM
Hi,

I installed the plugin. Facebook Platform was enabled and working, I checked again and it's still enabled.
Nothing is showing up on the site though.

Version 4.1.4
http://needtobuildmuscle.net/forum/forum.php

Thanks.

You also need to have the Facebook Button enabled in threads (and blogs and CMS articles if you want them there) in your built in Facebook Options.

Can you confirm it is enabled? If so please disable the mod and confirm you can get the normal facebook like button to show in your threads.

onegawd
07-20-2011, 12:48 AM
You also need to have the Facebook Button enabled in threads (and blogs and CMS articles if you want them there) in your built in Facebook Options.

Can you confirm it is enabled? If so please disable the mod and confirm you can get the normal facebook like button to show in your threads.

Yup, there enabled.
Just disabled the mod and the Facebook button is showing up again.

odln018
07-20-2011, 04:44 PM
I don't seem to be able to get this to work. I've imported the product, enable the mod, ensure that facebook was configured, but still no go. I'm just not seeing buttons on any posts/threads

onegawd
07-20-2011, 04:54 PM
I don't seem to be able to get this to work. I've imported the product, enable the mod, ensure that facebook was configured, but still no go. I'm just not seeing buttons on any posts/threads

Same issue as me.

What version are you using?

As a quick thought I do have that new phising patch installed if theres anything with that that might cause a conflict.

odln018
07-20-2011, 04:57 PM
I'm using 4.1.4 PL 2.

I'm not even able to get the Facebook connect button to show up, either in my custom style or the default.

odln018
07-20-2011, 05:28 PM
OK, disregard, I did two things. I double checked my facebook app settings, INCLUDING click on the "Web" item on the left, and filling that information out.

onegawd
07-20-2011, 05:54 PM
OK, disregard, I did two things. I double checked my facebook app settings, INCLUDING click on the "Web" item on the left, and filling that information out.

Ah, different problem then me then.

The "web" section on the facebook app wasnt filled out, but I just did that and still no go with the mod showing up.

Although my scenario is different cause my facebook stuff does show up.

BirdOPrey5
07-20-2011, 11:16 PM
I'm trying to figure out what could case nothing at all to show without any kind of error... very weird indeed.

Can you guys confirm the existence of the more_share_options template in your styles and that is isn't empty?

onegawd
07-21-2011, 12:23 AM
I'm trying to figure out what could case nothing at all to show without any kind of error... very weird indeed.

Can you guys confirm the existence of the more_share_options template in your styles and that is isn't empty?

Yup, It's there and not empty.

<!-- More Share Options by BOP5 Start -->

<!-- Alignment and Setup. Do not edit this. -->

<div class="bop5share" style="<vb:if condition="($bopright == 2 AND THIS_SCRIPT=='showthread') OR (THIS_SCRIPT=='album' AND $boppics == 2) OR (THIS_SCRIPT=='member' AND $bopprofiles == 2) OR (THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 2 OR $vboptions['bop5more_home'] == 4))">float:right;<vb:else /><vb:if condition="THIS_SCRIPT=='album'">float:left;</vb:if></vb:if><vb:if condition="THIS_SCRIPT=='member' AND $bopprofiles == 2"> margin-bottom:5px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND $vboptions['bop5more_home'] == 1"> margin-top:10px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 3 OR $vboptions['bop5more_home'] == 4)"> margin-top:20px;</vb:if>">

<table border="0" style="padding:1px;"><tr>

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

<!-- End Alignment and Setup. -->

<!-- Facebook Like/Recommend START -->

<vb:if condition="$vboptions['bop5more_fbtype'] == 1">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="260" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 2">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 5">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="350" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 6">
<td width="125">
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 99">
<td>
<div align="center" width="280" style="float:left;">
<iframe id="fb_likeframe" src="http://www.facebook.com/plugins/like.php?href={vb:raw bophrefen}&amp;layout=standard&amp;show_faces=false&amp;width= 260&amp;action=like&amp;font=tahoma&amp;colorscheme={vb:raw boplord}&amp;height=27" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 90">
<td>
<script>function fbs_click() {u=location.href;t=document.title;window.open('htt p://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,stat us=0,width=626,height=436');return false;}</script><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; text-decoration:none; } </style> <a rel="nofollow" href="http://www.facebook.com/share.php?u={vb:raw bophrefen}" class="fb_share_button" onclick="return fbs_click()" target="_blank" style="text-decoration:none;">Share</a>
</td>
<td width="10">&nbsp;</td>
</vb:if>

<!-- Facebook Like/Recommend END -->
<!-- Facebook Send START -->

<vb:if condition="$bopfbsend == 'true'">
<td>
<fb:send <vb:if condition="$bophref">href=

odln018
07-21-2011, 12:24 AM
OK, I was able to get my facebook thing to show up, but it's only showing the "like" button. I tried to enable Google +1, but there is nothing showing up.

Here are the contents of my more_share_options template.

If you'd like access to my forum for troubleshooting, let me know.

<!-- More Share Options by BOP5 Start -->

<!-- Alignment and Setup. Do not edit this. -->

<div class="bop5share" style="<vb:if condition="($bopright == 2 AND THIS_SCRIPT=='showthread') OR (THIS_SCRIPT=='album' AND $boppics == 2) OR (THIS_SCRIPT=='member' AND $bopprofiles == 2) OR (THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 2 OR $vboptions['bop5more_home'] == 4))">float:right;<vb:else /><vb:if condition="THIS_SCRIPT=='album'">float:left;</vb:if></vb:if><vb:if condition="THIS_SCRIPT=='member' AND $bopprofiles == 2"> margin-bottom:5px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND $vboptions['bop5more_home'] == 1"> margin-top:10px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 3 OR $vboptions['bop5more_home'] == 4)"> margin-top:20px;</vb:if>">

<table border="0" style="padding:1px;"><tr>

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

<!-- End Alignment and Setup. -->

<!-- Facebook Like/Recommend START -->

<vb:if condition="$vboptions['bop5more_fbtype'] == 1">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="260" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 2">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 5">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="350" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 6">
<td width="125">
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 99">
<td>
<div align="center" width="280" style="float:left;">
<iframe id="fb_likeframe" src="http://www.facebook.com/plugins/like.php?href={vb:raw bophrefen}&amp;layout=standard&amp;show_faces=false&amp;width= 260&amp;action=like&amp;font=tahoma&amp;colorscheme={vb:raw boplord}&amp;height=27" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 90">
<td>
<script>function fbs_click() {u=location.href;t=document.title;window.open('htt p://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,stat us=0,width=626,height=436');return false;}</script><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; text-decoration:none; } </style> <a rel="nofollow" href="http://www.facebook.com/share.php?u={vb:raw bophrefen}" class="fb_share_button" onclick="return fbs_click()" target="_blank" style="text-decoration:none;">Share</a>
</td>
<td width="10">&nbsp;</td>
</vb:if>

<!-- Facebook Like/Recommend END -->
<!-- Facebook Send START -->

<vb:if condition="$bopfbsend == 'true'">
<td>
<fb:send <vb:if condition="$bophref">href=”{vb:raw bophref}”</vb:if> font=”tahoma" colorscheme="{vb:raw boplord}"></fb:send>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
</vb:if>

<!-- Facebook Send END -->
<!-- Twitter Tweet START -->

<vb:if condition="$boptwit">
<td>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="<vb:if condition="$boptwit == 2">none<vb:else />horizontal</vb:if>" data-via="{vb:raw boptwitname}" data-related="{vb:raw boptwitname2}" data-url="{vb:raw bophref}" lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</td>
<vb:if condition="($boptwit == 2 AND !$bopdigg AND !$bopgoog AND !$bopsutype AND !$boplinkedin AND $bopaddthis == 2) OR ($boptwit == 2 AND !$bopdigg AND !$bopgoog AND $bopsutype) OR ($boptwit == 2 AND !$bopdigg AND !$bopgoog AND !$bopsutype AND $boplinkedin) OR ($boptwit == 2 AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Twitter Tweet END -->
<!-- Digg START -->

<vb:if condition="$bopdigg">
<td>
<div style="position:relative; top:0px; left:0px;">
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();</script>
<a class="DiggThisButton Digg<vb:if condition="$bopdigg == 1">Compact<vb:else />Icon</vb:if>" href="http://digg.com/submit?url={vb:raw bophrefen}"></a>
</div>
</td>
<vb:if condition="(($bopsutype AND !$bopgoog) OR (!$bopsutype AND $boplinkedin AND !$bopgoog) OR (!$bopsutype AND !$boplinkedin AND $bopaddthis == 2 AND !$bopgoog) OR ($bopdigg AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5)))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Digg END -->
<!-- Google+1 START -->

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

<!-- Google+1 END -->
<!-- StumbleUpon START -->

<vb:if condition="$bopsutype">
<td>
<script src="http://www.stumbleupon.com/hostedbadge.php?s={vb:raw bopsutype}&r={vb:raw bophrefen}"></script>
<vb:if condition="$boplinkedin OR $bopaddthis == 2"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</td>
<vb:if condition="(!$boplinkedin == 2 AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- StumbleUpon END -->
<!-- Linked In START -->

<vb:if condition="$boplinkedin">
<td>
<script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-url="{vb:raw bophref}" <vb:if condition="$boplinkedin == 1">data-counter="right"</vb:if>></script>
<vb:if condition="$bopaddthis == 2 OR ($bopaddthis AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</td>
</vb:if>

<!-- Linked In END -->
<!-- AddThis START -->

<vb:if condition="$bopaddthis">
<vb:if condition="$bopaddthis == 1">
<td>
<div class="addthis_toolbox addthis_default_style " addthis:url="{vb:raw bophref}">
<a class="addthis_counter addthis_pill_style"></a></div></div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={vb:raw bopaddthisid}"></script>
<script type="text/javascript">
window.onerror = null;
var addthis_config = {
services_exclude: 'print<vb:if condition="$vboptions['bop5more_fbtype']">, facebook</vb:if><vb:if condition="$boptwit">, twitter</vb:if><vb:if condition="$bopdigg">, digg</vb:if><vb:if condition="$bopsutype">, stumbleupon</vb:if>'
}
</script>
</td>
<vb:else />
<td>
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid={vb:raw bopaddthisid}"><img src="{vb:raw vboptions.bburl}/images/misc/addthis_button.png" alt="Bookmark and Share" style="border:0; position:relative; top:-1px;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={vb:raw bopaddthisid}"></script>
<script type="text/javascript">
window.onerror = null;
var addthis_config = {
services_exclude: 'print,<vb:if condition="$vboptions['bop5more_fbtype']">, facebook</vb:if><vb:if condition="$boptwit">, twitter</vb:if><vb:if condition="$bopdigg">, digg</vb:if><vb:if condition="$bopsutype">, stumbleupon</vb:if>'
}
</script>
</td>
</vb:if>
</vb:if>

<!-- AddThis END -->
<!-- DO NOT EDIT BELOW THIS LINE -->

</tr></table>

<vb:if condition="$bopfbold">
<span id="fb-root"></span><script src="http://connect.facebook.net/en_US/all.js#appId={vb:raw vboptions.facebookappid}&amp;xfbml=1"></script>
</vb:if>
</div>

<vb:if condition="THIS_SCRIPT=='album' AND $boppics">
<br />&nbsp;
</vb:if>

<!-- More Share Options by BOP5 End -->

onegawd
07-21-2011, 12:26 AM
hey, you got way more in your template then mine, lol.

hilaryl
07-21-2011, 02:18 AM
Can this mod be set to just display in blog posts and not in forum threads (even if they are publically viewable sections) or member profiles?

onegawd
07-21-2011, 08:44 AM
I uninstalled and reinstalled, my template file still looks incomplete like how i posted above.

BirdOPrey5
07-21-2011, 11:28 AM
hey, you got way more in your template then mine, lol.

I uninstalled and reinstalled, my template file still looks incomplete like how i posted above.

You might have a corrupted install file... Download a new copy, preferably using a different browser and try to install that way.

if the template still isn't full just copy and paste the full template odln018 posted in and see if it works- but you probably have bigger problems then just the template.

Can this mod be set to just display in blog posts and not in forum threads (even if they are publically viewable sections) or member profiles?

Yes, you can individually enable or disable more share options in each location (except albums and pictures are both or neither.)

zelnik
07-21-2011, 01:59 PM
thanks for the update!

odln018
07-21-2011, 02:15 PM
BOP -
Any further thoughts on why my other buttons aren't showing up?

BirdOPrey5
07-21-2011, 02:43 PM
BOP -
Any further thoughts on why my other buttons aren't showing up?

Not really- please disable this mod, enable the built in facebook options, and give me a link to your forum. I should be able to see the built in facebook button in threads.

8thos
07-21-2011, 04:13 PM
Hey when hitting the Like button in this mod, does it give a preview of the page you liked on your Facebook Wall?

onegawd
07-21-2011, 09:58 PM
You might have a corrupted install file... Download a new copy, preferably using a different browser and try to install that way.

if the template still isn't full just copy and paste the full template odln018 posted in and see if it works- but you probably have bigger problems then just the template.



Yes, you can individually enable or disable more share options in each location (except albums and pictures are both or neither.)

I uninstalled the mod. Downloaded a new copy using a different browser. Imported it, then enabled it. Still not showing up.
Checked the template and it's broken how it was before.. So I copy and pasted the template from odlin018. Still no go.

8thos
07-21-2011, 10:07 PM
Nevermind BOP I found the answer: https://vborg.vbsupport.ru/showthread.php?p=2223367

8thos
07-21-2011, 11:34 PM
The day I try figuring this out is the day they decide to change it. https://github.com/facebook/connect-js/issues/280

yahooooh
07-22-2011, 09:33 PM
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared

8thos
07-22-2011, 11:07 PM
Works perfect! How can I get this working with 8way Media Library?

How can I get the Facebook Share button to let us choose an image?

BirdOPrey5
07-23-2011, 02:03 AM
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared

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

Works perfect! How can I get this working with 8way Media Library?

How can I get the Facebook Share button to let us choose an image?

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

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

8thos
07-23-2011, 02:14 AM
Thank you for your report. Unfortunately I can't reproduce the problem so I don't have any suggestions at this time. I will keep a look-out should I find more info on the problem.



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

As for setting an image you should be able to set an image for your facebook application and it should use that if you have your app-id set in facebook settings.My Facebook App Image seems to be broken. I'll figure it out thanks!

onegawd
07-23-2011, 03:09 AM
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/xxxxxx/public_html/includes/class_core.php(4464) : eval()'d code on line 108

vbulletin 4.0.4 pl2
i try v225
and this error appeared

I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225

Mukashi
07-24-2011, 12:56 AM
Thanks for the info, I'm not 100% sure what the issue yet, althogh VBSEO seems like a good scape-goat. :D

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

Thanks.

I suggest everyone upgrade to 2.25 as it should have better performance with the debug code removed.
Okay, finally got a chance to update, let's see what we've got.

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

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

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

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

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

BirdOPrey5
07-24-2011, 01:01 PM
I'm getting the exact same thing.

But on Vbulletin 4.1.4 pl2 with v225

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

vbulletin 4.0.4 pl2
i try v225
and this error appeared

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

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

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

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

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

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

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

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

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

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

onegawd
07-24-2011, 04:32 PM
Same issue.

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

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

BirdOPrey5
07-24-2011, 07:34 PM
Same issue.

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

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

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

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

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


<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>


Replace all the " quotes in red with a normal " quote.

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

The funky quote isn't valid on some systems.

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

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

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

onegawd
07-24-2011, 08:21 PM
OK I found your problem- it is likely the problem everyone has been having.

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

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


<fb:send <vb:if condition="$bophref">href="{vb:raw bophref}?</vb:if> font=?tahoma" colorscheme="{vb:raw boplord}"></fb:send>


Replace all the " quotes in red with a normal " quote.

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

The funky quote isn't valid on some systems.

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

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

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

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

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

BirdOPrey5
07-24-2011, 08:26 PM
Maybe you need to "revert" the more_share_options template now. It might have saved over the old version.

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

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

onegawd
07-24-2011, 08:54 PM
Ok. Fixed it.
For the template, when I copied over the good one that was posted here. I replaced the same quotes in that file as you specified for the xml. Worked perfect. Thanks!

BirdOPrey5
07-24-2011, 09:57 PM
Great to hear. :up:

Anyone else with an invalid character error should follow my instructions in post #176.

Revert or delete your existing more_share_options templates before re-installing the mod.


On an unrelated note I've noticed the way vBulletin loads the Facebook button is good (it loads last) but it could be better.

I found this issue in the bug tracker: http://tracker.vbulletin.com/browse/VBIV-9264?page=com.atlassian.jira.plugin.system.issueta bpanels%3Achangehistory-tabpanel

Please vote for the issue if you want faster/better performing Facebook buttons.

sportsfroma2
07-24-2011, 10:57 PM
Quick question- this probably isn't possible, but I thought I'd ask:

Sometimes, I've noticed that my pages hang up on the loading of the stumbleupon button, and when it got really bad I disabled your mod for a few hours and then enabled it, and it was loading fine again...

Is there a way to serve those images locally OR perhaps to make it so they load after the content (posts on that page) load?

If not, not a big deal, I understand it's probably quite difficult to implement that change.

Thanks!

BirdOPrey5
07-24-2011, 11:36 PM
The next version of this mod will have all the share options (including stumbleupon) loading asynchronously which means the rest of the page will load and not wait for any of the share buttons to finish loading.

sportsfroma2
07-24-2011, 11:47 PM
The next version of this mod will have all the share options (including stumbleupon) loading asynchronously which means the rest of the page will load and not wait for any of the share buttons to finish loading.


incredible... Thanks BirdOPrey!!

onegawd
07-25-2011, 05:11 AM
Love this mod. :)

1 Question. Any plans to have an option to disable the share icon on specified forums (such as private sections) ?

BirdOPrey5
07-25-2011, 12:36 PM
Love this mod. :)

1 Question. Any plans to have an option to disable the share icon on specified forums (such as private sections) ?

Yes, will also be part of the next version.

BirdOPrey5
07-25-2011, 04:51 PM
Updated Mod to Version 2.5

New Features:

New simpler template layout- no virgin template required for edits.
All buttons now load asynchronously so the page load does not wait for the buttons.*
New option to disable or enable the share buttons in specific forums (to disable in private forums).
Includes "Invalid Character" in template bug fix.


I strongly recommend everyone upgrade to this latest version.

Note: I have moved the default order of the buttons- the Goolge +1 button does not resize automatically so to have a clean look and consistent spacing between buttons I had to move it to the very end.

You can easily change the order of buttons by manually editing the more_share_options template. A "virgin template" is no longer required- simply copy and paste the button codes in whatever order you want them.

I strongly recommend you revert any customization you've made in the more_share_options template so you work off the new, simplified, template- however the mod should still work with the old 2.25 template.

BirdOPrey5
07-25-2011, 05:01 PM
Oh on older versions of vBulletin (4.1.1 and below) the Facebook Button Code loads asynchronously because it's supplied by this mod.

However in 4.1.2 and above vBulletin itself supplies the code and it's not technically asynchronous, HOWEVER it loads at the very bottom of the page so the result is virtually the same as asynchronous loading.

I strongly urge everyone to vote this issue in the tracker to ask vBulletin convert it to completely asynchronous code: http://tracker.vbulletin.com/browse/VBIV-9264?page=com.atlassian.jira.plugin.system.issueta bpanels%3Achangehistory-tabpanel


If You absolutely must have asynchronous loading on Facebook in 4.1.2 and above you can manually edit your facebook_footer template.

Erase it all and replace it with:

<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin_facebook.js?v={vb:raw vboptions.simpleversion}"></script>
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({appId: '{vb:raw vboptions.facebookappid}', status: true, cookie: true,xfbml: true});
FB.Event.subscribe('edge.create', function(url) {
_gaq.push(['_trackSocial', 'facebook', 'like', url]);
});
FB.Event.subscribe('edge.remove', function(url) {
_gaq.push(['_trackSocial', 'facebook', 'unlike', url]);
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>

<script type="text/javascript">
<!--
YAHOO.util.Event.onDOMReady(
function()
{
vBfb = new vB_Facebook({
appid : "{vb:raw vboptions.facebookappid}",
connected : {vb:raw connected},
active : {vb:raw active},
autoreg : {vb:raw vboptions.facebookautoregister},
feed_newthread : {vb:raw vboptions.fbfeednewthread},
feed_postreply : {vb:raw vboptions.fbfeedpostreply},
feed_blogentry : {vb:raw vboptions.fbfeedblogentry},
feed_blogcomment : {vb:raw vboptions.fbfeedblogcomment},
feed_newarticle : {vb:raw vboptions.fbfeednewarticle},
feed_articlecomment : {vb:raw vboptions.fbfeedarticlecomment}
});
}
);
-->
</script>




EDIT - It appears sometime between 4.1.2 an 4.2.0 the default code is now asynchronous. I do not know when the change happened but I suggest you not make this change on a newer VB version (certainly not 4.2.0+)

BaanFarsang
07-25-2011, 05:08 PM
Thanks, work on 4.1.5 beta versions and fast loading page too. But press like button above some Pictures, there aren't show any contents on Facebook, by set like as like button counts. Also, if set like as like standard it show error: "Your page's type requires that a meta tag of the form <meta property="og:image" ...> be present."

fukdawrld
07-25-2011, 08:37 PM
Hello I'm on 4.1.4 pl2 and everything is working great on the mod. The only thing I noticed is its breaking the template on chrome only..opera and firefox seem to work fine. Any suggestions?

I've tried turning auto templates off but nothing changes it except disabling the mod.

131393

fukdawrld
07-25-2011, 08:51 PM
On a more thorough view I see its not just the username but the entire banner alignment..its all pushed to the left.

BirdOPrey5
07-25-2011, 11:23 PM
I will need a link to your forum.

Taurus1
07-25-2011, 11:28 PM
Joe, I want to thank you from the bottom of my heart for what you have done in this latest update! The asynchronous loading of all the buttons makes a huge difference on my forum. I live and work in China, and also have many Chinese members. And as Twitter, Facebook, google etc are blocked here, this always caused a huge lag on pageload. Now it loads great! Once again, thank you so much!!

onegawd
07-26-2011, 01:51 AM
This is awesome, thanks for the update. Works perfect!
:)

fukdawrld
07-26-2011, 02:15 AM
I will need a link to your forum.

Ok...its an adult site so I pm the link and log in.

Mukashi
07-26-2011, 04:07 AM
Looks like the latest version is now working perfectly for us. =)

BirdOPrey5
07-26-2011, 09:26 AM
Joe, I want to thank you from the bottom of my heart for what you have done in this latest update! The asynchronous loading of all the buttons makes a huge difference on my forum. I live and work in China, and also have many Chinese members. And as Twitter, Facebook, google etc are blocked here, this always caused a huge lag on pageload. Now it loads great! Once again, thank you so much!!

Thank You!! Donation received & appreciated. :up:

This is awesome, thanks for the update. Works perfect!
:)

:up:

Ok...its an adult site so I pm the link and log in.

Hot! Will check PMs.

Looks like the latest version is now working perfectly for us. =)

Good stuff. :up:

TTF
07-26-2011, 12:31 PM
Think I must have a mod conflict as nothing is showing on the individual threads no matter if I align left or right and if I add to the what's going on box, it comes up with the word 'Share' twice. Looks like a top mod though and despite these problems is a handy way to have some buttons on the forum home.

If you have any ideas to track down the issue and get the mod working 100% I'd really appreciate it.

Thanks.

BirdOPrey5
07-26-2011, 12:56 PM
Think I must have a mod conflict as nothing is showing on the individual threads no matter if I align left or right and if I add to the what's going on box, it comes up with the word 'Share' twice. Looks like a top mod though and despite these problems is a handy way to have some buttons on the forum home.

If you have any ideas to track down the issue and get the mod working 100% I'd really appreciate it.

Thanks.

What VB Version are you using?

Can I get a link to your forum?

Have you tried it on the default style?

zelnik
07-26-2011, 03:27 PM
Think I must have a mod conflict as nothing is showing on the individual threads no matter if I align left or right and if I add to the what's going on box, it comes up with the word 'Share' twice. Looks like a top mod though and despite these problems is a handy way to have some buttons on the forum home.

If you have any ideas to track down the issue and get the mod working 100% I'd really appreciate it.

Thanks.

If you're talking about the part at the bottom of the forum display this is because you have not uploaded the image file(s) or to the correct path.

TTF
07-26-2011, 09:46 PM
What VB Version are you using?

Can I get a link to your forum?

Have you tried it on the default style?

Thanks for the reply.

4.1.4 is the version. I've tried it on the default style and the same happens. I'm wondering if its to do with the VBSEO likes tree as that's nearby, as is the user tag list.

If you're talking about the part at the bottom of the forum display this is because you have not uploaded the image file(s) or to the correct path.

All files from the upload folder have been uploaded as far as I'm aware. I've checked and can't see any others.

BirdOPrey5
07-26-2011, 10:30 PM
First things first-

In your vbulletin Facebook Options, do you have Like Button - Threads set to "Yes"?

If so please check your SHOWTHREAD template- confirm you have the code:
{vb:raw fblikebutton} somewhere on the page.

Let me know.

edited.

TTF
07-27-2011, 07:06 AM
First things first-

In your vbulletin Facebook Options, do you have Like Button - Threads set to "Yes"?

If so please check your SHOWTHREAD template- confirm you have the code:
{vb:raw facebook_likebutton} somewhere on the page.

Let me know.


Ah that was a rather basic error, that's sorted the issue for the threads thank you. Where I hadn't previously had the facebook system activated as I don't want connect, I wasn't familiar with the options, although I've noticed with the facebook link enabled it slows down the loading of the pages rather a lot and takes an age for the quick reply to come up. Might just be my site though.

Appreciate your help.

BirdOPrey5
07-27-2011, 11:03 AM
Ah that was a rather basic error, that's sorted the issue for the threads thank you. Where I hadn't previously had the facebook system activated as I don't want connect, I wasn't familiar with the options, although I've noticed with the facebook link enabled it slows down the loading of the pages rather a lot and takes an age for the quick reply to come up. Might just be my site though.

Appreciate your help.

You can disable facebook connect from a setting in my mod.

RK KINGKONG
07-27-2011, 11:15 PM
thanks for the update bud , always great work man ....

ngocol
07-28-2011, 02:48 AM
nice mod...thank BirdOPrey5 :up:

linuxwhy
07-28-2011, 03:39 AM
wonderful

TenaciousD
07-28-2011, 11:43 AM
First things first-

In your vbulletin Facebook Options, do you have Like Button - Threads set to "Yes"?

If so please check your SHOWTHREAD template- confirm you have the code:
{vb:raw facebook_likebutton} somewhere on the page.

Let me know.

I've had something similar occur - all icons show up and function as expected, with the exception of FB.

I've verified the correct uploading of the provided images to the correct directory.
I have FB buttons enabled (set to "Yes") for everything (i.e. forums, CMS, etc.), via options settings.

I searched the "SHOWTHREAD" script and cannot find any reference to the aforementioned, "{vb:raw facebook_likebutton}" , in whole or in part.

I'm assuming that this is preventing the icon from appearing - but don't know where to add the language in the file.

Also, I'm not sure if this is a vB situation or the mod itself, but when I go to my profile (on the main board, as a user) and attempt to "Connect with FaceBook" by clicking the icon, it does nothing but redirect me to the forum home page (without continuing or completing the connection to FB).

Any help on either issue is most appreciated.

BirdOPrey5
07-28-2011, 12:55 PM
My bad the code to look for on SHOWTHREAD is:
{vb:raw fblikebutton}

VB usually uses the template name, not sure why they didn't here.

TenaciousD - what VB version are you using and can I get a link to your forum?

BirdOPrey5
07-28-2011, 12:56 PM
thanks for the update bud , always great work man ....

nice mod...thank BirdOPrey5 :up:

wonderful

Thanks All. :up:

byalik
07-28-2011, 08:41 PM
Is it possible to have the social icons show up on article pages here: http://legalhelp.org/content/section/113-criminal-law.html, not just the actual content page?

nocte
07-29-2011, 12:08 AM
I have a feature suggestion:

Completely disable Facebook. At the moment the hack does support that just a little bit and does not hide Facebook connect on register.php as well as in the UserCP. Addionally some Facebook JS is loaded..

DevOne5555
07-29-2011, 12:14 AM
First of all, awesome mod. It's installed and running flawlessly on 4.1.3.

I apologize if this is off-topic, but I'm a bit confused about the FB Like button.

In order to use FB with vBulletin, you have to create a FB app. But I can only create an app as a developer (i.e. on my FB personal profile). Is there some way to link my FB app to my forum's fan page, instead of my own personal profile? That way, when users click the Like button, they're adding to the count on the fan page, and I don't get notifications on my wall.

BirdOPrey5
07-29-2011, 11:28 AM
Is it possible to have the social icons show up on article pages here: http://legalhelp.org/content/section/113-criminal-law.html, not just the actual content page?

I'm sure it's possible but it's not coded to do that. Do you know what template that page is you linked to- I'm not familiar with "section" and .html pages in the CMS.

If you're not sure please go to Options -> General Settings-> Add Template Name in HTML Comments and set to YES. Then I will be able to see in the source code exactly what template(s) you are talking about.

I have a feature suggestion:

Completely disable Facebook. At the moment the hack does support that just a little bit and does not hide Facebook connect on register.php as well as in the UserCP. Addionally some Facebook JS is loaded..

Thanks- I missed the register and usercp pages- will fix that soon. As for the disable all facebook code it look like that may be a non-issue in 4.1.5+ now that you can enable the share button without enabling the entire facebook platform.

First of all, awesome mod. It's installed and running flawlessly on 4.1.3.

I apologize if this is off-topic, but I'm a bit confused about the FB Like button.

In order to use FB with vBulletin, you have to create a FB app. But I can only create an app as a developer (i.e. on my FB personal profile). Is there some way to link my FB app to my forum's fan page, instead of my own personal profile? That way, when users click the Like button, they're adding to the count on the fan page, and I don't get notifications on my wall.

Thanks. I'm really not sure how to do what you ask or if it's even possible- Facebook really isn't my specialty. Hopefully someone else can chime in.

CharlieDelta
07-29-2011, 12:02 PM
Is there some way to link my FB app to my forum's fan page, instead of my own personal profile? That way, when users click the Like button, they're adding to the count on the fan page, and I don't get notifications on my wall.

I have mine set up this way. It has been a long time now since I did that but I will have a look and refresh my memory and get back to you.

DevOne5555
07-30-2011, 01:25 AM
BOP, can anyone confirm if the Twitter button count is still broken under the latest release? Interesting, but Digital Point (http://forums.digitalpoint.com/)'s button seems to work.

etca
07-30-2011, 03:15 AM
twitter & FB can publish my thread, but twitter counter doesn't work.
G+ also doesn't work on me.

my url : kopimaya.com,
vbulletin v 4.1.5

Bianconnero
07-30-2011, 11:53 AM
Installed
Thks
D?mo : http://www.dvbtools.com

sdavis2702
07-30-2011, 02:49 PM
Thanks a million for this great add-on. Installed and flawless on 4.1.4 http://iconvo.com

BirdOPrey5
07-30-2011, 04:24 PM
BOP, can anyone confirm if the Twitter button count is still broken under the latest release? Interesting, but Digital Point (http://forums.digitalpoint.com/)'s button seems to work.

I can't find the logic on when it works and when it doesn't. So far the only times I've seen the count work on 4.x is if you have VBSEO installed. But it doesn't work on every VBSEO site I've seen. I think it has to do with how the URL looks but I haven't nailed it down.

twitter & FB can publish my thread, but twitter counter doesn't work.
G+ also doesn't work on me.

my url : kopimaya.com,
vbulletin v 4.1.5

Google +1 Worked for me on your site. I +1'ed a page at random:
http://www.kopimaya.com/forum/showthread.php?2028-Creamer

And it works. Google +1 won't work on private pages, they must be viewable to the public.

Installed
Thks
D?mo : http://www.dvbtools.com

Thanks a million for this great add-on. Installed and flawless on 4.1.4 http://iconvo.com

Thanks. :up:

DevOne5555
07-30-2011, 05:25 PM
BOP, thanks again for the info. We use vbseo with a number of custom URL rewrite settings, so we'll give it a try and see if it works. Thanks.

P.S. You've got our nomination for MOTM. Best of luck :)

Taurus1
07-31-2011, 12:42 AM
Hi Joe, is it perhaps possible to reduce the spaces between the buttons here? See screenshot. It is at the bottom of my forum homepage. Thanks!

DevOne5555
07-31-2011, 01:50 AM
Taurus, I had the same question. If you look back around page 4 or 5 in this thread you'll see BOP already addressed it: the button code for the Facebook and Twitter counts doesn't dynamically resize. The spacing is there because that's the maximum width of the count box. It's determined by the developers, not the mod author, so unfortunately there's no way to change it.

BirdOPrey5
07-31-2011, 02:25 AM
Hi Joe, is it perhaps possible to reduce the spaces between the buttons here? See screenshot. It is at the bottom of my forum homepage. Thanks!

I am aware of the issue where the "What's going one box" location causes alignment problems with some buttons. I do not have a fix yet though custom template edits/conditionals might help.

I hope to have this work better in future versions but for now there's not much to do about it.

Taurus1
07-31-2011, 03:01 AM
Taurus, I had the same question. If you look back around page 4 or 5 in this thread you'll see BOP already addressed it: the button code for the Facebook and Twitter counts doesn't dynamically resize. The spacing is there because that's the maximum width of the count box. It's determined by the developers, not the mod author, so unfortunately there's no way to change it.

I am aware of the issue where the "What's going one box" location causes alignment problems with some buttons. I do not have a fix yet though custom template edits/conditionals might help.

I hope to have this work better in future versions but for now there's not much to do about it.

OK, thanks gents!

ngphuc2k
08-01-2011, 03:04 PM
Thanks for share

BirdOPrey5
08-01-2011, 06:09 PM
Thanks for share

You're welcome.

CheeSie
08-02-2011, 03:00 PM
When enabling Google+ my forumhome just keeps loading and loading and loading but the forumblocks and everything below the forum sections wont load.. Disabling google+ and everything works as it should. Any clue as to why this happens?

BirdOPrey5
08-02-2011, 03:01 PM
When enabling Google+ my forumhome just keeps loading and loading and loading but the forumblocks and everything below the forum sections wont load.. Disabling google+ and everything works as it should. Any clue as to why this happens?

Never heard of this. Can I get a link to your forum? Have you tried alternate locations on your forumhome?

CharlieDelta
08-02-2011, 03:34 PM
If you like this mod please consider voting it Mod of the Month! (https://vborg.vbsupport.ru/showthread.php?t=267754) :cool:

Done. :up:

steeler7
08-02-2011, 06:22 PM
I have 4 different Style templates at my site since it's dedicated to a bunch of different sports teams. All of the buttons show up for the 3 of the 4 styles but on the 1 style, I only get the Twitter button.

Using Firebug, I can highlight the spot where the code shows Google+ should be and I can't highlight anything for Facebook.

Here's the link to a page where it shows just Twitter :

http://www.pittsburghsportstavern.com/forum/showthread.php/11489-Steelers-Cut-Flozell-Adams

Here's a link to a page that shows them all :

http://www.pittsburghsportstavern.com/forum/showthread.php/11506-Derrek-Lee-is-now-a-Pirate

( on a side note), when using Firefox 5 on Windows Vista, Google+ seems to make the page hang in a re-load to the point where I have to click on another link and then try again. Any idea why or some sort of maintenance trick I can try?

pokesph
08-02-2011, 06:35 PM
I'd like a heads up on when you do release a vB 3.8.x version.. Any time frame available from ya?

Mod looks fantastic and maybe just what we're looking for, if only it ran on 3.8

thanks,

CheeSie
08-02-2011, 06:44 PM
Never heard of this. Can I get a link to your forum? Have you tried alternate locations on your forumhome?

Hmm naah.. but the location shouldn't matter..
http://www.darkztar.com/forum/index.php

CheeSie
08-02-2011, 06:47 PM
Okay this is weird.. Now it works O.o
Maybe it was just google being slow for hours?

BirdOPrey5
08-02-2011, 07:02 PM
I have 4 different Style templates at my site since it's dedicated to a bunch of different sports teams. All of the buttons show up for the 3 of the 4 styles but on the 1 style, I only get the Twitter button.

Using Firebug, I can highlight the spot where the code shows Google+ should be and I can't highlight anything for Facebook.

Here's the link to a page where it shows just Twitter :

http://www.pittsburghsportstavern.com/forum/showthread.php/11489-Steelers-Cut-Flozell-Adams

Here's a link to a page that shows them all :

http://www.pittsburghsportstavern.com/forum/showthread.php/11506-Derrek-Lee-is-now-a-Pirate

( on a side note), when using Firefox 5 on Windows Vista, Google+ seems to make the page hang in a re-load to the point where I have to click on another link and then try again. Any idea why or some sort of maintenance trick I can try?

Very very weird... The code is all there but not showing. I will continue to work on this- but any change if you left-justify instead of right-justify in threads?

As for Google button loading slow I think they are having "growing pains" - Sometimes I've seen it load slow outside this mod as well. It's still kind of new.

I'd like a heads up on when you do release a vB 3.8.x version.. Any time frame available from ya?

Mod looks fantastic and maybe just what we're looking for, if only it ran on 3.8

thanks,

I actually have most of the 3.8 version running- I'm using it on my site actually (in threads only)... just a few details to work out. I have a couple other projects going on right now but as soon as I can get a few hours to workout some styling issues it will be released. I will post here when it is.

Okay this is weird.. Now it works O.o
Maybe it was just google being slow for hours?

Very possible. :up:

tidus78
08-02-2011, 07:09 PM
Installed but a question : when I click "like",in my facebook profile the thread liked is combined with a random image of the page forum...why?

pokesph
08-02-2011, 08:09 PM
Great!
I'll be looking for it then, BirdOPrey5

Threads and blogs is a must, others as you can do with your time constraints.

Thanks again for a great plugin.

Alfa1
08-02-2011, 10:51 PM
Great mod! Tagged for future use when i move to vb4.
Consider to add this to JIRA for inclusion in vbulletin.

BirdOPrey5
08-02-2011, 11:32 PM
Installed but a question : when I click "like",in my facebook profile the thread liked is combined with a random image of the page forum...why?

That's something Facebook is doing... I believe you can force Facebook to use an image of your choosing by creating a facebook appid (if you haven't already) and uploading an image for your new app to facebook. (That's what I did when VB4 first come out and it still seems to work.)

Great!
I'll be looking for it then, BirdOPrey5

Threads and blogs is a must, others as you can do with your time constraints.

Thanks again for a great plugin.

Blogs is going to be a problem- I don't have access to the VB 3.8 Blogs product- It's no longer available. I've been looking for a license and am willing to buy one if you see anyone selling- let me know.

Great mod! Tagged for future use when i move to vb4.
Consider to add this to JIRA for inclusion in vbulletin.

Thanks.

I think someone already put the Google +1 into Jira. I don't know how useful all the other options would be for most people. :up:

steeler7
08-02-2011, 11:56 PM
Very very weird... The code is all there but not showing. I will continue to work on this- but any change if you left-justify instead of right-justify in threads?

As for Google button loading slow I think they are having "growing pains" - Sometimes I've seen it load slow outside this mod as well. It's still kind of new.



I actually have most of the 3.8 version running- I'm using it on my site actually (in threads only)... just a few details to work out. I have a couple other projects going on right now but as soon as I can get a few hours to workout some styling issues it will be released. I will post here when it is.



Very possible. :up:

that's what I figured was the issue with the Google Button. Weird that it gives me the most trouble on Firefox on Vista but not on Windows 7.

I tried to left justify and the same issue. There are times that the Google+ button shows up but it's very inconsistent. The Facebook buttons never shows

I tried

pokesph
08-03-2011, 12:19 AM
well I hope you do locate a blog lic and can get that incorporated. In the mean time, we'll settle for threads based plugin for now.

tidus78
08-03-2011, 06:19 PM
That's something Facebook is doing... I believe you can force Facebook to use an image of your choosing by creating a facebook appid (if you haven't already) and uploading an image for your new app to facebook. (That's what I did when VB4 first come out and it still seems to work.)



I don't understand where modify the image...I have an appid that I use for my facebook fan page but thraeds liked appear in my friend's profiles :confused:

BirdOPrey5
08-03-2011, 07:26 PM
If yo go to this page you should see your app:
https://developers.facebook.com/apps

Then in the app settings add an image.

tidus78
08-03-2011, 08:04 PM
I can modify only icon-logo of the fanpage...:confused:

BirdOPrey5
08-03-2011, 08:15 PM
Honestly I never used it with a fanpage so I don't know what may or may not be possible with one.

Another option is to add the following lines to your headinclde template:


<meta property="og:site_name" content="{vb:raw vboptions.bbtitle}"/>
<meta property="og:image" content="http://www.yourdomain.com/images/facebook_image.png"/>
<meta property="og:type" content="article" />

You would replace the URL to the image with a URL to an image file you created that you want to be used. Something roughly square or rectangular, between 100x100 and 300x300 pixels, facebook will auto resize it.

Also once you do this give it some time, facebook caches your image so it may take a while for this to show up/change.

But again I've never tried it off a fan page.

tidus78
08-03-2011, 09:25 PM
ooookkkkkkk now it works perfectly (on my appid fanpage also)

Thanks,great job

BirdOPrey5
08-03-2011, 09:33 PM
ooookkkkkkk now it works perfectly (on my appid fanpage also)

Thanks,great job

Awesome. :up:

KrU$ty
08-03-2011, 11:58 PM
I got it working on forum home, but none of the buttons show up in a thread. using vb 4.1.5 and have tried it in firefox and ie. link (http://endtimedeception.org)

byalik
08-04-2011, 12:24 AM
I am not sure if this problem existed previously (I don't think it did), but after upgrading, the linkedin button always shares the home page, not the actual page I am on.

E.g. - http://legalhelp.org/content/297-power-attorney-poa-overview.html - I tried to share that on linkedin but its only coming up as the home page

BirdOPrey5
08-04-2011, 12:26 AM
I got it working on forum home, but none of the buttons show up in a thread. using vb 4.1.5 and have tried it in firefox and ie. link (http://endtimedeception.org)

Your link is not working for me- page is timing out. Will try again in the morning.