![]() |
Quote:
|
Will it work in vBulletin 3.8.7?
Thx |
Quote:
|
I know this is an older thread now but I'm trying to debug an issue where it appears that the form hack doesn't actually look at forum posting rules when it is either creating the form OR posting it.
I presume that is because it uses settings of its' own to determine who/what/where to post a new thread. Because the particular forum we are using the form in has a minimum post count and needs to also display the Miscellaneous options (particularly image attachment which is mandatory) we need it to be checking permissions. I have added code to check the post count into the form hook so that part is now working fine but the variable $attachmentoption is being treated as if it were a blank value by newthread.php as the form/hook aren't checking forum permissions (this it is blank). Basically what I need to be able to do is to set the permisison for 'canpostattachment' in the hook but have no idea how to! When I get it working I'll post the code edits so that anyone else can add image attachments to their form and make them mandatory if required. Cheers Russ |
Russ, thats great of you to share your modifications with us, it will definitely help the community :)
|
Quote:
PHP Code:
|
Setting this up is very complicated. I'm amazed there isn't a simpler alternative, I just need a few fields adding to a newthread. I've tried the Easy Forms plugin but that doesn't appear on vbOptions list for some reason so I can't set that up either. Very tired!
If anyone knows of an easier way please let me know. I just need 4 dropdown fields that will append some small pieces of text based on the users selections in to the post content. EDITED TO ADD: Found this plugin that did what I needed: https://vborg.vbsupport.ru/showthrea...29#post2272129 (just posting here in case anyone else is looking for a way to insert text phrases from a dropdown, I hunted for ages to find it! Thank you the Form Hack plugin developer, it looks very powerful, just a bit complicated to set up. |
Has anyone found away to stop users when submitting a form, from being automatically subscribed to the thread posted (by the form submitted).
I really need to find a way to stop users from getting email notifications etc as the form I've made posts to a forum they they should not see (its a MMO recruitment forum). |
Have you tried setting the security on the forum such that their user group can not see replies to that forum? That should prevent the email issue.
|
yep, I found a way in the plugin code so that when the form is submited and then posted, it does not set any subscriptions, so that was also taken care of also.
But thanks for the reply. |
All times are GMT. The time now is 03:32 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:
|