Back to vBulletin 3.5 Add-ons

vBDigger
Mod Version: 1.0.1, by Eric

This modification is in the archives.
vB Version: 3.5.4 Rating: (2 votes - 5.00 average) Installs: 35
Released: 26 Jun 2006 Last Update: 24 Jul 2006 Downloads: 74
Not Supported Uses Plugins Template Edits  

vBdigger is now officially continued as 'vBsociable'

vBsociable


Hello everyone,

This will be my second 'mod' that I release for vBulletin. I was browsing the request forum and came across this thread, so I thought I'd make it.

It's fairly simple right now, if I can find the time.. I may do alot more with it.

Updated to 1.0.1 - See "Upgrading" below

What's it do?
It will add buttons to each post in a thread, allowing the user to submit the topic to digg or del.icio.us. It can be enabled/disabled through the admincp at anytime, along with showing digg or del.icio.us.

For those who may not know what digg or del.icio.us is, you may find out more about them with the following links:
http://www.digg.com/about
http://www.del.icio.us/about

Installation

1.) Import product-vbdigger.xml
2.) Upload digg.png & delicious.png to your images/buttons/ directory.
3.) Edit postbit(_legacy)

FIND:
Code:
			<if condition="$show['quickreply'] AND !$show['threadedmode']">
				<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
			</if>
ADD AFTER:
Code:
            <if condition="$vboptions['vbdigger_enabled'] AND THIS_SCRIPT != 'private'">
                <if condition="$vboptions['vbdigger_digg']">
                  <a href="http://digg.com/submit?phase=2&url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img src="$stylevar[imgdir_button]/digg.png" alt="$vbphrase[submit_thread_to_digg]" title="$vbphrase[submit_thread_to_digg]" border="0" /></a>
                </if>
                <if condition="$vboptions['vbdigger_delicious']">
                  <a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$post[threadid]&title=$thread[title]" target="_blank"><img src="$stylevar[imgdir_button]/delicious.png" alt="$vbphrase[submit_thread_to_delicious]" title="$vbphrase[submit_thread_to_delicious]" border="0" /></a>
                </if>
            </if>
Upgrading

To 1.0.1:

1.) Re-import product-vbdigger.xml with "Allow Overwrite" set to yes.
(Not actually necc. just updated version number)

2.) Edit postbit(_legacy)

FIND:
-----
Code:
            <if condition="$vboptions['vbdigger_enabled']">
REPLACE WITH:
-------------
Code:
            <if condition="$vboptions['vbdigger_enabled'] AND THIS_SCRIPT != 'private'">
Changelog
* Removed Icons from showing in pm's

It can be accessed in admincp under:
Vbulletin Options > Thread Display Options (showthread)

And that's it, fairly simple.

Enjoy.

Download

This modification is archived and cannot be downloaded.

Screenshots

   


vblts.ru supports vBulletin®, 2022-2025