vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Thread Starter (https://vborg.vbsupport.ru/showthread.php?t=241497)

Manoel J?nior 04-28-2010 10:00 PM

Thread Starter
 
1 Attachment(s)

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:
http://www.himagens.com.br/images/3.gif

TEMPLATE POSBIT_LEGACY:
http://www.himagens.com.br/images/506070.png
http://www.himagens.com.br/images/304050.png


@FIX:
1.0.1: Update template
1.0.2 Update template posbit_legacy


Thank You:

borbole
Dr.osamA

Charlie98902 04-29-2010 04:44 PM

No demo?

Manoel J?nior 04-29-2010 04:53 PM

Quote:

Originally Posted by Charlie98902 (Post 2029101)
No demo?

OK, UP!!!

COL NIL SATIS 04-29-2010 05:06 PM

which template is it in????

Manoel J?nior 04-29-2010 05:16 PM

Quote:

Originally Posted by COL NIL SATIS (Post 2029109)
which template is it in????

Template POSBIT

borbole 04-29-2010 05:23 PM

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 :)

Manoel J?nior 04-29-2010 05:30 PM

Quote:

Originally Posted by borbole (Post 2029118)
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!

borbole 04-29-2010 05:34 PM

You are welcome.

Dr.osamA 04-30-2010 02:20 PM

1 Attachment(s)
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

Manoel J?nior 04-30-2010 03:39 PM

Thanks bro'

Update! great man!


All times are GMT. The time now is 11:21 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.03596 seconds
  • Memory Usage 1,781KB
  • 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
  • (4)bbcode_html_printable
  • (8)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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