<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Direct Linking</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 08 Apr 2026 03:27:06 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[That only disables anti-leech, nothing else is affected.]]></description>
			<pubDate>Fri, 17 Jul 2009 12:19:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post14422]]></link>
		</item>
		<item>
			<title>duck101</title>
			<description><![CDATA[Alright I replaced <pre class="code">	if ($_SESSION&#091;'dl'&#093;!=$pag&#091;'page_id'&#093;)
	{
		header('Location: ' . SED_ABSOLUTE_URL . sed_url('page', 'id='.$pag&#091;'page_id'&#093;));
		exit;
	}</pre>
<br />
With the code you gave me, It works what can I say your the best. My only worry is what all will this effect. For Ex. does this only have effect when I use LIST_ROW_DOWNLOAD <pre class="code">&quot;LIST_ROW_DOWNLOAD&quot; =&gt; empty($pag&#091;'page_url'&#093;) ? '' : sed_url('page', 'id='.$pag&#091;'page_id'&#093;.</pre> or any time I have a download in the download field will it always automatically download instead of going to the page first becuase I only want this to happen w/ list.flash.tpl and list.links.tpl]]></description>
			<pubDate>Fri, 17 Jul 2009 07:14:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post14407]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[It's something with the REFERER check (anti-leech). A dirty fix would be commenting that check in page.inc.php:<br />
<div class="highlight"><pre class="php">/*if ($_SESSION&#091;'dl'&#093;!=$pag&#091;'page_id'&#093;)
	{
		header('Location: ' . SED_ABSOLUTE_URL . $pag&#091;'page_pageurl'&#093;);
		exit;
	}*/</pre></div>]]></description>
			<pubDate>Fri, 17 Jul 2009 04:42:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post14395]]></link>
		</item>
		<item>
			<title>duck101</title>
			<description><![CDATA[yeah I figured that out thanks.<br />
<br />
but go <a href="http://www.pspextreme.comli.com/list.php?c=action" rel="nofollow">here</a> and click on one of them and every other time it will take you to what I put in the download field and the other half you'll just go to the page....why is this?]]></description>
			<pubDate>Fri, 03 Jul 2009 23:32:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post13760]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[<div class="highlight"><pre class="php">
&quot;LIST_ROW_ODDEVEN&quot; =&gt; sed_build_oddeven($jj),
&quot;LIST_ROW_DOWNLOAD&quot; =&gt; empty($pag&#091;'page_url'&#093;) ? '' : sed_url('page', 'id='.$pag&#091;'page_id'&#093;.'&amp;a=dl'),
));
</pre></div>
<br />
It should look like above, your missing a , at the end of the LIST_ROW_ODDEVEN line<br />
<br />
Side note, this FILEURL tag should be changed to this behaviour anyways (i'll do that)]]></description>
			<pubDate>Fri, 03 Jul 2009 23:25:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post13757]]></link>
		</item>
		<item>
			<title>duck101</title>
			<description><![CDATA[it didn't work :(<br />
<br />
<pre class="code">		&quot;LIST_ROW_URL&quot; =&gt; $pag&#091;'page_pageurl'&#093;,
		&quot;LIST_ROW_MORE&quot; =&gt; $pag&#091;'page_pageurl'&#093;,
		&quot;LIST_ROW_ID&quot; =&gt; $pag&#091;'page_id'&#093;,
		&quot;LIST_ROW_CAT&quot; =&gt; $pag&#091;'page_cat'&#093;,
		&quot;LIST_ROW_KEY&quot; =&gt; sed_cc($pag&#091;'page_key'&#093;),
		&quot;LIST_ROW_TITLE&quot; =&gt; sed_cc($pag&#091;'page_title'&#093;),
		&quot;LIST_ROW_DESC&quot; =&gt; $pag&#091;'page_desc'&#093;,
		&quot;LIST_ROW_DESC_OR_TEXT&quot; =&gt; sed_cutpost($pag&#091;'page_text'&#093;, 200, false),
		&quot;LIST_ROW_AUTHOR&quot; =&gt; sed_cc($pag&#091;'page_author'&#093;),
		&quot;LIST_ROW_OWNER&quot; =&gt; sed_build_user($pag&#091;'page_ownerid'&#093;, sed_cc($pag&#091;'user_name'&#093;)),
		&quot;LIST_ROW_DATE&quot; =&gt; @date($cfg&#091;'formatyearmonthday'&#093;, $pag&#091;'page_date'&#093; + $usr&#091;'timezone'&#093; * 3600),
		&quot;LIST_ROW_FILEURL&quot; =&gt; $pag&#091;'page_url'&#093;,
		&quot;LIST_ROW_SIZE&quot; =&gt; $pag&#091;'page_size'&#093;,
		&quot;LIST_ROW_COUNT&quot; =&gt; $pag&#091;'page_count'&#093;,
		&quot;LIST_ROW_FILEICON&quot; =&gt; $pag&#091;'page_fileicon'&#093;,
		&quot;LIST_ROW_FILECOUNT&quot; =&gt; $pag&#091;'page_filecount'&#093;,
		&quot;LIST_ROW_JUMP&quot; =&gt; sed_url('page', $page_urlp.'&amp;a=dl'),
		&quot;LIST_ROW_COMMENTS&quot; =&gt; $pag&#091;'page_comments'&#093;,
		&quot;LIST_ROW_RATINGS&quot; =&gt; $list_ratings,
		&quot;LIST_ROW_ADMIN&quot; =&gt; $pag&#091;'admin'&#093;,
		&quot;LIST_ROW_ODDEVEN&quot; =&gt; sed_build_oddeven($jj)
                  &quot;LIST_ROW_DOWNLOAD&quot; =&gt; empty($pag&#091;'page_url'&#093;) ? '' : sed_url('page', 'id='.$pag&#091;'page_id'&#093;.'&amp;a=dl'),
));</pre>
<br />
EDIT Never mind: It's because I didn't put a ,]]></description>
			<pubDate>Fri, 03 Jul 2009 23:22:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post13756]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[What you need for download link is adding something like<br />
<div class="highlight"><pre class="php">&quot;LIST_ROW_DOWNLOAD&quot; =&gt; empty($pag&#091;'page_url'&#093;) ? '' : sed_url('page', 'id='.$pag&#091;'page_id'&#093;.'&amp;a=dl'),</pre></div>
at about line 325.<br />
<br />
As for the admin thing, it is already there, use the {LIST_ROW_ADMIN}.]]></description>
			<pubDate>Fri, 03 Jul 2009 16:53:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post13748]]></link>
		</item>
		<item>
			<title>duck101</title>
			<description><![CDATA[Hey I was wondering if it is possible to &quot;direct link&quot; from the &quot;list&quot; to the page download/<br />
<br />
in the core list.inc.php this is the url for the page &quot;LIST_ROW_URL&quot; =&gt; $pag['page_pageurl'], so I need to combine that with 'PAGE_FILE_URL' =&gt; sed_url('page', &quot;id=&quot;.$pag['page_id'].&quot;&amp;a=dl&quot;) in the page.inc.php, but put the code in the list.inc.php.<br />
<br />
then because it links automatically to the download field url I need to be able to still edit it if I am the admin, so I put this in the list.inc.php <pre class="code">if ($usr&#091;'isadmin'&#093;)
{

	if($pag&#091;'page_state'&#093; == 1)
	{
		$validation = &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('admin', &quot;m=page&amp;s=queue&amp;a=validate&amp;id=&quot;.$pag&#091;'page_id'&#093;.&quot;&amp;amp;&quot;.sed_xg()).&quot;\&quot;&gt;&quot;.$L&#091;'Validate'&#093;.&quot;&lt;/a&gt;&quot;;
	}
	else
	{
		$validation = &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('admin', &quot;m=page&amp;s=queue&amp;a=unvalidate&amp;id=&quot;.$pag&#091;'page_id'&#093;.&quot;&amp;amp;&quot;.sed_xg()).&quot;\&quot;&gt;&quot;.$L&#091;'Putinvalidationqueue'&#093;.&quot;&lt;/a&gt;&quot;;
	}
	$t-&gt; assign(array(
			&quot;PAGE_ADMIN_COUNT&quot; =&gt; $pag&#091;'page_count'&#093;,
			&quot;PAGE_ADMIN_UNVALIDATE&quot; =&gt; $validation,
			&quot;PAGE_ADMIN_EDIT&quot; =&gt; &quot;&lt;a href=https://www.cotonti.com/\&quot;&quot;.sed_url('page', &quot;m=edit&amp;id=&quot;.$pag&#091;'page_id'&#093;.&quot;&amp;r=list&quot;).&quot;\&quot;&gt;&quot;.$L&#091;'Edit'&#093;.&quot;&lt;/a&gt;&quot;
			));
}
</pre>
so it doesn't work, I new that when I added it but I think I am missing the page identification code in from of the PAGE_ADMIN EDIT url<br />
<br />
is this possible or should I not be messing around w/ the core. I realize it might be better to make a plugin but I am not very good at editing plugins]]></description>
			<pubDate>Wed, 01 Jul 2009 00:56:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2912&d=0#post13612]]></link>
		</item>
	</channel>
</rss>