vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Additional User Title for Staff. (https://vborg.vbsupport.ru/showthread.php?t=69727)

Dark s.s. Trunk 09-22-2004 10:10 AM

Additional User Title for Staff.
 
Is there anyway to added 2 user types to Admin and Moderators or staff...

Like for normal members they get user titles based on what they have for posts... but when your a admin or mod is takes over the user title...

I quess what I want is to add another field only for admins that only show up if your an admin and in your own profile or other profile and you can use a field for added more titles and special stuff like a picture or somthing ...... can someone cook up somthng for me plz.

Logikos 09-22-2004 10:39 AM

Just add this in your postbit template

HTML Code:

<if condition="$post[usergroupid]==X">
        HTML GOES HERE
</if>

Change X to the usergroup id. And you can do something like this.

HTML Code:

<!-- Admin Title -->
<if condition="$post[usergroupid]==6">
        HTML GOES HERE
</if>
<!-- /Admin Title -->

<!-- S.Mod Title -->
<if condition="$post[usergroupid]==5">
        HTML GOES HERE
</if>
<!-- /S.Mod Title -->

<!-- Mod Title -->
<if condition="$post[usergroupid]==7">
        HTML GOES HERE
</if>
<!-- /Mod Title -->

<!-- Member Title -->
<if condition="$post[usergroupid]==1">
        HTML GOES HERE
</if>
<!-- /Mmeber Title -->

See the pattern?

Dark s.s. Trunk 09-22-2004 11:03 AM

Yep and thank you.... i got one guestion i updated my vb from 3.0.1 to 3.0.3 and now my custom bb code doesnt work its a text glow.... it works find but now nope lol...... i have even tryed re adding it and it still no longer fucntions did they disable the glow or somthing

Dark s.s. Trunk 09-22-2004 11:11 AM

sorry for double post... here is the code i am using.......

Code:

<TABLE STYLE=filter:glow(color={option},strength=4)><font size="1">{param}</font></table>
Let me know if you see somthign wrong....becuase i am really confused now...

Dark s.s. Trunk 09-22-2004 11:17 AM

Never MInd my fault it turns out FireFox Does not Display that for some reason on shows the code lol... sorry for the opps.


All times are GMT. The time now is 12:27 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.00917 seconds
  • Memory Usage 1,717KB
  • 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_code_printable
  • (2)bbcode_html_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