<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Manually &quot;Add a Site&quot; for your Users</title>
        <description>Here is an experimental code to let your Users manually &quot;Add a Site&quot;.

Add a new File &quot;addurl.php&quot; in the root directory eg. search.php

[CODE]



[/CODE]

Add a new File addurl.html in your templates Folder

[CODE]





URL:
Title: 
Short description:



</description>
        <link>http://www.sphider.eu/forum/read.php?3,1914,1914#msg-1914</link>
        <lastBuildDate>Mon, 20 May 2013 23:21:39 +0300</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,8474#msg-8474</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,8474#msg-8474</link>
            <description><![CDATA[ Im getting this error Parse error: syntax error, unexpected ';' in /homepages/2/d300616326/htdocs/test/templates/standard/addurl.php on line 24]]></description>
            <dc:creator>email@pinkenergy.org</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 21 May 2011 15:43:35 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,8217#msg-8217</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,8217#msg-8217</link>
            <description><![CDATA[ Help, I get this error<br />
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/busca/addurl.php:1) in /home/janelu/public_html/busca/addurl.php on line 11]]></description>
            <dc:creator>janelu</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 06 Jan 2011 20:17:12 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7986#msg-7986</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7986#msg-7986</link>
            <description><![CDATA[ I also noticed, if a user does not enter the Title and description, then it will not have one in the Directory Listing<br />
Otherwise its working fine.]]></description>
            <dc:creator>Will</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sun, 26 Sep 2010 08:47:19 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7979#msg-7979</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7979#msg-7979</link>
            <description><![CDATA[ Works like a charm. <br />
<br />
But does this leave a security hole?]]></description>
            <dc:creator>Will</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 25 Sep 2010 13:00:48 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7950#msg-7950</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7950#msg-7950</link>
            <description><![CDATA[ I've done everything but I get this error:<br />
<br />
Parse error: syntax error, unexpected T_STRING in /home/elececou/domains/electronicenterprise.co.uk/public_html/search/addurl.php on line 16]]></description>
            <dc:creator>redrob</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sun, 19 Sep 2010 04:58:30 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7862#msg-7862</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7862#msg-7862</link>
            <description><![CDATA[ you can setup an email acount for this<br />
make a contact form that onley has one input forr the url<br />
so people can send you the urls the want to submit and then you can subbmet them your self]]></description>
            <dc:creator>ahmed.musa.a</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Tue, 24 Aug 2010 17:58:11 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7527#msg-7527</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7527#msg-7527</link>
            <description><![CDATA[ problem fixed]]></description>
            <dc:creator>bharanikumariyerphp</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 05 Jun 2010 15:40:52 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7517#msg-7517</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7517#msg-7517</link>
            <description><![CDATA[ There is an old post, with this source - it should still work! ( This post is from the user -Tec- )]]></description>
            <dc:creator>PiOnEeRReSeArCH</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 02 Jun 2010 22:53:30 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7362#msg-7362</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7362#msg-7362</link>
            <description><![CDATA[ Sory , Can you upload this source please.<br />
And How to enable selecting the categories.<br />
Thanks]]></description>
            <dc:creator>Daku</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 17 Apr 2010 22:09:25 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7337#msg-7337</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7337#msg-7337</link>
            <description><![CDATA[ I fixed the problem was of the smiley]]></description>
            <dc:creator>Daku</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Tue, 06 Apr 2010 22:46:09 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,7335#msg-7335</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,7335#msg-7335</link>
            <description><![CDATA[ <b>Parse error: syntax error, unexpected ';' in /home2/muhabetl/public_html/addurl.php on line 16</b>]]></description>
            <dc:creator>Daku</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Tue, 06 Apr 2010 21:42:49 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6725#msg-6725</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6725#msg-6725</link>
            <description><![CDATA[ addurl.php upload? :(]]></description>
            <dc:creator>JokikeR</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 04 Nov 2009 13:46:24 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6717#msg-6717</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6717#msg-6717</link>
            <description><![CDATA[ the problem is the ;) when i copy this i become:<br />
<br />
winking smiley]]></description>
            <dc:creator>GooMan</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 31 Oct 2009 00:13:17 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6424#msg-6424</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6424#msg-6424</link>
            <description><![CDATA[ Hi,<br />
	<br />
I've done everything but I get this error:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /usr/home/DOMAIN/addurl.php on line 52<br />
<br />
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/DOMAIN/addurl.php on line 52<br />
Access denied for user 'root'@'localhost' (using password: NO)<br />
Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /usr/home/DOMAINaddurl.php on line 58<br />
<br />
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /usr/home/DOMAIN/addurl.php on line 64<br />
<br />
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/DOMAIN/addurl.php on line 64<br />
Access denied for user 'root'@'localhost' (using password: NO)<br />
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /usr/home/DOMAIN/addurl.php on line 69<br />
<br />
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/DOMAIN/addurl.php on line 69<br />
Access denied for user 'root'@'localhost' (using password: NO)<br />
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/home/DOMAIN/addurl.php on line 74<br />
<br />
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /usr/home/DOMAIN/addurl.php on line 78<br />
<br />
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/DOMAIN/addurl.php on line 78<br />
Access denied for user 'root'@'localhost' (using password: NO)<br />
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/home/DOMAIN/addurl.php on line 83<br />
Access denied for user 'root'@'localhost' (using password: NO) 2.) create a file addurl.html and place it in /template/standard/ directory watch out for my css<br />
<br />
<br />
<br />
<br />
<br />
<br />
Please someone help me <br />
<br />
Thank you very much!]]></description>
            <dc:creator>sergiodik</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Mon, 03 Aug 2009 16:41:58 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6365#msg-6365</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6365#msg-6365</link>
            <description><![CDATA[ anything for the wordpress sphider plugin]]></description>
            <dc:creator>alexduvot</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 22 Jul 2009 06:40:48 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6341#msg-6341</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6341#msg-6341</link>
            <description><![CDATA[ My problem is that it will allow submitters to re-add a site if it has already been indexed *actually I fixed it*]]></description>
            <dc:creator>walapu</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Fri, 17 Jul 2009 13:28:44 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6183#msg-6183</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6183#msg-6183</link>
            <description><![CDATA[ Anthony42 Wrote:<br />
-------------------------------------------------------<br />
&gt; Yes is working now, i must have done something<br />
&gt; wrong<br />
&gt; <br />
&gt; I just have a issue in the admin.  After indexing<br />
&gt; a site the status  stays at  Not indexed but<br />
&gt; schould change to the indexing date?<br />
&gt; <br />
&gt; <br />
&gt; Thank you<br />
&gt; <br />
&gt; anthony<br />
<br />
<br />
and here is another problem im having as anthony42 is having please tell us how to fix these problems]]></description>
            <dc:creator>lex</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 04 Jun 2009 20:09:52 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6182#msg-6182</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6182#msg-6182</link>
            <description><![CDATA[ Anthony42 Wrote:<br />
-------------------------------------------------------<br />
&gt; Yes is working now, i must have done something<br />
&gt; wrong<br />
&gt; <br />
&gt; I just have a issue in the admin.  After indexing<br />
&gt; a site the status  stays at  Not indexed but<br />
&gt; schould change to the indexing date?<br />
&gt; <br />
&gt; <br />
&gt; Thank you<br />
&gt; <br />
&gt; anthony<br />
<br />
<br />
and here is another problem im having as anthony42 is having]]></description>
            <dc:creator>lex</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 04 Jun 2009 20:09:37 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,6181#msg-6181</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,6181#msg-6181</link>
            <description><![CDATA[ mh0825 Wrote:<br />
-------------------------------------------------------<br />
&gt; No message is displayed when the site is<br />
&gt; submitted.  The message in addurl.php is not<br />
&gt; displayed when successfully done.  <br />
&gt; <br />
&gt; ALso, any chance of a cron job to auto index at<br />
&gt; least the first level of links on the domain? <br />
&gt; That way the main links on the site are indexed<br />
&gt; immediately but to do a full index, it requires<br />
&gt; admin.<br />
<br />
yes i have the same problem after submit no massege displayed for user adding the url please can some fix this?]]></description>
            <dc:creator>lex</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 04 Jun 2009 18:28:38 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,5971#msg-5971</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,5971#msg-5971</link>
            <description><![CDATA[ this does not work on the wordpress plugin<br />
<br />
please update code]]></description>
            <dc:creator>alexduvot</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 09 Apr 2009 07:39:43 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,5931#msg-5931</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,5931#msg-5931</link>
            <description><![CDATA[ Can someone please summarize this thread including the full code to do this?]]></description>
            <dc:creator>tommac</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Mon, 30 Mar 2009 19:27:01 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,5926#msg-5926</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,5926#msg-5926</link>
            <description><![CDATA[ an if block will control what text you want to show depending on error or success. also regarding the url box, you can use regular expression like the following. https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?  , <br />
<br />
i had implemented it in one of my test sites. lost everything. just downloaded the source code afresh. will give it a look and check back.]]></description>
            <dc:creator>deepak</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sun, 29 Mar 2009 23:44:15 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,5018#msg-5018</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,5018#msg-5018</link>
            <description><![CDATA[ I have a couple simple questions related to this Submit a Site page. <br />
<br />
If I wanted the output text that says something like...&quot;Thank you for submitting your website&quot;...to be in a different color, like green for success and red for an error message, how would I do that? I don't know PHP, so I'm not sure what kind of tags I can add, if any. <br />
<br />
I also noticed I can type just about anything in the url box and it accepts it. I tried to make it show one of the two errors in addurl.php, but I could not even if I type gibberish into the form. Any idea why?<br />
<br />
<br />
Thanks,<br />
Selym]]></description>
            <dc:creator>selym</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 24 Sep 2008 07:03:38 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,4706#msg-4706</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,4706#msg-4706</link>
            <description><![CDATA[ How to generate the default link submit form that is in the admin section be shown .. instead of the static user submit form?<br />
<br />
which contains:<br />
<br />
Link URL<br />
Link Title<br />
Link Desscription<br />
Link Category (if there is):<br />
<br />
Thanks!]]></description>
            <dc:creator>bgg</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sat, 09 Aug 2008 15:30:42 +0300</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3770#msg-3770</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3770#msg-3770</link>
            <description><![CDATA[ Just a quick update, the form variables hidden via CSS did capture a number of auto-submitters that work around captcha.]]></description>
            <dc:creator>inmotion</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Sun, 16 Mar 2008 19:33:41 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3509#msg-3509</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3509#msg-3509</link>
            <description><![CDATA[ I did something similar to this for our Sphider deployment ( [<a href="http://www.petadvantage.com" rel="nofollow" >www.petadvantage.com</a>] ).  One issue I have run into, which I am sure others are experiencing the same thing, is the amount of spam submissions received.<br />
<br />
We use a CAPTCHA challenge which stops most issues, however, we still get bots submitting - likely ones that are getting smarter.<br />
<br />
My Planned Approach:<br />
I am going to test something that should work.  The bots that are coming by are submitting what looks to be similar to guest book entries.  With that in mind, bots are stupid and do not read the CSS of a given page.  I will be adding a few extra for fields that, via CSS, are not visible to the human visitor.  The fields will be  named &quot;subject&quot;, &quot;name&quot;, &quot;feedback&quot;.<br />
<br />
What I expect to occur is that human submitters will fill in the URL and Comments field but not the extra fields hidden by the CSS.  The bots, however, will see the other fields and fill them in.  During the form processing, I do not plan to change the visible behavior to the bot to make them think it was a successful submission.  On the back side, silently dispose of the submitted data before entering into the DB for processing.<br />
<br />
I'll try to get testing on this during the week next week as time permits.  Your thoughts and feedback on this would be great.  My current Add Your Site form doesn't use the code above, but the data capturing is essentially the same:<br />
[<a href="http://www.petadvantage.com/submit.php" rel="nofollow" >www.petadvantage.com</a>]]]></description>
            <dc:creator>inmotion</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Fri, 08 Feb 2008 14:40:20 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3507#msg-3507</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3507#msg-3507</link>
            <description><![CDATA[ it works good for me]]></description>
            <dc:creator>jack</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Thu, 07 Feb 2008 18:13:04 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3256#msg-3256</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3256#msg-3256</link>
            <description><![CDATA[ Category forms don't show up when adding the URL... I want users to be able to select the categories for their site that they're adding.]]></description>
            <dc:creator>mh0825</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 09 Jan 2008 18:28:41 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3251#msg-3251</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3251#msg-3251</link>
            <description><![CDATA[ Never mind on the message, it's there just not how I wanted it.<br />
<br />
I'm looking into the auto index of just the first level of the domain upon entry.]]></description>
            <dc:creator>mh0825</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 09 Jan 2008 07:15:38 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.sphider.eu/forum/read.php?3,1914,3250#msg-3250</guid>
            <title>Re: Manually &quot;Add a Site&quot; for your Users</title>
            <link>http://www.sphider.eu/forum/read.php?3,1914,3250#msg-3250</link>
            <description><![CDATA[ No message is displayed when the site is submitted.  The message in addurl.php is not displayed when successfully done.  <br />
<br />
ALso, any chance of a cron job to auto index at least the first level of links on the domain?  That way the main links on the site are indexed immediately but to do a full index, it requires admin.]]></description>
            <dc:creator>mh0825</dc:creator>
            <category>Sphider Mods</category>
            <pubDate>Wed, 09 Jan 2008 06:24:51 +0200</pubDate>
        </item>
    </channel>
</rss>
