vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   (solved)how to remove many title (https://vborg.vbsupport.ru/showthread.php?t=194129)

raja811 10-20-2008 09:25 PM

(solved)how to remove many title
 
https://vborg.vbsupport.ru/external/2008/10/28.jpg
i am a admin but there 2 time juniar memeber how to remove the title?

Boosted Panda 10-20-2008 09:59 PM

One looks like a User Title and the Other Looks like a User Rank.

Go into postbit legacy template and remove which ever one you wanted $post[usertitle] or $post[rank]

or just remove the rank from your Rank List and/or turn of rank stacking for that particular rank.

Boosted Panda 10-20-2008 10:55 PM

That appears to be a Rank. Go into your tank manager and tell it not to stack or remove it completely.

Dismounted 10-21-2008 05:31 AM

So is it fixed now? If not, what is the remaining problem?

raja811 10-21-2008 01:51 PM

http://hosting07.imagecross.com/imag...-21_015742.jpg

NO fixed probleme.

Lynne 10-21-2008 02:20 PM

As mentioned before, the "Junior Member" looks like it is just a Rank (if that is a standard template, that is what would be there). Check your Ranks and delete that one if you don't want it.

Lynne 11-12-2008 01:55 AM

Hmmm, OK, not a User Title or a User Rank. Can you post that column from your postbit_legacy template so we can see what is supposed to be there?

ShawneyJ 11-12-2008 09:29 AM

remove <if condition="$post['usertitle']"><div class="smallfont"></div></if>

Lynne 11-12-2008 02:43 PM

What I do in situations like this, is add text in there for a second so I can see what's going on:

HTML Code:

        us:<if condition="$post['usertitle']"><div class="smallfont"></div></if>
                        rk:<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                        th: $template_hook[postbit_userinfo_left]

Putting us:, rk:, and th: in there will help me find which it is. If that line shows up between us: and rk:, then it's the usertitle, if it shows up between rk: and th:, then it's a rank. If it shows up after th: then you've got a plugin using the template_hook 'postbit_userinfo_left' that is putting in the line.

Lynne 11-20-2008 09:38 PM

In post 14, you posted a picture of a postbit, but posted the code for the postbit_legacy. If you are using the postbit, then you need to edit the postbit, not the postbit_legacy.

ShawneyJ 11-21-2008 12:52 AM

is this edit for postbit_legacy or post bit? im now confused.

in post bit just find <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> and remove it.

for postbit legacy remove <if condition="$post['usertitle']"><div class="smallfont"></div></if>

i have tested both and works fine.

Lynne 11-21-2008 02:50 PM

You removed an image you posted that clearly showed the postbit template being used, not the postbit_legacy template. If you only edited the postbit_legacy, then the changes will only effect the post template that shows the userinfo on the left. If you want it to affect the post template that shows userinfo on the top (like the image you removed), then you need to edit the postbit template.

Lynne 11-21-2008 08:38 PM

Try editing the postbit template in the same way you edited the postbit_legacy template and see if that fixes the issue.

ShawneyJ 11-23-2008 09:17 AM

remove $template_hook[postbit_userinfo_left]
should do the job.


EDIT: i took a look myself and seemed to work fine.
Solved ;)

raja811 11-23-2008 09:27 AM

great thanks jaycob.
probleme solved.


All times are GMT. The time now is 08:10 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.01121 seconds
  • Memory Usage 1,742KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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