![]() |
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.
|
Quote:
Anyone know what's wrong? Latest version of vBulletin and CMPS |
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. |
Quote:
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? ? |
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. |
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.
|
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. |
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? |
Quote:
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. |
Quote:
unless i am mis-understanding |
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... |
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 ? |
it updates at first, but once the page is closed then it reverts back.
|
Quote:
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: Code:
<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/index.php?do=recruit_update" onSubmit="postMethod(); return false;"> Code:
<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/portal.php?do=recruit_update" onSubmit="postMethod(); return false;"> Code:
var url = "index.php"; Code:
var url = "portal.php"; |
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. :) |
Quote:
But all in all this gave me some ideas to back port this to php4. Which I think I am going to do. |
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... |
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: |
Thank you.
|
Can you add SWG (Star Wars Galaxies) and MxO (The Matrix Online) to this?
|
can u add eve-online using api ? https://myeve.eve-online.com/api/doc/data-charsheet.asp :confused:
|
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 |
Quote:
|
Quote:
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). |
Quote:
Code:
<?php |
Quote:
|
I think you're looking for the wrong mod. If you want an application form, you can look at the one here or the Form Hack 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. |
[S]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.[/S] Nevermind I got it working :) and it ROCKS |
Quote:
|
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! |
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" |
Getting this error when I installed your new version. i unstalled the whole thing until it get's fixed:
Code:
Database error in vBulletin 3.6.7: |
do you have $config['Database']['tableprefix'] set to vb_ in forum/includes/config.php ?
|
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) |
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 Code:
<form method="POST" name="recruitment" id="recruitment" action="$PHP_SELF/$vba_options[portal_homeurl]?do=recruit_update" onSubmit="postMethod(); return false;"> |
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? |
It won't be a problem.
^.^ |
what about tribalwars any chance that can be done something like this for that game too?
|
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 ?
|
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/ |
All times are GMT. The time now is 05:54 AM. |
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:
|