The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Form Hack Details »» | |||||||||||||||||||||||||
Form Hack 4.1 Features: Ever wanted an online form that a user can fill out, which when submitted gets:
Or any combination or all of the above? Well, this is the hack for you! You can use this for:
Or anything you like - this hack is totally customizable via the AdminCP. The beauty of this hack is that once you install this hack, to make a new form all you need to do is copy the main hook, rename it to whatever you want, edit the variables in the hook, and you have a totally new form!!! You do not need to touch the templates again, but can always create new ones and use different templates for different forms. Format of the form:
This is customizable via the hook. Also:
INSTALLATION Easy - takes only a few minutes:
Done! Use this hack to make as many forms as you like! Enjoy! Updates: Version 4.0: (09/15/2006)
Version 4.1: (04/24/2008)
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. Abe1 with rights from Dr Erwin Loh Supporters / CoAuthors Show Your Support
|
Comments |
#942
|
|||
|
|||
I set up 4 forms and got them all working beautifully. Then after a few weeks, they stopped working. Now, even logged in as admin01, I get the following error (when I try to simply access any of the forms):
you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. I'm not sure what happened. They only thing I can think of is that I installed vBAdvanced CMPS, passiveVid, and GTUserCP since the forms were working. Does anybody know what the cause of this problem may be? Is it a conflict with one of the other programs? I don't know where to go from here... Help! |
#943
|
|||
|
|||
Quote:
|
#944
|
|||
|
|||
Here's what I see in the plugin manager for each and every form I've created:
$formforumid = "34"; That forum does exist, and functions normally. Is that what you were referring to? Not sure where else to look for garbage... This is a forum that only admins are allowed to view, but I do want users from specified groups to be able to post in that forum. So, in the plugin, I added the usergroups that I want to have access to the form, and for that forum, I allowed those usergroups permission to post but not view. What am I missing? So, to reiterate, even admin01 cannot so much as VIEW these forms- permissions errors every time. |
#945
|
||||
|
||||
Quote:
Did U recently add anything new 2 your products??? Several folks had the same issue and unistalling permission MODs fixed it... Also could be your usergroup permissions,,, maybe... Im still recovering from a vehicle accident and haven't done much vbulletin troubleshooting,,, but if time permits and my back getts better, I will post more... Good Luck 2 ya |
#946
|
|||
|
|||
Thanks for your reply, Deepdog009.
Besides this Form Hack, I have the following mods installed: passiveVid vBAdvanced CMPS GTUserCP I just made them inactive but the problem remains. Perhaps there's something that I need to run in diagnostics or maintenance to get the changes to take? |
#947
|
|||
|
|||
Nice work. This is what I was looking for.
|
#948
|
|||
|
|||
Quote:
We had to modify each Form we'd created in vBulletin with the following change (first the original code, then the new code): ORIGINAL CODE //////////////////////////////////////////////////////////////////////////////////////////////////// //USERGROUPS ALLOWED //You can add or remove usegroups that are ALLOWED to use this form by changing the numbers below in the array. //To enable this feature, remove the '//' before the 'if'. //////////////////////////////////////////////////////////////////////////////////////////////////// if (!in_array($vbulletin->userinfo['11'], array(5,6,7,11))) print_no_permission(); NEW CODE //////////////////////////////////////////////////////////////////////////////////////////////////// //USERGROUPS ALLOWED //You can add or remove usegroups that are ALLOWED to use this form by changing the numbers below in the array. //To enable this feature, remove the '//' before the 'if'. //////////////////////////////////////////////////////////////////////////////////////////////////// // Use the line below to customize the allowed groups access to this form $allowed_group_ids = array(6,7,11,12,13); $form_view_permission = false; $member_group_id_array = explode(',', $vbulletin->userinfo['membergroupids']); if (in_array($vbulletin->userinfo['usergroupid'], $allowed_group_ids)) { $form_view_permission = true; } foreach ($member_group_id_array as $membergroupid){ if(in_array($membergroupid, $allowed_group_ids)){ $form_view_permission = true; } } if ($form_view_permission == false) print_no_permission(); This change allows users to access the Forms if their primary or member group ids match the list specified in the $form_view_permission array. |
#949
|
||||
|
||||
Quote:
That's great you found the issue and resolved it... Its usually something that U missed or overlooked that's causing the problems... I will be posting more and troubleshooting more in the near future... Good Luck 2 U ********************************************* |
#950
|
|||
|
|||
Thank you very much for this usefull hack
|
#951
|
|||
|
|||
I don't quite understand this step:
# # Edit the main plug-in - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully! where do I go? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|