Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Submit to Twitter, Facebook and Digg Details »
Submit to Twitter, Facebook and Digg
Mod Version: 1.00, by ericgtr (Coder/Designer) ericgtr is offline
Developer Last Online: Jun 2016 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (14 votes - 4.64 average) Installs: 139
Released: 25 Jun 2009 Last Update: Never Downloads: 10
Not Supported Template Edits Re-usable Code Translations  

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Paste this ABOVE:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Click image for larger version

Name:	networking.jpg
Views:	5185
Size:	40.4 KB
ID:	101076  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 25 Jun 2009, 18:16
saadessa's Avatar
saadessa saadessa is offline
 
Join Date: Jan 2008
Real name: saad essa alfallah
nice
thank you
Reply With Quote
  #3  
Old 25 Jun 2009, 19:34
Itchy Nips's Avatar
Itchy Nips Itchy Nips is offline
 
Join Date: Jun 2009
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
Reply With Quote
  #4  
Old 25 Jun 2009, 19:46
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by Itchy Nips View Post
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 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())">

Last edited by ericgtr; 25 Jun 2009 at 19:53.
Reply With Quote
  #5  
Old 25 Jun 2009, 20:14
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Real name: Chimp
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?
Reply With Quote
  #6  
Old 25 Jun 2009, 20:23
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by Chimpie View Post
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?
Thanks.

I thought about that, it wouldn't be hard but I wanted them easily noticeable.
Reply With Quote
  #7  
Old 25 Jun 2009, 20:51
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Real name: Chimp
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?
Reply With Quote
  #8  
Old 25 Jun 2009, 21:14
F0xy's Avatar
F0xy F0xy is offline
 
Join Date: Mar 2008
Real name: F0xy
Originally Posted by Chimpie View Post
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?
like this
http://www.vbulletin.org/forum/showthread.php?t=187190
__________________
Reply With Quote
  #9  
Old 25 Jun 2009, 21:51
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Real name: Chimp
That looks tacky (to me). I think something as simple as what you have, but with a drop down box with the different icons.
Reply With Quote
  #10  
Old 25 Jun 2009, 22:07
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by Chimpie View Post
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?
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Add this above it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Add this above it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: jpg networking-dropdown.jpg (93.3 KB, 481 views)

Last edited by ericgtr; 25 Jun 2009 at 22:12.
Reply With Quote
  #11  
Old 25 Jun 2009, 22:18
Chimpie's Avatar
Chimpie Chimpie is offline
 
Join Date: Nov 2007
Real name: Chimp
I think if you remove the Submit to Twitter and Submit to Digg text it will look perfect.
Reply With Quote
  #12  
Old 25 Jun 2009, 22:23
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Originally Posted by Chimpie View Post
I think if you remove the Submit to Twitter and Submit to Digg text it will look perfect.
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.
Reply With Quote
  #13  
Old 26 Jun 2009, 07:00
sugresmax's Avatar
sugresmax sugresmax is offline
 
Join Date: Nov 2006
Real name: Maksim
http://www.vbulletin.org/forum/showt...48#post1783648 look this
Reply With Quote
  #14  
Old 26 Jun 2009, 20:47
saviola8x's Avatar
saviola8x saviola8x is offline
 
Join Date: May 2006
i need facebook.
Thanks ^^
__________________
Facebook Vietnam
Reply With Quote
  #15  
Old 27 Jun 2009, 07:35
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:15.

Layout Options | Width: Wide Color: