vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Submission buttons. eg Clesto, Digg, Del icio us. (https://vborg.vbsupport.ru/showthread.php?t=123210)

Adrian. 08-05-2006 10:00 PM

Submission buttons. eg Clesto, Digg, Del icio us.
 
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.

Mike Gaidin 08-06-2006 03:04 PM

I like it.

/me clicks install.

Snake 08-30-2006 04:42 PM

Thanks for the hack! I'll install it right away...

ShackMaster 08-31-2006 04:15 AM

Great hack... thanks!

Installed!

Here's a Spurl icon I made for temporary: https://vborg.vbsupport.ru/external/2006/08/1.gif

Adrian. 08-31-2006 05:20 PM

Thanks ShackMaster.

That will do perfectly! :)

CarVenue.com 09-01-2006 05:51 AM

Cool!

jquan 09-06-2006 01:10 PM

working nice, what about if you wanted to add to the title instead of in your postbit, which template would you edit?

and will future version include how many diggs and which member digged, or Clesto'd :)

99SIVTEC 09-06-2006 11:53 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=1069705#post1069705" target="_blank">https://vborg.vbsupport.ru/showt...05#post1069705</a>

Above i've added a button to submit automotive threads to AutomotiveArena.com for automotive web sites.

Hornstar 09-07-2006 12:33 AM

This will be comming standard with vbseo from rc4 and above. Pretty cool idea.

99SIVTEC 09-07-2006 03:45 PM

I made a change so this is displayed in showthread at the top of the posts. I also added the ability to submit to http://www.threadtag.com which is a digg style sute specifically for forums.

In showthread find:
PHP Code:

<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</
tr>
</
table>
<!-- / 
controls above postbits --> 

Under that paste the following code:
PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-bottom-width:0px">
<
tr>
    <
td class="thead" width="100%">
        
Add this thread to:&nbsp;
        <!-- 
ThreadTag -->
<
a href="http://www.threadtag.com/submit.php?url=$vboptions[bburl]/showthread.php?t=$threadidtarget="_blank"><img class="inlineimg"  

src="$stylevar[imgdir_button]/threadtag.png" alt="Tag This Thread" border="0" />&nbsp;Tag This Thread&nbsp;</a>
        
<!-- 
Clesto -->
<
a href="http://clesto.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$threadidtarget="_blank"><img class="inlineimg"  

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

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

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

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

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

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

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

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

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

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

src="$stylevar[imgdir_button]/spurl.gif" alt="Submit to Spurl" border="0" />&nbsp;Spurl</a> </td>
  </
tr>
</
table

Also be sure to upload the button to your images/buttons directorywith the others https://vborg.vbsupport.ru/attachmen...1&d=1157647453


All times are GMT. The time now is 09:21 AM.

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.01219 seconds
  • Memory Usage 1,800KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete