Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Thread Starter Details »»
Thread Starter
Version: 1.0.3, by Manoel J?nior Manoel J?nior is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.3 Rating:
Released: 04-28-2010 Last Update: Never Installs: 14
Template Edits
Re-useable Code Translations  
No support by the author.


IF YOU USE: TEMPLATE POSBIT

IN TEMPLATE POSBIT:

Search for:

PHP Code:
                                       {vb:raw template_hook.postbit_userinfo_left}
                    <
vb:if condition="$show['reputation']">
                        <
span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay} </span>
                    </
vb:if> 

Add after:

PHP Code:
<!--Autor do T?pico-->

                <
dl><vb:if condition="$thread[postuserid] == $post[userid]">
                    <
br /><span style="color: red;"><strong>[Autor do T?pico]</strong></span>
        </
vb:if></dl>

<!--
Autor do T?pico--> 


IF YOU USE: TEMPLATE POSBIT_LEGACY

IN TEMPLATE POSBIT_LEGACY FIND:

PHP Code:
            <vb:if condition="$post['rank']">        
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 
AFTER IT DIRECT ADD:

PHP Code:
<!--Autor do T&oacute;pico--> 
                <
vb:if condition="$thread[postuserid] == $post[userid]"
                    <
span style="color: red;"><strong>[Autor do T&oacute;pico]</strong></span
        </
vb:if> 
<!--
Autor do T&oacute;pico--> 

FOR ARABIC USER ADD:

PHP Code:
<!--Autor do T&oacute;pico--> 
                <
vb:if condition="$thread[postuserid] == $post[userid]"
                    <
span style="color: red;"><strong>[&#1603;اتب الموضوع]</strong></span> 
        
</vb:if> 
<!--
Autor do T&oacute;pico--> 

Screenshot:

TEMPLATE POSBIT:


TEMPLATE POSBIT_LEGACY:




@FIX:
1.0.1: Update template
1.0.2 Update template posbit_legacy


Thank You:

borbole
Dr.osamA

Show Your Support

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

Comments
  #2  
Old 04-29-2010, 04:44 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No demo?
Reply With Quote
  #3  
Old 04-29-2010, 04:53 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
No demo?
OK, UP!!!
Reply With Quote
  #4  
Old 04-29-2010, 05:06 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which template is it in????
Reply With Quote
  #5  
Old 04-29-2010, 05:16 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COL NIL SATIS View Post
which template is it in????
Template POSBIT
Reply With Quote
  #6  
Old 04-29-2010, 05:23 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice tip, however the font tag is depricated and shouldn''t be used. It would be better if the style atribute was used instead. The same goes for the <b> tag.

This:

HTML Code:
<font color="red"><b>[Autor do T?pico]</b></font>

Should be changed to:

HTML Code:
<span style="color: red;"><strong>[Autor do T?pico]</strong></span>

Hope you didn''t mind me butting in here with this
Reply With Quote
  #7  
Old 04-29-2010, 05:30 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
Nice tip, however the font tag is depricated and shouldn''t be used. It would be better if the style atribute was used instead. The same goes for the <b> tag.

This:

HTML Code:
<font color="red"><b>[Autor do T?pico]</b></font>

Should be changed to:

HTML Code:
<span style="color: red;"><strong>[Autor do T?pico]</strong></span>

Hope you didn''t mind me butting in here with this
Thanks bro'.

Update!
Reply With Quote
  #8  
Old 04-29-2010, 05:34 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are welcome.
Reply With Quote
  #9  
Old 04-30-2010, 02:20 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for postbit_legacy

in postbit_legacy find

PHP Code:
            <vb:if condition="$post['rank']">        
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 
after it direct add

PHP Code:
<!--Autor do T&oacute;pico--> 
                <
vb:if condition="$thread[postuserid] == $post[userid]"
                    <
span style="color: red;"><strong>[Autor do T&oacute;pico]</strong></span
        </
vb:if> 
<!--
Autor do T&oacute;pico--> 
for Arabic user add
PHP Code:
<!--Autor do T&oacute;pico--> 
                <
vb:if condition="$thread[postuserid] == $post[userid]"
                    <
span style="color: red;"><strong>[&#1603;اتب الموضوع]</strong></span> 
        
</vb:if> 
<!--
Autor do T&oacute;pico--> 
thanxx bro

installed + 5 stars
Attached Images
File Type: png 506070.png (132.1 KB, 0 views)
File Type: png 304050.png (106.4 KB, 0 views)
Reply With Quote
  #10  
Old 04-30-2010, 03:39 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bro'

Update! great man!
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 11:26 AM.


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.04655 seconds
  • Memory Usage 2,359KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_html
  • (8)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete