Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 08-19-2013, 06:20 PM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi guys thanks for the help here is the link for the mod i am having problems with thanks


https://vborg.vbsupport.ru/showthrea...amp%3B+Ladders
Reply With Quote
  #12  
Old 08-19-2013, 07:17 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

run this query
Code:
CREATE TABLE `tmnt_announcements` (
 `id` int(11) NOT NULL auto_increment,
 `title` varchar(50) NOT NULL default '',
 `announcement` text NOT NULL,
 `userid` int(10) NOT NULL,
 `time` int(10) NOT NULL,
 `ip` varchar(50) NOT NULL,
 `le_userid` int(10) NOT NULL,
 `le_time` int(10) NOT NULL,
 `le_ip` varchar(50) NOT NULL,
 PRIMARY KEY  (`id`)
) TYPE=MyISAM;
Reply With Quote
  #13  
Old 08-19-2013, 07:39 PM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi mate did it. and here's the result

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 12
Reply With Quote
  #14  
Old 08-19-2013, 07:40 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for me. Where did you run the query from
Reply With Quote
  #15  
Old 08-19-2013, 07:56 PM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in php myadmin
Reply With Quote
  #16  
Old 08-19-2013, 08:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try:
Code:
CREATE TABLE `tmnt_announcements` (
 `id` int(11) NOT NULL auto_increment,
 `title` varchar(50) NOT NULL default '',
 `announcement` text NOT NULL,
 `userid` int(10) NOT NULL,
 `time` int(10) NOT NULL,
 `ip` varchar(50) NOT NULL,
 `le_userid` int(10) NOT NULL,
 `le_time` int(10) NOT NULL,
 `le_ip` varchar(50) NOT NULL,
 PRIMARY KEY  (`id`)
) ENGINE=MyISAM;
If that works, you are going to have to do that for all tables created in the modification where the engine type is specified.
Reply With Quote
  #17  
Old 08-19-2013, 08:24 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do it from inside admincp but first make sure you add your userid to config file so you can run them

Thx lynne but mine works in admincp as well. Just taking what is in the script as it was writen wrong
Reply With Quote
  #18  
Old 08-19-2013, 08:33 PM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now Iam getting this message

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT userid, username, description, title, type, pot, noplayers, id, status, freeslots FROM tmnt_tmnts ORDER BY id DESC LIMIT 0, 5;

MySQL Error : Table 'the1234_forum.tmnt_tmnts' doesn't exist
Error Number : 1146
Request Date : Monday, August 19th 2013 @ 09:28:00 PM
Error Date : Monday, August 19th 2013 @ 09:28:00 PM
Script : http://XXXXXXXXXXXXXXXXX/forum/competitions.php
Referrer : http://XXXXXXXXXXXXXXXXX/forum/index.php
IP Address : XXXXXXXX
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.5.30-cll
Reply With Quote
  #19  
Old 08-19-2013, 10:04 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will put up a test forum same version as you, to test it. You seem to be having too many problems

--------------- Added [DATE]1376956313[/DATE] at [TIME]1376956313[/TIME] ---------------

I have tested this plugin on a new install same version you are using and it installs without a problem.
Reply With Quote
  #20  
Old 08-19-2013, 11:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Do it from inside admincp but first make sure you add your userid to config file so you can run them

Thx lynne but mine works in admincp as well. Just taking what is in the script as it was writen wrong
But he may have a different version of MySQL where TYPE has been replaced with ENGINE.

Quote:
Originally Posted by ninjamaster View Post
Now Iam getting this message

Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT userid, username, description, title, type, pot, noplayers, id, status, freeslots FROM tmnt_tmnts ORDER BY id DESC LIMIT 0, 5;

MySQL Error : Table 'the1234_forum.tmnt_tmnts' doesn't exist
Error Number : 1146
Request Date : Monday, August 19th 2013 @ 09:28:00 PM
Error Date : Monday, August 19th 2013 @ 09:28:00 PM
Script : http://XXXXXXXXXXXXXXXXX/forum/competitions.php
Referrer : http://XXXXXXXXXXXXXXXXX/forum/index.php
IP Address : XXXXXXXX
Username : xxxxxxx
Classname : vB_Database
MySQL Version : 5.5.30-cll
You are getting that after running the query I posted or what? If changing it to ENGINE worked, then as I said, you will need to do this for all the queries where the engine is specified.
Reply With Quote
Благодарность от:
ForceHSS
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:19 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.08442 seconds
  • Memory Usage 2,272KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete