PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
catweazle
Regular
Regular


Joined: Oct 14, 2006
Posts: 60
Location: Norway

PostPosted: Thu May 08, 2008 6:23 pm Reply with quote Back to top

Hi All.

A regular link to PM someone will look something like this:

Code:
modules.php?name=Private_Messages&file=index&mode=post&u=2

.. which of will open the PM window with the users name in the TO field.

Is there a way to alter the above link to make the PM window open with a "predefined text" in the SUBJECT as well?
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu May 08, 2008 10:33 pm Reply with quote Back to top

I don't have time right now to do more than just give you a hint and hope that it's enough Wink

In modules/Private_Messages/index.php find the couple of references to 'SUBJECT' => and play around with assigning a specific subject rather than 'SUBJECT' => $msg_subject,
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
catweazle
Regular
Regular


Joined: Oct 14, 2006
Posts: 60
Location: Norway

PostPosted: Thu May 08, 2008 11:52 pm Reply with quote Back to top

Thanks alot for your time, and for pointing me in the right direction Smile

I do have an idea of what to do... - not quite sure on how to make it work from this one spesific link only though.

Thanks once again! Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum