vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   username strikethrough (https://vborg.vbsupport.ru/showthread.php?t=316464)

CarpCharacin 01-06-2015 11:54 PM

username strikethrough
 
I made it so it would strike through banned users usernames. How do i do this with their user title also?

ozzy47 01-07-2015 12:07 AM

In your postbit or postbit_legacy template find:

Code:

                {vb:raw post.usertitle}
And change it to this.

Code:

                <vb:if condition="is_member_of($post, X)">
                    <span style="text-decoration: line-through;">{vb:raw post.usertitle}</span></vb:if>
                <vb:else />
                    {vb:raw post.usertitle}
                </vb:if>

Where X is your banned usergroup id number.

CarpCharacin 01-07-2015 12:37 AM

where do i find the postbit and postbit legacy templates?

ozzy47 01-07-2015 12:39 AM

ACP --> Styles & Templates --> Style Manager

CarpCharacin 01-07-2015 12:41 AM

ok i went into the style manager. How do i find the templates? Do i have to edit them on each individual style?

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

should i use find and replace in templates?

ozzy47 01-07-2015 12:44 AM

Yes each style. Unless of course you have it set up as parent and child styles, then you only have to change the parent.

In the dropdown next to each style, open it and select Edit Templates. From there scroll through the list until you find Postbit Templates. Click on that and then find either postbit, or postbit_legacy ( which ever one you are using ), then double click on that.

CarpCharacin 01-07-2015 12:48 AM

i clicked on it, how do i find the postbit and postbit_legacy templates?

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

ok i found it, now how do i edit it?

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

UPDATE: i figured it out

ozzy47 01-07-2015 12:50 AM

Find what I told you to, and change it to what I said to change it to, then click on save.

CarpCharacin 01-07-2015 12:53 AM

i did that, and it still does not show up striked through.

ozzy47 01-07-2015 12:54 AM

Pm me a full admin account, and I can look into it for you.


All times are GMT. The time now is 03:47 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.01142 seconds
  • Memory Usage 1,727KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete