![]() |
what id like to see is how to implement a listbox instead of radios
|
Yes, me too!
Erwin, one of these day you're going to feel really ambitious. When that happens, please tell us what coded bits we need to collect from different places so we can set up drop down boxes to display a selection of items that already exist elsewhere. I'd like to have a drop down box for these things already... 1 - A forum list for people to select the existing forum they want on the moderator application form. 2 - Which country they represent when they register for a tournament (that drop down selection already exists in the country flag hack - but I can't figure out what to use/or how). 3 - Which registered member a person wants to nominate for an award (or something). 4 - Which time zone a player lives in to schedule competition times or a live chat session. There's more...... but you get the idea. ;) Oh, one more thing -- how do I make this so the submitted form is emailed or PM'd to multiple addresses/members? |
Hi again,
I don't know if this will help or further confuse anyone trying to customize your own form, but I've got an example of a custom moderator app I made using this hack. You can look at a screenshot of the displays and look at how I customized Erwin's php file and templates. This is really a combination of two hacks. I expanded on the content found in Lesane's Moderator Application + Rating Hack, but I didn't want the ACP rating system he used and didn't need special database tables. So, basically, I used Erwin's "form" hack to create the same thing. Then we post the form (as a new thread) to a private staff-only forum for review. This lets us post comments in the same thread and then set up a poll to rate the moderator candidate (1 through 5) the way Lesane did in the ACP. The main thing here is you can see how it looks on the screen, then check the php file and the templates to see how I got it to look that way. The attached zip contains the php file and templates I'm using, and I'll post a couple of screenshots, to follow. Please Note - I left the graphics we use in the screenshots to show how you can do this, too, but please don't use them -- I don't own those and they are not public domain graphics. You can make your own if you have that talent, or just get a "person/cartoon with a mirror" and a "person/cartoon with a magnifying glass" image from some clipart library to make something like this for your forum. |
VCup Moderator Application Form (top portion)
|
VCup Moderator Application Form (bottom portion)
|
VCup Moderator Application Form (Thanks/Confirmation)
|
VCup Moderator Application Form (Forum Post)
|
Quote:
I appoligize for posting it, I assumed that it would hide all the code. The reason I posted it was because in other forums (like gentoo) people always ask for it to verify that there were no mistakes. Anyhow, I've tried removing the templates and the form file and redoing all of them, but still no luck. What I did find is that if you are not logged in you get this message: Fatal error: Call to undefined function: show_nopermission() in /home2/cms/public_html/forums/form1.php on line 23 but if I am logged in as administrator: Fatal error: Call to undefined function: gettemplate() in /home2/cms/public_html/forums/form1.php on line 214 This help any? I can post screen shots of anything that might help someone find the problem. |
Great job Talisman! :)
I will not be developing any of my vB2 hacks since vB3 is out, and I'm running vB3 on my private forums already. @ restsell - I still don't get why you are getting the function errors. It makes no sense to me - the only explanation is that the form file is not able to call your forum global.php or functions.php and not getting the functions. |
Quote:
Any reson why? permissions? Is anyone using this with beta 4? could that be the problem? |
All times are GMT. The time now is 07:39 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:
|