![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Submit to Twitter, Facebook and Digg
![]() Developer Last Online: Feb 2022 ![]() ![]() ![]()
I have been adding these as I go and decided to share, I am sure there are other versions out there but this is how I do it. See screenshot for example of where it goes and how it looks. Keeping up with the latest in social networking keeps traffic flowing to your site.
This can all be added at once or you may add only the one's you want. Additionally, this will probably work in any version of vB. In the SHOWTHREAD template find:
Paste this ABOVE:
Note the bolded statements above, these are where you must make changes: enter the forum id's of the forums where you do not want it to show <if condition="in_array($forum['forumid'], array(1,2))"> You will also see that in the digg section there is an option to change the background color and you will need to add your site URL. The tweet image is attached, upload to your forum and change the path in the "Twitter Share" section. Update: This has also been updated to vB4 Beta 3 here http://www.vbulletin.org/forum/showthread.php?t=228610 Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
nice
thank you No members have liked this post.
|
#3
|
||||
|
||||
thanks! One question though: what do you mean by "forumid" ?
sorry for the lack of knowledge...i'm still learning a lot of this stuff No members have liked this post.
|
#4
|
||||
|
||||
Originally Posted by Itchy Nips
No problem. ![]()
![]() Each forum has a forumid number associated with it. To see which number is associated with which forum go to your Admin CP Forums & Moderators > Forum Manager and click on any forum, on the very top title bar it will give the forumid number. If you want it visible in all forums you can simply remove the numbers, for example change: <if condition="in_array($forum['forumid'], array(1,2))"> to <if condition="in_array($forum['forumid'], array())"> No members have liked this post.
Last edited by ericgtr; 25 Jun 2009 at 19:53. |
#5
|
||||
|
||||
Installed and working perfectly! Awesome mod.
Want to take it a step further? Why not make it a drop down box instead of a row of buttons. Maybe a button or the text Share and you when you click on it a drop down box appears with all the different choices. Thoughts? No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by Chimpie
Thanks.![]()
I thought about that, it wouldn't be hard but I wanted them easily noticeable. No members have liked this post.
|
#7
|
||||
|
||||
True. Maybe make a second mod or add on to this one for those who want a drop box instead?
Or PM me with it? ![]() No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by Chimpie
like this![]()
http://www.vbulletin.org/forum/showthread.php?t=187190
__________________
No members have liked this post.
|
#9
|
||||
|
||||
That looks tacky (to me). I think something as simple as what you have, but with a drop down box with the different icons.
No members have liked this post.
|
#10
|
||||||||||||||||
|
||||||||||||||||
Originally Posted by Chimpie
Okay, I've put this together for you but check out the screenshot to see what it looks like. The reason for the formatting is because the javascript automatically puts the icons where you see them.![]()
Knowing this, if you want to add it here's what you do... In the showthread template find:
Add this above it:
Find:
Add this above it:
No members have liked this post.
Last edited by ericgtr; 25 Jun 2009 at 22:12. |
#11
|
||||
|
||||
I think if you remove the Submit to Twitter and Submit to Digg text it will look perfect.
No members have liked this post.
|
#12
|
||||
|
||||
From what I can tell it's embedded in the javascript which is called from their servers. Take a look at the code and you'll probably see what I mean, that text is not in there.
No members have liked this post.
|
#13
|
||||
|
||||
No members have liked this post.
|
#14
|
||||
|
||||
i need facebook.
Thanks ^^
__________________
Facebook Vietnam No members have liked this post.
|
#15
|
||||
|
||||
I'd recommend tweaking the optional dropdown a bit so that the button and the description are in different columns within the dropdown. Much cleaner that way IMHO.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day) Admin of Petri's IT Forum / Moderator at webdesignforums.net No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:31.