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)
-   -   Mini Mods - Rank under username on postbit/postbit_legacy [ENG-ITA] (https://vborg.vbsupport.ru/showthread.php?t=259328)

Scanu 02-22-2011 10:00 PM

Rank under username on postbit/postbit_legacy [ENG-ITA]
 
1 Attachment(s)
Hi guys this modification is very easy and fast but i want write it for who not know it.

1- Go to: Styles and Templates -> Search in Template -> postbit/postbit_legacy
2- Search and delete this
PHP Code:

<vb:if condition="$post['rank']">
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 

3- Search this
PHP Code:

<vb:if condition="$show['avatar']">
            <
class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <
img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </
a>
            </
vb:if> 

4- Under it put this
PHP Code:

<vb:if condition="$post['rank']">
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 

Enjoy :D

---------------------------------------------------------------------------------------
Ciao ragazzi questa modifica ? molto facile e veloce ma ho voluto scriverla per chi magari non lo s?.

1- Go in: Stili e Template -> Ricerca nei Template -> postbit/postbit_legacy
2- Cerca ed elimina questo
PHP Code:

<vb:if condition="$post['rank']">
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 

3- Cerca questo
PHP Code:

<vb:if condition="$show['avatar']">
            <
class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <
img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </
a>
            </
vb:if> 

4- Sotto di esso incolla questo codice
PHP Code:

<vb:if condition="$post['rank']">
                <
span class="rank">{vb:raw post.rank}</span>
            </
vb:if> 

Buona fortuna :D


--------------------------------------

Screenshot Preview

Released by Tecnowii

Skyrider 02-23-2011 06:40 PM

Screenshots would be awesome :)

Scanu 02-24-2011 11:44 AM

Sorry add a screenshot

SᴩiDᴇЯ 08-06-2011 04:05 AM

It's working great on my vB 4.1.4 great job thank you Technowii.

Scanu 09-04-2011 09:42 AM

You're welcome :)

Polaris4ever12 05-18-2013 01:14 AM

How can I add boxes around the "Join dates" and others?
Please reply ASAP


All times are GMT. The time now is 04:06 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.00984 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete