The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO) Details »» | |||||||||||||||||||||||||||
MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO)
Developer Last Online: Apr 2013
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( game VARCHAR( 120 ) NOT NULL, enabled INT(2) NOT NULL, groups VARCHAR( 12 ) NOT NULL )ENGINE = MYISAM; 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 Supporters / CoAuthors Show Your Support
|
Comments |
#32
|
|||
|
|||
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:
|
#33
|
|||
|
|||
Quote:
|
#34
|
|||
|
|||
LOL. I forgot to paste it I guess. I edited my previous post. Thanks.
|
#35
|
|||
|
|||
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.
|
#36
|
|||
|
|||
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.
|
#37
|
|||
|
|||
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) |
#38
|
|||
|
|||
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
|
#39
|
|||
|
|||
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: 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 |
#40
|
|||
|
|||
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?
|
#41
|
|||
|
|||
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:
+-----------+---------+----------+-------------+ | 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. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|