vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Link to del.icio.us from post (https://vborg.vbsupport.ru/showthread.php?t=95105)

GilbertZ 08-25-2005 10:00 PM

Link to del.icio.us from post
 
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 ;)

nexialys 08-26-2005 10:17 AM

<a href="http://del.icio.us/" target="_blank">http://del.icio.us/</a>

» del.icio.us is a social bookmarks manager. It allows you to easily add web pages you like to your personal collection of links, to categorize those sites with keywords, and to share your collection not only among your own browsers and machines, but also with others.
» Once you've registered for the service, you add a simple bookmarklet to your browser. When you find a web page you'd like to add to your list, you simply select the del.icio.us bookmarklet, and you'll be asked for information about the page. You can add descriptive terms to group similar links together and add notes for yourself or for others.
» You can access your list of links from any web browser. Your links are shown to you with those you've added most recently at the top. In addition to viewing by date, you can also view all links with a specific keywords (you define your own keywords as you add the links), or search your links for keywords.
» What makes del.icio.us a social system is its ability to let you see the links that others have collected, as well as showing you who else has bookmarked a specific site. You can also view the links collected by others, and subscribe to the links of people whose lists you find interesting.

jugo 08-26-2005 11:52 AM

Thanks Nexialys...I was going to ask...

And thanks Gilbertz for the hack.

/me installs.

flaregun 08-26-2005 08:46 PM

hmm, am i missing something, I just tested this hack and the link doesn't show. I think i'm dense :(

ahh, I am dense, I forgot postbit legacy :)

flaregun 08-26-2005 08:56 PM

BTW - if you want send the thread to del.icio.us, here is the code. Put it wherever you want, I put it above the 'next' and 'previous' thread.

Code:

<a class="smallfont" href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$thread[threadid]&title=$thread[title]" target="_blank">Bookmark this thread with Del.icio.us</a>

Tony G 08-27-2005 12:23 AM

Hi, thank you for sharing your mod.

Could you please put your instructions into a .txt file and attach it? Makes it easier for users who need to re-install this mod for any reason to find the file rather than this thread. Thank you. :)

totenmaske 08-27-2005 04:50 AM

Quote:

Originally Posted by flaregun
BTW - if you want send the thread to del.icio.us, here is the code. Put it wherever you want, I put it above the 'next' and 'previous' thread.

I varied this a little by placing it between the previous and next threads.

Code:

?  PREV THREAD  | DEL.ICIO.US BOOKMARK | NEXT THREAD  ?
Sweet (and quick) little mod!

GilbertZ 08-28-2005 06:46 AM

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.

Alien 09-10-2005 05:35 PM

Very nice work, thanks for this!

Alien 09-15-2005 06:48 PM

Quote:

Originally Posted by Alien
Very nice work, thanks for this!

Any idea how best to get this NOT to show in private messages? :)


All times are GMT. The time now is 06:22 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.01154 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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