Custom form Tutorial - Script not working
3 posters
Page 1 of 1
Custom form Tutorial - Script not working
Hello,
i am using the tutorial where you can add a custom Form on topic creation and for some reason it's not showing up in the text box (which is default) can someone please check the script to see if i have done it correctly and maybe provide a working fix.
If you need my Forum information let me know so that i can edit this thread and add in the Information you need hopefully this can be fixed. here is the tutorial link so you know which one i am following it say's for all Forums i am using PHPBB2.
@Ange Tuteur
Tutorial Thread for Custom Form
Custom Form Tutorial
Thank You.
i am using the tutorial where you can add a custom Form on topic creation and for some reason it's not showing up in the text box (which is default) can someone please check the script to see if i have done it correctly and maybe provide a working fix.
If you need my Forum information let me know so that i can edit this thread and add in the Information you need hopefully this can be fixed. here is the tutorial link so you know which one i am following it say's for all Forums i am using PHPBB2.
@Ange Tuteur
Tutorial Thread for Custom Form
Custom Form Tutorial
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=30&mode=newtopic') {
$('#text_editor_textarea').val('[color=#FFFFFF][b]Support Type[/b][/color]:/n[color=#369FCF][b]Your new Forum Name[/b][/color]:/n[color=#FFFFFF][b]Ban/Suspension length[/b][/color]:/n[color=#369FCF][b]New Account Icon[/b][/color]:/n[color=#FFFFFF][b]Have you Forgot a Password[/b][/color]:/n[color=#369FCF][b]Avatar / Signiture Change[/b][/color]:/n[color=#FFFFFF][b]Missing Forum Badge[/b][/color]:/n[color=#369FCF][b]Reporting a PM[/b][/color]:/n[color=#FFFFFF][b]Forum Link to last Post[/b][/color]:/n[color=#369FCF][b]Other Account Issue[/b][/color]:/n[color=#FFFFFF][b]Detailed Description / Include screenshots[/b][/color]:');
}
});
Thank You.
Last edited by Matikka on Tue 6 Dec - 18:27; edited 1 time in total
Re: Custom form Tutorial - Script not working
You typed the wrong code for line breaks.
/n should be \n.
/n should be \n.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Custom form Tutorial - Script not working
Sorry would have replied sooner but Internet has been down all day for Maintenence, I changed the line break to the one you stated and the text still dosen't show in the text box
Re: Custom form Tutorial - Script not working
And you are sure you linked the correct topic number with this?
Like this topic, for example, is '43'. so it would be '?f=43&mode=newtopic'
- Code:
?f=30&mode=newtopic
Like this topic, for example, is '43'. so it would be '?f=43&mode=newtopic'
Re: Custom form Tutorial - Script not working
Problem solved & topic archived.
|
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Contact Form Tutorial (Help)
» tutorial ad a message to thanked no working
» Show/hide script not working
» Form no longer working - Code not modified
» WalkMe Tutorial Not Working
» tutorial ad a message to thanked no working
» Show/hide script not working
» Form no longer working - Code not modified
» WalkMe Tutorial Not Working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum