PDA

View Full Version : Miscellaneous Hacks - Bookmarks in one button (like Addthis)


sugresmax
04 Apr 2009, 14:00
This hack moves Social Bookmarks to popupmenu like AddThis button.

Open SHOWTHREAD template and find
<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont">
<if condition="$show['firstunreadlink']">
<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
</if>
&nbsp;
</div>
</td>
And below add:
<if condition="$bookmarksites">
<td class="vbmenu_control">
<a id="bookmark" href="#bookmark"><img src="$stylevar[imgdir_misc]/bookmarks.gif" border="0"</a>
<script type="text/javascript">
<!--
vbmenu_register("bookmark",true);
//-->
</script>

<div class="vbmenu_popup" id="bookmark_menu" style="display:none">
<table border="0" cellpadding="0" cellspacing="0" width=490pxalign="center">
<tr>
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
</tr>
</table>
</td>
</if>
Then you must add some "bookmarks.gif" button picture in your forums [imgdir_misc] dir.

You can try this at http://www.megaxit.ru

Jasem
04 Apr 2009, 15:06
thank you!

Installed

alqloob alsahya
04 Apr 2009, 15:10
Thank you my brother, but thes icon to your wonderful topic

thank"s again :)

pein87
05 Apr 2009, 21:05
Installed works great heres english button with psd/xcf files for both gimp and photoshop.

zefyx
08 Apr 2009, 00:35
Installed works great heres english button with psd/xcf files for both gimp and photoshop.

Thanks!

M-Tuning
10 Apr 2009, 20:50
Nice, too bad I don't have any more room left for this button.

mykkal
03 Jul 2009, 14:09
but how do you add new ones? I would like to add a facebook icon.

also there is a lot of space in between each row of bookmarks. Do you know how I can make it tighter?

SİMAR
03 Jul 2009, 19:29
Gut Schon

TECNOANIMEX
05 Dec 2009, 02:20
Very Thanks men :D