vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hide deletion notices for (Super-)moderators (https://vborg.vbsupport.ru/showthread.php?t=202445)

HolyKiller 01-20-2009 10:04 AM

Hide deletion notices for (Super-)moderators
 
Hi, i'm looking for hack (or guide what i need to edit), that hides deletion notices for Moderators and Supermoderators.

And no, the settings "Can See Deletion Notices" have no effect on Moderators and Supermoderators, because they always can see Deletion Notices.

I asked on vBulletin forum and they sent me here
Here is my thread: http://www.vbulletin.com/forum/showthread.php?t=296626

So, can anyone help me with that?

THX a LOT

Holy

Luis Larios 01-21-2009 10:51 PM

Moderators at my forum have requested the exact same thing, they know what those notices mean, but it would be faster to moderate a forum without a lot of those intercalated notices. Thanks ...

dmknights 01-23-2009 11:44 AM

you dont need a mod for this. just set it in usergroup settings

HolyKiller 01-28-2009 10:23 AM

Quote:

Originally Posted by dmknights (Post 1722248)
you dont need a mod for this. just set it in usergroup settings

Did you read my post and the thread at the link what i posted?

Once again:

And no, the settings "Can See Deletion Notices" have no effect on Moderators and Supermoderators, because they always can see Deletion Notices.

And vBulletin tech support confirmed that and say i need a mod for this settings. Please read THIS.

Quote:

Quote:

Originally Posted by Jake Bunce
That is the only permission for it:
Admin CP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> Can See Deletion Notices

Make sure this is disabled for their primary and secondary usergroups.

Like i said, this option i set to "NO" (viz attach), but they still can see deletion notices (i test it on my test account and it is true). Moderators and Supermoderators don't have secondary usergroup, just the primary.
Quote:

Originally Posted by Jake Bunce
I just tested this and you are right. It seems moderators can always view deletion notices. That actually makes sense.

So, is there ANY chance to DISABLE it for supermoderators and moderators? My moderators are rly confused by the deleted messages (deletion notices), because we migrate from phpBB to vBulletin and this is rlly obtrusive thing for my mod.

And like i said, i don't want delete posts physicaly, because this is one (of the milion ) thing what i like on vBulletin. Delete messages so users can't see it and they think posts are gone, but if any problems come, i can un-delete messages and problem is solved

Thanks for your answer

Holy

EDIT: And moving individual posts to some "trash" section is crazy.
Quote:

Originally Posted by Jake Bunce
You can do it with custom code. But you would have to ask on www.vbulletin.org for help with that.


So i am here

Holy

HolyKiller 02-08-2009 05:34 PM

Anyone? I thing, a LOT admins welcomed this feature.

Holy

Webmaster961 02-09-2009 07:44 PM

This does seem rather useful. I'll look into it.

HolyKiller 04-18-2009 07:18 PM

thanks

R1lover 04-18-2009 08:31 PM

Yes I would like this as well.... I keep everything and there are things the mods don't need to see once they are removed.

j883376 04-19-2009 07:18 AM

I don't know off hand if there's a better way, but if you open forumdisplay.php and look for this:
Code:

// filter out deletion notices if can't be seen
        if ($forumperms & $vbulletin->bf_ugp_forumpermissions['canseedelnotice'] OR can_moderate($foruminfo['forumid']))
        {
                $canseedelnotice = true;
                $deljoin = "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')";
        }

And remove
Code:

OR can_moderate($foruminfo['forumid'])
That should do it.

I suggest waiting for somebody to confirm that there's no better way to do this though before ripping out code.


All times are GMT. The time now is 01:31 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.01113 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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