vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Usertitle & Rank Image below Avatar (https://vborg.vbsupport.ru/showthread.php?t=301777)

Chivster 09-01-2013 09:02 PM

Usertitle & Rank Image below Avatar
 
Hello out there,

I searched around the internet, and vb.org and .com, but havent been able to find a solution that works for me..

How do I put usertitle and rank image below Avatar in 4.2.1? I got Postbit_legacy (user left to post)

I've searched in both SeamusBlue & Deafult Style, and havent been able to find the proper lines to sort this out.

Thanks in advance!

Chivster.

Spangle 09-01-2013 10:34 PM

You need to find these lines :

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

and move them below the avatar :

<a 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>

I think !! that will work, you may need to experiment a bit

Chivster 09-02-2013 12:17 PM

Thanks for the help :)

How do I then edit it on ''My Profile'' and when you check someones user page?

--------------- Added [DATE]1378152014[/DATE] at [TIME]1378152014[/TIME] ---------------

Anyone ?

RickyH 09-03-2013 10:18 AM

Quote:

Originally Posted by Chivster (Post 2442519)
Thanks for the help :)

How do I then edit it on ''My Profile'' and when you check someones user page?

--------------- Added [DATE]1378152014[/DATE] at [TIME]1378152014[/TIME] ---------------

Anyone ?

If you are on Chrome, or Firefox (with Firebug plugin installed), right click the area on the member's page and click "Inspect Element". If you find what the div id or class is, you can then go into AdminCP under styles & templates and "Find in Templates" the name of the Div id or class. It may give multiple templates, but only if it's a class. If it does, correspond it to the "members" profile template, or something similar. Then you can find and edit the code in there as you wish :)

Chivster 09-03-2013 04:08 PM

Im sorry but it did not help me at all, im still confused on how to, apart of knowing its somewhat in the ''Memberinfo'' template.


All times are GMT. The time now is 07:13 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.01010 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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