vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   [SOLVED]postbit_legacy (remove some user details) (https://vborg.vbsupport.ru/showthread.php?t=266814)

Popa Andrei 07-14-2011 12:33 PM

[SOLVED]postbit_legacy (remove some user details)
 
1 Attachment(s)
Hi there vbulletin.org users.I am making this thread with the hope that someone will help me.
For my postbut_legacy i am ussing a plugin that show the user details(join date,last post,nationality,etc) in separated tabs.But to acomplish this i had to remove from the postbit_legacy template all the default ones that showed info about the user and left onli the rankimage,avatat and name.
The problem is that i cant find the code to remove the infactions details from it.Can u help?
Attached image in case i wasnt clear.

Thanks in advance.

kh99 07-14-2011 12:50 PM

Isn't this it?

HTML Code:

<vb:if condition="$show['infraction']">
        <dt>{vb:rawphrase infractions}</dt>
        <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>


LifesGreatestGift 07-14-2011 02:40 PM

yeah, looks like you have the infraction code duplicated and the first one has the custom class (style) and the duplicate is the original and needs to be deleted or commented out.

Popa Andrei 07-14-2011 08:29 PM

Quote:

Originally Posted by TheWindows7Site (Post 2220454)
yeah, looks like you have the infraction code duplicated and the first one has the custom class (style) and the duplicate is the original and needs to be deleted or commented out.

how do comment out on the vbulletin templates?

HMBeaty 07-14-2011 09:04 PM

Quote:

Originally Posted by stormzone (Post 2220617)
how do comment out on the vbulletin templates?

You could use this:
HTML Code:

<!-- extra code here or code you don't want to show -->

Popa Andrei 07-14-2011 11:46 PM

Quote:

Originally Posted by kh99 (Post 2220423)
Isn't this it?

HTML Code:

<vb:if condition="$show['infraction']">
        <dt>{vb:rawphrase infractions}</dt>
        <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>


thanks you very much.That was indeed :D


All times are GMT. The time now is 01:16 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.01027 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_html_printable
  • (3)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