Welcome Guest [Log In] [Register]
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:
Multiquote (on) Multiquote (off)
Locked Topic
[Solved] PM Title Autofill
Topic Started: Jan 4 2012, 10:39 PM (294 Views)
Trayzor-ZNS
Member
[ * ]
Hey there,

When I was a member of a zetaboards board many moons ago, they had a feature where if you clicked one of their links, it would open PM to a certain user and the PM Message Title was already prefilled.

Send to
Username232

Message Title
"Predefined Message"


How would I go about doing this for my own board? :)

Thank you in advance.
Edited by Trayzor-ZNS, Jan 4 2012, 10:42 PM.
Offline Profile Goto Top
 
Nemomon
Member Avatar
My dad's a soldier blue I'll be a soldier too
[ *  *  *  *  *  *  * ]
Trayzor
Jan 4 2012, 10:39 PM
Hey there,

When I was a member of a zetaboards board many moons ago, they had a feature where if you clicked one of their links, it would open PM to a certain user and the PM Message Title was already prefilled.

Send to
Username232

Message Title
"Predefined Message"


How would I go about doing this for my own board? :)

Thank you in advance.
Hello, You will need to add some additional stuff to the link URL.

I) For predefined title add this: &title=*title*

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&title=Hello my friend

II) For predefined message content add this: &post=*content*

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&post=Nemo is%0Aan idiot.

As You can see I have used %0A for a line break.

III) You can combine that values.

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&title=Hello my friend&post=Nemo is%0Aan idiot.

Remember, You must close whole link in [ur.l][/url] tags, oterwise the first space will break it.

===

IIII) You can use this also for topics too. The values for:

Description is: &description=*description*
Tags: &tags=*tags*
Offline Profile Goto Top
 
Trayzor-ZNS
Member
[ * ]
Nemomon
Jan 5 2012, 08:55 AM
Hello, You will need to add some additional stuff to the link URL.

I) For predefined title add this: &title=*title*

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&title=Hello my friend

II) For predefined message content add this: &post=*content*

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&post=Nemo is%0Aan idiot.

As You can see I have used %0A for a line break.

III) You can combine that values.

For example: http://if.invisionfree.com/msg/?c=2&mid=2088864&title=Hello my friend&post=Nemo is%0Aan idiot.

Remember, You must close whole link in [ur.l][/url] tags, oterwise the first space will break it.

===

IIII) You can use this also for topics too. The values for:

Description is: &description=*description*
Tags: &tags=*tags*
Exactly what I wanted, Thank you! :D
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Locked Topic