Results 1 to 4 of 4

Thread: Make URL field so it is NOT mandatory

  1. #1
    Join Date
    Mar 2005
    Posts
    37

    Question Make URL field so it is NOT mandatory

    The people placing adverts on my index might not have a web site - I don't want to send them packing as it seems this field is mandatory. Any simply way or removing this mandatory requirement?

    Thanks

    Glenn.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Assuming you're talking about 5.41, if it's any other version then you need to search for similar code

    line 216 and 217

    Change

    elseif (empty($url) || $url == 'http://')
    $error_msg = $msg["10102"];

    to

    // elseif (empty($url) || $url == 'http://')
    // $error_msg = $msg["10102"];

    I think that's all that's required. You may also need to alter your database table idx_link and change url from NOT NULL to NULL

  3. #3
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    You will have to change files in the admin directory also.

    just do a search for the same string and you will find the files
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  4. #4
    Join Date
    Mar 2005
    Posts
    37

    Default

    Thanks guys - worked.

Similar Threads

  1. looking for someone to make changes to my site(s)
    By inet in forum Help Wanted/Job Request
    Replies: 2
    Last Post: 11-25-2007, 01:59 PM
  2. How make other admin?
    By Giorgiotave in forum v5.x
    Replies: 4
    Last Post: 07-22-2007, 11:06 AM
  3. Make cat image even?
    By eMax in forum v5.x
    Replies: 17
    Last Post: 05-14-2006, 11:06 PM
  4. Let's make some money!
    By esm in forum v5.x
    Replies: 8
    Last Post: 01-09-2005, 07:08 PM
  5. Help Us Make this Easy, Please
    By Hart_House in forum v5.x
    Replies: 0
    Last Post: 11-21-2001, 09:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •