vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - vFcoders - Advanced Report System (https://vborg.vbsupport.ru/showthread.php?t=285206)

artos0131 09-30-2012 08:23 PM

vBulletin® Version 4.2.0 Patch 2

Mark_Zuckerberg 09-30-2012 09:32 PM

Quote:

Originally Posted by artos0131 (Post 2369832)
vBulletin? Version 4.2.0 Patch 2

its working for me fine i had the same version try running on default style and try disabling the mods one by one except this this will show you which mod is conflicting with that :)

scdurwood 10-01-2012 11:50 AM

nm...

great mod...

MattGarner 10-01-2012 03:41 PM

Is it possible to be able to change it to so it sends a user to the full form instead of having a popup?

scdurwood 10-02-2012 03:14 AM

Quote:

Originally Posted by DJ-Dez (Post 2353014)
It's a shame. I'm getting adminfunction errors on my other plugin "Yet Another Awards System" on line 1922. It's a shame, I had to uninstall this wondeful plugin.

Comment out the function call in awards.php starting on line 97 and it works fine:

PHP Code:

// ###################### Start makedepthmark #######################
// function construct_depth_mark($depth, $depthchar, $depthmark = '')
// {
// repeats the supplied $depthmark for the number of times supplied by $depth
// and appends it onto $depthmark
//    for ($i = 0; $i < $depth; $i++)
//    {
//        $depthmark .= $depthchar;
//    }
//    return $depthmark;
// }
// end functions 


MattGarner 10-03-2012 07:33 PM

On the "Closed Reports" page it only shows two of the previous ones and once you click next page then it shows no more. Is there a way to fix this? It would be handy to be able to go through each closed report.

scdurwood 10-08-2012 11:56 AM

To make the notification display on a new window, edit the notification_list plugin accordingly:

Change:
PHP Code:

        'link'   => $linkdir '/index.php?' $vbulletin->session->vars['sessionurl'] . 'loc=../' $vbulletin->config[Misc][modcpdir] . '/ars_report.php?do=open'
        
'order'  => 11 

To:
PHP Code:

        'link'   => $linkdir '/index.php?' $vbulletin->session->vars['sessionurl'] . 'loc=../' $vbulletin->config[Misc][modcpdir] . '/ars_report.php?do=open' ' " target=/"_new/" ' 
        
'order'  => 11 


Superorb 10-08-2012 04:12 PM

Anyone else getting a 404 error when they click on the notification link at the top? The "loc=../" is what's breaking it, how can I fix this?

Code:

http://yoursite.com/forum/admincp/index.php?loc=../modcp/ars_report.php?do=open

TheSupportForum 10-08-2012 04:47 PM

Quote:

Originally Posted by Superorb (Post 2371576)
Anyone else getting a 404 error when they click on the notification link at the top? The "loc=../" is what's breaking it, how can I fix this?

Code:

http://yoursite.com/forum/admincp/index.php?loc=../modcp/ars_report.php?do=open

target="_blank," not target="_new,"

TheSupportForum 10-08-2012 04:55 PM

<a href="/ars_report.php?do=open'_blank' ">

Superorb 10-08-2012 05:04 PM

Ok I'm confused. Are people replying to my problem or just wanting to fix the target="_new" to _blank?

TheSupportForum 10-08-2012 05:07 PM

Quote:

Originally Posted by Superorb (Post 2371589)
Ok I'm confused. Are people replying to my problem or just wanting to fix the target="_new" to _blank?

_blank is a standard target variable whereas _new is a custom one

the url should look something like his

<a href="/ars_report.php?do=open'_blank' ">

Superorb 10-08-2012 05:15 PM

So my entire line of code as it sits in the xml file is the following:
Code:

        'link'  => $linkdir . '/index.php?' . $vbulletin->session->vars['sessionurl'] . 'loc=../' . $vbulletin->config[Misc][modcpdir] . '/ars_report.php?do=open' . ' " target=/"_blank/" ' ,
What should it look like to avoid the 404?

TheSupportForum 10-08-2012 05:26 PM

Quote:

Originally Posted by Superorb (Post 2371593)
So my entire line of code as it sits in the xml file is the following:
Code:

        'link'  => $linkdir . '/index.php?' . $vbulletin->session->vars['sessionurl'] . 'loc=../' . $vbulletin->config[Misc][modcpdir] . '/ars_report.php?do=open' . ' " target=/"_blank/" ' ,
What should it look like to avoid the 404?

replace

vFcoders - Advanced Report System (NL)

with

PHP Code:

require_once(DIR '/includes/adminfunctions.php'); 
if (
can_administer() OR can_moderate()) 
{
   
$linkdir = (can_administer() ? $vbulletin->config[Misc][admincpdir] : $vbulletin->config[Misc][modcpdir]);
               
    
$notifications['ars_count'] = array(
        
'phrase' => $vbphrase['vfc_ars_notification_report'],
        
'link'   => $linkdir '/index.php?' $vbulletin->session->vars['sessionurl'] . 'loc=../' $vbulletin->config[Misc][modcpdir] . '/ars_report.php?do=open' ' " target=/"_new/" ' ,
        
'order'  => 11
    
); 




Superorb 10-08-2012 05:35 PM

^^ All that did was replace _new with _blank. I'm trying to fix the 404 from the "loc=../" in the URL.

Superorb 10-09-2012 04:56 PM

Any reason why this would work on my live site but not the test site if the test site uses a copy of the live site DB? Does it use absolute paths anywhere? I have the domains like this:

Code:

website.com/forum/
testsite.website.com


MattGarner 10-11-2012 02:28 PM

Does anyone know how to fix it so when you clicked on "Close Reports" you get to see all of the closed reports and not just two? As when you click next it then starts showing you reports that are still open.

WorldCraft 10-13-2012 04:36 AM

1 Attachment(s)
Clicking the "Next Page" buttons do not actually show past reports, but only show a blank page. I'm going to assume this is a bug, screenshot below.

tr1cky 10-14-2012 03:10 PM

The coder does not care about this plugin anyways

karma010 10-19-2012 01:58 AM

It's a shame the coder abandoned this mod...seeing as though it had great potential. In the hopes that he decides to actually release updates:

Bugs to fix (from my own experience)
Clicking "Next page" and "Last Page" in AdminCP "Closed Reports" shows a blank page
Show more than 2 results on opened/closed pages in AdminCP

Suggestions:
Ability to clear/reset (or delete reports individually) in "My Reports"
Automatically close and/or delete the discussion thread when a report is marked closed

Here's to hoping for updates...

sootfb 10-21-2012 02:24 PM

Quote:

Originally Posted by artos0131 (Post 2367704)

I found another bug. When I select standard reason "Zły dział" (Wrong section). Page says "You haven't selected any reason".

http://imageshack.us/a/img805/2885/reportsystem.png

Having the same issue, any suggestions ?

Alfa1 10-21-2012 03:28 PM

Too bad this excellent functionality is not available for vb3.

initiald 10-30-2012 07:41 AM

Please add CMS comment report, Blog, and Private Message report too. Vbulletin 4.2

initiald 11-04-2012 05:10 AM

Quote:

Originally Posted by artos0131 (Post 2365339)
There's one problem with this mod. When post is reported and moderator deletes whole thread, we can't close this report and notification will stay forever.

I concur. The notification stay forever if we delete. How to fix this?

UPDATE: There is a fixed. Just go to the AdminCP>Maintenance and Find "Report" and update the counter. It will reset. FIXED.

I think I can update the mod and fix some of the feature people want here if the author allows me to modify his code.

Superorb 11-04-2012 04:43 PM

Quote:

Originally Posted by initiald (Post 2378241)
I concur. The notification stay forever if we delete. How to fix this?

UPDATE: There is a fixed. Just go to the AdminCP>Maintenance and Find "Report" and update the counter. It will reset. FIXED.

I think I can update the mod and fix some of the feature people want here if the author allows me to modify his code.

PM/Email the coder, they were online within the past few days.

Fatal Hazard 11-05-2012 09:23 AM

Working great! Thanks.

WorldCraft 11-14-2012 07:34 AM

Quote:

Originally Posted by karma010 (Post 2374149)
It's a shame the coder abandoned this mod...seeing as though it had great potential. In the hopes that he decides to actually release updates:

Bugs to fix (from my own experience)
Clicking "Next page" and "Last Page" in AdminCP "Closed Reports" shows a blank page
Show more than 2 results on opened/closed pages in AdminCP

Suggestions:
Ability to clear/reset (or delete reports individually) in "My Reports"
Automatically close and/or delete the discussion thread when a report is marked closed


Here's to hoping for updates...

This bug happens for me as well. I like this mod, and I hope a fix will be provided.

lazytown 12-04-2012 02:20 AM

So is this working ok for 4.2? I'd really love to see this in action.

hakkuo23 12-25-2012 12:54 AM

Issue with PM: It is redirecting us to this link: and the tab is empty in modcp:
admincp/index.php?loc=../modcp/ars_report.php?do=open

wolfman069 12-30-2012 12:55 AM

well its been 6 months and there coder web site been down for awhile now he might come back next year but no post from him since august 2012

Markco 01-01-2013 08:48 PM

please updated VB 4.20pl3

Guru Samrat 01-16-2013 01:36 PM

need this mod for vb 4.0.3 plz give me

M.C. 03-16-2013 03:02 PM

Would be nice to see when someone report his post than PM message is send to the user with link to discussion thread and reason why post been reported...

M.C. 03-17-2013 08:35 AM

Quote:

Originally Posted by trackpads (Post 2345190)
I am having a style issue, something I have screwed up I am sure. But can you tell me what might be wrong? When I click the report icon the box is a small 2 pixel high box.

So how to resolve this issue? Having same....

Dwarden 03-19-2013 11:05 PM

this is great plugin, but needs fixing (lot of manual edits before getting it to work) for 4.2.0 pl3

It would be very nice if it's updated

Zantox 03-20-2013 01:09 AM

This mod works great with vb 4.2. I love it, thanks for making it!

WorldCraft 04-14-2013 10:02 PM

I have a solution to the issue where the Next Page, Prev Page, etc buttons are not working.

Open ars_report.php (the file you uploaded to your modCP directory). And go to line 119, or this statement:
PHP Code:

if ($vbulletin->GPC['page'] != 1

Replace all of this
PHP Code:

        if ($vbulletin->GPC['page'] != 1)
        {
            
$prv $vbulletin->GPC['page'] - 1;
            
$firstpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&laquo; " $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=1'\">";
            
$prevpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&lt; " $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=$prv'\">";
        }
        
        if (
$vbulletin->GPC['page'] != $totalpages)
        {
            
$nxt $vbulletin->GPC['page'] + 1;
            
$page_button "ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open&perpage=" $vbulletin->GPC['perpage'];
            
$nextpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['next_page'] . " &gt;\" onclick=\"window.location='$page_button&page=$nxt'\">";
            
$lastpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['last_page'] . " &raquo;\" onclick=\"window.location='$page_button&page=$totalpages'\">";
        } 

With this:
PHP Code:

    if ($_REQUEST['do'] == 'open'
    {
        if (
$vbulletin->GPC['page'] != 1)
        {
            
$prv $vbulletin->GPC['page'] - 1;
            
$firstpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&laquo; " $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=1'\">";
            
$prevpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&lt; " $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=$prv'\">";
        }
        
        if (
$vbulletin->GPC['page'] != $totalpages)
        {
            
$nxt $vbulletin->GPC['page'] + 1;
            
$page_button "ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=open&perpage=" $vbulletin->GPC['perpage'];
            
$nextpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['next_page'] . " &gt;\" onclick=\"window.location='$page_button&page=$nxt'\">";
            
$lastpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['last_page'] . " &raquo;\" onclick=\"window.location='$page_button&page=$totalpages'\">";
        }
    }
    else 
    {
            if (
$vbulletin->GPC['page'] != 1)
        {
            
$prv $vbulletin->GPC['page'] - 1;
            
$firstpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&laquo; " $vbphrase['first_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=close" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=1'\">";
            
$prevpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"&lt; " $vbphrase['prev_page'] . "\" onclick=\"window.location='ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=close" .
                
"&perpage=" $vbulletin->GPC['perpage'] . "&page=$prv'\">";
        }
        
        if (
$vbulletin->GPC['page'] != $totalpages)
        {
            
$nxt $vbulletin->GPC['page'] + 1;
            
$page_button "ars_report.php?" $vbulletin->session->vars['sessionurl'] . "do=close&perpage=" $vbulletin->GPC['perpage'];
            
$nextpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['next_page'] . " &gt;\" onclick=\"window.location='$page_button&page=$nxt'\">";
            
$lastpage "<input type=\"button\" class=\"button\" tabindex=\"1\" value=\"" $vbphrase['last_page'] . " &raquo;\" onclick=\"window.location='$page_button&page=$totalpages'\">";
        }
    } 


Draffi 04-19-2013 10:02 PM

Hi!

Looks like a solution - But it never show all the pages....

Anyway! Thank you for your work!

CEZALAND 05-28-2013 08:25 AM

Thanks for this awesome mod but may you use unique id instead of title of current reports to edit/remove reports? Because if you use utf8 characters in title it will not work (Invalid Reason)

Regards
RevoLand

DrPrepper 06-21-2013 08:27 AM

I love this mod and have been using it for half a year, but recently (the last month or so) I'm getting feedback/complaints from moderators that they have Report alerts in their interface, but when they click it, no Reports are shown. Which is correct because all Reports are already closed. But they keep getting the alert in their display.

What can be the cause of this? (Or even better: a fix) :)

(Am using vBulletin 4.2.0 Patch Level 3 with this mod version 1.0)


All times are GMT. The time now is 01:02 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.01694 seconds
  • Memory Usage 1,900KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_php_printable
  • (10)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
  • (40)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