vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Easy Add Forum Moderator (https://vborg.vbsupport.ru/showthread.php?t=92351)

bashy 10-28-2006 07:34 PM

This works ok on 3.6.2 :) thanks

tmod 10-29-2006 09:02 PM

Hmmm I am getting this error on two different db's.

Database error in vBulletin 3.6.2:

Invalid SQL:
INSERT INTO `*******_testphrase` (`languageid`, `varname`, `text`, `phrasetypeid`, `product`) VALUES (0, 'forummod_add_new_moderator', 'Add New Moderator', 1, 'vbulletin');;

MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054

Any ideas?

Thanks

Tmod

tmod 10-30-2006 01:56 PM

I uploaded the files and installed the phrases using the phrase manager and it works fine on vBulletin 3.6.2.

The forummod_install.php needs to be updated.

Tmod

Kayden 12-19-2006 06:19 PM

What phrases, and where would they go?

Cars2007 07-17-2007 07:32 PM

Change the phrase insert statements in forummod_install.php to look like this, if you are on vB 3.6.7pl1:
Code:

        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_add_new_moderator', 'global', 'Add New Moderator', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_make_user_mod_of_this_forum', 'global', 'Make user moderator of this forum:', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_possible_category_x', 'global', '{1} (<i><b>Category or parent-less forum</b></i>)', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_user_does_not_exist', 'global', 'User does not exist.', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_no_selected_forums', 'global', 'You did not select any forums.', 'vbulletin', unix_timestamp(now()) );");

Previous versions had a column that doesn't exist in 3.6.7 - and, 3.6.7 requires that the fieldname be set to global, or the phrases won't show up.

vbuser99 10-05-2007 04:10 PM

Just installed, with additional info from Cars2007.

After entering mod name and choosing all "Category or parent-less forum", submitted request and response was moderator was added.

But it did not, I wonder if something changed in version 3.6.8

I had to add the mod on each Category manually.

CCV_Pinto 12-22-2007 07:08 PM

someone can please make it functional with 3.6.8 pl 2?

thanks

Hammon 02-25-2008 10:17 AM

I'm also interested in this indispensable hack for 3.6.8

Harley D 05-28-2008 12:06 AM

Quote:

Originally Posted by Hammon (Post 1450591)
I'm also interested in this indispensable hack for 3.6.8

Ditto!

blaskow 08-25-2008 09:26 PM

need this for 3.7.2! PLLLEEAAASSEE! :p


All times are GMT. The time now is 01:47 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.01014 seconds
  • Memory Usage 1,735KB
  • 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)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