![]() |
Maybe I am misunderstanding you, but the templates you are referring to are included with the initial zip file. They are .txt files. Just make new templates with the same name as the .txt file (omit the .txt in the template name) and cut and paste the contects of the .txt file into the template.
|
Quote:
|
the default values for the form show the username as the first part of the thread title. I am unsure why your are referring to "Unregistered". Maybe you should modify for form.php file to only allow groups other than "unregistered" to use the form.
|
Thanks Erwin! Great hack! :)
One (two) questions: If submited as newthread or threadreply the postcounts for the user and forums does not update. Would this be possible to add? And one more thing: BB-code support? (Smilies and formating) Not essensial, but would be nice... :) |
Quote:
I would prefere CSS if thats posible. My intention is a standardised output. |
Quote:
|
Quote:
The forumsdisplay shows as when a "normal" post is made: last poster, date and postcount increase. But the most important question for me right now is how I can format the new thread, with fonts, headers and paragraphs, not just plain text. How does vbulletin handle postformating? Now it just outputs the code as entered into both form and template... :ermm: Any ideas? |
Quote:
|
Thank you for this wonderful hack!
|
Quote:
|
Quote:
Sorry to be a pain, if this is too much for you, please point me somewhere where this is all explained (simply) Many thanks :ninja: |
I can answer some Questions:
The 2 Templates you will find in the .zip-file coming to you as .txt-files. Now copy the content and open your ACP nad go to "Manage Styles" (http://www.yourForumUrl.de/admincp/t....php?do=modify). Open the scrolldown and select "Add New Template". Now you paste the content of the txtfile in the large Box. In the Title-field you put the name of the Txt-file but without its ending (.txt). Thats all. The Form.php you just put in your Forumsroot. Now you can test ist on http://www.YourBoardUrl.de/form.php Hope i could help, and now i have a question. If an User fills out the form and it got posted as Thread the User doesn't get an Notificationmail if an answer was dropped. Even he has enabled it in UCP. Any fix for this? Its really an great great Hack. Thank you for your Muse. |
Hey there my good teacher VAU, many thanks for your assistance, It has worked, except when I ran the form and hit submit it came back with the following error
Quote:
|
I get always a
Fatal error: Call to undefined function: gettemplate() in /home/b4ne/www/form1.php on line 214 when I try to call the form1.php file. any idea ? |
@Breathwork: Nothing to thank for.
But with your SQL-Failure i cant help you. It cant post your Informations in the Databse-table, but i'm not knowing enough to tell you why. @b4ne: Did you add the Templates? |
yes I did if I go to templates they are all there
|
Update Version 1.3 - Form to Poll feature added
I've added the ability to create a simple poll from the form. In the new form.php, edit these variables - //ENABLE POLL TO BE CREATED - 1 = yes, 0 = no $formpoll = "1"; $formoption1 = "Yes"; $formoption2 = "No"; You can rename the 2 poll options. I've made it default that the poll is created with 2 options, but with some code changes you can customize this obviously. I've got it with 2 options because I use my form as a moderation application form, and the poll is automatically created in our staff forums so that staff can vote. :) Enjoy! :) |
Erwin can you help me with my previously reported problem ?
|
Erwin,
I would love to add to my form the ability to employ Mystics' [vB 3.0.0] - Thread Category / Prefix Hack. What I need is the ability to insert the selection menu into my form similar to the way it is inserted in the attached image. Any light you might shed on the way I might go about doing this would be greatly appreciated! (BTW ... I have asked Mystics as well but so far he has not responded.) |
AWESOME Hack!
Installed! One question: How do I make it so that the user is redirected to the thread after they complete the form? |
ok i followed instructions... uploaded form.php and added the templates.. but im having one problem... when i go to submit the application to my self for a test.. i recieve a BLANK PM and BLANK EMAIL.. i dont get why its sending them blank... anyway very nice hack :D
|
Erwin,
You're a real pro. Thanks for this hack -- it rocks. I have been doing a little research on how to get this page to redirect to the new "Thread" it has created once the form is submitted and it tells you "Thank You." Is there a simple line of code I can add to the form.php that will do this? |
Make sure you add the templates to the correct style. Blank pages and PMs mean the templates are not there or cannot be found.
|
they are added to the correct template.. thats odd... :\ i even tryed adding them to the other.. still blank... :\ i named them form and formanswers... like they should be from what im told..
|
how do i check the color for those table that are black?
|
Quote:
|
Very nice Erwin, thanks
I have a little question :) how can I use this hack? not technicaly, I did install it and customized it and all working just fine test posing in forum (new/reply) and email but I guess my question is whats the best way to use it for? or how to make use of it? I sat there with another admin trying to figure that but ..... I thought I'd just use the email part to make it like site comments or whatever but why use that to post in the forum when we have the normal posing way or even quick posting too? I am sorry I am not tryin to say anything other than wanting some ideas to make use of the script as I do like it Thanks |
Quote:
I use it on my site as a moderator application form, which creates a poll automatically in my staff forum for current staff to vote. But others have used it for manual donations, selling items etc. Some use it as a way for guests to PM staff, or a way to submit quizzes or news articles. It's what you want to make of it. |
Quote:
I don't know what your forum is about, but perhaps you could find a similar use for this wonderful hack. :) Attached is a pic of my form page. Take care, ~Chris |
hey guys whats up.
I am just about to install this hack -- or as I would call it a MAJOR UPGRADE. I want to use this form for many forums, but do not want to upload a new forum.php, and the two templetes for each forum. Each forum I want to post to will ask the same questions. What I am asking here is, is it possible to use the same forum.php and the two templetes for multiple forums? I do not want the form answers to be posted in multiple forums. If this is possible how can I do it? Is it also possible to for this script to find out automatically what thread the user wants to reply to? Thanks. |
Okay, new question. I have this hack installed for new threads in a specific forum. How do I set it up so that members are sent to my form.php when they try to start a new thread?
|
Update version 1.4
Fixed a bug where if you enable the Form to Reply in Existing Thread, the Forum last title and forum post count did not update. Code added is this: //FORUM ID WHERE THE EXISTING THREAD IS IN $formreplyforumid = "456"; and an extra query under the $formreply=1 query code. Sorry for the inconvenience. This part of the hack works properly now. |
Quote:
I can do that easily - will make a version 1.5 that does this later this weekend just for you. Not hard at all. :) I have to leave for work now. |
Awww. I feel so special. :D. You can see how I have it set up now, and what I've done since I couldn't figure out how to redirect. You don't have to answer all the questions. Just go here, log in as Guest (p/w: Pass), and click on the New Thread button.
BTW, I used to live just outside of Perth. Where are you located? |
Quote:
This is how I did it... In Forumdisplay template, find: Code:
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]"> Code:
<a href="<if condition="$foruminfo['forumid'] == xx">form.php<else />newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]</if>"> |
Thanks Ewrin and Chris you gave me ideas on how I could use it now
|
A might be a bug report for Erwin :)
when posing a new thread all fine, when posting a reply to an existing thread the disable smiles is checked by default |
thanks guys..
this is one awesome script.. would be interesting to see how ppl modded this hack to fit their site.. |
Version 1.5 - Major update:
- fixed bug where thread count not updated when form to forum - fixed default posting to allow smilies and sigs when reply to thread - added templates to cache (saves 2 queries) - added option to change thank you message - added options to redirect to post, thread or forum when submit You need to upload the new form.php file - I've changed the code quite a bit in it. Enjoy! |
Quote:
I live in Melbourne. |
All times are GMT. The time now is 09:15 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:
|