vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Moderators Functions - Pedro!'s Post Report Manager 0.93 (https://vborg.vbsupport.ru/showthread.php?t=205087)

samuelss 02-14-2009 07:51 PM

I have just done a download of the Mod and its seems that the product xml. is missing.

Thanks.

joe1989 02-14-2009 08:19 PM

Quote:

Originally Posted by samuelss (Post 1744166)
I have just done a download of the Mod and its seems that the product xml. is missing.

Thanks.

Nope. Read the installation instructions, paying special attention to step 9.

samuelss 02-14-2009 08:37 PM

Thanks. I only have 1 folder (upload) plus three txt files - changelog, credits and Upgrade Instructions.

The only file I can see with an .xml extension is the file inside the upload folder ie. upload/includes/xml/product-pprm. Is this the same file to import?

Thanks.

Pedro! 02-14-2009 11:50 PM

Quote:

Originally Posted by samuelss (Post 1744196)
Thanks. I only have 1 folder (upload) plus three txt files - changelog, credits and Upgrade Instructions.

The only file I can see with an .xml extension is the file inside the upload folder ie. upload/includes/xml/product-pprm. Is this the same file to import?

Thanks.

Yep, that's the same file to import. You can browse to it and install that way it's just doing from your server is just easier.

You should also have the .xml file cpnav_pprm.xml which puts the navigation in the admin control panel. If you do not have this file then you should try redownloading the archive. The file is most definitely in there.

samuelss 02-15-2009 05:41 AM

Got it Many Thanks.

Installed.

Pedro! 02-16-2009 12:34 PM

Quote:

Originally Posted by samuelss (Post 1744584)
Got it Many Thanks.

Installed.

No worries :)

alehawk 02-16-2009 06:08 PM

What does this do?

Acknowledge moderator permissions when displaying reports?
Recommended for forums with a large flow of reports

Tnx

Pedro! 02-16-2009 08:39 PM

Well, it means that when a mod goes to open/closed reports in the CP it will only show the reported posts in the forums they can moderate. It also checks moderator permissions with pictures, picture comments and visitor messages.

These are the permissions checked:

PHP Code:

    switch($report_type) {
            
                case 
'post':
                    if (
can_moderate($irow['forumid'])) {$can_view 1;}
                break;
                
                case 
'gm':
                    if (
can_moderate(0'caneditgroupmessages') OR can_moderate(0'candeletegroupmessages') OR can_moderate(0'canmoderategroupmessages') OR can_moderate(0'canremovegroupmessages')) {$can_view 1;}
                break;
                    
                case 
'gp':
                    if (
can_moderate(0'caneditalbumpicture') OR can_moderate(0'candeletealbumpicture')) {$can_view 1;}
                break;
                            
                case 
'pap':
                    if (
can_moderate(0'caneditalbumpicture') OR can_moderate(0'candeletealbumpicture')) {$can_view 1;}
                break;
                            
                case 
'gpc':
                    if (
can_moderate(0'caneditpicturecomments') OR can_moderate(0'candeletepicturecomments') OR can_moderate(0'canmoderatepicturecomments') OR can_moderate(0'canremovepicturecomments')) {$can_view 1;}
                break;                
                
                case 
'papc':
                    if (
can_moderate(0'caneditpicturecomments') OR can_moderate(0'candeletepicturecomments') OR can_moderate(0'canmoderatepicturecomments') OR can_moderate(0'canremovepicturecomments')) {$can_view 1;}
                break;
                            
                case 
'pm':
                    
$can_view 1;
                break;
                            
                case 
'vm':
                    if (
can_moderate(0'caneditvisitormessages') OR can_moderate(0'candeletevisitormessages') OR can_moderate(0'canmoderatevisitormessages') OR can_moderate(0'canremovevisitormessages')) {$can_view 1;}
                break;
    
    } 


alehawk 02-17-2009 01:38 AM

thank you very much for your explanation!
installed

EcoCav 02-19-2009 01:12 AM

Great work man! I have been waiting for this to come out.


All times are GMT. The time now is 02:49 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.01124 seconds
  • Memory Usage 1,762KB
  • 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)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