vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   What would be the best way to do this? (https://vborg.vbsupport.ru/showthread.php?t=302732)

Fatal Hazard 09-27-2013 08:41 PM

What would be the best way to do this?
 
Hi, please excuse my bad example but what would be the best way to display "Staff" in all staff posts?
Where the box is, is where I am aiming to put it. I have tried this in MyBB however not in vB. Any ideas?


https://vborg.vbsupport.ru/external/2013/09/13.png

ozzy47 09-27-2013 08:47 PM

Not in that space, but there is this, https://vborg.vbsupport.ru/showthread.php?t=298846

tbworld 09-27-2013 08:50 PM

You might want to check out some of the post template mods and see if that will work for you, editor insertion can be a bit tricky.

https://vborg.vbsupport.ru/showthread.php?t=277323

Hopefully others will post a recommended answer.

Fatal Hazard 09-27-2013 08:55 PM

Quote:

Originally Posted by ozzy47 (Post 2448449)
Not in that space, but there is this, https://vborg.vbsupport.ru/showthread.php?t=298846

That looks like a nice plugin, however is there anyway to do this by template edit?
When I used MyBB I used a code like this:
Code:

<if in_array($memprofile['usergroup'], array(3,4,6)) || in_array($memprofile['additionalgroups'], array(3,4,6)) then>
Staff Member
</if>

and it seemed to work, I just haven't used vB in a while.

ozzy47 09-27-2013 09:00 PM

It is quite possible, you yourself are a coder, so start playing. :)

Fatal Hazard 09-27-2013 09:15 PM

Thanks, I was just in a lazy mood, I'll figure it out :)

ozzy47 09-27-2013 09:44 PM

Yeah I know the feeling brother. :)

TheLastSuperman 09-27-2013 09:48 PM

Quote:

Originally Posted by Fatal Hazard (Post 2448456)
Thanks, I was just in a [S]lazy[/S] mood, I'll figure it out :)

No no the word you were looking for was "Creative" ;).

:cool:


All times are GMT. The time now is 10:41 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.02117 seconds
  • Memory Usage 1,723KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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