default message
5 posters
Page 2 of 2
Page 2 of 2 • 1, 2
default message
First topic message reminder :
i sued this tutorial http://www.fmcodes.com/t797-set-default-message-in-a-textarea but when i went to create a enw topic nothing showed up
btw my forum version is punbb
i sued this tutorial http://www.fmcodes.com/t797-set-default-message-in-a-textarea but when i went to create a enw topic nothing showed up
btw my forum version is punbb
Last edited by darkgoku on Sat Oct 18 2014, 17:48; edited 2 times in total
darkgoku- Forumember
- Posts : 326
Reputation : 3
Language : English
Re: default message
MrMind wrote:Mati™ wrote:Only edit the id and it should work simple as that.
Unfortunately it doesn't.
Are you trying to add this on your forum?
Re: default message
Last thing, try this:
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
$('#text_editor_textarea').val('[b]Website Name[/b]:\n[b]Web Address[/b]:\n[b]Language[/b]:\n[b]Description[/b]:');
}
});
Last edited by Ramdaman on Sat Oct 18 2014, 17:37; edited 1 time in total
Re: default message
I am helping darkgoku for this in his forum but also on my forum does not work either.
@Ramdaman: Tested the last code you sent but still nothing!
@Ramdaman: Tested the last code you sent but still nothing!
Last edited by MrMind on Sat Oct 18 2014, 17:38; edited 1 time in total
Re: default message
Ramdaman wrote:Last thing, try this:
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
$('#text_editor_textarea').val('[b]Website Name[/b]:\n[b]Web Address[/b]:\n[b]Language[/b]:\n[b]Description[/b]:');
}
});
Edited. Try this.
Re: default message
MrMind wrote:I am helping darkgoku for this in his forum but also on my forum does not work either.
@Ramdaman: Tested the last code you sent but still nothing!
Re: default message
The placement has to be "In all the pages" or he may have some other script that can block this but i dont think so cuz it works on my forum.
Re: default message
Mati™ wrote:The placement has to be "In all the pages" or he may have some other script that can block this but i dont think so cuz it works on my forum.
It is set to all pages but it doesn't seem to work. I don't know that much about javascripts to tell you if some other javascript blocks this one.
Re: default message
I need to test it myself cuz it works on my forum I'll wait for darkgoku to send me a PM with a test account.
Re: default message
i have fixed it i believe it was a code blocking it but its fixed thanks for the help
darkgoku- Forumember
- Posts : 326
Reputation : 3
Language : English
Re: default message
It is now fixed.
Using this code:
Problem Solved!
Using this code:
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
$('#text_editor_textarea').val('[b]Username[/b]:\n[b]Suggestion Name[/b]:\n[b]Suggestion Description[/b]:\n[b]Comments[/b]:');
}
});
Problem Solved!
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: default message
Glad to be of service, and I'm glad you guys found that code that was blocking it
Page 2 of 2 • 1, 2
Similar topics
» Remove, "The author of this message was banned from the forum - See the message"
» What happened to message page "Your message has been posted..."?
» [ONLY TOPIC] Roundcube webmail does not work
» [phpbb3] Changing the Information Notice Message? Or make a new Information Notice Message?
» Default Language
» What happened to message page "Your message has been posted..."?
» [ONLY TOPIC] Roundcube webmail does not work
» [phpbb3] Changing the Information Notice Message? Or make a new Information Notice Message?
» Default Language
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum