PDA

View Full Version : Portal Software - MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO)


turnipofdoom
06-22-2007, 10:00 PM
vBadvanced MMO Recruitment Modules Supporting :
Age of Conan, Everquest, Everquest2, Lord of the Rings Online, Vanguard and World of Warcraft, Star Wars Galaxy, Matrix Online, Final Fantasy Online


You should remove the current product and import the new file (not overwrite) for best results.

Some installs require the update template to have $PHP_SELF, some it breaks on. If you get a double URL when updating then remove $PHP_SELF/ from adv_portal_(game)_recruit_updater

Added Age Of Conan Support.

Removed the requirement for numbers in the update fields for some games (LOTR and AOC). I will remove the rest shortly, its a lot of template edits and im out of time for this weekend. (you can put html in the boxes now font colors etc)

Also added beta multigame support.

For this to work you choose the game you want per VBA page as the module so instead of init_recruit.php it would be eq_recruit.php, lotr_recruit.php.

You then need to go to the admin CP and switch to each game you want to use and populate the initial data for it.

The update form works much the same. Put it on a page as per directions below, use the admincp option to switch between games you want to update.

I will be working on multi support more. This is just a beta.

If you changed any of your templates you will need to revert them after the product import!

This is a VBAdvanced add on for the portal home page.. It will display a list of classes you are recruiting for your selected game, it also provides (a now templated) form to update the status, permissions for the form are controlled via group id's (primary group id) in the admin panel.

The zip file has a complete set of instructions for installing and removing the mod.

PLEASE CLICK INSTALL FOR SUPPORT (unless you like cannot install it and need that kind of support)..

Installing the product:

Download recruit.zip from the link provided below.Copy the contents of the upload folder to your forum root, take care not to overwrite directories, but to copy files into them.
Import mmoRecruit.xml from the Product Manager Interface.
Open the settings menu, select your game and submit the form. Once the game is selected choose the last option to import the initial database.

Create the Display vBa CMPS Module:

Add a new module from your vBa CMPS menu, select PHP file as the module type.
Set Module Title to Recruitment or Recruiting or whatever you would like the heading to say.
Select init_recruit.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to no
Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!
You can set a link for the heading of the module, to point to your recruiting post by filling in Module Link.
Make sure all usergroups are selected and save the form.
You can now add this as a module to any vBa CMPS page.
You will now see the display box on the page you place it on, with each class set to 1. If you do not, go back and check the instructions.

Create the Update vBa CMPS Module:

Add a new module from your vBa CMPS menu, select PHP file as the module type.
Set Module Title to mmoUpdateRecruit.
Select update_recruitment.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to no
Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!
Set Collapse by default to your preference..
You can now add this as a module to any vBa CMPS page.


Optional (Add AJAX Support to the updater form):

Inside the header OR headerinclude template (where ever your <head> </head> tags exist)

Put: <script type="text/javascript" src="http://www.mydomain.com/forum/clientscript/mmoRecruit.js"></script>

The AJAX has been tested on Firefox and IE7, if the requestor code fails the form will just submit normally.



Troubleshooting:

If the product import fails you can still do it by hand.
The templates are in forum_templates directory, the name of the file is the template name that needs to be used.

Creating the SQL Tables by hand.

CREATE TABLE game_rec_settings(
game VARCHAR( 120 ) NOT NULL,
enabled INT(2) NOT NULL,
groups VARCHAR( 12 ) NOT NULL
)ENGINE = MYISAM;



You may need to add the table prefix.


INSERT INTO game_rec_settings(game,enabled,groups)VALUES('','1 ','6,7,5');


Again you may need to include the table prefix

UPDATED:
**Beta MultiGame Support
**Added Age Of Conan Support
**Updated XML typos. pft..
**Added Matrix online, FFO and SWG
**In some cases the game would not be set when updating the table, this should not happen anymore.
**Now supports Lord of the Rings Online.
**Update form can now be set to collapse by default and it will actually stay that way!
**Added (optional)AJAX POST support to the update form.
**Fixed bad XML in product file.
**All modules now use vBa CMPS Shell Module Templates
**Added Everquest Live

razvans
06-23-2007, 02:48 PM
I will download it right now and see how it works. Thank you

SMO
06-23-2007, 04:27 PM
that' a pretty good idea. I wish I could get into the pay to play games though. WoW and them havee a great following. It must be pretty good.

turnipofdoom
06-23-2007, 04:49 PM
that' a pretty good idea. I wish I could get into the pay to play games though. WoW and them havee a great following. It must be pretty good.

I actually wrote this to be pretty modular, adding a new game would be pretty easy. I originally did the Warcraft one, then got requests for others. I figured id save myself some time and make it easy to extend.

so if anyone has a game request, and is willing to provide basic info, i will add it.

thedvs
06-23-2007, 05:59 PM
can u do one for lord of the rings online too? :)

turnipofdoom
06-23-2007, 06:02 PM
sure thing, get me a class list and possibly icons for each class (the small ones included in my picture)..

you willing to test it if i do ?

SuprSurfr
06-23-2007, 06:04 PM
Awsome Mod, Installed!

turnipofdoom
06-23-2007, 06:54 PM
there ya go, added lord of the rings online, used data and images from here
http://www.lotro.com/index.php?page_id=73&siid=3

let me know how it works out please.

ssslippy
06-24-2007, 05:41 PM
Can you run this be run on its own page without vba?

turnipofdoom
06-24-2007, 05:50 PM
Probably not right out of the box. A few files would have to be edited to include some core vbulletin files (global.php for one). The whole system does use templates to build its display, so you could do it since nothing in there is vBa specific.

If you went through the game files you wanted to display and put something like



$cwd=getcwd();
chdir('FORUMROOT');
require_once('global.php');
chdir($cwd);



You would probably get pretty close to it working.

SEOvB
06-25-2007, 04:45 AM
I had to set "Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!"

To no on both of the modules to get them to appear correctly.

turnipofdoom
06-25-2007, 12:10 PM
I had to set "Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!"

To no on both of the modules to get them to appear correctly.

You sure you have the most recent revision ? Without using teh template wrapper for the updater form it "should" break the page since there is no < table > begin and end tags (its handled by the wrapper).

One thing to remember with templates, if you modify one, and then reimport (overwriting) the product, you will have to revert your templates. As far as I know, there is no way for a product to overwrite a customized template.

Sarcoth
06-25-2007, 01:43 PM
Turnip - Very interesting hack. Going through the install right now. My only question at this point is regarding all the hidden .svn folders. Are they for anything? There is one in each of the upload folders. Thanks.

turnipofdoom
06-25-2007, 01:55 PM
Turnip - Very interesting hack. Going through the install right now. My only question at this point is regarding all the hidden .svn folders. Are they for anything? There is one in each of the upload folders. Thanks.

Sure that is apart of revision control (Subversion). That is just an easy way for me (or you, if you are proficient with the application) to update to the newest code revision.

If this is all greek to you, then ignore them. they cause no harm. They do not need to be copied into any of the directories..

Sorry for the confusion

Sarcoth
06-25-2007, 02:15 PM
Understood.

Sadly, I won't be able to get this hack to work at this time. I'll have to bug my host to update their PHP version.

The following dependencies were not met:
This product is not compatible with version 4.4.6 of PHP. (Compatible starting with 5.0)

turnipofdoom
06-25-2007, 02:23 PM
Understood.

Sadly, I won't be able to get this hack to work at this time. I'll have to bug my host to update their PHP version.

What game were you looking to use this for? You "could" covert the files you were specifically using to work with php4..

remove __construct and put classname() as the constructor

change public keywords to var and so on.

I could probably do a quick patch for you, until you were able to get a newer version of php installed.

Sarcoth
06-25-2007, 02:26 PM
Turnip - I appreciate it. I'd be using it for Vanguard only. No rush on the patch though, whenever you have time. I know how requests can get. :)

turnipofdoom
06-25-2007, 02:33 PM
Turnip - I appreciate it. I'd be using it for Vanguard only. No rush on the patch though, whenever you have time. I know how requests can get. :)

Give me a couple of hours and ill have something for ya, work is hell today.. lol mondays and all

Sarcoth
06-25-2007, 02:53 PM
Thanks, no hurry though.

One small thing I did notice so far. Even though the install failed, the "Game Recruitment" mod still appears in my admin menu. That's no biggy, but I noticed it is listed above the vBulletin Options. I know how to edit my own, but you may want to update it for others. Personally, I like keeping the vBulletin options at the top.

turnipofdoom
06-25-2007, 03:48 PM
Ya that is the XML file you drop in the includes/xml dir. And point taken I will see if I can reorder it

EUWI
06-25-2007, 06:28 PM
I actually wrote this to be pretty modular, adding a new game would be pretty easy. I originally did the Warcraft one, then got requests for others. I figured id save myself some time and make it easy to extend.

so if anyone has a game request, and is willing to provide basic info, i will add it.

Is there anyway that you could write this for America's Army?

If so, I can provide the details needed for a America's Army clan application.

Thanks

turnipofdoom
06-25-2007, 08:42 PM
Is there anyway that you could write this for America's Army?

If so, I can provide the details needed for a America's Army clan application.

Thanks

Sure will, just give me a complete list of headings and what not (icons are a plus too) and I will put it together

turnipofdoom
06-25-2007, 08:48 PM
Thanks, no hurry though.

One small thing I did notice so far. Even though the install failed, the "Game Recruitment" mod still appears in my admin menu. That's no biggy, but I noticed it is listed above the vBulletin Options. I know how to edit my own, but you may want to update it for others. Personally, I like keeping the vBulletin options at the top.

I've attached some files for vanguard, I "think" this will be compat with PHP4 let me know
If anything is going to crap out its the object copy, you might need to play with references. But let me know, I am sure we can work it out for ya

EUWI
06-25-2007, 09:36 PM
Sure will, just give me a complete list of headings and what not (icons are a plus too) and I will put it together


:eek: Well this will show my true noob status, but, what do you mean by headings and icons?

Can you explain these to me and I will provide them for you?

Thanks

turnipofdoom
06-25-2007, 10:18 PM
:eek: Well this will show my true noob status, but, what do you mean by headings and icons?

Can you explain these to me and I will provide them for you?

Thanks

by heading I mean type of toon, uhh lets see army so:

Infantry:
Marines:
Seals:

is there a list of classes/types/professions or are there no classes of toons?

by icons, look at the screenshots, each type of character has a icon related to its type

memorex
06-26-2007, 11:10 AM
I'm gonna have to switch hosts since mine hasn't updated the php. I hate them anyway lol. Looks like a great mod though :)

Sarcoth
06-26-2007, 02:27 PM
I've attached some files for vanguard, I "think" this will be compat with PHP4 let me know
If anything is going to crap out its the object copy, you might need to play with references. But let me know, I am sure we can work it out for ya

Still not working, same error. I wish it would say exactly where the error is occuring. Thanks for the effort. I'll try to get some time to look through the code, but I'm working on a few projects myself right now. I'll check back here off and on in case you post some more updates.

turnipofdoom
06-26-2007, 02:33 PM
Still not working, same error. I wish it would say exactly where the error is occuring. Thanks for the effort. I'll try to get some time to look through the code, but I'm working on a few projects myself right now. I'll check back here off and on in case you post some more updates.


Got a description of the error for me ?

Sarcoth
06-26-2007, 07:58 PM
Sorry I didn't get back to you sooner. It was the same as before.

The following dependencies were not met:
This product is not compatible with version 4.4.6 of PHP. (Compatible starting with 5.0)

turnipofdoom
06-26-2007, 08:03 PM
LOL omg!

find in mmoRecruit.xml


<dependencies>
<dependency dependencytype="php" minversion="5.0" maxversion="" />
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="" />
</dependencies>


and replace with


<dependencies>
</dependencies>


I am so sorry, totally forgot about that

Sarcoth
06-29-2007, 12:32 PM
That fixed the install problem. I went through the rest of the instructions and set up both modules. I got one error relating to the cls_vanguard_recruit.php file, line 31. I didn't see anything wrong with 31, but I did notice a difference between the cls_vanguard and cls_warcraft file.

Line 24: There was an extra space in the code:
" SELECT

I just removed that and instead received a new error. This one I don't know how to fix.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sacredha/public_html/testvb/forums/modules/cls_vanguard_recruit.php on line 12

turnipofdoom
06-29-2007, 01:16 PM
That fixed the install problem. I went through the rest of the instructions and set up both modules. I got one error relating to the cls_vanguard_recruit.php file, line 31. I didn't see anything wrong with 31, but I did notice a difference between the cls_vanguard and cls_warcraft file.

Line 24: There was an extra space in the code:
" SELECT

I just removed that and instead received a new error. This one I don't know how to fix.

I need the error msg to be able to help =)

Sarcoth
06-29-2007, 02:55 PM
LOL. I forgot to paste it I guess. I edited my previous post. Thanks.

Gooner
06-29-2007, 09:43 PM
same, and my host wont update to virsion 5 because virsion 4 is more stable, which is understandable. this was a good mod, shame i cant use it.

turnipofdoom
06-30-2007, 05:16 AM
I'll be out for the weekend, I'll look at your error again when I get back and see what we can come up with.

digitalJE5U5
07-02-2007, 10:04 PM
I installed and re-installed. doesnt work. Get a mysql error when trying to view the website after enabling the 2nd module.

PHP 5.1.6 (cli) (built: May 9 2007 11:28:53)

To add insult to injury, the Game Recruitment link in the adminCP remains after uninstalling (see screen). Anyone know how to fix this?

turnipofdoom
07-02-2007, 10:33 PM
yeah you just delete the xml file you added to includes/xml and the menu goes away.. what mysql error? you should only get that if you a: didnt select a game, or b: didnt populate the initial classes DB

digitalJE5U5
07-03-2007, 12:32 PM
Well I managed to get the recruitment module to work, but I too _had to set

Chose Use Module Wrapper Template: NO

Questions:

1] I have added a link to our guild application in the Game Recruitment options page (see screen).

But on the vbadvanced page (http://www.ascendantsguild.net/) there is no link to the application from within your module.

2] How to I changed the display name of the module from "Recruitment" to "Currently Recruiting"?


what mysql error? you should only get that if you a: didnt select a game, or b: didnt populate the initial classes DB

I chose game [submit]

Added link to recruitment form [submit]

Populated Initial game data [submit]

No errors. Can you tell me what the "populated" table should look like and I can check to see what data is in there.

Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT usergroupid FROM user WHERE userid =;

MySQL Error : 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 '' at line 1
Error Number : 1064
Date : Tuesday, July 3rd 2007 @ 07:41:34 AM
Script : http://www.ascendantsguild.net/
Referrer :
IP Address : 216.84.195.xxx
Username : xxx
Classname : xxx

Here is the sql error

digitalJE5U5
07-05-2007, 04:07 PM
Also, is while we sort out the UPDATE module, can you tell me where I can edit the classes we are currently recruiting? they all default to 1. This stored in a table? or a template?

turnipofdoom
07-05-2007, 04:18 PM
Well I managed to get the recruitment module to work, but I too _had to set

Chose Use Module Wrapper Template: NO

Questions:

1] I have added a link to our guild application in the Game Recruitment options page (see screen).

But on the vbadvanced page (http://www.ascendantsguild.net/) there is no link to the application from within your module.

2] How to I changed the display name of the module from "Recruitment" to "Currently Recruiting"?




I chose game [submit]

Added link to recruitment form [submit]

Populated Initial game data [submit]

No errors. Can you tell me what the "populated" table should look like and I can check to see what data is in there.

Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT usergroupid FROM user WHERE userid =;

MySQL Error : 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 '' at line 1
Error Number : 1064
Date : Tuesday, July 3rd 2007 @ 07:41:34 AM
Script : http://www.ascendantsguild.net/
Referrer :
IP Address : 216.84.195.xxx
Username : xxx
Classname : xxx

Here is the sql error

Ok that SQL error is probably on me.. I will look into it tonight, I have a patch planned to go out.

For table information you have

game_rec_settings..

In there you have the game field, the groups field (comma seperated list of ppl allowed to edit the form), a link (which is not used yet), and enabled (0, or 1)..

you should have one entry in this table, looking something like


+-----------+---------+----------+-------------+
| game | enabled | groups | recruit_url |
+-----------+---------+----------+-------------+
| everquest | 1 | 5,6,7,28 | |
--------------------------------------------------------





the recruitment table has the information for the classes that are being recruited.

its just one entry per class and the value of that entry (installed they are all set to 1).

the display form is not set to use the module shell template. the update form however does need to use the module shell template. it wil take up the entire page w/o it.

to change the heading of the module, that is done inside the template for the display portion of the module. adv_portal_warcraft_recruit. (you will have to revert the template changes if you want to update the product)...

I am unsure why userid is null in your SQL query there. I was grabbing it from $_COOKIE to check if the user had permission to view the update form.. Do you have groups set in the settings page ? groupnumber,groupnumber2,groupnumber3? eh even if you do that value shouldnt be null.. I will look at that tonight, like I said I have a patch to fix some of these issues reported thus far.

turnipofdoom
07-07-2007, 01:50 AM
zip file was updated, this should fix your SQL error above, as well as some template issues all around. additionally we added everquest to the package so people can use it for that now. all templates use the module shell template. so setting a link, collapsing and what not can be set to defaults.

Arminios
07-13-2007, 01:45 PM
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /home/victrixg/public_html/forum/modules/cls_warcraft_recruit.php on line 26

I installed it like I were supposed to, but got this up when trying to access my page afterwards.

Anyone know what's wrong? Latest version of vBulletin and CMPS

impreza
07-20-2007, 08:01 AM
Parse error: parse error, unexpected T_ARRAY, expecting ')' in /homepages/1/d143342951/htdocs/vb367/modules/cls_warcraft_recruit.php on line 26

I followed the directions to the T. That's the error I get. I've tried fresh installs, and tried all of the different cls_game_php files.

Unless I just keep missing it, I'm not sure where the problem is exactly.

Let me clarify too, that the error only occurs when I add the "Recruitment" module on the portal page. If I remove it, I can see the portal page again.

Also, the module for "Updating Recruitment" causes no issues if I add it to the portal page.

turnipofdoom
07-20-2007, 08:23 AM
Parse error: parse error, unexpected T_ARRAY, expecting ')' in /homepages/1/d143342951/htdocs/vb367/modules/cls_warcraft_recruit.php on line 26

I followed the directions to the T. That's the error I get. I've tried fresh installs, and tried all of the different cls_game_php files.

Unless I just keep missing it, I'm not sure where the problem is exactly.

Let me clarify too, that the error only occurs when I add the "Recruitment" module on the portal page. If I remove it, I can see the portal page again.

Also, the module for "Updating Recruitment" causes no issues if I add it to the portal page.

I've seen these parse errors before with GZIP compression or output buffering (ob_begin() calls somewhere else) enabled.

line 26 in all the cls_*_game files is a function definition.
i've gone through the cls files in this zip here to make sure there are no parse errors. Zend Studio and my own web server run these just fine..

Do either of you guys have gzip enabled in the vbulletin options ?

can you guys email me the files you have sitting on your server jzakhar at gmail dot com ? I wonder if control characters are being added, how are you copying them to the web server? ?

impreza
07-20-2007, 04:40 PM
Sorry for the late reply. just got a chance to break away to get on the PC.

Yeah, last night when I was up late working on this, I didn't happen to see anything wrong with your code, I was really tired though.

Right now my VB forum has it's GZIP set to 1, enabled, as the default option. I haven't tried installing this addon with it set to 0, but I can give it a try.

I had been uploading the files set on auto from my FTP program, but I can also try that in ascii for the php & other non-image files if you'd prefer.

I'll try that first and if it's no dice, I'll send you the files.

turnipofdoom
07-20-2007, 05:46 PM
yeah I would start with that, if in fact it is a gzip issue (totally disable it). Then I will look into fixing it, otherwise. I will send ya a new file with some debug print statements and debug_stacktrace() calls to see what is going on.

impreza
07-20-2007, 06:53 PM
Alright, just had a chance to try everything with gzip disabled and still no luck. :( I've enclosed all the files (other than the images) that your package contains, from my webhost.

My host is running PHP 4.4.7 with Zend 1.3. If you need any other server info, I can supply that if it would help. For some reason I'm beginning to think it might be some setting my host has setup that's causing the altercation. I'm not extremely savvy on all of that though.

Sorry for all this trouble. =/ This is an awesome addon though.

Finger78
07-20-2007, 08:21 PM
I'm having a small issue, I got everything installed and what appears to be working. I'm using the WoW portion of the hack

Prior to putting in the code for the Ajax when I would try and update the numbers in the Updater after hitting the submit button it would simply load me to my main website page (not the forums, but my default home page). And it would not update the numbers at all, they stayed at 1 for all

After placing in the Ajax code the updater seems to work properly and updates the numbers but those numbers dont reflect in the viewable module for the general public/users. They all still say 1 next to each class.

Any ideas on how to fix this?

turnipofdoom
07-20-2007, 11:33 PM
Alright, just had a chance to try everything with gzip disabled and still no luck. :( I've enclosed all the files (other than the images) that your package contains, from my webhost.

My host is running PHP 4.4.7 with Zend 1.3. If you need any other server info, I can supply that if it would help. For some reason I'm beginning to think it might be some setting my host has setup that's causing the altercation. I'm not extremely savvy on all of that though.

Sorry for all this trouble. =/ This is an awesome addon though.


oh PHP 4 are you positive of that ? if so there is the problem, no support for abstract classes.

damnit... maybe i should redo this for php4 support... too many ppl still seem to be running it.

turnipofdoom
07-20-2007, 11:40 PM
I'm having a small issue, I got everything installed and what appears to be working. I'm using the WoW portion of the hack

Prior to putting in the code for the Ajax when I would try and update the numbers in the Updater after hitting the submit button it would simply load me to my main website page (not the forums, but my default home page). And it would not update the numbers at all, they stayed at 1 for all

After placing in the Ajax code the updater seems to work properly and updates the numbers but those numbers dont reflect in the viewable module for the general public/users. They all still say 1 next to each class.

Any ideas on how to fix this?

After you use the AJAX update form. the values in the form show the updated numbers? but the display module doesnt? you should just have to refresh ;p since AJAX is doing it in the background with no page reload.

unless i am mis-understanding

Finger78
07-21-2007, 12:27 AM
refresh doesnt do anything......

Now that i had it closed for a while the updater numbers reverted back to all 1's, again i changed it and it said it was updated but the numbers in the public module still wont update.

Refresh still does nothing...

turnipofdoom
07-21-2007, 12:31 AM
that is kind of odd.. can i get a link to the place its installed ?

you said the values stayed updated in the form but did not display properly in the public module right ?

Finger78
07-21-2007, 01:40 AM
it updates at first, but once the page is closed then it reverts back.

turnipofdoom
07-21-2007, 06:47 AM
it updates at first, but once the page is closed then it reverts back.

ok, it looks like you are gonna need to change every reference of index.php to portal.php.
there should be one in the adv_portal_warcraft_updater and one in the javascript file.

that should fix your problem, I think.

the template change:

<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/index.php?do=recruit_update" onSubmit="postMethod(); return false;">


to


<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/portal.php?do=recruit_update" onSubmit="postMethod(); return false;">


and in mmoRecruit.js


var url = "index.php";


to


var url = "portal.php";


this is the cmps_index.php renamed right ?

impreza
07-21-2007, 04:28 PM
All the kinks have been worked out! My old / outdated php version & such was the cause of the compatibility problems.

Turnipofdoom, the author, worked with me on it, and got everything to work as it intended on the system. The time he spent helping me and working on this is awesome.

I strongly recommend this addon. Not only is it unique and useful for those running a VB portal for group / mmo gaming, but he provided me with patience & very fast support.

Thanks again Turnip. :)

turnipofdoom
07-21-2007, 04:31 PM
All the kinks have been worked out! My old / outdated php version & such was the cause of the compatibility problems.

Turnipofdoom, the author, worked with me on it, and got everything to work as it intended on the system. The time he spent helping me and working on this is awesome.

I strongly recommend this addon. Not only is it unique and useful for those running a VB portal for group / mmo gaming, but he provided me with patience & very fast support.

Thanks again Turnip. :)

Thank you so much for the praise.. And it was my pleasure. However lets change he to "she" please =)

But all in all this gave me some ideas to back port this to php4. Which I think I am going to do.

Phr057
07-23-2007, 07:37 AM
Sigh I feel dumb. I can't fuigure out where the link is to change the classes needed... I have "Set Groups Who Can Edit" to the defaulted admin groups "6,7,5"

I'm the site admin/super admin so I shouldn't have a edit issue...

turnipofdoom
07-23-2007, 08:49 AM
It is a second module, so you need to use the vBa CMPS menu, create a module, and display it on a page.

Instructions for doing so are below Create the Update vBa CMPS Module:

Phr057
07-23-2007, 09:19 AM
Thank you.

Bro_Joey_Gowdy
07-31-2007, 07:56 PM
Can you add SWG (Star Wars Galaxies) and MxO (The Matrix Online) to this?

cosy
08-01-2007, 12:45 PM
can u add eve-online using api ? https://myeve.eve-online.com/api/doc/data-charsheet.asp :confused:

shadowhaxor
08-04-2007, 06:34 PM
Darn. I've been looking for a mod like this for a while, but when I try to install this, right after I make the display module, I get the following;

Warning: main() [function.main]: open_basedir restriction in effect. File(/warcraft_recruit.php) is not within the allowed path(s): (/var/www/vhosts/providence-alleria.com/httpdocs:/) in /modules/init_recruit.php on line 31

Warning: main(warcraft_recruit.php) [function.main]: failed to open stream: Operation not permitted in /modules/init_recruit.php on line 31

Fatal error: main() [function.require]: Failed opening required 'warcraft_recruit.php' (include_path='.:') in /var/www/vhosts/providence-alleria.com/httpdocs/modules/init_recruit.php on line 31

turnipofdoom
08-04-2007, 10:31 PM
Can you add SWG (Star Wars Galaxies) and MxO (The Matrix Online) to this?

Sure thing. Give me a few days

turnipofdoom
08-04-2007, 10:35 PM
can u add eve-online using api ? https://myeve.eve-online.com/api/doc/data-charsheet.asp :confused:

I am not sure I totally follow. There are no user submitted fields. That API returns a characters information if you provide the account key, the API hash (that EVEMON uses), and then your character ID. You get back information like EVEMON would return.

Two things:

I dont ever ask for a users input.
I couldnt release something like this w/o a ton of checking/validation. We are talking someone's account info here (especially if they provide the full access key).

turnipofdoom
08-04-2007, 10:36 PM
Darn. I've been looking for a mod like this for a while, but when I try to install this, right after I make the display module, I get the following;

Warning: main() [function.main]: open_basedir restriction in effect. File(/warcraft_recruit.php) is not within the allowed path(s): (/var/www/vhosts/providence-alleria.com/httpdocs:/) in /modules/init_recruit.php on line 31

Warning: main(warcraft_recruit.php) [function.main]: failed to open stream: Operation not permitted in /modules/init_recruit.php on line 31

Fatal error: main() [function.require]: Failed opening required 'warcraft_recruit.php' (include_path='.:') in /var/www/vhosts/providence-alleria.com/httpdocs/modules/init_recruit.php on line 31

Looks like you might be in safe_mode for php, or some odd restrictions in place.. Do you have shell access to the server? This can probably be fixed, it would just take some troubleshooting... Can you email me the output of


<?php

phpinfo();

?>



and we will see what we can do

cosy
08-08-2007, 03:22 PM
I am not sure I totally follow. There are no user submitted fields. That API returns a characters information if you provide the account key, the API hash (that EVEMON uses), and then your character ID. You get back information like EVEMON would return.

Two things:

I dont ever ask for a users input.
I couldnt release something like this w/o a ton of checking/validation. We are talking someone's account info here (especially if they provide the full access key).
well the API waz made for that is a secure acces on character (basic api) so when some on make apply put the API and u track the caharacter skills and that save alot of time and u dont need to request screen shots

Mother_Dee
08-08-2007, 09:55 PM
I think you're looking for the wrong mod. If you want an application form, you can look at the one here (https://vborg.vbsupport.ru/showthread.php?t=150424) or the Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676) that it's based off of.

This hack is a vBadvanced module that shows what classes are being recruited in an MMO.

Consequently, I've been working on the addition of MxO, FFXI, and SWG per requests. Should be ready for testing soon.

Big9erFan
08-08-2007, 10:47 PM
Any chance of a quick listing of things ( or types of things ) that need to be changed to run on PHP4?

I'd really love to use this module on my WoW site :)

Thanks in advance.

Nevermind I got it working :) and it ROCKS

turnipofdoom
08-10-2007, 11:07 PM
Any chance of a quick listing of things ( or types of things ) that need to be changed to run on PHP4?

I'd really love to use this module on my WoW site :)

Thanks in advance.

Nevermind I got it working :) and it ROCKS

no kidding ? any chance of getting a diff, or the files you edited? I assume you whacked the abstract class ?

Mother_Dee
08-10-2007, 11:58 PM
Added SWG, MxO, and FFXI games, fixed some minor bugs in existing templates. Classes were based off what I was given, as I don't play these three MMOs please advise if class structure differs from what I have added.

Enjoy!

Big9erFan
08-11-2007, 12:18 AM
Oh yeah I hacked the hell out of the abstracts and moved it all to one warcraft recruit class. I was in the process of moving stuff back to the base class, for extensibility, when I ran out of "free" time and had to get back to real work.

I'll post my changes later for "integration"

Phr057
08-11-2007, 12:55 AM
Getting this error when I installed your new version. i unstalled the whole thing until it get's fixed:

Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT enabled, game FROM vb_game_rec_settings;

MySQL Error : Table 'ggvb.vb_game_rec_settings' doesn't exist
Error Number : 1146

turnipofdoom
08-11-2007, 02:14 AM
do you have $config['Database']['tableprefix'] set to vb_ in forum/includes/config.php ?

Phr057
08-11-2007, 03:21 AM
Thank you turnip for the excellent module and thank you so much for helping me figure out why the damn thing wasn't working ;p.

Hopefully you can use what was worked on and update it again for anyone else who seemed to have some of the problems I had.

Again, thank you and keep up the excellent work. (And get some sleep)

turnipofdoom
08-11-2007, 03:26 AM
in reference to the above post, there were two problems

if you are below mysql5 you need to remove ENGINE=MYISAM from the XML and from ap_recruit_functions.php

Also in some cases (i have no idea why) $PHP_SELF is an issue, if it is, you will need to open your template for the game you're using adv_portal_GAME_recruit_updater

change


<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/$vba_options[portal_homeurl]?do=recruit_update" onSubmit="postMethod(); return false;">

to

<form method="POST" name="recruitment" id="recruitment" action="http://www.yoururl.com/$vba_options[portal_homeurl]?do=recruit_update" onSubmit="postMethod(); return false;">

Phr057
08-11-2007, 03:37 AM
Another thing before I go to bed. I was able to contact PowWeb and they are in the process of upgrading all of their MySQL servers to version 5.xx.

Is that going to be a problem for me with the work yo have done?

Mother_Dee
08-11-2007, 06:15 PM
It won't be a problem.

^.^

Forumi Shqiptar
08-19-2007, 12:42 AM
what about tribalwars any chance that can be done something like this for that game too?

turnipofdoom
08-19-2007, 12:46 AM
looking at this page http://tw9ha.tribalwars.net/help.php?mode=units . I am sure something could be done, would you mind providing a list of player types (classes etc) or something for me to work off of ?

Forumi Shqiptar
08-19-2007, 01:32 AM
well basically the game is separated into world and each world has got his own players...

The best information about players, tribes etc can be found on http://www.twplus.org/

elricstorm
08-21-2007, 09:01 PM
Darn. I've been looking for a mod like this for a while, but when I try to install this, right after I make the display module, I get the following;

Warning: main() [function.main]: open_basedir restriction in effect. File(/warcraft_recruit.php) is not within the allowed path(s): (/var/www/vhosts/providence-alleria.com/httpdocs:/) in /modules/init_recruit.php on line 31

Warning: main(warcraft_recruit.php) [function.main]: failed to open stream: Operation not permitted in /modules/init_recruit.php on line 31

Fatal error: main() [function.require]: Failed opening required 'warcraft_recruit.php' (include_path='.:') in /var/www/vhosts/providence-alleria.com/httpdocs/modules/init_recruit.php on line 31

The issue is that you have your httpd.include file within your conf directory set with a static path for open_basedir. If you edit the httpd.include file and look for the open_basedir statements (usually a few here - apache and php) and remove them, then restart your server, the issue goes away. I would always create a backup before changing this file. :)

elricstorm
08-21-2007, 09:18 PM
I installed it like I were supposed to, but got this up when trying to access my page afterwards.

Anyone know what's wrong? Latest version of vBulletin and CMPS

The issue is you need to edit cls_warcraft_recruit and perform the following:
Find..
function setStatus(array $data)
and change it to
function setStatus($data)

After that, you'll receive an issue on another file as well: recruit_base.php
Find..
abstract public function setStatus(array $data);
and change it to
abstract public function setStatus($data);

That should do it for you.

elricstorm
08-21-2007, 10:13 PM
in reference to the above post, there were two problems

if you are below mysql5 you need to remove ENGINE=MYISAM from the XML and from ap_recruit_functions.php

Also in some cases (i have no idea why) $PHP_SELF is an issue, if it is, you will need to open your template for the game you're using adv_portal_GAME_recruit_updater

change


<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/$vba_options[portal_homeurl]?do=recruit_update" onSubmit="postMethod(); return false;">

to

<form method="POST" name="recruitment" id="recruitment" action="http://www.yoururl.com/$vba_options[portal_homeurl]?do=recruit_update" onSubmit="postMethod(); return false;">



Actually you shouldn't do that. You need to change it to the homepage + the URL for the cmps page you put it on. So as an example, if you put the update recruitment module on a page called recruitment_updater, in cmps the url would look like such:

yourdomain.com/index.php?pageid=recruitment_updater

So, to properly point the template you would have to change it to (using the page example above):

<form method="POST" name="recruitment" id="recruitment" action="http://www.yoururl.com/index.php?pageid=recruitment_updater&do=recruit_update" onSubmit="postMethod(); return false;">

elricstorm
08-21-2007, 10:15 PM
Otherwise, I like the work you put in this. You did a solid job all the way around although there are some slight coding adjustments you could make to clean it up a bit. I'll still give you a vote of 5. :)

Nice work.

Asteg
08-22-2007, 11:17 AM
Is it possible to run this mod with vbCMS (http://www.vbdesigns.de/) ??

DeMented33
08-22-2007, 08:19 PM
The actual recruitment module shows perfectly, but I for the life of me just cannot get the updater to show on any page. Any ideas?

Edit: Fixed

Elrum
08-24-2007, 11:46 AM
The actual recruitment module shows perfectly, but I for the life of me just cannot get the updater to show on any page.

I've got the same problem. How did you fix it?

manub
09-03-2007, 03:26 PM
Still no news about the PHP4 porting? This mod looks great and I really like to use it, but my host uses PHP4 and I can't get it working, nor I have the knowledge to port it.

manub
09-05-2007, 05:50 AM
no more update? :(

turnipofdoom
09-07-2007, 10:37 PM
Actually you shouldn't do that. You need to change it to the homepage + the URL for the cmps page you put it on. So as an example, if you put the update recruitment module on a page called recruitment_updater, in cmps the url would look like such:

yourdomain.com/index.php?pageid=recruitment_updater

So, to properly point the template you would have to change it to (using the page example above):

<form method="POST" name="recruitment" id="recruitment" action="http://www.yoururl.com/index.php?pageid=recruitment_updater&do=recruit_update" onSubmit="postMethod(); return false;">

$vba_options[portal_homeurl] expands to whatever you set your cmps page to (cmps_index.php by default).

$PHP_SELF should expand to http://www.mydomain.com, however there have been problems with this specific variable and I plan to patch and fix it now.

the goal was to not make people edit the templates by hand, since at that point they need to revert if I send an update.

turnipofdoom
09-07-2007, 10:38 PM
I've got the same problem. How did you fix it?

Can I get a link to your site, you can also IM me / email me for a more one on one support talk. Are you sure its not showing up? A lot of times its collapsed and people just miss it. But anyway hit me up, I will take care of ya.

manub
09-07-2007, 10:44 PM
I would really like to thank turnipofdoom. She gave me a custom PHP4 version of his mod for World of Warcraft and helped me with a lot of other things about vBulletin. I know he might release another mod WoW-related later on... can't wait to install it ^_^

Gooner
09-15-2007, 05:20 PM
awesome mod, with some help, got it working with php 4 :) thankyou sooo much turnip ;)

Vindicare
09-19-2007, 09:11 PM
Looks like a real great mod. Too bad it requires PHP5, so I can't even install it.
(Hostgator still running 4.4.4)

This product is not compatible with version 4.4.4 of PHP. (Compatible starting with 5.0)

turnipofdoom
09-21-2007, 02:48 PM
Looks like a real great mod. Too bad it requires PHP5, so I can't even install it.
(Hostgator still running 4.4.4)

I will be happy to help you get one of the game modules working under php4, send me an IM and we can go from there.

Vindicare
09-21-2007, 03:34 PM
Well, a PHP4-compatible version for EQ2 would be more than appreciated, but only if it's not too much an effort :)

turnipofdoom
09-21-2007, 04:08 PM
Well, a PHP4-compatible version for EQ2 would be more than appreciated, but only if it's not too much an effort :)

yah that is fine, get in touch with me via IM turnipofdoom010 for AIM, and we will do it there, are you a coder ? or will i need access to your CP ? (yes its custom, so it works well, but yeah there is some config involved..)

Vindicare
09-21-2007, 04:51 PM
I don't have AIM, but I can get it.

I am not really a "coder", although I got enough PHP/MySQL knowledge to write my own little scripts and config stuff.
But it's not enough to convert a PHP4 script into a PHP5 script (and I guess the product .xml has to be converted as well).

turnipofdoom
09-21-2007, 04:58 PM
I don't have AIM, but I can get it.

I am not really a "coder", although I got enough PHP/MySQL knowledge to write my own little scripts and config stuff.
But it's not enough to convert a PHP4 script into a PHP5 script (and I guess the product .xml has to be converted as well).


there is no more product XML, I do all that by hand.. Like I said, I will be happy to walk you through it, or do it for you. Just get in touch with me, we have had great success backporting this app.

Vindicare
09-21-2007, 05:05 PM
Appreciated, but sounds like converting a script from PHP5 to PHP4 is a way more work than I thought.
I'll just gonna wait till my host upgrades to PHP5 and then install it. Heard hostgator will use php5 by the end of the year.

Thanks anyway.

turnipofdoom
09-21-2007, 05:08 PM
Appreciated, but sounds like converting a script from PHP5 to PHP4 is a way more work than I thought.
I'll just gonna wait till my host upgrades to PHP5 and then install it. Heard hostgator will use php5 by the end of the year.

Thanks anyway.

Nah I have the stuff written, its just a manual install =) if you want it man im happy to help out.

Vindicare
09-21-2007, 06:02 PM
Nah thanks, also saw that this not only requires PHP5 but some heavyweight vBa CMPS crap. I'll pass on this.

ChaoticMageDDC
09-23-2007, 08:56 PM
Glad this mod really developed nicely! Remember i posted the orginal one with the idea of this some time ago asking if a "real coder" could do a backend? :p

I still use this on my site and it continues to work great ;)

I guess this may be a bit offtopic although it is something similar.

I am looking for a "Raid Progession Module"

You can see what I mean at this website http://www.vodka-guild.com/ left side "raid progression" lists what bosses have been killed. Although i personally would like it to be more like this http://www.brethren-guild.org/index.php with actual boss names.

How hard would something like this take to make with a nice backend that allows you to update the status from a plugin like your Recruitment module does?

Thanks! :D

turnipofdoom
09-27-2007, 04:17 AM
We have been working on a raid progression module, it is just about finished for the most part. You're right, the base came from this mod in a sense. Hopefully something this weekend I will be able to post up the code.

gmrstudios
09-28-2007, 06:04 PM
Fantastic Mod! Are there any plans to support PHP Version 4.4.1?

turnipofdoom
09-28-2007, 06:12 PM
Fantastic Mod! Are there any plans to support PHP Version 4.4.1?

I can probably give you a copy of the source that will work in 4.4.1 for a specific game, I really do not plan to rewrite the app for full php4 support though.

gmrstudios
09-28-2007, 08:56 PM
I can probably give you a copy of the source that will work in 4.4.1 for a specific game, I really do not plan to rewrite the app for full php4 support though.

That would be much appreciated, our homepage looks a bit bare without it. How would I go about getting source for World of Warcraft? http://www.ilterendiguild.com

turnipofdoom
09-28-2007, 09:02 PM
hm I am looking at your front page. I wrote this thinking most people would use it as a left/right column module. Anyway, do you use AIM ? That is probably the easiest way to get it done.

gmrstudios
09-28-2007, 09:25 PM
I do use a left column, but have since gone to 100% centered while I work on adding mods, such as yours, to the left hand column.

I don't have AIM at this time but I could create a screename and download it if it means getting your help :D. I do however have a MSN screename.

Please PM me with your details and I will try to contact you when AIM is installed.

Thanks in advance!

Damien73
10-02-2007, 09:53 AM
Hi,
Is it possible to run this mod with vbPortal ?

turnipofdoom
10-02-2007, 11:36 AM
Hi,
Is it possible to run this mod with vbPortal ?
No sorry I dont think it is.

exnetneo
10-22-2007, 03:13 PM
can you please put an valid warcraft_recruit for php 4?

tnks m8

ChaoticMageDDC
10-23-2007, 01:18 PM
We have been working on a raid progression module, it is just about finished for the most part. You're right, the base came from this mod in a sense. Hopefully something this weekend I will be able to post up the code.

Great! I will be keeping an eye out for it.

Mother_Dee
10-27-2007, 11:42 PM
Great! I will be keeping an eye out for it.

Both of us were on vacation for the last two weeks-ish. You can see a partially working model at http://www.darkportals.com - there are two views to choose from in the Admin panel, icon-mouseover or list view. We just need to finish the updater and it should be set for testing, hopefully it will be completed in the next few days.

Thanks for the interest. We'll keep you posted. :)

Big9erFan
10-31-2007, 04:39 PM
Dee,

That's quite a nice progression module you guys are working on. As the guild I am in is ramping up now, I was about to start work on my own ( something similar though I hadn't even thought about the mouse over option ), but see that hopefully you guys will have something available to the community soon.

Finally got my server upgraded from php4 to php5, so no more having to hack and slash to get stuff working :)

GrendelKhan{TSU
11-03-2007, 01:21 AM
whoa. I would love something like this for UT (unreal tournament). its not an MMO but could be great for teams and clan building anyway (esp for tournaments). any chance for it? or is there a way to change the class names to things I woujld need for UT?

j.stephanoff
11-03-2007, 03:43 AM
Anyway I can get some help with wow recruitment mod for php4?

Thanks
Jay

Ms. A
11-04-2007, 11:04 PM
Hi there :)

After getting everything install and looking great on my main page, I fill in the desired class requiremets I want and hit update. When I do that, it take me to a page that can not be displayed, and the web address up top changes to "http://index.php/?do=recruit_update"

I am at a loss. I have tried to fix this but can not come up with the reason this is happening. It is probably staring me in the face... Do you have an ideas? Any help is greatly appreciated :)

j.stephanoff
11-05-2007, 06:09 PM
I had the same problem I added the ajax part and it fixed it.


Optional (Add AJAX Support to the updater form):

Inside the header OR headerinclude template (where ever your <head> </head> tags exist)

Put: <script type="text/javascript" src="http://www.mydomain.com/forum/clientscript/mmoRecruit.js"></script>

The AJAX has been tested on Firefox and IE7, if the requestor code fails the form will just submit normally.

Alliya
11-10-2007, 07:25 AM
OK got that permission thing sorted.

But it is still redirecting to the wrong path /http.... when I try to update it.

+buG
11-13-2007, 02:09 AM
Are there still any plans for a php 4.x.x version? :)

Dan
01-12-2008, 10:08 PM
Strange, if I change the numbers via ajax to words or anything else they seem to disappear.

jteamevil
01-29-2008, 01:18 PM
Installed it for FFXI I get this when i have the Recruitment Modual set to display. Modual to edit works fine. ** EDIT ** Can not submit has the path on the submit button with no domain or anything.

PHP 5.2.2
Apache v1.3.39
vBulletin 3.6.8 Patch Level 2

Parse error: syntax error, unexpected T_ARRAY, expecting ')' in /forum/modules/cls_ff_recruit.php on line 26

turnipofdoom
02-01-2008, 04:47 PM
ive been AWOL a bit, ill have a look at these errors, However Dans is really strange. Jt in the template replace $PHP_SELF with your url to index.php that should fix it if im reading it right

Might be easier to resolve via IM turnipofdoom010

turnipofdoom
02-01-2008, 04:48 PM
Hi there :)

After getting everything install and looking great on my main page, I fill in the desired class requiremets I want and hit update. When I do that, it take me to a page that can not be displayed, and the web address up top changes to "http://index.php/?do=recruit_update"

I am at a loss. I have tried to fix this but can not come up with the reason this is happening. It is probably staring me in the face... Do you have an ideas? Any help is greatly appreciated :)

yeah its a phpself thing, open the template and replace $PHP_SELF with your domain name

turnipofdoom
02-01-2008, 04:50 PM
whoa. I would love something like this for UT (unreal tournament). its not an MMO but could be great for teams and clan building anyway (esp for tournaments). any chance for it? or is there a way to change the class names to things I woujld need for UT?

PM me details on whatr exactly you would need

Flootroops
02-16-2008, 07:07 PM
I am using this for WoW, and it works fantastic. I am trying to get the text to match the page, and I can't figure out a way to do that. Is there any way to change the font family, style, and size?

Martinjepsen
02-22-2008, 08:44 PM
For anyone who might be interested, I've edited this to show text responses instead of numbers as well as class-colored the class-names,

first the template "adv_portal_warcraft_recruit" needs to be modified,
<tr>
<td class="alt1">
<if condition="$druid > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Druid.gif" width="20" height="20"> <span style='color:#FF7D0A'>Druid:</span> <span style='color: $arrNeedColor[$druid]'>$arrNeed[$druid]</span></div></if>
<if condition="$hunter > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Hunter.gif" width="20" height="20"> <span style='color:#ABD473'>Hunter:</span> <span style='color: $arrNeedColor[$hunter]'>$arrNeed[$hunter]</span></div></if>
<if condition="$mage > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Mage.gif" width="20" height="20"> <span style='color:#69CCF0'>Mage:</span> <span style='color: $arrNeedColor[$mage]'>$arrNeed[$mage]</span></div></if>
<if condition="$paladin > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Paladin.gif" width="20" height="20"> <span style='color:#F58CBA'>Paladin:</span> <span style='color: $arrNeedColor[$paladin]'>$arrNeed[$paladin]</span></div></if>
<if condition="$priest > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Priest.gif" width="20" height="20"> <span style='color:#FFFFFF'>Priest:</span> <span style='color: $arrNeedColor[$priest]'>$arrNeed[$priest]</span></div></if>
<if condition="$rogue > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Rogue.gif" width="20" height="20"> <span style='color:#FFF569'>Rogue:</span> <span style='color: $arrNeedColor[$rogue]'>$arrNeed[$rogue]</span></div></if>
<if condition="$shaman > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Shaman.gif" width="20" height="20"> <span style='color:#2459FF'>Shaman:</span> <span style='color: $arrNeedColor[$shaman]'>$arrNeed[$shaman]</span></div></if>
<if condition="$warlock > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Warlock.gif" width="20" height="20"> <span style='color:#9482CA'>Warlock:</span> <span style='color: $arrNeedColor[$warlock]'>$arrNeed[$warlock]</span></div></if>
<if condition="$warrior > 0">
<div><img align='absmiddle' src="$vboptions[bburl]/images/recruit/warcraft/Warrior.gif" width="20" height="20"> <span style='color:#C79C6E'>Warrior:</span> <span style='color: $arrNeedColor[$warrior]'>$arrNeed[$warrior]</span></div></if>
</td>
</tr>

then i inserted
$arrNeed = Array("disabled", "Low", "Medium", "HIGH");
$arrNeedColor = Array("#FFFFFF", "#00FF00", "#FFFF00", "#FF0000");

in after
$shaman= $data->getStatus('Shaman');
in warcraft_recruit.php


but now for my question, what needs to be done to add death knight class to this ?

Mother_Dee
02-23-2008, 11:38 AM
When the DN class is released (and any other hero classes as rumors circulate) I will update the mod, for now it's quite some time until even patch 2.4 and even further until the release of WotLK. :)

It'll be awhile. :)

Kahoona
03-08-2008, 05:34 AM
Is there anyway to just have this across the top of a normal vBulletin board without vBA CMPS? :(

Mother_Dee
04-13-2008, 09:49 PM
Would take some work, the major coder is out hiking the Appalachian Trail and I'm on my fourth child in four years, so I can take a look at the mod files but between WoW raiding, pregnancy, full-time Mom and doing Site Admin work, it would most likely take some time. I'm STILL trying to wrap up the WoW Progression Mod for everyone as well, been wanting to get that out for awhile and things keep getting in the way. (Looks at stomach and longs to see her feet again...)

I'll do my best, no promises though. <3

Mother_Dee
04-13-2008, 09:53 PM
Strange, if I change the numbers via ajax to words or anything else they seem to disappear.

The mod was created with a number in mind, instead of text, so that if you put in zero the class no longer shows (smaller space taken up for games like Everquest and Everquest 2, where showing all of the classes takes up a VERY huge space in a side column... since the module was originally created for an EQ2 gaming site.)

The edit the other poster created will work by essentially bypassing that function for games like WoW, where there are minimal classes. Kudos to him for posting that, and thank you, I missed some of the posts in this thread, I apologize, or I'd have posted much sooner. :(

quarum
04-22-2008, 11:50 AM
When I try to update the recruiting status the URL that is points to is not working - it is doubling up the link.

http://www.mysite.com/http://www.mysite.com/index.php?do=recruit_update

My index.php is in the root of my site and vB is in a folder called vb. If that makes a difference.

Why is it adding the extra link to it? I am cornfused - and I will say a noob to vBulletin as I just installed it last night. Moving from phpBB3 based portal to vB - and really looking forward to it.

Mother_Dee
04-22-2008, 07:15 PM
Open up your updater template and hard code the url to your site, see if that fixes it.

quarum
04-23-2008, 11:06 AM
Open up your updater template and hard code the url to your site, see if that fixes it.

I have only been running vBulltin for 2 days - so excuse the noob in me - but how do I do this?

craigwest13
04-29-2008, 01:29 PM
I used the code provided here to update the mod to include AOC Age of Conan, loaded ok or so I thought....I get this error when I try to load the age of conan to games selection

Parse error: syntax error, unexpected T_FOREACH, expecting ')' in /home3/bladesw/public_html/Forums/admincp/ap_recruit_functions.php on line 288

I can't find the error.. I am probably overlooking something but can anyone point me in the right direction... thanks

bonewizard
04-29-2008, 08:03 PM
I've also been trying to mod this for AoC with no luck and I tried to contact the author with no response so I gave up if you get it going please post it here and share LOL :D

craigwest13
04-29-2008, 10:19 PM
fixed the one error got the settings completed now I can't create the module using the directions given here...I will try some of the fixes put in the thread and if I can get it to work I will post the update to include AOC...

quarum
04-29-2008, 11:12 PM
Upgraded today to 3.7.0 and this is no longer working.

Any chance of a fix?

Here is the error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

quarum
04-30-2008, 11:53 AM
I got this working again.

Here is what I did.

Edit wow_form

Find:

<form name="vbform" action="newthread.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>

After it add:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

And it is working fine for me now.

Mother_Dee
04-30-2008, 12:23 PM
fixed the one error got the settings completed now I can't create the module using the directions given here...I will try some of the fixes put in the thread and if I can get it to work I will post the update to include AOC...

Email me at balaa@darkportals.com if you need assistance modding the files, etcetera. Turnip is hiking the Appalachian Trail and has limited access to a computer, so mods are not entirely her priority right now. :)

Thanks for attempting to add the new game.

craigwest13
05-01-2008, 12:47 PM
ok got the recruitment module to load, unfornately only two classes loaded and with no pics
the update module loaded but when I go to reset the values I get an error and it closes the page and website down with an error.

but I am making progess lol..
I will send email with status to the dev, hopefully she can help.

Ragefire
05-07-2008, 02:54 PM
Excellent mod. Is it possible, rather than to display how many of a class you require, to simply display 'Open' or 'Closed'?

Mother_Dee
05-09-2008, 06:29 PM
We coded the old mod (for WoW) that way, and changed it to hide classes if there was a number zero as once we supported some of the more class-heavy games (EQ, EQ2) the list of classes would take an entire column :)

You can change it to show all classes and input text just by going into the adv_portal_(GAME)_recruit template and remove all the conditionals. Then you will be able to input "Closed" or "Open" to your hearts' content. :)

I am eventually (perhaps once this baby is born) going to look into specifications for WoW to perhaps break down the talent trees and allow for an overlib for each spec if a class is recruiting. We'll see. :)

dodjer42
06-07-2008, 02:57 AM
Craigwest: how is it progressing? Im interesting in an AoC form too and would be interested in assisting if you need help.

bonewizard
06-09-2008, 06:14 PM
I wish someone could kindly take this mod over to expand games It's a great mod the it seems not
enough time for them to add more games to it. By now most ppl recruiting have forgotten about this mod.

krucified
06-20-2008, 04:22 PM
Well got the whole mod working for Age of conan but i seem to get a blank page when i try to update the numbers after the modules have been placed on the main page

http://www.requiemmassguild.com/vbtest/cmps_index.php

is where you can see it



any ideas

and i cant find where you actually put this

Optional (Add AJAX Support to the updater form):

Inside the header OR headerinclude template (where ever your <head> </head> tags exist)

Put: <script type="text/javascript" src="http://www.mydomain.com/forum/clientscript/mmoRecruit.js"></script>

The AJAX has been tested on Firefox and IE7, if the requestor code fails the form will just submit normally.

evildream
07-11-2008, 10:11 AM
This is the AoC mod the admin of my guild made to MMO Recruit that we use on our forum. Enjoy.

You can see it here http://www.divinusguild.org

Warion
08-04-2008, 01:15 AM
Ok, i have mine mod'd for AOC but I have a question. The original way this mod is set up is by placing a number (etc.1, 2, 3 or so on). But what I would like is a dropdown list for the admin to place instead of numbers.
A dropdown with:
Open
Closed
Limited
Priority

... and basically have them different colored as well, like below

Open
Closed
Limited
Priority or Priority

Can anyone help?

I have a working aoc mod here (http://www.guildcommand.com/legend)

Warion
09-04-2008, 06:39 AM
I reinstalled on a fresh site and now it seems to hang when I attempt to imprt database to populate initial database. what am I doing wrong?

Warion
09-05-2008, 06:01 PM
Ok, fixed one issue but now I have a major issue when I add members, I get a weird error.

It wont add mor modify quanityfor recruitment, I get an error page:
http://www.guildcommand.com/http://www.guildcommand.com/index.php?do=lotro_recruit_update
the url is doubled, how is this possible...

Warion
09-07-2008, 05:12 AM
Ok, fixed one issue but now I have a major issue when I add members, I get a weird error.

It wont add mor modify quanityfor recruitment, I get an error page:
http://www.guildcommand.com/http://www.guildcommand.com/index.php?do=lotro_recruit_update
the url is doubled, how is this possible...


I still need help on the double url. plz

Dr_Hengelhoffer
09-07-2008, 12:03 PM
I use v3.7.3 forum, and newest vB Advanced. The module is appear in the main page, but i cant manage it. In the admincp dont show for me the all settings, only the "Toggle Recruitment", and the "Populate Inital Game Data"
I install this addon correct, and step by step.

Warion
09-07-2008, 02:29 PM
I only have the double url issue, plz help

Warion
09-26-2008, 02:41 PM
still need help

turnipofdoom
09-29-2008, 06:16 PM
Spoke with Warion I believe..

Dr. I havent installed it or checked weather its compatible with any of the newer versions of vb or vba. I am going to update this though so I will get back to you with a working version, shortly.

- Back from a long backpacking trip, was away for 5 months. If people are still using this ill update it.

nightbloom
10-05-2008, 06:16 PM
I have a question for anyone familiar with this mod. Could it be modified to be used by several guilds on one forum or is it just for one guild on like a guild forum. My forum isnt a guild forum, just a game forum for one specific game. Im looking for something like this that would be used by a number of different guilds.... like a guild database for the game when people are looking for a guild to join.

eddo82
10-05-2008, 11:35 PM
Spoke with Warion I believe..

Dr. I havent installed it or checked weather its compatible with any of the newer versions of vb or vba. I am going to update this though so I will get back to you with a working version, shortly.

- Back from a long backpacking trip, was away for 5 months. If people are still using this ill update it.

If you could update the mod, we would really appreciate it. :)
Maybe there could be an option to put text (ie: Open, Closed) instead of just specific numbers.

Thanks!

turnipofdoom
10-12-2008, 03:36 PM
Eddo82

You can put whatever you want in the update field, not just numbers. I just defaulted them to numbers for giggles.

Nightbloom,

Not really, the database for the recruitment information is shared between games. I have been modding it to allow for several games to run on the same VB/VBA instance, but not for one game shared among several guilds.

Going to also add Age of Conan and Warhammer to it.

nightbloom
10-13-2008, 12:46 AM
Well... GRRR! lol Does anyone know of a mod like I mentioned or one that could be close? I can modify existing hacks, but I know I cant write one from scratch. =(

Warion
10-26-2008, 10:38 PM
I have a question for anyone familiar with this mod. Could it be modified to be used by several guilds on one forum or is it just for one guild on like a guild forum. My forum isnt a guild forum, just a game forum for one specific game. Im looking for something like this that would be used by a number of different guilds.... like a guild database for the game when people are looking for a guild to join.

The current version that Turnipofdoom has just released is for multiple guilds and games. The only thing is it has only 1 updater for all the games you have. I have it installed on my site. Legend (http://www.guildcommand.com). Thou I dont know if ya can do multiple of the same game.

I do know Turnipofdoom is working on it currently with the final touches.

Woodstock23
01-14-2009, 09:12 AM
heya, awesome addon you made;)

all works fine atm but sometimes i get the warning msg:

Warnung: Invalid argument supplied for foreach() in /modules/cls_warcraft_recruit.php (Zeile 28)

can you help i cant find a wrong thing at this line.

and is it posible to update this mod because the new class Death Night is not in the actual list.


thank you so much !!

LordShan
01-19-2009, 06:34 PM
hello (sorry for my poor english)

Thank you for this module, same request for lotro with two new class : rune keeper and warden.

Narotic
02-22-2009, 12:01 PM
This is a greta addon and very useful tool for guilds who don't want to succumb to some kind of instant website in a box service! Thanks for the addon!

I'm by no means a coder, but dable in manipulating code for my own purposes. I've been trying to add a class for WoW, the Death Knight, but have been unsucessful in my attempts. Has anyone done this succesfully that wouldn't mind sharing?

aflax045
03-19-2009, 03:17 AM
I'm not sure if there was an update floating around, I looked and could not find one. I edited this to add the Deathknight portion. (I take no credit for any of the actual coding, I merely just made some additions)

It should work, I tested it on my website; included an image for deathknight as well.

I'm not sure if it was just an odd execution, but the following templates did not update automatically and I had to alter them by hand:
adv_portal_warcraft_recruit
adv_portal_warcraft_recruit_updater

There are instructions in a text document in the zipped file in case you have to manually alter the templates.

A working version can be seen here (http://www.parabellumguild.org).

Enjoy.

tcahuzak
04-15-2009, 10:16 AM
Tested: vBulletin v3.8.2 + vBadvanced v3.1.0

Installing the product:


Download recruit.zip from the attachment provided below. Copy the contents of the upload folder to your forum root, taking care not to overwrite directories, but to copy files into them.
Import mmoRecruit.xml from the Product Manager Interface.
Open the Game Recruitment menu in your AdminCP, select your game, and submit the form.
Once the game is selected, choose the last option (Populate Initial Game Data) to create and populate the initial game database.
Set the usergroups allowed to view and update your Update vBA CMPS Module (you'll create this in a minute.)

Create the Display vBa CMPS Module:

Add a new module from your vBa CMPS menu, select PHP file as the module type.
Name your module (Recruitment, Recuitment Needs, etc.) This is the module title that your users will see, so be picky!
If you want to link your module name to another page (such as a recruitment post), input your hyperlink under Module Wrapper Template Options - Module Link.
Select init_recruit.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to NO.
Choose Use Module Wrapper Template: Yes (this is important, you will break the page without it!)
Make sure all usergroups are selected and save the form.
Add your module to your destination vBa CMPS page.


You should now see the display box on your destination page, with each class set to the default value of 1. If you do not, go back and check the instructions to make sure you haven't missed any steps.

Create the Update vBa CMPS Module:

Add a new module from your vBa CMPS menu, select PHP file as the module type.
Name your module (Recruitment Update, Update Recruitment, etc.)
Select update_recruitment.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to NO.
Choose Use Module Wrapper Template: Yes (this is important, you will break the page without it!)
Set Collapse by default to your preference.
Make sure you only select usergroups (Example: Guild Leader, Officers and Classleaders) who are allowed to see and update the module and save the form.
Add your module to your destination vBa CMPS page.


Add AJAX Support to the updater form (OPTIONAL):

Inside the header template (or headerinclude, depending on where your <head> </head> tags exist in your default style) put:

<script type="text/javascript" src="http://www.mydomain.com/forum/clientscript/mmoRecruit.js"></script>
The AJAX has been tested on Firefox and IE7, if the requestor code fails the form will just submit normally.

To Uninstall:

Remove both modules from the page they are displayed on inside vBa CMPS.
Delete all uploaded files. (To remove just the Game Recruitment link from your AdminCP, delete cpnav_recruit.xml from includes/xml.)
Run the following SQL query (may need to add a prefix to each table):

DROP TABLE recruitment;
DROP TABLE game_rec_settings;

Troubleshooting:

If the product import fails you can still do it by hand.
The templates are in forum_templates directory, the name of the file is the template name that needs to be used.

Creating the SQL Tables by hand.
CREATE TABLE game_rec_settings(
game VARCHAR( 120 ) NOT NULL,
enabled INT(2) NOT NULL,
groups VARCHAR( 12 ) NOT NULL
)ENGINE = MYISAM;

You may need to add the table prefix.
INSERT INTO game_rec_settings(game,enabled,groups)VALUES('','1 ','6,7,5');
Again you may need to include the table prefix

Changelog

Configuration of permissions "block" (admincp --> Game Recruitment --> Settings) has been removed! It's now controlled by vBadvanced "Module Permissions".
Death Knight class is fully implemented! When you "Populate Inital Game Data (Import Data)" the correct table will be created for the class: Death Knight.
Templates fixed for Death Knight.


Faq

Why did you removed the permissions "block" (admincp --> Game Recruitment --> Settings) to specify wich usergroups can view and update the recruitment feature?
Well I received lot of complains of the Guild Master, Officers and Class Leaders they can't see the update module (feature) on the mainpage.
Sometimes it appear and sometimes its totally disappeared.
I think it's an issue of incompatibility of vBulletin v3.8.2 + vBadvanced v3.1.0 (I installed at the moment of writing)

acidpr
05-29-2009, 07:08 PM
I got the app running but when i try to update a class it takes me to "http://index.php/?do=recruit_update" and does not update the DB..

Naberius
06-10-2009, 03:10 AM
I'm using this on 3.8.2 with vba 3.2.0 and not having any problems, even used the nice little class color modification for WoW.

http://www.grievous.us/

switchstance
07-22-2009, 01:30 PM
I am having a strange problem in which a specific user cannot view the "Update Recruitment" panel no matter what I have tried. I created a dummy user with the exact same usergroup membership as this user and the dummy user CAN view the "Update Recruitment" panel. I even went as far as to make the problematic user an ADMIN, and it STILL can't view the panel.

Can anyone offer any suggestions on where to look, or what the problem may be? Perhaps something related to cached permissions or user settings somewhere in the vBulletin database?

This is literally driving me mad!

Thanks in advance for any suggestions!

turnipofdoom
07-22-2009, 02:49 PM
I haven't touched this mod in quite sometime.

I don't have access to a newer VB site to work on, but if people are still using this and interested in updates, I'd be happy to put sometime in, I just need a test site to work off of.

switchstance, I can give ya a hand if you toss me a PM

djvj
07-27-2009, 04:18 AM
Updated to add Aion support. I couldn't find class images so I "borrowed" the eq2 ones. Did not include all the other game images due to attachment size limit of 2MB.

You can see it live here http://www.divinusguild.org/

christofer
08-04-2009, 03:07 AM
Updated to add Aion support. I couldn't find class images so I "borrowed" the eq2 ones. Did not include all the other game images due to attachment size limit of 2MB.

You can see it live here http://www.divinusguild.org/

thanks for doing this =]

installing now to test it out. hope it works.


Edit: Works!

lwalsh
09-09-2009, 01:34 PM
Is there anyway someone could please answer a simple question one that has be semi answered but never elaborated on.

The error "http://index.php/?do=recruit_update"

I understand that this is most likely a php issue. One person said to hardcore the url and another said to change $phpself. However after opening up the update recruit php file I can not find any answers. Can someone please highlight exactly what needs to be hard coded. I would greatly appreciate it.

DeathAngelsz
09-21-2009, 02:00 PM
Is there anyway someone could please answer a simple question one that has be semi answered but never elaborated on.

The error "http://index.php/?do=recruit_update"

I understand that this is most likely a php issue. One person said to hardcore the url and another said to change $phpself. However after opening up the update recruit php file I can not find any answers. Can someone please highlight exactly what needs to be hard coded. I would greatly appreciate it.

I Have the same Problem,need help!

Ranzou
10-16-2009, 04:49 PM
Is there anyway someone could please answer a simple question one that has be semi answered but never elaborated on.

The error "http://index.php/?do=recruit_update"

I understand that this is most likely a php issue. One person said to hardcore the url and another said to change $phpself. However after opening up the update recruit php file I can not find any answers. Can someone please highlight exactly what needs to be hard coded. I would greatly appreciate it.

same problem, any help would be appreciated

mikey1974
02-20-2010, 04:16 PM
same problem, any help would be appreciated


Some installs require the update template to have $PHP_SELF, some it breaks on. If you get a double URL when updating then remove $PHP_SELF/ from adv_portal_(game)_recruit_updater

that worked for me!! :)

bc641990
03-11-2010, 02:55 PM
Is it possible to get this to display on teh forums instead of cmps?

Ellendway
03-27-2011, 09:45 AM
Thanks for awesome mod.

I created icons for WoW (png and pds files).

http://ellendway.wowfan.cz/obrz/MMO_Recru_WoWIcons.rar

BlackxRam
06-17-2011, 04:18 AM
I think this is a great add-on. Multi-game support for guilds that play in many different MMO's is definiately a must. Being able to display what classes you are looking for in each game you play all available from one module is very cool.

I sent you a reply to your PM TurnipofDoom as well.

BlackxRam
12-01-2011, 05:35 AM
Love this mod. Too bad its all the way back in vb 3.6. There a way to add classes to this mod if some are missing?

pandaplush
01-11-2013, 07:39 PM
Would it be possible to update this mod for Mists of Pandaria and vB 4?