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

Reply
 
Thread Tools
MyBB Style Postbit Details »»
MyBB Style Postbit
Version: 1.00, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 08-02-2008 Last Update: 08-02-2008 Installs: 37
Template Edits
Re-useable Code Translations  
No support by the author.

[phpBB] MYBB STYLE POSTBIT by Hasann

This Product brought to you by
www.vBulletin-TR.Com

Description: this is a very small postbit template modification

DEMO: http://www.vbulletin-tr.com/forum/1-post1.html

This modification add some (5) buttons to your postbit and it looks like MyBB Postbit

Added Buttons:
  1. Add x to Your Contacts button
  2. Send a PM to X button
  3. Send an E-Mail to x button
  4. Visit x's Homepage! button
  5. Find all posts by x button

Install:

Find in Postbit Template this code

HTML Code:
        <div style="margin-top: 10px" align="$stylevar[right]">            <!-- controls -->            <if condition="$post['editlink']">                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>            </if>            <if condition="$post['forwardlink']">                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>            </if>            <if condition="$post['replylink']">                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>            </if>            <if condition="$show['multiquote_post']">                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>            </if>            <if condition="$show['quickreply'] AND !$show['threadedmode']">                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>            </if>            <if condition="$show['moderated']">                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />            </if>            <if condition="$show['spam']">                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />            </if>            <if condition="$show['deletedpost']">                <if condition="$show['managepost']">                    <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>                <else />                    <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />                </if>            </if>            <if condition="$show['redcard']">                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>            <else />                <if condition="$show['yellowcard']">                    <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>                </if>            </if>            $template_hook[postbit_controls]            <!-- / controls -->        </div>    <!-- message, attachments, sig -->    </td></tr></table>$template_hook[postbit_end]
Than replace this code

HTML Code:
<br /><tr><td class="alt1"><span style="float:$stylevar[left]"><if condition="$show['pmlink']">    <a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>                <if condition="$show['emaillink']">            <a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" alt=" <phrase 1="$post[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if><if condition="$show['homepage']"><a href="$post[homepage]" target="_blank" dir="ltr"> <img class="inlineimg" src="$stylevar[imgdir_button]/home.gif" alt="<phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a></if><if condition="$show['search']"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/find.gif" alt="<phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase>" border="0" /></a></if><if condition="$post['userid'] AND $show['member']"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/skype_addcontact.gif" alt="<phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase>" border="0" /></a></if></span><span style="float:$stylevar[right]">            <!-- controls -->            <if condition="$post['editlink']">                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>            </if>            <if condition="$post['forwardlink']">                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>            </if>            <if condition="$post['replylink']">                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>            </if>            <if condition="$show['multiquote_post']">                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>            </if>            <if condition="$show['quickreply'] AND !$show['threadedmode']">                <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>            </if>            <if condition="$show['moderated']">                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />            </if>            <if condition="$show['spam']">                <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />            </if>            <if condition="$show['deletedpost']">                <if condition="$show['managepost']">                    <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>                <else />                    <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />                </if>            </if>            <if condition="$show['redcard']">                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>            <else />                <if condition="$show['yellowcard']">                    <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>                </if>            </if>            $template_hook[postbit_controls]            <!-- / controls --></span></td></tr>    <!-- message, attachments, sig --></td></tr></table>$template_hook[postbit_end]
Enjoy it
Hasann
www.vbulletin-turkey.com

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 08-04-2008, 03:13 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bxbigt View Post
what am i missing looks the same as vb
read the Description above
Reply With Quote
  #13  
Old 08-04-2008, 03:19 AM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are there options to set which of those buttons we want to show?

If so, this is fantastic and I will be using it!
Reply With Quote
  #14  
Old 08-04-2008, 04:45 AM
iBlazee iBlazee is offline
 
Join Date: Nov 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
OKay buddy I'll make for you
Sweet. Thanks a lot man, I really appreciate it.
Reply With Quote
  #15  
Old 08-04-2008, 05:15 PM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect. İnstalled.
Reply With Quote
  #16  
Old 08-05-2008, 07:14 PM
RotasızKaptan RotasızKaptan is offline
 
Join Date: Oct 2007
Location: Turkey
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teşekk?rler Hasan. Emeğine Sağlık
Reply With Quote
  #17  
Old 08-05-2008, 07:41 PM
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Location: Turkey
Posts: 397
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RotasızKaptan View Post
Teşekk?rler Hasan. Emeğine Sağlık
Kaptan T?rk?e yazma istersen, kızıyolar

Thank you very much again
Reply With Quote
  #18  
Old 08-06-2008, 07:41 AM
RotasızKaptan RotasızKaptan is offline
 
Join Date: Oct 2007
Location: Turkey
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kaptanblack View Post
Kaptan T?rk?e yazma istersen, kızıyolar

Thank you very much again
Oke kaptanblack. Sorry
Hasann thank you. İnstalled.
Reply With Quote
  #19  
Old 08-07-2008, 05:17 PM
dreads dreads is offline
 
Join Date: Feb 2007
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice
Reply With Quote
  #20  
Old 08-07-2008, 07:20 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, very nice. Nice little add.

**Marked Installed**
Reply With Quote
  #21  
Old 09-01-2008, 05:14 AM
eTiKeT?'s Avatar
eTiKeT? eTiKeT? is offline
 
Join Date: Aug 2008
Location: T?rkiye
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vire Nice Thanks İnstalled

Teşekk?rle Hasan Ellerine Saglık
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 03:42 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.06341 seconds
  • Memory Usage 2,356KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_html
  • (4)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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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