Quote:
Originally Posted by angelimnot
Does anyone know if there is a mod very very similar to this one...
https://vborg.vbsupport.ru/showthrea...ghlight=button
that will allow me to change the "New Thread" button with a different button, and have that page link to a form that I've created in my forums?
|
I don't know how to change your "New Thread" button but if you want your New Thread button to link to a form then create this plugin:
Title: Redirect New Thread to Form (
or whatever title that you will remember what it is)
Hook Location: newthread_start
Execution Order: 5 (
should be okay)
Plugin PHP Code:
PHP Code:
if (in_array($forumid, array(XX))) {
header( 'Location: http://www.form address goes here' ) ;
}
Change XX to the forum ID number where the New Thread button is that you want linked to your form.
Edit your form address in to the Location part of the code.