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

Reply
 
Thread Tools
Link to del.icio.us from post Details »»
Link to del.icio.us from post
Version: 1.00, by GilbertZ GilbertZ is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 08-25-2005 Last Update: Never Installs: 9
Template Edits
 
No support by the author.

If you want to allow your users to bookmark your posts or threads, you can add this code to the end of each post.

Something like this in your postbit should work:

Search for
PHP Code:
<!-- / controls --> 
and right below add this:

PHP Code:
<br /><div align="left"><class="smallfont" href="http://del.icio.us/post?url=$vboptions[bburl]/showpost.php?p=$post[postid]&title=$post[title]target="_blank">Bookmark this post with Del.icio.us</a></div

You can modify the wording or use it on a thread level rather than a post level. Especially if you don't have that option where the thread title is quoted on a post level, because you'll have an empty title in that case.

3.50 Demo 1:

http://www.simstalk.com/forums/showthread.php?t=161

3.08 Demo 2:

http://www.diamondtalk.com/forums/t6...rsonality.html

If you like this mod bookmark it

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-15-2005, 07:41 PM
GilbertZ GilbertZ is offline
 
Join Date: Nov 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put a conditional in it. I can't give you the exact code offhand, but open private.php and look for some variable that would be around when pulling the page. You can probably use the page name which should be defined at the top.
Reply With Quote
  #13  
Old 10-08-2005, 07:02 AM
piXelatedEmpire piXelatedEmpire is offline
 
Join Date: Oct 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GilbertZ
Rethinking this mod, where it really belongs and fits well is thread level and in the thread tools drop down, with a little deli.cio.us icon next to it.

I'll redo it when vb 3.5 goes gold.
Are you still planning this update? That would be fabtastic!
Reply With Quote
  #14  
Old 10-09-2005, 12:40 AM
GilbertZ GilbertZ is offline
 
Join Date: Nov 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by piXelatedEmpire
Are you still planning this update? That would be fabtastic!
Eventually, once I upgrade all my sites to Gold. Were you looking for this to be on thread level? Or you wanted the Gold version? I ask because this should work fine on Gold.
Reply With Quote
  #15  
Old 10-09-2005, 03:35 AM
piXelatedEmpire piXelatedEmpire is offline
 
Join Date: Oct 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I was thinking the thread tools drop down box would be great.

I'm a patient man!
Reply With Quote
  #16  
Old 01-01-2006, 04:43 PM
EricaJoy EricaJoy is offline
 
Join Date: Sep 2002
Location: New York, NY
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GilbertZ
Rethinking this mod, where it really belongs and fits well is thread level and in the thread tools drop down, with a little deli.cio.us icon next to it.

I'll redo it when vb 3.5 goes gold.
Have you made any advances with the thread tools drop down? I'm waiting for that before I install. Thanks!
Reply With Quote
  #17  
Old 06-28-2006, 10:07 AM
Handbag Handbag is offline
 
Join Date: Jan 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's easy to insert in the thread tools.

Open showthread and search for
Code:
<if condition="$show['addpoll']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
	</tr>
	</if>
Underneath it paste:

Code:
<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="http://www.yoursite.com/resizeddeliciouslogo.jpg" alt="Del.icio.us" /> <a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$thread[threadid]&title=$thread[title]" target="_blank">Bookmark with Del.icio.us</a></td>
	</tr>
I screenshoted their fullsize logo and resized it

I wouldn't apply any conditionals because you want as many people as possible bookmarking your links.

You could also add this to any other pulldown menu - could have individual forums bookmarkable too!

You'd probably want to remove the image to fit in wit hthe forum tools pulldown and go to forumdisplay, search for:

Code:
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></td></tr>
and paste after (or after/before any of the chunks of code there depending on the order you want to achieve)

Code:
<tr>
		<td class="vbmenu_option"><a href="http://del.icio.us/post?url=$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]" target="_blank">Bookmark with Del.icio.us</a></td>
	</tr>
Reply With Quote
  #18  
Old 11-01-2006, 10:41 AM
cheekymonkey2 cheekymonkey2 is offline
 
Join Date: Jan 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work!
Reply With Quote
  #19  
Old 08-28-2007, 06:08 PM
tribedude tribedude is offline
 
Join Date: Feb 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you modify this to link to facebook from post?
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 07:10 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.04158 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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