Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: GrenadeSpam
Forum: vB5 Programming Discussions 08-04-2015, 11:57 AM
Replies: 6
Views: 1,051
Posted By GrenadeSpam
Glenn Vergara provided me with a good solution...

Glenn Vergara provided me with a good solution over at vbulletin.com:

{vb:data posterInfo, user, fetchUserinfo, {vb:raw conversation['userid']}}
<vb:if condition="$posterInfo['usergroupid'] == 5...
Forum: vB5 Programming Discussions 07-31-2015, 02:07 PM
Replies: 6
Views: 1,051
Posted By GrenadeSpam
I can't seem to find anything thus far, I think...

I can't seem to find anything thus far, I think I'll might just have to do it the lousy way and hardcode the user ID's into the template...
Forum: vB5 Programming Discussions 07-31-2015, 10:38 AM
Replies: 6
Views: 1,051
Posted By GrenadeSpam
I didn't know if conditionals worked in the CSS...

I didn't know if conditionals worked in the CSS as well, that's great!

The code you provided doesn't seem to accomplish what I'd like it to, though. This changes the background colour of a post...
Forum: vB5 Programming Discussions 07-29-2015, 11:28 AM
Replies: 6
Views: 1,051
Posted By GrenadeSpam
If condition which returns true if the creator of a post belongs to usergroup

For our forums (VB5), I'd like to give staff members a differently coloured backgrounds in their posts. To this end, I'd like to add the HTML class "staffPost" to each post made by a staff member...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT. The time now is 07:02 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.01249 seconds
  • Memory Usage 1,897KB
  • 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)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (4)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • forumjump
  • search_complete
  • navbits
  • navbits_complete