AndrewD |
04-28-2005 05:14 PM |
Quote:
Originally Posted by sherykah
hello Andrew,
I've installed your this code onto my board and i like it very much. I would like to use it in a second version to collect information in a directory format. Your program is very simple to use and I want to know if a can use it again with one code change. I need to turn off the link verifcation system. I want a member to add information on a performance location that maynot have a web address. I will need to turn off the need to add a url and the verifcation of a url being added to every entry. Is this possible?
|
This is already coded - if you go to the admin page and set allow_null_links to 1, then the url field can be left empty. You may want to change some of the phrases to explain the consequences. You should probably also edit local_links.php, go to the section which starts
Code:
// #################### Add Entry
if ($_REQUEST['action'] == "addlink") {
and change the line
Code:
$linkurl = "http://";
to whatever you want to If you want to skip showing the url box altogether, then you need to edit the link_addnewlink templates, and change the line
Code:
<input type="text" class="bginput" name="linkurl" value="$linkurl" size="50" />
, e.g. to [code]<input type="hidden" name="linkurl" value="$linkurl" />
|