PDA

View Full Version : More Share Options for VB4 (Facebook, Twitter, Goolge +1, Digg, and more) by BOP5



PhucSD
05-07-2011, 12:15 PM
Version 2.6 Now Released!

Version 1.0: Initial Relead
Version 1.01: Big Fix (redecoration error)
Version 1.02: Fixed hard coded Twitter Username
Version 1.03: Added new option: "Clean Twitter URL?" - Necessary for non-English forums.
Version 1.05: Added new option: "Force Standard URL?" - VBSEO users may want to turn this option off for better compatibility.
Version 2.0: Mod re-coded from scratch. Now template based. Many new options.
version 2.2: Many many new options, lots of changes, better display options, more share buttons!
Version 2.23: Fixed bug if "Force Standard URL" was disabled on Facebook Send button, Added manual template instructions (and option), added option to disable mod in specific styles. Added "virgin" template for those who want to re-arrange the order of the buttons.
Version 2.25: Removed some debug code- should improve overall performance.
Version 2.5: Improved the template code, optimized button layout, all buttons now load asynchronously (won't delay page load), added new option to disable in specific forums.
Version 2.51: Minor update for Google+1 button better width, now displays before AddThis.
Version 2.6: Added Reddit button, Added "Center" Justification options, Fixed Google+1 width bug, Released Gold Version

Share Options:

Facebook Like
Facebook Recommend
Facebook Send
Twitter
Digg
Google +1
StumbleUpon
Linked In
AddThis


Share Locations:

Threads (Left or Right)
Blogs
CMS Articles
Pictures (Left or Right)
Albums (Left or Right)
Member Profiles (Left or Right)
FORMHOME (5 different locations!)

What this mod does:

This mod gives you many new choices to replace the standard Facebook Like button in VB4 (Like/Recommend, Standard/Box Count, Classic Share, Send Button, Light/Dark), in addition to the standard button, and the option to disable the Facebook Like button altogether but still use other share options mentioned below.

In addition to the many Facebook options it also adds a Twitter Tweet button, a Google +1 button, a Digg button, StumbleUpon button, Linked In button, and an AddThis.com share button with menu. Each one of these can be enabled or disabled and you can choose to display a counter or not for each.

*Note: Twitter's count is currently known to have a conflict on VB4 through no fault of this mod. Some forums it works, on many it does not. Please test and disable the counter if it does not work on your forum.

How this mod works:
This mod overrides the template facebook_likebutton so any customizations you may have done to it will be ignored if this mod is enabled.

This mod was tested with 4.0.8, 4.1.2, and 4.1.5 and is believed to work on all 4.0.x and 4.1.x versions of vBulletin.

Note the new Facebook Share options use XFBML so it is a good way to add XFBML technology to older versions of vBulletin 4. The "Legacy" option uses the IFRAME Like Button.

2 Files to Upload (Images)

Otherwise just install the product file and set your settings. Full instructions in the zip file.

6 Plugins, 1 global phrase (bop5_share_this_forum) and 1 template: more_share_options

Note: This is setup only for English forums as is. You will have to modify the template code to change Twitter and other share boxes into other languages. http://farm3.anhso.net/upload/20110705/12/o/anhso-12423_vb4share_ss2.jpg http://farm3.anhso.net/upload/20110705/12/o/anhso-12425_vb4share_ss3.jpg http://farm3.anhso.net/upload/20110705/12/o/anhso-12427_vbmail.jpg http://farm3.anhso.net/upload/20110705/12/o/anhso-12428_vbshare_settings.jpg

nguyendungbkc
05-07-2011, 01:47 PM
mình cài trên 4.1.3 không chạy www.hoainhonfc.com/diendan

jamesblackvn
05-07-2011, 02:02 PM
Cách cài đây:



To Install:
Upload addthis_button.png or a custom image with the same name to your /images/misc/ directory. (Onlye necessary if you intend to enable the "AddThis" share button)
In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Click "Import"


To Upgrade:
In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
Make sure "Allow Overwrite" is set to YES.
Click "Import"


After the product has been imported:


You MUST enable your built in Facebook Like button by going to your:
Admin CP -> Settings -> Options -> Facebook Options.


- It is STRONGLY RECOMMENDED you enter your Facebook Application ID in Facebook Options. Follow vBulletin's instructions to get one if you don't have one already, it will make the Facebook Button options work better if you have one.

- You MUST enable the Like button to display in at least 1 of the areas (Forums, Blogs, and/or CMS articles). Even if you don't want to use the Facebook Like button at all you still have to enable it somewhere. The mod will hide the Facebook button if you want (in the mod settings) but the mod won't show at all if all these options are disabled.


Finally Go to vBulletin Options -> More Share Options for VB4 by BOP5 (near the bottom)
You MUST set your options before it will work. The mod is disabled by default.


Set your options before you enable!

nguyendungbkc
05-07-2011, 03:10 PM
vẫn không chạy, hix tks nhiều !

Dunglx
05-07-2011, 04:03 PM
Chạy ngon mà các bác ơi
chú ý chỗ này nhé


You MUST enable your built in Facebook Like button by going to your:
Admin CP -> Settings -> Options -> Facebook Options.


- It is STRONGLY RECOMMENDED you enter your Facebook Application ID in Facebook Options. Follow vBulletin's instructions to get one if you don't have one already, it will make the Facebook Button options work better if you have one.

- You MUST enable the Like button to display in at least 1 of the areas (Forums, Blogs, and/or CMS articles). Even if you don't want to use the Facebook Like button at all you still have to enable it somewhere. The mod will hide the Facebook button if you want (in the mod settings) but the mod won't show at all if all these options are disabled.


Finally Go to vBulletin Options -> More Share Options for VB4 by BOP5 (near the bottom)
You MUST set your options before it will work. The mod is disabled by default.

demo

http://nguyentrungngan.net/dunglx/threads/2012-61-tuoi-van-tron-vo-di-thi-dai-hoc-lan-3?p=11688&viewfull=1#post11688

whatup
05-07-2011, 07:36 PM
bạn co thể hướng dẫn không mình lam như ban nhưng vẫn không hiện ra gì hết

PhucSD
05-07-2011, 08:02 PM
bạn co thể hướng dẫn không mình lam như ban nhưng vẫn không hiện ra gì hết

Bạn chịu khó đọc kĩ hướng dẫn bằng Tiếng Anh đi, mình không rảnh nên không dịch ra được :MatCuoi (65):

whatup
05-07-2011, 08:17 PM
Bạn chịu khó đọc kĩ hướng dẫn bằng Tiếng Anh đi, mình không rảnh nên không dịch ra được :MatCuoi (65):

xin lổi bạn nhưng mình đã đọc rồi.nhưng mình làm vẫn không ra được.minh test trên localhost.không biết có working ko bạn

Dunglx
05-07-2011, 08:22 PM
bạn co thể hướng dẫn không mình lam như ban nhưng vẫn không hiện ra gì hết

VÀo Admin >> FB option nhé >>> chỉnh như hình sau nhé bạn

Những cái không liên quan bạn để yên nhé

http://i702.photobucket.com/albums/ww24/vav6692/Untitled-1-7.png

PhucSD
05-07-2011, 08:29 PM
VÀo Admin >> FB option nhé >>> chỉnh như hình sau nhé bạn

Những cái không liên quan bạn để yên nhé

Anh lò xo vui quá, hình nhỏ thế thì nhìn bằng niềm tin à

Dunglx
05-07-2011, 08:30 PM
Anh lò xo vui quá, hình nhỏ thế thì nhìn bằng niềm tin à

Uha không để ý để t up lên lại cho nhé

http://i702.photobucket.com/albums/ww24/vav6692/Untitled-1-7.png

PhucSD
16-07-2011, 11:08 AM
Mod này vừa được chính thức cập nhật vào 1 h trước trên vbulletin, mình leech ngay qua đây cho mọi người cập nhật, ai đã cài rồi thì cập nhật ngay nhá
Với rất nhiều tùy chọn và thêm rất nhiều nút của các mạng xã hội

Dunglx
03-08-2011, 08:19 PM
Cập nhật ver 2.5 nhé các bạn

pipizich
11-12-2011, 02:57 PM
Em làm mãi ko đc anh ơi, dù đã cofig đầy đủ theo hướng dẫn
Enable FB Options
http://upanh.tv/images/29021831124253205557.png (http://upanh.tv/)
Tùy chỉnh trong More share Options for Vb4
http://upanh.tv/images/62108171138407791863.png (http://upanh.tv/)
http://upanh.tv/images/48997426997816560220.png (http://upanh.tv/)

Tiểu Bá Vương 1404
11-12-2011, 03:16 PM
Đã cập nhật phiên bản 2.6 cho các bạn, tải cập nhật ở bài viết #1.