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)
-   -   Administrative and Maintenance Tools - Advanced Plugin Manager (https://vborg.vbsupport.ru/showthread.php?t=237383)

Mutt 04-18-2010 05:25 PM

1 Attachment(s)
Quote:

Originally Posted by Psionic Vision (Post 2022331)
It works on mine. Did you do the file edits correctly?


I uploaded a clean plugin.php from the 4.03 zip & tried saving the active status from plugin.php?do=modify. it worked fine.

I did the plugin.php edits & uploaded a clean advplugins.php from your zip. Disabling the whole product works fine.

but unchecking a plugin & clicking save active status at the bottom still gives me a white page. the active status does get saved but advplugins.php is not reloaded.

not sure what the deal is. thanks for the response

bergovoy 06-10-2010 07:44 AM

i dont have a plugin.php

i looked in the zip file for vb and no plugin.php there either

what up with that???

bergovoy 06-10-2010 07:32 PM

ok, bonehead me...

i renamed the cpadmin directory.. hehehehe

ozzy47 06-27-2010 09:54 PM

ok for some reason it has stopped working, if I changed my admincp folder to a different name could that have done it?

If so what do I edit to fix it?

I am running vb 4.0.4

bergovoy 06-28-2010 10:24 AM

if i recall correctly, you need to edit the config.php file

I think it is in the includes directory

not sure of the exact section but I believe it isnt too difficult to find.. just search for admincp

thunderclap82 12-14-2010 01:32 AM

Doesn't seem to work with 4.1. After uploading the files and adding the code to plugin.php I get script errors when trying to access the plugin manager.

ozzy47 02-03-2011 01:31 AM

Quote:

Originally Posted by thunderclap82 (Post 2133569)
Doesn't seem to work with 4.1. After uploading the files and adding the code to plugin.php I get script errors when trying to access the plugin manager.

Ditto

SorentoUltimate 05-07-2011 02:21 PM

Try it to vbulletin 4.1.3 and not Display Collapse UnCollapse Button

Any Idea?????

billstelling 05-07-2011 04:01 PM

worked great. thanks for the code.
using 4.1.3

Hippy 05-07-2011 11:59 PM

Quote:

Originally Posted by SorentoUltimate (Post 2193008)
Try it to vbulletin 4.1.3 and not Display Collapse UnCollapse Button

Any Idea?????

do the manual edit to the plugin.php
find
Code:

if ($_REQUEST['do'] != 'download' AND $_REQUEST['do'] != 'productexport')
Code:

// ##################################
// A.P.M. for vBulletin 3.5.x - 4.0.x by Andreas & Psionic Vision
// ##################################
if (!isset($_REQUEST['do']) || ($_REQUEST['do'] == 'modify') || ($_REQUEST['do'] == 'product'))
{
        exec_header_redirect('advplugins.php');
}
       
if ($_REQUEST['do'] == 'updateactive')
{
        function plugin_updateactive_handler($buffer)
        {
                global $vbulletin;
                header('Location: advplugins.php' . $vbulletin->session->vars['sessionurl_q']);
        }
        ob_start('plugin_updateactive_handler');
}

if (is_newer_version('3.8.0', $vbulletin->options['templateversion']))
{
        if (($_REQUEST['do'] == 'edit') || ($_REQUEST['do'] == 'add'))
        {
                function plugin_edit_handler($buffer)
                {
                        global $vbulletin, $vbphrase;       
                        return str_replace(
                                '<input type="reset"',
                                '<input type="submit" class="button" tabindex="1" name="return" value="' . $vbphrase['save'] . ' &amp; ' . $vbphrase['reload'] . '" accesskey="e" /> <input type="reset"',
                                $buffer
                        );
                }
                ob_start('plugin_edit_handler');
                $vbulletin->nozip = true;
        }
       
        if (($_REQUEST['do'] == 'update') && isset($_REQUEST['return']))
        {
                function plugin_update_handler($buffer)
                {
                        global $vbulletin;                       
                        header('Location: plugin.php?' . $vbulletin->session->vars['sessionurl'] . 'do=edit&pluginid=' . $vbulletin->GPC['pluginid']);
                }
                ob_start('plugin_update_handler');
        }
}
// ##################################
// A.P.M. for vBulletin 3.5.x - 4.0.x by Andreas & Psionic Vision
// End Code
// ##################################



All times are GMT. The time now is 02:20 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.00975 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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