Anyway to enable post templates?
4 posters
Page 1 of 1
Anyway to enable post templates?
Is there an option when creating a forum that when a user creates a topic in that forum, the topic is filled in with a post template the member can fill in?
Re: Anyway to enable post templates?
Hello,
Yes, but you need edit all templates, and you will have bugs, but you can create html page for it.
Yes, but you need edit all templates, and you will have bugs, but you can create html page for it.
Re: Anyway to enable post templates?
As Zyon said, your safest bet is to create HTML pages to do that.
You could edit your templates, but that's not really viable for every forum, so it's only for certain cases.
JavaScript is also unreliable because the user can always disable it.
You could edit your templates, but that's not really viable for every forum, so it's only for certain cases.
JavaScript is also unreliable because the user can always disable it.
Re: Anyway to enable post templates?
And you can edit in templates new topic for each forum, and set html page, only you need to have few html pages for each forum.
But if you edit templates it will have A LOT OF BUGS, and with editing it too, so it is best to create html page, like on this forum, when you click up on link create tutorial (up, in navbar), you get html page with template for that, and when you choose sent, it sent topic direct to tutorials proposal. If you think on that. Also you can add more options of corse
But if you edit templates it will have A LOT OF BUGS, and with editing it too, so it is best to create html page, like on this forum, when you click up on link create tutorial (up, in navbar), you get html page with template for that, and when you choose sent, it sent topic direct to tutorials proposal. If you think on that. Also you can add more options of corse
Re: Anyway to enable post templates?
You could try this script:
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
Name: What you wish
Placement: In all the pages
Source:
You'll need to edit the underlined value to your forums FID(Forum ID).
('/post?f=1&mode=newtopic')
You can see this in the address bar while in your forum, or creating a new topic. It needs to be the forum where you'll want this script to work.
Lastly is the text inserted into the SCEditor textarea.
Administration Panel > Modules > HTML & JAVASCRIPT > Javascript codes management
Name: What you wish
Placement: In all the pages
Source:
- Code:
jQuery(function() {
if (document.location.href.indexOf('/post?f=1&mode=newtopic') > -1) {
jQuery('#text_editor_textarea').text('[b]Field 1:[/b]\n[b]Field 2:[/b]\n[b]Feild 3:[/b]');
}
});
You'll need to edit the underlined value to your forums FID(Forum ID).
('/post?f=1&mode=newtopic')
You can see this in the address bar while in your forum, or creating a new topic. It needs to be the forum where you'll want this script to work.
Lastly is the text inserted into the SCEditor textarea.
- Code:
.text('[b]Field 1:[/b]\n[b]Field 2:[/b]\n[b]Feild 3:[/b]')
Similar topics
» Enable guests to post links
» Enable Own Post Icon
» Enable post and disable read!
» How to enable report post system
» How to enable only staff can post colorize title ?
» Enable Own Post Icon
» Enable post and disable read!
» How to enable report post system
» How to enable only staff can post colorize title ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum