![]() |
The Author would have to custom that for you as there isn't that option to send it to whichever thread the user of the form chooses, unless you can use stuff like you can in the title like this:
Check the checkbox for which thread to post to and then put {q_1} so question one on your form would be a textbox for a thread id, this is only a guess, give it a go, if not you'll have to wait for the author to answer :) |
i tried, it doesn't work(
|
This is a really great mod! Thank you for this!
|
I'm trying to change the New Thread icon/button code to go directly to a specific form. I found a prior post here: Post 459 telling what to do, but I'm not sure "where" to do it.
Can anyone expound on exactly what form and how, where it needs to be altered? I understand the code, just not where to put it. Much thanks for any help. |
Take a lookat Bananalive's post below it https://vborg.vbsupport.ru/showpost....&postcount=461 with this go to Admincp>Plugins & Products>Add new plugin
Product: leave this alone Hook location: newthread_start Title: Form Button Excecution Order: leave this alone Plugin code: add the below changing the forum id's to that of the ones you want to control. HTML Code:
if (in_array($forumid, array(1,2,3))) { |
How can i insert my Forum Prefix`s in this Mod and a field for Images ??
|
Thanks much to Simon Lloyd. That clarification was just what I needed!
|
I have what is probably a very simple question for anyone with PHP experience... (which I unfortunately do not).
In the Form Hook: Form Start: field, I currently have the following code which requires users to have a post count of at least 30 to use the form: Code:
if($vbulletin->userinfo['posts'] < 30) I found the following code, but am not sure how to properly add it to what I have currently: Code:
$vbulletin->userinfo['joindate'] < TIMENOW - (86400 * 30) Thanks in advance for the help! |
Try this
PHP Code:
|
Thank you sir! That appears to work with some basic testing. Very much appreciated.
For the record, this is the final code I used, changing the error message to be more approprate: PHP Code:
|
All times are GMT. The time now is 07:44 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:
|