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)
-   -   Miscellaneous Hacks - World of Warcraft Class Recruitment Status module (db backend) (https://vborg.vbsupport.ru/showthread.php?t=137670)

turnipofdoom 01-26-2007 10:00 PM

World of Warcraft Class Recruitment Status module (db backend)
 
This mod is no longer supported it has been rewritten.

The new mod is available here:
https://vborg.vbsupport.ru/showthread.php?t=150449

turnipofdoom 01-27-2007 07:04 PM

***reserved***

Ntfu2 01-28-2007 02:55 AM

awesome, would love to see more WoW hacks released for sure!

jim6763nva 01-29-2007 03:12 PM

I second that.. I'll have to install this later when I get home. Nice job!

Jim

turnipofdoom 01-30-2007 01:05 PM

Thanks! I also created one for Everquest 2 as well. Glad you like it!

kuromeru 01-30-2007 05:18 PM

Have a link to the EQ2 version?

turnipofdoom 01-30-2007 06:31 PM

I'll clean up the code and remove some of the site-specific things after work, I will try to get it posted here sometime this evening if I can. :)

Xylo 02-01-2007 10:00 PM

Haven't been able to get this to work.

Fatal error: Call to a member function query_read() on a non-object in /forums/modules/class_recruit.php on line 31

Anyone else able to get it to work?

turnipofdoom 02-01-2007 10:02 PM

Quote:

Originally Posted by Xylo (Post 1172523)
Haven't been able to get this to work.

Fatal error: Call to a member function query_read() on a non-object in /forums/modules/class_recruit.php on line 31

Anyone else able to get it to work?

What version of VB are you using ?
Did you use the included example files or write your own forms ?
What version of php ?

Did you populate the database with base data before running it ?

Xylo 02-02-2007 07:32 AM

Quote:

Originally Posted by turnipofdoom (Post 1172526)
What version of VB are you using ?
Did you use the included example files or write your own forms ?
What version of php ?

Did you populate the database with base data before running it ?

vBulletin Version 3.6.4
PHP 4.4.4

The database was pre-populated using the provided script (well cut and past the create and insert lines thus the recruitment table is in the forums database).

I dropped class_recruit.php and recruitStatus.php into the modules directory. Added a php module in CMPS, file to include: recruitStatus.php, no parent, no clean file output.

If I call the module directly I still get

Recruitment
Druid:
Fatal error: Call to a member function fetch_array() on a non-object in /<snippath>/forums/modules/class_recruit.php on line 31

Though maybe the sql was dying (and thus not returning an array). Tried it by hand

mysql> select status from recruitment where class = 'Druid';
+--------+
| status |
+--------+
| Closed |
+--------+
1 row in set (0.00 sec)

mysql> select status from recruitment;
+--------+
| status |
+--------+
| Closed |
| Closed |
| Closed |
| Closed |
| Closed |
| Closed |
| Closed |
| Closed |
| Closed |
+--------+
9 rows in set (0.01 sec)

Seems to work fine. Not sure what's going on. Perhaps I'm setting up the module wrong in CMPS?


All times are GMT. The time now is 07:06 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.01193 seconds
  • Memory Usage 1,733KB
  • 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_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