![]() |
I'm having a problem with unregistered users accessing/viewing a form. We would like this form application to be accessible outside the forum to unregistered users.
I currently have the USERGROUP permissions not enabled and set the same as the default form hook, as below. Quote:
A registered user or administrator can access and submit forums without a problem. But I need for unregistered users to be able to view/submit. Can anyone shed some light on this for me? |
Got it all working properly now. Found one ; that shouldn't be there that caused it not to post at all.
|
I am about to install! Thanks :)
|
Alright, I need help please!!
I installed this and I am assuming I did it the right way, but I can't seem to find it anywhere? In the step #3 of the install when it says "3 - To get to the form, go to: /newthread.php?do=form (change "form" to the name of your form if you have few)" How do I go to that? I am new to this stuff and just can't figure it out. Can someone please explain this too me? TIA :D |
Quote:
In Plug-In Manager in the ACP you will see a hook called "Form Hack". That is the "main hook" referenced in the instructions. Edit form hack and follow the instructions to save a form with a new name. Then edit the "new" hook and set options the way you want them. There are also two templates, form and formanswers, that have to be modified if you customize the appearance. I made new templates for my customized form so I always have the main one to look at for default options. Hope this helps you a little. :) |
I still can't figure this out - how to use etc! It would be excellent if some sort of idiots guide was made to make a form or whatever!
Any takers? |
Quote:
The first thing I did however, to make life easier on myself, was to rename (thru search replace) all the variable references in the script itself to simplier, more generic names like 'question1', 'answer1' and $answer1 (the php references). I assume you know HTML form processing right?? Step2 (prior to loading the XML) is deciding where the output 'answers' is to go and those options are embedded in the php code itself. In my case I chose 'reply to thread' leaving the reply to 'new thread' option '0' otherwise you'll get a double post. Having muddled thru all of that I designed my own 'custom' input 'form' (using the same 'answer' variables) and noticed 1 thing - I did not have to change the 'formname' (or modify the XML plugin) IF you manually assign the new template (in my case named 'testform') the same title $formtitle="form" as the hookcode will still execute!! In other words the only real reason I see to install a second XML is if the php processing code needs changing. Of course if ya need new / different php processing code (which you need to design) then the XML plugin and the 'formtitle' needs to change too but if Abe's processing code is good (and all ya need) you can manually force the issue AT RUNTIME . . . Make Sense?? I am using this in conjunction with Logician's 'Webtemplates' and it works very well posting user input data into a thread of my designation . . . . Eh, Questions?? Rabbit |
Quote:
|
Quote:
|
Hi. I'm new to both vBulletin and php, but this hack looks like it could do what I'm after. Basically I want a form that submits a private log entry that only the user and moderator can see.
Can this hack be modified to set permissions on a new thread, and if so how? |
All times are GMT. The time now is 06:10 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:
|