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)

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...


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