![]() |
MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO)
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. Code:
CREATE TABLE game_rec_settings( Code:
INSERT INTO game_rec_settings(game,enabled,groups)VALUES('','1','6,7,5'); 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 |
I will download it right now and see how it works. Thank you
|
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.
|
Quote:
so if anyone has a game request, and is willing to provide basic info, i will add it. |
can u do one for lord of the rings online too? :)
|
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 ? |
Awsome Mod, Installed!
|
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. |
Can you run this be run on its own page without vba?
|
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 PHP Code:
|
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. |
Quote:
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. |
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.
|
Quote:
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 |
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. Quote:
|
Quote:
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. |
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. :)
|
Quote:
|
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. |
Ya that is the XML file you drop in the includes/xml dir. And point taken I will see if I can reorder it
|
Quote:
If so, I can provide the details needed for a America's Army clan application. Thanks |
Quote:
|
Quote:
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 |
Quote:
: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 |
Quote:
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 |
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 :)
|
Quote:
|
Quote:
Got a description of the error for me ? |
Sorry I didn't get back to you sooner. It was the same as before.
Quote:
|
LOL omg!
find in mmoRecruit.xml Code:
<dependencies> Code:
<dependencies> |
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: Code:
" SELECT Quote:
|
Quote:
|
LOL. I forgot to paste it I guess. I edited my previous post. Thanks.
|
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.
|
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.
|
I installed and re-installed. doesnt work. Get a mysql error when trying to view the website after enabling the 2nd module.
Code:
PHP 5.1.6 (cli) (built: May 9 2007 11:28:53) |
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
|
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"? Quote:
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. Code:
Database error in vBulletin 3.6.7: |
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?
|
Quote:
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 Code:
+-----------+---------+----------+-------------+ 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. |
All times are GMT. The time now is 09:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|