![]() |
yeah sorry, it was late, i was on my period, wait im a guy, i cant use that excuse...eeek!
Anyways, ive finally figured out the problem, a few bad named variables. How simple. Doh. And i was wondering if there was anyway to make it so when a user submits the form, that the thread is named after a selected submitted field? |
Yes, can be done.
In form1.php (or whatever you've called it), FIND: PHP Code:
PHP Code:
Remember, do the above THREE TIMES - you need to change the title three times in the code. |
the file is in the same dir.
|
I can't explain it, retsell - I suggest re-installing the hack to see if it works - it does work, but I don't know why you are getting that server error.
|
thanks erwin
keep making brilliant hacks, dont listen to crackpots on methadone like me. |
Quote:
They're together. [Why did you post the whole PHP file in this post? What's the point of that? - Erwin] |
Quote:
it's a mysql error? |
It's an undefined function error - the gettemplate function could not be found. Makes no sense.
Also, there is no point reposting the whole PHP file out like that for unlicensed users to copy and use. They can't see [php] tag code, but you reposted the whole file in normal text. What was the point of that? Anyway, like I said, reinstall the hack following the instructions exactly. |
Ret, its probobly something simple like mines, check all the names of all the templates and the files and then check all the variables and make sure they all match up!
|
Geez, you guys can sure cover a lot of ground while I'm away.
Erwin, that $bbuser-thing worked brilliantly. Thanks for telling me it needed to be defined as a variable in the php file. Don't know why the forum/thread post counts don't update when the submitted form posts as a reply. When I click the update counters links in the ACP, everything shows up like normal. Wonder what's wrong with that. I saw a few pages back that we can check to make sure the member has the minimum post count required before the form submits.... I'll use that for our moderator app. We'd also want the form to check the member's join date. We don't want new members joining one day and applying to become a moderator a day later. We'd rather make them wait two weeks or a month and also make sure they've made 10 or 25 posts before they can apply. |
All times are GMT. The time now is 07:12 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:
|