vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Show posts to moderate in the new notification menu (https://vborg.vbsupport.ru/showthread.php?t=168494)

Tolas 02-29-2008 08:39 PM

This menu appears and shows new items for non mods, they get access denied to actually moderate the posts, but it is confusing people. Any way to add a setting so I can specify user groups or members this appears for?

Other than that it seems to work well

dwh 03-11-2008 07:46 AM

Personally I'd use a different phrase for this mod to be clearer.

Rather than "Moderated Posts" I think "Posts awaiting moderation" is clearer...
If that's your preference too, then modify the xml file as such:

Where it says:
Code:

$phrasegroups[] = 'user';
change it to

Code:

$phrasegroups[] = 'thread';
and where it says:

Code:

$vbphrase['posts_awaiting_moderated_posts']
change it to

Code:

$vbphrase['posts_awaiting_moderation']
If you already installed this and prefer the phrase I'm suggesting, uninstall the product first, then modify the file as above and reinstall it. Or you can edit the product and the notes above directly in the AdminCP.

Anyway, thanks to the writer of this. Although I won't be using it personally, reading the code saved me some time for my own personal hacking of this section.

PH03N1X 04-21-2008 01:34 AM

I played with the xml file to get the threads to work too, but I couldn't manage to do it.

Could you add thread moderation to it too?

rob30UK 04-21-2008 09:38 PM

is this gonna be updated?

youradhere4222 04-21-2008 10:27 PM

Quote:

Originally Posted by rob30UK (Post 1496153)
is this gonna be updated?

I doubt it. :( This is such an essential hack, it's a shame there's only one and it doesn't work.

youradhere4222 04-21-2008 10:49 PM

Actually, if anyone would be up for it, it'd be nice if there was a post in a pre-set forum every time something needed to be moderated.

user02934123123 05-27-2008 12:01 PM

An unfortunate deficiency in this otherwise helpful hack is that the item in the drop-down menu appears for all users, even for those who are not moderators and have no access to the moderation queue.

This hack would be far more useful if it only displayed the item for moderators.

doz 06-06-2008 01:15 PM

Can you do it for all things waiting aprovel like user thread any profile mesaage

reesev 06-12-2008 02:01 PM

Quote:

Originally Posted by Tolas (Post 1453958)
This menu appears and shows new items for non mods, they get access denied to actually moderate the posts, but it is confusing people. Any way to add a setting so I can specify user groups or members this appears for?

Other than that it seems to work well



anyway to make it so non staff members do not see these notices? its really causing confusion but other then that it works fine.:confused:

TFEX 07-11-2008 05:57 AM

Been asked a few times already I see. Guess I'll have a look into it myself, I'll let you guys know what I come up with.


All times are GMT. The time now is 02:18 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.00961 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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