vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBDigger (https://vborg.vbsupport.ru/showthread.php?t=119678)

Eric 06-25-2006 10:00 PM

vBDigger
 
vBdigger is now officially continued as 'vBsociable' :)

https://vborg.vbsupport.ru/showthread.php?t=149449



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:
www.digg.com/about
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.

Zia 06-26-2006 08:06 AM

hmm interesting thing..alos gonna to use it...:)

ahm 1st post man.. :p

Mudvayne 06-26-2006 08:21 AM

w00t.. 1st install ;)

Blaine0002 06-26-2006 10:22 PM

great! thanks.

puertoblack2003 06-26-2006 11:16 PM

hello,

i curious can there be a live site that has this to have an idea what it is i'm kinda confused of what vb digger is thanks.

puertoblack2003

Eric 06-27-2006 08:58 PM

Quote:

Originally Posted by puertoblack2003
hello,

i curious can there be a live site that has this to have an idea what it is i'm kinda confused of what vb digger is thanks.

puertoblack2003

I'll see what I can do ;) If nothing else, I'll get a few more screenshots.

qxh 06-27-2006 09:00 PM

You rule!!!!!

o0Hubba0o 06-27-2006 09:59 PM

Quote:

Originally Posted by SecondV
I'll see what I can do ;) If nothing else, I'll get a few more screenshots.

Maybe in the "what's it do" paragraph clarify what "digg or del.icio.us." are for those that don't know, might help people understand what this mod is for.

Eric 06-28-2006 01:18 AM

Quote:

Originally Posted by o0Hubba0o
Maybe in the "what's it do" paragraph clarify what "digg or del.icio.us." are for those that don't know, might help people understand what this mod is for.

I've included links to both of their about pages, should give a pretty good idea ;) I've also added another screenshot.

VBUsers 06-28-2006 01:49 AM

will this work for 3.6 beta 3?


All times are GMT. The time now is 08:00 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.03475 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (3)bbcode_quote_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