Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Submission buttons. eg Clesto, Digg, Del icio us. Details »»
Submission buttons. eg Clesto, Digg, Del icio us.
Version: 1.00, by Adrian. Adrian. is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-05-2006 Last Update: 12-21-2006 Installs: 154
Template Edits
 
No support by the author.

Submission Buttons.

By Adrian at Dream It.
Inspired by SecondV, from vBulletin version v3.4.5.

What does it do?
This small template modification adds a button to Clesto, Digg and others, when clicked it will take you to the submission pages on the chosen site,

and it will automatically have the URL loaded on the submission form.

A great way to boost your traffic.

Notes:
Thanks to ShackMaster for the Spurl icon. It has being included in the vBsubmission.zip

Installalation

Download the vBsubmission.zip

Extract it.

Upload all the images to /images/buttons/ on your server.

--

Login into your Admin Panel.

Go to Styles and Templates > Style Manager > (Choose the appropiate theme) Select Edit Templates from the dropdown list.

Find the template:
Postbit Templates >>
postbit_legacy

FIND:
HTML Code:
$post[iplogged]
ADD BELOW: Note: Not all of these are needed, if you prefer to only have two, get rid of the rest. Clesto and Digg recommended.

HTML Code:
<!-- Clesto -->
<a href="http://clesto.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/clesto.png" alt="Submit to Clesto" border="0" /></a>

<!-- Digg -->
<a href="http://digg.com/submit?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img 

class="inlineimg"  src="$stylevar[imgdir_button]/digg.png" alt="Submit to Digg" border="0" /></a>

<!-- Reddit -->
<a href="http://reddit.com/submit?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/reddit.gif" alt="Submit to Reddit" border="0" /></a>

<!-- Furl -->
<a href="http://www.furl.net/storeIt.jsp?u=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/furl.gif" alt="Submit to Furl" border="0" /></a>

<!-- Dec icio us -->
<a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/delicious.png" alt="Submit to Del.icio.us" border="0" /></a>

<!-- Jeqq -->
<a href="http://jeqq.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/jeqq.gif" alt="Submit to Jeqq" border="0" /></a>

<!-- Spurl -->
<a href="http://www.spurl.net/spurl.php?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/spurl.gif" alt="Submit to Spurl" border="0" /></a>
SAVE TEMPLATE.

--

Find the template: Optional: Depending if you have the "Use Legacy (Vertical) Postbit Template" Set to No.
Postbit Templates >>
postbit

FIND:
HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
ADD BELOW:

HTML Code:
<!-- Clesto -->
<a href="http://clesto.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/clesto.png" alt="Submit to Clesto" border="0" /></a>

<!-- Digg -->
<a href="http://digg.com/submit?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img 

class="inlineimg"  src="$stylevar[imgdir_button]/digg.png" alt="Submit to Digg" border="0" /></a>

<!-- Reddit -->
<a href="http://reddit.com/submit?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/reddit.gif" alt="Submit to Reddit" border="0" /></a>

<!-- Furl -->
<a href="http://www.furl.net/storeIt.jsp?u=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/furl.gif" alt="Submit to Furl" border="0" /></a>

<!-- Dec icio us -->
<a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/delicious.png" alt="Submit to Del.icio.us" border="0" /></a>

<!-- Jeqq -->
<a href="http://jeqq.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/jeqq.gif" alt="Submit to Jeqq" border="0" /></a>

<!-- Spurl -->
<a href="http://www.spurl.net/spurl.php?url=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/spurl.gif" alt="Submit to Spurl" border="0" /></a>
SAVE TEMPLATE.

Done.

That's it, easy.

Edit: Added Jeqq.com per request.

Enjoy.

Show Your Support

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

Comments
  #12  
Old 09-21-2006, 07:38 PM
keithsl keithsl is offline
 
Join Date: Jan 2005
Location: St. Louis
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to add some more customization to this?

I'm looking to only have it only show up in a certain forum and to only show up on the first post. I would also like to click a checkbox to even decide if it should show up in that post or not
Reply With Quote
  #13  
Old 11-11-2006, 03:35 AM
Gastongr Gastongr is offline
 
Join Date: Aug 2004
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!
I added it in the top of showthread.php
Screenshot attached.
Reply With Quote
  #14  
Old 11-13-2006, 11:41 PM
libertate's Avatar
libertate libertate is offline
 
Join Date: Feb 2005
Location: Kiribati
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

An excellent piece!

I have added this to my "News" vBAdvanced module. It only appears within the module at top of each article.

Simple replace all occurance of $threadid with $news[threadid] and and $thread[title] with $news[title].

Insert it in adv_portal_newsbits style template under:
Code:
$news[dateposted] - <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]" 2="$news[postusername]">$vbphrase[by_x]</phrase>
Reply With Quote
  #15  
Old 11-14-2006, 01:57 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, i made one for my site a month back with a drop down menu.. if somebody need it i can share it

Excellent hack Adrian.
Reply With Quote
  #16  
Old 11-14-2006, 08:25 AM
ForumDog ForumDog is offline
 
Join Date: Jul 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! I redid some of the graphics, added one or two others and restricted it to just a drop-down in the first post since there's not much point giving over bandwidth to links in every single post. If anyone wants to grab something, feel free.
Reply With Quote
  #17  
Old 11-15-2006, 05:04 PM
Capper5016 Capper5016 is offline
 
Join Date: Sep 2006
Location: Las Vegas, NV
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DPSR View Post
Very nice, i made one for my site a month back with a drop down menu.. if somebody need it i can share it

Excellent hack Adrian.
I'd very much like that
Reply With Quote
  #18  
Old 11-16-2006, 08:34 AM
Hemanth's Avatar
Hemanth Hemanth is offline
 
Join Date: Nov 2005
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any hacks available to show a digg button in the thread. ie. The digg i button woth the number of diggs & an option to add a digg.
Reply With Quote
  #19  
Old 11-16-2006, 06:18 PM
rezapci rezapci is offline
 
Join Date: May 2004
Location: U.S.K.C.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome,how about google and yahoo and msn.. ect xml feeder?
Reply With Quote
  #20  
Old 11-17-2006, 12:46 PM
Hypocrisy Hypocrisy is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work under vBulletin 3.5.x?
Reply With Quote
  #21  
Old 11-18-2006, 07:07 PM
Hypocrisy Hypocrisy is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When using the threadbit modification, "threadtag", "clesto" and digg doesn't show any icons using Internet Explorer, how come?


Edit: 'cause they're pngs?! *duh*
Reply With Quote
Reply

Thread Tools

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 02:04 AM.


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.05073 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (4)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete