vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Modification to Postbit (https://vborg.vbsupport.ru/showthread.php?t=301715)

Spangle 08-30-2013 01:19 PM

Modification to Postbit
 
http://img42.imageshack.us/img42/1290/8k2r.png

As you can see I have rank images with rank titles on them, what I want to do is disable the default the default rank description in VB.

Can someone explain how to do this without using a hardspace, as I want to close the gap as well.

RickyH 08-31-2013 07:59 AM

Are you sure it's not just the User Title? Check AdminCP find a user, for example yourself, and check that the "Usertitle" is set to "No". This may remove it. Otherwise, right click on the text in Chrome or Firefox, then click "Inspect Element". This will bring up Web Developer tools. If you find what the div tag is name as, with it's class or ID, you can then go in AdminCP Styles -> Find in Template -> Div's ID -> search -> Postbit_legacy template -> Remove the line of code where the text appears.

Spangle 08-31-2013 08:24 AM

Thanks for pointing me in the right direction Ricky.

Anyone else wanting to remove it, this is the line of code to look for :

<span class="usertitle">
{vb:raw post.usertitle}
</span>

Remove that and only rank images will be displayed.

RickyH 08-31-2013 09:19 AM

Not a problem. This method works for many things in vb, it's just finding the correct code in the correct template. 9 times out of 10, it's only in 1 template, although the odd time it may be in a couple of templates on the same skin. Using the "Inspect Element" option in Chrome & Firefox can be extremely helpful at times :)

obglobal.net 09-02-2013 12:06 PM

Quote:

Originally Posted by Spangle (Post 2442127)
Thanks for pointing me in the right direction Ricky.

Anyone else wanting to remove it, this is the line of code to look for :


<span class="usertitle">
{vb:raw post.usertitle}
</span>

Remove that and only rank images will be displayed.

I've managed to go through and delete this from individual member's postbit, but haven't managed to find a way to delete them all. May have not done it properly?

RickyH 09-03-2013 10:12 AM

Quote:

Originally Posted by obglobal.net (Post 2442518)
I've managed to go through and delete this from individual member's postbit, but haven't managed to find a way to delete them all. May have not done it properly?

If you remove it from Postbit_legacy template, it won't show on any user's postbit profile.


All times are GMT. The time now is 07:43 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.01071 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
  • (2)bbcode_quote_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