<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Custom Header Message on POST</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 27 Apr 2026 16:34:01 -0000</pubDate>

		<item>
			<title>Gökhan YILDIZ</title>
			<description><![CDATA[<p>messages appear on the page itself a special. so you need to edit or need to run your plugin <u>header </u>So create your own plugin with a language file and add these codes into.</p>
]]></description>
			<pubDate>Wed, 06 Nov 2013 16:07:11 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7576&d=0#post38359]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>Thanks for the reply. It works, but I was hoping for something that wouldn't require a core hack.</p>
]]></description>
			<pubDate>Wed, 06 Nov 2013 15:18:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7576&d=0#post38356]]></link>
		</item>
		<item>
			<title>Gökhan YILDIZ</title>
			<description><![CDATA[<p>open your plugin and</p>

<p>add</p>

<pre class="brush:php;">
$msg = cot_import('msg', 'G', 'INT');</pre>

<pre class="brush:php;">
if ($msg == 'customID'){ header("Location: message.php?msg=customID"); }</pre>

<p>open your /lang/en/message.en.lang.php</p>

<p>find:</p>

<pre class="brush:php;">
$L['msg951_body'] = 'Your session is no longer valid. Please try again.';</pre>

<p>add after:</p>

<pre class="brush:php;">
//Custom Message
$L['msgCUSTOMID_title'] = 'custom message title';
$L['msgCUSTOMID_body'] = 'custom message details';</pre>

<p> </p>
]]></description>
			<pubDate>Tue, 05 Nov 2013 15:59:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7576&d=0#post38334]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>Hello,</p>

<p><span style="line-height:1.6em;">In a plugin I'm modifying, after the user submits a form the following code is executed</span><span style="line-height:1.6em;">:</span></p>

<pre class="brush:php;">
		header("Location: message.php?msg=300");</pre>

<p>outputting one of cotonti's built-in messages. How can I deliver a custom message using the same mechanism?</p>

<p>Hodges</p>
]]></description>
			<pubDate>Tue, 05 Nov 2013 15:02:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7576&d=0#post38332]]></link>
		</item>
	</channel>
</rss>