vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Portal Software - MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO) (https://vborg.vbsupport.ru/showthread.php?t=150449)

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:
Code:

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

Quote:

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

Quote:

Originally Posted by Sarcoth (Post 1279114)
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
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.

Code:

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"?


Quote:

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.

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

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

Quote:

Originally Posted by digitalJE5U5 (Post 1281908)
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.

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

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

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.


All times are GMT. The time now is 08:01 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
  • Page Generation 0.01631 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete