![]() |
THe first part works great and it shows up perfect now.
When i go to add the recruit.php to edit the first module this is what i get. Fatal error: Cannot redeclare class recruit in C:\Inetpub\wwwroot\bbz\forums\modules\class_recrui t.php on line 17 Im assuming this has to do with your php4 edit, making changes now to see what happens. I think you should make it a little bit more clear that you need to edit the Class_recruit.php file if you use php4. I wasn't sure which one you meant so i looked through them all to find the code you posted. EDIT: I've made the changes to the class_recruit.php file and still have the same error message. So as of right now i just have the issue getting the edit module to display. The other one looks perfect and is using my style. |
Lets see if that fixes it for you, grab the files and replace functions_recruit.php and recruit.php in your modules dir with the ones in the zip.
|
PERFECT!
Thanks a ton for your quick responses, nice to have a supported mod... One other quick question, not a big deal but just curious. Is there a way to make the recruit_edit.php file use your forum template? I notice the colors and everything else is right on but it doesn't fit itself into the frame size, outlines, etc.. I dont know how difficult it is to do that.. and really its not a big deal because it matches perfect. The size is just a bit off because it's kind of on it's own. Thanks again! |
Not at the moment, I have to do that still. I wasnt planning on releasing this until I had but such is life. For us, its private, so 99% of visitors never see the small visual errors with the forum =)
|
Sounds good, I will keep an eye out for an update when you get around to it. Otherwise things are working great, thanks for the nice module =)
|
Great idea :)
|
Well, I have everything installed with the updated files and it all shows fine now, and can update the status.
The only thing is, I have set the status editing module to only show for admins. When I am logged in all the linked text on my front page is a light grey color. This only happens for me as I am the only one who can see the edit module. Anyone else i.e members, visitors etc. do not have the problem because that module does not show up for them. Also, you mentioned to update the image paths in the recruit.php but for the life of me cannot see where the paths need updated. Thanks alot for this by the way! |
My mistake on the link update instructions, first mod and all ;p It was removed, and that was part of the previous version..
You can try removing the style class definitions in recruit.php <body class='module'> just remove class='module', same with: <table class="module"> <td valign="top" class="thead"> otherwise, I am not sure why it would change the link colors, but ill look at it. |
ok what am I doing wrong?
recrutment.sql Code:
-- phpMyAdmin SQL Dump maintenance/Execute SGL Query I copy and paste the above into the manual query. I get this error. Quote:
vB 3.6.4 PHP Version 4.4.4 Client API version 4.1.21 I am doing something wrong, I just do not know what, obviously. Yes I changed the classes from WoW to Vanguard. |
ok I went into myPHPadmin and created the table from there. Seems to all work except I get this error now.
Quote:
Here is the code for class_recruit.php that I am using. PHP Code:
PHP Code:
Any ideas? |
did you adjust teh methos call at the top of recruit.php to account for the extra fields in setStatus ?
|
I think so?
PHP Code:
|
looks like you just need to remove the $druid, line, since its not in the form.
|
What Druid line where?
Druid is a Vanguard Class and I do not see it missing from any of the coding, I may be blind, It is the third class from the last. Sorcerer, Druid, Psionicist, Necromancer. Should be in there. Where am I missing it I can not see. Thanks for the assistance btw. |
Ok you have
PHP Code:
Warrior Paladin Dreadknight Ranger Rogue Monk Bard Cleric Shaman Desciple Bloodmage Sorcerer Druid Psionicist Necromancer Now... In class_recruit.php PHP Code:
|
ah thank you so much.
I just could not see what your were pointing out to me. Thanks for the showing me the way. Can't fix that atm, but when I get a chance will post back to let you know the outcome. V/r Xai |
haha no worries, it was my pleasure, sometimes the answer is starring you right in the face and you just cant see it. ive been there its great!
|
Ok that fixed the error message displaying on the front page. How ever, instead of the Dread Knight and Necromancer not displaying numbers it is now Ranger and Monk that do not save input. Attaching Picture.
btw guild site is www.ire-guild.org Any ideas on what could be causing only two fields not to save? |
It looks like you're missing Monk completely from the gStatus code, and for Ranger the input name should be ranger, lower case. Fix those and you should be fine. =)
(Please click install for me, btw! Thanks!) |
i'm an idiot, rofl.
Not like it hasn't been prevelent, but I have no idea how to code, recode etc. I just open up the file read it and try to replicate to achieve what I want. Tho I am learning from building this site. Thanks again. When I am done and all complete and it works, do you want the files and images to add a complete Vanguard Saga of Heroes Recruitment to your hack? Clicked Installed! |
yeah actually that would be great, could you email them off to jzakhar at gmail dot com and ill put them in one zip and toss up instructions for people.. also make sure you add your name to the files you modified ;p
|
Need Help...
I used the normal VBulletin V3.65 not the advanced one. Where do i have to put the files in? Here? ../forum/vbcms_global_modules ? I do so and thats the result :) http://www.die-lieders.de/websites/vbaevum/ |
Quote:
|
Vangaurd Saga of Heroes Recruitment is done and sent to turnipofdoom.
Thanks again for this mudule and your help during the modification to Vangaurd. |
This is the problem that I'm having. I'm going into the admincp, changing the .php file to recruit.php, clean file on, shell template on, going to the portal (vBadvanced) and editing the info for it, coming back to the admin cp and setting class_recruit.php, and when I go back to the portal the recruitment box is gone. Any idea what's going on? I tried switching the files around to find the right combination, but nothing worked.
|
Quote:
Having some trouble following your process there. did you create the new template to hold all the html for recruit.php ? |
took quite a bit of template modification to get working...and havn't tested it all as of yet...but i've clicked install :)
|
The admin php template works fine. However, the first template you said to create does not. When I create it, and reload my page I get:
Content Encoding Error (content_encoding_error) The content header contains different encoding than what was expected.... Any reason why this might be occurring? The step that this is creating the issue at is: Add a php module to vbCMPS, add the file functions_recruit.php, under templates used put 'adv_portal_functions_recruit', clean file output to off, use module shell template to no. If I set the clean file output to on, I get no errors and nothing shows up period. If I change the php file to a template file, I get no errors, I see all of the classes but get no class counts. |
I fixed my issue. If anyone encounters this issue, go to your cpadmin, vboptions, and find the http headers options. Turn off "gzip".
Fixed and everything working properly. |
Quote:
Interesting so compressing the output errors it, I will take a look, since that is a pretty common option to have enabled. Thanks for the feedback on that one. |
yer welcome - it's a nice addition you made. I was getting asked by numerous people to change my old recruitment status module and wanted something simple enough that even a monkey could edit it. This was simple, effective, and nicely polished.
|
Quote:
Also can I get your apache and php version info? |
... [please delete]
|
Came back to try this again... and it worked.... Installed
I have php5, but still needed to make the changes you have listed for php4 to prevent the errors from popping up. Do you know what might be causing the issue in the attached screenshot? My website is www.shuhalo.com It would be nice if I could figure how to get the blue section to blend in better. |
Do you recall what the errors were ? Was it a keyword error ? Can you change it back and post the fatal error ? That would really help. Can you also post the HTML source for the blue background page.
|
Hey would it be possible to modify the code so that it only shows what classes that are open for recruitment on the page?
Example: If I had 0 or closed in the field dont show the Class at all on the page. If I had 1 or greater or Open in the field it would show the class on the fron page. Is this doable and if so how difficult? Thanks. |
Quote:
PHP Code:
|
Quote:
Thats what i needed! I used this code: Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> The only drawback is that it has to only be "Closed" and not "closed" for it to be hidden. Any other value numeric or alpha will cause the class to be displayed on the list. check it out here :D |
Quote:
|
One other thing... Is it possible to have the configuration portion collapsable like the other templates?
here is a pic. https://vborg.vbsupport.ru/ It kind of sticks out and I would like to be able to make it collapsed by default with Vbadvanced options. Thanks |
All times are GMT. The time now is 11:17 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:
|