Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
Bookmarks Next to the reply button Details »»
Bookmarks Next to the reply button
Version: 1.00, by M Shaker M Shaker is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 09-14-2011 Last Update: Never Installs: 7
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

/*==========================================*\
|| ########################################### ||
|| #
Bookmarks Next to the reply button
|| # ----------------------------------------------------------------------------
|| # Arabic Version By :
M.Shaker ---- English Version By : M.Shaker
|| #
This file may only be redistributed to vBulletin license holders
|| # ----------------------------------------------------------------------------
|| # --------------
Ported by M.Shaker ----------------------------------------
|| #
This Hack was ported to work with vB 3.X.X
|| # ---------------------------------------------------------------- |
|| # ----------------
VBULLETIN IS NOT FREE SOFTWARE ------------------------
|| # http://www.Shmmo5.com || http://wwwabirelshouq.com || http://www.vbulletin.com
||
|| #########################################||
\*=========================================*/
Important : This has been tested on 3.8.7 PL2 - and should work good for 3.X.X , please test with caution - and as always BACKUP FIRST!

What this hack do ?
This mod will allow you to add Bookmarks sites next to the reply button

Demo ?



Install ?

- Download the attached images and upload it to ~~~-> ~forumpath/images/misc

- Open Template (( SHOWTHREAD ))
Search for
PHP Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<
tr valign="bottom">
    <if 
condition="$show['largereplybutton']">
        <
td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTIDrel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]border="0" /></if></a></td
Replace with
LTR ( Left to Right )Languages
use this
PHP Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px; float: left;">
<
tr valign="bottom">
    <if 
condition="$show['largereplybutton']">
        <
td class="smallfont"><a style="float:left" href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTIDrel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]border="0" /></if></a>

        <!-- 
social bookmarking links -->
            <
ul style="list-style-type:none; margin:0px; padding:0px;height:20px;display:inline"><li class="smallfont" style="text-align:center; float:left; margin-left:15px;">
    
        <
a rel="nofollow" href="http://www.facebook.com/share.php?u=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_facebook.png" border="0" alt="Submit Thread to Facebook" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://www.facebook.com/share.php?u=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Facebook</a>

</
li><li class="smallfont" style="text-align:center; float:left; margin-left:15px;">
    
        <
a rel="nofollow" href="http://twitter.com/home?status=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_twitter.png" border="0" alt="Submit Thread to Twitter" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://twitter.com/home?status=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Twitter</a>
</
li><li class="smallfont" style="text-align:center; float:left; margin-left:15px;">
    
        <
a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_google.png" border="0" alt="Submit Thread to Google" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Google</a>
</
li><li class="smallfont" style="text-align:center; float:left; margin-left:15px;">

    
        <
a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_live.png" border="0" alt="Submit Thread to Live" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Live</a>
</
li></ul>
        <!-- / 
social bookmarking links -->

</
td


Or

RTL ( Right to Left )Languages
use this

PHP Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<
tr valign="bottom">
    <if 
condition="$show['largereplybutton']">
        <
td class="smallfont"><a style="float:right" href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTIDrel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]border="0" /></if></a>

        <!-- 
social bookmarking links -->
            <
ul style="list-style-type:none; margin:0px; padding:0px;height:20px;display:inline"><li class="smallfont" style="text-align:center; float:right; margin-right:15px;">
    
        <
a rel="nofollow" href="http://www.facebook.com/share.php?u=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_facebook.png" border="0" alt="إرسال الموضوع إلى Facebook" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://www.facebook.com/share.php?u=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Facebook</a>

</
li><li class="smallfont" style="text-align:center; float:right; margin-right:15px;">
    
        <
a rel="nofollow" href="http://twitter.com/home?status=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_twitter.png" border="0" alt="إرسال الموضوع إلى Twitter" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://twitter.com/home?status=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Twitter</a>
</
li><li class="smallfont" style="text-align:center; float:right; margin-right:15px;">
    
        <
a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_google.png" border="0" alt="إرسال الموضوع إلى Google" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Google</a>
</
li><li class="smallfont" style="text-align:center; float:right; margin-right:15px;">

    
        <
a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark"><img src="images/misc/bookmarksite_live.png" border="0" alt="إرسال الموضوع إلى Live" class="inlineimg" /></a>
    <
br />
    
    <
a rel="nofollow" href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=$vboptions[bburl]/showthread.php?t=$threadidtarget="socialbookmark" style="text-decoration:none;">Live</a>
</
li></ul>
        <!-- / 
social bookmarking links -->

</
td
- Check it and see it Work and Click Install:up:

Download Now

File Type: zip Upload.zip (9.5 KB, 29 views)

Screenshots

File Type: jpg bo-1.jpg (106.6 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 09-16-2011, 07:51 AM
fahad_althobian fahad_althobian is offline
 
Join Date: Apr 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this effort
Reply With Quote
Благодарность от:
M Shaker
  #3  
Old 09-16-2011, 01:41 PM
mesdar mesdar is offline
 
Join Date: Jul 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
Благодарность от:
M Shaker
  #4  
Old 09-22-2011, 07:12 AM
sonbol1111 sonbol1111 is offline
 
Join Date: Jul 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something good thanks you
Reply With Quote
Благодарность от:
M Shaker
  #5  
Old 10-05-2011, 04:30 PM
Last_Zero's Avatar
Last_Zero Last_Zero is offline
 
Join Date: Jan 2011
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Ya Man
Reply With Quote
  #6  
Old 09-01-2012, 07:02 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks man
تسلم ايدك
Reply With Quote
  #7  
Old 03-23-2013, 06:12 PM
usHealthy usHealthy is offline
 
Join Date: Mar 2013
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jut to add to the Mod there are 2 instances for the default code on SHOWTHREAD. If you want to have the bookmarks on top and below you need to edit both instances.
Reply With Quote
Reply

Thread Tools

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 02:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04638 seconds
  • Memory Usage 2,367KB
  • 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
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (3)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete