vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread! (https://vborg.vbsupport.ru/showthread.php?t=59709)

MGM 01-06-2004 12:28 AM

great hack! glad I waited before downloading this one ;)

but I don't have mods on all my forums, so idk if ill install it just yet..... perhaps ill wait for that update you "might" do ;)

[high]* MGM clicks Install for the hell of it
[/high]

MGM out

tomshawk 01-06-2004 12:45 AM

Quote:

Originally Posted by MetalGearMaster
great hack! glad I waited before downloading this one ;)

but I don't have mods on all my forums, so idk if ill install it just yet..... perhaps ill wait for that update you "might" do ;)

[high]* MetalGearMaster clicks Install for the hell of it
[/high]

MGM out

Hey MetalGearMaster, to get around that, I made a Supermod the mod of all the Catagories

This would work for an Admin or a regular mod as well, Just make them the mod of the Catagory, then bingo, works like a champ

;)

Michael2 01-06-2004 05:03 AM

I installed it. It was a pain in the ass having to go through and add a bogus mod to each forum but I appreciate the work you did on it.

MGM 01-07-2004 12:14 AM

In the first post it says that the admin will be PMed if no mod exists.... does that even work?

MGM out

Erwin 01-07-2004 01:09 AM

Quote:

Originally Posted by MetalGearMaster
In the first post it says that the admin will be PMed if no mod exists.... does that even work?

MGM out

That's just the default message in vB3. :)

MGM 01-07-2004 01:16 AM

ahhhh...... i knew that :D

lol, smods modding all of my forums would work..... or maybe my newly created Pmods :D

MGM out

wrongful 01-07-2004 07:23 PM

Could someone tell me what to take out to stop the reported post from being emailed and PMed to me? At least the PMs because I find this kind of redundant.

Ok nevermind I figured out what step to take out.

carloshax 01-07-2004 08:41 PM

w00t another great hack clicks install again \o/

Carl

M1th 01-11-2004 02:46 AM

Hmm, 'Search Index' isnt getting updated after new thread/post now, is it? It would be a good idea to add the funtion. :)


PHP Code:

require_once('./includes/functions_databuild.php');
    
build_post_index($post['postid'], $foruminfo10); 

is the above code correct?

shad-gt 01-15-2004 01:33 PM

Quote:

Originally Posted by Erwin
Since I do have moderators for every forum, I am not going to modify this hack. It does work.

Ensure a MODERATOR is assigned to every forum.

Presumably you can add moderators to parent forums, so that this hack works. If I find time I may fix this, but not at the moment. :)


here a fix for your hack. With it all works correct with no moderators set on a forum....

replace:

Code:

        if (empty($mods) OR $foruminfo['options'] & $_FORUMOPTIONS['warnall'])
        {
                // get admins if no mods or if this forum notifies all
                $moderators = $DB_site->query("
                        SELECT user.email, user.languageid
                        FROM " . TABLE_PREFIX . "user AS user
                        INNER JOIN " . TABLE_PREFIX . "usergroup AS usergroup USING (usergroupid)
                        WHERE usergroup.adminpermissions <> 0
                ");

                while ($moderator = $DB_site->fetch_array($moderators))
                {
                        $mods[] = $moderator;
                }
        }

with:

Code:

        if (empty($mods) OR $foruminfo['options'] & $_FORUMOPTIONS['warnall'])
        {
                // get admins if no mods or if this forum notifies all
                $moderators = $DB_site->query("
                        SELECT user.email, user.languageid, user.userid
                        FROM " . TABLE_PREFIX . "user AS user
                        INNER JOIN " . TABLE_PREFIX . "usergroup AS usergroup USING (usergroupid)
                        WHERE usergroup.adminpermissions <> 0
                ");

                while ($moderator = $DB_site->fetch_array($moderators))
                {
                        $mods[] = $moderator;
                }
        }

, user.userid is new.


greets,
shAd


All times are GMT. The time now is 06:44 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.01100 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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