We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Default Topic/Description/Post for a certain forum; By Das
Topic Started: Jan 23 2010, 01:01 AM (68 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Das
Default Topic/Description/Post for a certain forum
 
Quote:
 
<script>
// Made By Das: http://support.invisionfree.com/index.php?showuser=34712
var url = "http://s15.invisionfree.com/Code_Test2/index.php?act=Post&CODE=00&f=2"

function default_message(Post) {
if (window.location == url) {
document.forms.REPLIER.Post.value = Post;
}
}

if (window.location == url) {
function default_topic_description(Desc) {
document.forms.REPLIER.TopicDesc.value = Desc;
}
}

if (window.location == url) {
function default_topic_title(Title) {
document.forms.REPLIER.TopicTitle.value = Title
}
}

var Post = 'Default Post For Forum 1';
var Desc = 'Default Description For Forum 1';
var Title = 'Default Title For Forum 1';

default_message(Post)
default_topic_description(Desc)
default_topic_title(Title)
</script>

Blue = Server Number
Green = Forum name
Orange = Default Messages


Place in footers.
Preview
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply