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)

Eagle Eyes 12-28-2006 07:36 PM

Quote:

Originally Posted by mac27 (Post 1137512)
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.
http://img182.imageshack.us/img182/6...ttonsssql2.png

Mine doesn't go on the left, any reason why? Its just next to the edit thing.

mac27 12-28-2006 09:13 PM

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.

MajorFm.com 01-01-2007 01:58 PM

Quote:

Originally Posted by Hemanth (Post 1118475)
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.

MajorFm.com 01-01-2007 02:13 PM

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...

MajorFm.com 01-01-2007 02:23 PM

also i think clesto.com is now dead?

MajorFm.com 01-01-2007 02:38 PM

Quote:

Originally Posted by Gastongr (Post 1114600)
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...

BillAlpha 01-02-2007 08:59 PM

Quote:

Originally Posted by MaestroX (Post 1137159)
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?

BillAlpha 01-02-2007 09:08 PM

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 :)

hinch 01-05-2007 12:10 PM

installed seems to work fine on www.furious-angels.com

BigJimTheLug 01-06-2007 03:38 AM

what about adding

mister-wong?


All times are GMT. The time now is 03:30 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.01174 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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