vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Show Thread Enhancements - MyBB Style Postbit (https://vborg.vbsupport.ru/showthread.php?t=187090)

Hasann 08-02-2008 10:00 PM

MyBB Style Postbit
 
[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 :p

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

Hasann 08-03-2008 06:06 AM

you can see a live demo click here :)

luffy 08-03-2008 07:39 AM

good jobs , Instelled

Cornie 08-03-2008 08:07 AM

Instelled :D

kaptanblack 08-03-2008 08:12 AM

Installed, thanks hasann.

Cornie 08-03-2008 08:34 AM

for german user with tms-xml :D

Hasann 08-03-2008 09:15 AM

Quote:

Originally Posted by kaptanblack (Post 1590406)
Installed, thanks hasann.

sag ol ?zg?r?m eksik olma :)
Quote:

Originally Posted by Cornie (Post 1590409)
for german user with tms-xml :D

danke f?r den tms plugin :D

iBlazee 08-03-2008 04:59 PM

Nice. But, can you make one like phpBB3 postbit style?

Hasann 08-04-2008 01:34 AM

Quote:

Originally Posted by iBlazee (Post 1590637)
Nice. But, can you make one like phpBB3 postbit style?

OKay buddy I'll make for you :D

bxbigt 08-04-2008 02:59 AM

what am i missing looks the same as vb


All times are GMT. The time now is 12:56 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.01288 seconds
  • Memory Usage 1,796KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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