vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - PM Moderation (https://vborg.vbsupport.ru/showthread.php?t=118983)

Chadi 06-18-2006 11:53 PM

Why am I getting this error when adding the product?

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
    (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
    ('1', '5', 'Add the ModCP Nav Group and Option', 'mod_index_navigation', 'construct_nav_option($vbphrase[\'modpm_moderate_private_messages\'], \'moderate_pm.php?do=list\');    \r\nconstruct_nav_group($vbphrase[\'modpm_pm_moderation\']);\r\nconstruct_nav_spacer();', 'cit_pm_moderation');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Sunday, June 18th 2006 @ 07:51:43 PM
Script      : http://www.talkjesus.com/admincp/plugin.php
Referrer    : http://www.talkjesus.com/admincp/plugin.php?do=productadd
IP Address  : xxx.xxx.28.214
Username    : Chad
Classname    : vb_database


Alan @ CIT 06-18-2006 11:54 PM

Because your installing it on vBulletin 3.5.4 - it only works on 3.6 Beta 2 or above :)

Thanks,
Alan.

Chadi 06-18-2006 11:56 PM

Oh just noticed. Anyway to get this for 3.5.4?

Alan @ CIT 06-18-2006 11:58 PM

Sorry, but with 3.6 due to replace 3.5.4 any day now, I won't be releasing a version for 3.5.4. Make sure you come back and install it when you upgrade to 3.6 though! :D

Thanks,
Alan.

Barakat 06-18-2006 11:59 PM

great hack Allan ! Bravo

Barakat 06-19-2006 12:09 AM

but there are no file called http://**********/modcp/adminpermiss...hp?do=edit&u=1 in modcp

so from where shall i give permision to myself for example

Alan @ CIT 06-19-2006 12:11 AM

In the usergroup editor - under Private Message Permissions

Thanks,
Alan.

Barakat 06-19-2006 12:17 AM

got it .

El-Gazaly 06-19-2006 12:21 AM

Thanks For It
Installed .

Floris 06-19-2006 06:38 AM

Glad you had the time to work out my idea and got some more feature/options ideas from me and <> to complete it. Nice of you to make it public; I didn't want to keep it exclusive to my sites :) I am sure many of the vb customers like to use this to prevent spam on their site.


All times are GMT. The time now is 06:01 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.03101 seconds
  • Memory Usage 1,728KB
  • 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
  • (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