If you only want to accept submissions from organizations with a website, then follow these steps to modify your script.
- In wdcfg.php, find WDURLOPTIONAL and comment like thisCode:
//define('WDURLOPTIONAL', 1); - Download the urlonly.zip file
- Replace your index.php file with the one in the Zip file
- In t!wdviewhome.html replace
withCode:<div id="featuredBox"> <h2>Featured listing:</h2> <div id="featuredEntry"> <a href="%7b$moreInfo%7d" title="{$entryTitle}"><img src="uploads/{$entryID}_th.jpg" alt="{$entryTitle}" class="thumb" /></a> <h3><a href="%7b$moreInfo%7d" title="More information for: {$entryTitle}">{$entryTitle}</a></h3> <div class="entdescF">{$entryDesc}</div> <div class="lnkurlF">{$entryURL}</div> <div class="lnkop"><a href="%7b$moreInfo%7d" title="More information for: {$entryTitle}">More info</a> | <a href="%7B$catURL%7D">More like this</a></div> </div></div>
Code:<div id="featuredBox"> <h2>Featured listing:</h2> <div id="featuredEntry"> <a href="%7b$entryURL%7d" title="{$entryTitle}"><img src="uploads/{$entryID}_th.jpg" alt="{$entryTitle}" class="thumb" /></a> <h3><a href="%7b$entryURL%7d">{$entryTitle}</a></h3> <div class="entdescF">{$entryDesc}</div> <div class="lnkurlF">{$entryURL}</div> <div class="lnkop"><a href="%7b$moreInfo%7d" title="More information for: {$entryTitle}">More info</a> | <a href="%7B$catURL%7D">More like this</a></div> </div></div> - In t!wdmod.html replace
withCode:<input type="text" name="URL__url_max100" id="URL__url_max100" value="{$url}" size="40" maxlength="100" tabindex="5" {$readOnly}/>
Code:<input type="text" name="URL__req_url_max100" id="URL__req_url_max100" value="{$url}" size="40" maxlength="100" tabindex="5"/> - In t!wdadd.html replace
withCode:<input type="text" name="URL__url_max100" id="URL__url_max100" value="{$url}" size="40" maxlength="100" tabindex="1"/>
Code:<input type="text" name="URL__req_url_max100" id="URL__req_url_max100" value="{$url}" size="40" maxlength="100" tabindex="1"/> - You might have to clear the cache to see your changes.


Menu