vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Announcement (https://vborg.vbsupport.ru/showthread.php?t=118314)

rogersnm 06-17-2006 05:44 AM

I wouldn't know i don't use it. Are you sure you uploaded all the files?

Staxed 06-17-2006 05:48 AM

yup, i'm positive, i've even just reuploaded everything this morning to make sure. It didn't start happening until after I imported the product (though i'm not saying it's your product...it might have been any product...not sure since i can't disable it and try another one.)

rogersnm 06-17-2006 05:49 AM

Can you read the pm

charlub 06-17-2006 09:07 AM

I'm having the exact same problem.


Quote:

Originally Posted by Irisfire
after i installed this...i get a page not found error whenever i try to get into the products management screen or plugins screen...i haven't done anything else but install this product...anyone else have this problem??


rogersnm 06-17-2006 09:14 AM

I ahve fixed iresfire's problem and he gave me a donation (thank you) He had plugin manager reloaded. It managed to latch on during the upgrade and messed up the pluygin system just do me 1 think. Go to your forums, Go to admin cp, right click on Pruduct Manager, Open in new window, tell me what the link is. If it is advplugins.php then you have the same problem as him. Just upload the new plugin mananger for vb3.6 reloaded and then run this query:
Code:

ALTER TABLE `plugin` ADD `flag` TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL
(if ou have a table prefix please add it before plugin` eg. so if your prefix was vb it would be `vbplugin`) and then manually add this plugin:
Quote:

Title: Plugin System Adjustments
Hook Location: admin_global
Execution order: 1
and then for contents add:
Quote:

if (preg_match('/plugin\.php$/', $_SERVER['PHP_SELF']))
{
if (!$_REQUEST['do'] OR $_REQUEST['do'] == 'modify' OR $_REQUEST['do'] == 'product')
{
exec_header_redirect('advplugins.php');
}
if ($_REQUEST['do'] == 'updateactive')
{
if (!function_exists('plugin_updateactive_handler'))
{
function plugin_updateactive_handler()
{
exec_header_redirect('advplugins.php');
}
}
ob_start('plugin_updateactive_handler');
}
if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add')
{
if (!function_exists('plugin_edit_handler'))
{
function plugin_edit_handler($output)
{
global $vbphrase, $vbulletin;

$output = str_replace("<input type=\"reset\"", "<input type=\"submit\" class=\"button\" tabindex=\"1\" name=\"return\" value=\"$vbphrase[save] &amp; $vbphrase[reload]\" accesskey=\"e\" />\n<input type=\"reset\"", $output);
return $output;
}
}
ob_start('plugin_edit_handler');
$vbulletin->nozip = true;
}
if ($_REQUEST['do'] == 'update' AND $_REQUEST['return'])
{
if (!function_exists('plugin_update_handler'))
{
function plugin_update_handler($output)
{
global $_REQUEST;
return str_replace('plugin.php', 'plugin.php?do=edit&pluginid=' . $_REQUEST[pluginid], $output);
}
}
$vbulletin->nozip = true;
ob_start('plugin_update_handler');
}
}

Then the plugin system should work. So you can import the plugin manager reloaded xml properly so it has all the phrases.

MR-2ZZ 06-30-2006 04:41 AM

This should be a stock feature!!! Very nice!

curtisstanier 07-02-2006 10:35 PM

Amazing Addon Thanks :) *Clicks Install*

a simple fa?ade 07-07-2006 05:29 PM

This is a fine (although simple) hack.

Kudos for making it though. :)

[high]* a simple fa?ade clicks Installed.[/high]

Maxman1544 07-09-2006 03:41 PM

Thanks! This is pretty useful.

Ophelia 07-15-2006 06:20 PM

I get the following error when I try to install:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '1', 'Forum Home Announcement [Template Alteration and Variables]', 'global_start', 'eval(\'$nick_announce = \"\' . fetch_template(\'nick_announce\') . \'\";\');\r\n switch ($vbulletin->options[\'announce_position\'])\r\n {\r\n case 1:\r\n $Position = \'<!-- what\\\'s going on box -->\';\r\n break;\r\n\r\n case 2:\r\n $Position = \'<!-- end what\\\'s going on box -->\';\r\n break;\r\n\r\n case 4:\r\n $Position = \'<!-- main -->\';\r\n break;\r\n\r\n default:\r\n $Position = \'$navbar\';\r\n break;\r\n }\r\n\r\n$vbulletin->templatecache[\'FORUMHOME\'] = str_replace($Position, $Position . \' $nick_announce\', $vbulletin->templatecache[\'FORUMHOME\']);', 'nicks_homeannoncement');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, July 15th 2006 @ 03:18:27 PM
Script : http://www.site.net/forum/boss/plugin.php
Referrer : http://www.site.net/forum/boss/plugin.php?do=productadd
IP Address : my number
Username : myname
Classname : vb_database


All times are GMT. The time now is 08:20 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.03177 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
  • (1)bbcode_code_printable
  • (3)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
  • (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