Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Twitter to vBSEO Social Bookmarking Details »»
Add Twitter to vBSEO Social Bookmarking
Version: 1.1, by crazyace crazyace is offline
Developer Last Online: Sep 2012 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.0.2 Rating:
Released: 03-17-2010 Last Update: 03-17-2010 Installs: 17
Template Edits
Re-useable Code Translations  
No support by the author.

If you use vBSEO and want to add Twitter to your Social Bookmarking area, then this is for you.
  • Upload files to your forum root
  • Open vBSEO and go to Other Enhancements>> Social Bookmarking
  • Put a check in add custom
  • Add this code
    Code:
    http://twitter.com/home/?status=Check+this+out+%url%,images/vbseo/twitter.png,Share on Twitter,Share on Twitter

Now you should see your twitter icon listed with your other Social Bookmarking icons.

You can change "Check This Out" to what ever you want. But make sure you use +'s for the spaces. Using %20's will not work. Make sure to never use http://www.twitter.com/ - This will not work. You will need to always use http://twitter.com - For some reason twitter doesn't want you to use the www address. Now this will work fine if you're all ready logged in. But for people that are not logged in, it will not work well at all.

If you would like to add a "&" symbol you will need to use +%26 in order to have it added. So here is an example:
Code:
http://twitter.com/home/?status=Read+26%+Share+%url%,images/vbseo/twitter.png,Share on Twitter,Share on Twitter

If you would like to have your vBSEO Social Bookmarks in the postbit like mine here is what you will need to do.


vB4 Post Bit

Here is how to locate the postbit template to edit:

AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit

Search for:
Code:
						<div class="imlinks">
							{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
						</div>
					</vb:if>
After Add:
Code:
		<!--VBSEO_BOOKMARKS-->

Legacy Postbit

AdminCP>> Styles & Templates>> Style Manager>> Edit Templates>> Postbit Templates>> postbit_legacy

Search for:
Code:
				<div class="imlinks">
					{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
				</div>
After Add:
Code:
		<!--VBSEO_BOOKMARKS-->

Now save and you should be good to go.


NOTE: If you don't have vBSEO RC2 installed you will get an added "$post[postid]" on the end of your shared twitter posts. This is a bug in RC1. Instead of giving you a #post123 you get #post$post[postid]. So to fix just update to RC2.

Download Now

File Type: zip Add_Twitter_to_vBSEO_1.1.zip (7.2 KB, 131 views)

Screenshots

File Type: png default area.PNG (5.0 KB, 0 views)
File Type: png twitter in postbit.PNG (19.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-20-2010, 12:39 AM
TroyTrojansFan TroyTrojansFan is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I am using mrpaint's post to twitter on threads. That might be the problem? But like we mentioned, the mod is still working.
Reply With Quote
  #13  
Old 03-20-2010, 01:16 AM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Troy, I see that you are still using vBSEO RC1. Try upgrading to RC2 and see if that helps. I know they fixed a lot of bugs in RC2.
Reply With Quote
  #14  
Old 03-21-2010, 01:30 AM
TroyTrojansFan TroyTrojansFan is offline
 
Join Date: Dec 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed vbSEO RC2 and that fixed the problem. :up: Great job on the mod, it works great and just as expected. :up:
Reply With Quote
  #15  
Old 03-21-2010, 01:56 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this, ill add it shortly
Reply With Quote
  #16  
Old 03-23-2010, 02:10 AM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TroyTrojansFan View Post
I installed vbSEO RC2 and that fixed the problem. :up: Great job on the mod, it works great and just as expected. :up:
You're very welcome. I'm happy that I was able to help you get it fixed :-)
Reply With Quote
  #17  
Old 03-24-2010, 12:44 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add this to vbulletins social bookmarking?
Reply With Quote
  #18  
Old 03-24-2010, 01:44 PM
crazyace crazyace is offline
 
Join Date: Oct 2009
Location: Nashville TN
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Is it possible to add this to vbulletins social bookmarking?
It may be. But I don't think that the URL will work the same way. The vBSEO 3.5 RC2 is processing the URL to make it work. I'll check into this and see what I can come up with
Reply With Quote
  #19  
Old 03-24-2010, 08:33 PM
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Real nice!
Reply With Quote
  #20  
Old 04-19-2010, 02:18 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Installed
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04767 seconds
  • Memory Usage 2,324KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete