Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
World of Warcraft Class Recruitment Status module (db backend) Details »»
World of Warcraft Class Recruitment Status module (db backend)
Mod Version: 1.01, by turnipofdoom (Contributor) turnipofdoom is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

vB Version: 3.6.4 Rating: (5 votes - 4.80 average) Installs: 22
Released: 27 Jan 2007 Last Update: Never Downloads: 171
Not Supported DB Changes Template Edits Additional Files  

This mod is no longer supported it has been rewritten.

The new mod is available here:
http://www.vbulletin.org/forum/showthread.php?t=150449

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
World of Warcraft Recruitment Form elricstorm vBulletin 3.6 Add-ons 161 31 May 2009 21:44
World of Warcraft Recruitment Status Module! ChaoticMageDDC vBulletin 3.6 Add-ons 13 28 Jan 2007 10:38

Comments
  #2  
Old 27 Jan 2007, 20:04
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
***reserved***
Reply With Quote
  #3  
Old 28 Jan 2007, 03:55
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
awesome, would love to see more WoW hacks released for sure!
Reply With Quote
  #4  
Old 29 Jan 2007, 16:12
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Real name: Jim
I second that.. I'll have to install this later when I get home. Nice job!

Jim
Reply With Quote
  #5  
Old 30 Jan 2007, 14:05
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Thanks! I also created one for Everquest 2 as well. Glad you like it!
Reply With Quote
  #6  
Old 30 Jan 2007, 18:18
kuromeru kuromeru is offline
 
Join Date: Dec 2006
Have a link to the EQ2 version?
Reply With Quote
  #7  
Old 30 Jan 2007, 19:31
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
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.
Reply With Quote
  #8  
Old 01 Feb 2007, 23:00
Xylo Xylo is offline
 
Join Date: Sep 2006
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?
Reply With Quote
  #9  
Old 01 Feb 2007, 23:02
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Originally Posted by Xylo View Post
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 ?
Reply With Quote
  #10  
Old 02 Feb 2007, 08:32
Xylo Xylo is offline
 
Join Date: Sep 2006
Originally Posted by turnipofdoom View Post
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?
Reply With Quote
  #11  
Old 02 Feb 2007, 12:18
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Ahh right on, I will update the package tonight but to fix it change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

private is not supported until php5..
Reply With Quote
  #12  
Old 02 Feb 2007, 17:17
Xylo Xylo is offline
 
Join Date: Sep 2006
Originally Posted by turnipofdoom View Post
Ahh right on, I will update the package tonight but to fix it change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

private is not supported until php5..
Upgraded to PHP 5.1.2. Tried it both ways and still get the same error.
Reply With Quote
  #13  
Old 02 Feb 2007, 17:44
Xylo Xylo is offline
 
Join Date: Sep 2006
Some follow up troubleshooting:

Broke down the query line into two parts to find out which was failing:

31: $temp = $this->vbObj->db->query_read( "SELECT status FROM recruitment WHERE class='$query'" );
32: $result = $this->vbObj->db->fetch_array( $temp );

Failed at line 31 still (Fatal error: Call to a member function query_read() on a non-object)

So thinking vbObj is borked I put in

if ($this->vbObj == null) print ( "vbObj = null");

.. and got:

Recruitment
Druid: vbObj = null
Fatal error: Call to a member function query_read() on a non-object

So yeah I'm guessing the constructor didn't get called (?) or didn't return a valid object. So checking that I put in:
if ($this->vbObj == null) print ( "vbObj = null");
global $vbulletin;
$vbObj = $vbulletin;
if ($vbObj == null) print ( "vbObj2 = null");
if ($vbulletin == null) print ( "vbulletin = null");

.. which gives me
vbObj = null
vbObj2 = null
vbulletin = null

So the problem is with the constructor not returning a valid object. Trying to figure that one out now.
Reply With Quote
  #14  
Old 02 Feb 2007, 18:57
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
right, ima dumbass __construct is only valid in php5...

change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and that "should" solve the lack of compatability i coded into it ;p
Reply With Quote
  #15  
Old 02 Feb 2007, 19:18
turnipofdoom turnipofdoom is offline
 
Join Date: May 2004
Please click installed. <3
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:36.

Layout Options | Width: Wide Color: