Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 12-28-2006, 07:36 PM
Eagle Eyes Eagle Eyes is offline
 
Join Date: Oct 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mac27 View Post
You can add the buttons to the left of the edit, quote, multi quote buttons if you want. Just do this.

Go into postbit_legacy

Find:
Code:
<!-- controls -->
Add below:
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" hspace="3" vspace="0" align="left" /></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" hspace="3" vspace="0" align="left" /></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" hspace="3" vspace="0" align="left" /></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" hspace="3" vspace="0" align="left" /></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" hspace="3" vspace="0" align="left" /></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" hspace="3" vspace="0" align="left" /></a>
Here is a screenshot of what I am talking about.
Mine doesn't go on the left, any reason why? Its just next to the edit thing.
Reply With Quote
  #33  
Old 12-28-2006, 09:13 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are using IE then you need to place the code in a table.

Find:
Code:
<!-- Clesto -->
add above:
Code:
<table valign="middle" align="left">
Next find:
Code:
<!-- 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" hspace="3" vspace="0" align="left" /></a>
add below:
Code:
</table>

That should align it to the left in IE.
Reply With Quote
  #34  
Old 01-01-2007, 01:58 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hemanth View Post
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.
ditto... that way digg users can just digg it instead of re-submitting the story again and again.
Reply With Quote
  #35  
Old 01-01-2007, 02:13 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok this is a wicked hack, 2 secs to install and exactly what i was about to do manually... but... how do i get it to work with vbseo? like the link it wants to submit is the php one... need the html one... also any chance some photoshop wizzkid can make me the buttons for darker backrounds? i notice its just made for light backrounds...
Reply With Quote
  #36  
Old 01-01-2007, 02:23 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also i think clesto.com is now dead?
Reply With Quote
  #37  
Old 01-01-2007, 02:38 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gastongr View Post
Great hack!
I added it in the top of showthread.php
Screenshot attached.
exactly how do i do this one? i like this layout the most...
Reply With Quote
  #38  
Old 01-02-2007, 08:59 PM
BillAlpha BillAlpha is offline
 
Join Date: Jun 2004
Location: Newcastle, UK
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MaestroX View Post
I have a problem with this, anytime i click a button to submit I do not get the thread id at the end of the url. It just "showhread.php?t="
"
Just installed and I have this same issue. Even though the code shows showthread.php?t=$post[threadid] the resulting URL just ends showhread.php?t=

Any suggestions?
Reply With Quote
  #39  
Old 01-02-2007, 09:08 PM
BillAlpha BillAlpha is offline
 
Join Date: Jun 2004
Location: Newcastle, UK
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have found that if I use showthread.php?t=$threadid instead of showthread.php?t=$post[threadid] the URL works.

Not having an account with any of these services, will this still work?

Cheers
Reply With Quote
  #40  
Old 01-05-2007, 12:10 PM
hinch's Avatar
hinch hinch is offline
 
Join Date: May 2003
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed seems to work fine on www.furious-angels.com
Reply With Quote
  #41  
Old 01-06-2007, 03:38 AM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about adding

mister-wong?
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 10:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06615 seconds
  • Memory Usage 2,341KB
  • 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
  • (6)bbcode_code
  • (4)bbcode_html
  • (4)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
  • (4)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