vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Two Column Bookmarks (https://vborg.vbsupport.ru/showthread.php?t=277603)

kuzcos 01-25-2012 11:00 PM

Two Column Bookmarks
 
1 Attachment(s)
This will have your bookmarks area turn into two columns along with multiple codes & images below.

Firstly you can see the images of what it will look like here:

https://vborg.vbsupport.ru/external/2012/01/18.png

OK, if this is what you want follow this tutorial.

INSTALLATION:

Step 1)

Login to your admin control panel

Step 2)

Drop down the "Styles & Templates" tab.

Step 3)

Select Style Manager

Step 4)

Select the template(s) you would like this to be on.

Step 5)

Where "Style Variable Editor" is select "Edit Templates", and it should automatically load.

Step 6)

Scroll down and double click on the item that says "Show Thread Templates".

Step 7)

Select "SHOWTHREAD".

Step 8)

Find the word "bookmark" in your document which should lead you to:

Code:

<vb:if condition="$bookmarksites">
                <div class="options_block2">
                        <h4 class="blockhead options_correct">{vb:rawphrase bookmarks}</h4>
                        <div id="social_bookmarks_list" class="thread_info_block blockbody formcontrols floatcontainer options_correct">
                                <h5 class="blocksubhead">{vb:rawphrase bookmarks}</h5>

Below that will be your bookmarks <ul> list.

Step 9)

Replace this code:

Code:

<ul class="icon_list">{vb:raw bookmarksites}</ul>
with:

Code:

<table>
                                <tr><td>{vb:raw bookmarksites}<td></tr>
                                </table>

Step 10)

Save the template and continue to edit the "showthread_bookmarksite" template.

Step 11)

Insert

Code:

<style type="text/css">
.smallfont
{
  width:46% !important;
}
</style>

At the top above the:

Code:

<li class="smallfont">
code.

Step 12)

Save the template.

Step 13)

Add any social bookmarking sites you would like.

BOOKMARKS

Here is a list of the ones I have:

Facebook:

Code:

http://www.facebook.com/share.php?u={URL}&amp;title={TITLE}
Twitter:

Code:

http://twitter.com/home?status={URL}
Reddit:

Code:

http://reddit.com/submit?url={URL}&amp;title={TITLE}
Slashdot:

Code:

http://slashdot.org/bookmark.pl?title={TITLE}&amp;url={URL}
Technorati:

Code:

http://technorati.com/faves/?add={URL}
Mister Wong:

Code:

http://www.mister-wong.de/index.php?action=addurl&amp;bm_url={URL}&amp;bm_description={TITLE}
Diigo:

Code:

http://www.diigo.com/sign-in?referInfo={URL}&amp;title={TITLE}
LinkedIn:

Code:

http://www.linkedin.com/shareArticle?mini=true&amp;url={URL}
Fark:

Code:

http://cgi.fark.com/cgi/fark/farkit.pl?h={TITLE}&amp;u={URL}
Tumblr:

Code:

http://www.tumblr.com/share?v=3&amp;u={URL}&amp;t={TITLE}
You can find most of the images attached to this thread at the bottom.

For the ones that weren't able to be attached you can get them here:

http://forum.kuzcos.com/images/misc/...k_facebook.ico

http://forum.kuzcos.com/images/misc/...rk_twitter.ico

http://forum.kuzcos.com/images/misc/...k_slashdot.ico

http://forum.kuzcos.com/images/misc/...technoroti.ico

http://forum.kuzcos.com/images/misc/bookmark_fark.ico

Just go to the URL above right click on the image in your browser and click "Save as" then upload to your website under /images/misc and link to them exactly like: bookmark_fark.ico in vBulletin.

hunter1985 05-20-2013 09:59 PM

Nice work also do you know any more Codes for like Del.icos.ous and Bebo?

GoneBushX 08-23-2013 01:19 AM

Thx M8 :up:


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.01125 seconds
  • Memory Usage 1,727KB
  • 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
  • (15)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete