vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Wondering if There is a Hack For This (https://vborg.vbsupport.ru/showthread.php?t=170001)

Kiros72 02-08-2008 09:27 PM

Wondering if There is a Hack For This
 
I've done some searching and I can't find any hack that does what I'm asking - although maybe I wasn't using the best terms to search for it.

In any case, I need to know if there is a hack (or an option) that will only show a moderator as a moderator in the postbit if the moderator is a one for that forum. So in other words, I don't want a moderator to be shown as a moderator in the postbit, unless they are a moderator for that forum. Get it?

Is there any way that I can accomplish this without a hack, and if not, then is there a hack already out for this?

Thanks,
Ben

lordtopcat 02-09-2008 01:04 AM

Umm, this is a default option for vB. It automatically displays the moderator for a forum below the postbit?

Kiros72 05-31-2008 02:10 AM

That's not what I meant.

I mean, I'd like to have it display the Moderator rank on moderators when members browse the posts of forums that they actually moderate. Normally, it's displayed in all posts of all forums.

For instance, if Bob was a member of "General Discussions," I would only want Bob to show as a moderator in posts within that forum. In posts of every other forum, I would like Bob to be shown as a regular member.

Get the idea?

Wired1 05-31-2008 06:02 AM

To clarify, you're talking about their member title?

Kiros72 05-31-2008 06:22 AM

Well, I mean their rank...

Basically, I have rank images set up for postcount amounts and staff ranks. For instance, the Moderator rank goes to members in Usergroup "Moderators" and the Display Type is "If Displaygroup = This Group."

In the "Moderators" usergroup settings, it's also set to give them the User Title "Moderator."

So I guess it's basically both the User Title and rank. Maybe if the postbits didn't think of them in the usergroup "Moderators," unless they actually moderated that forum, it would solve this, but I have no idea about how to do that.

Dismounted 05-31-2008 12:04 PM

You'll have to wrap a conditional around it in the postbit template. Using "can_moderate()".


All times are GMT. The time now is 04:15 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.00911 seconds
  • Memory Usage 1,713KB
  • 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)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