Results 1 to 9 of 9

Thread: "Contact the webmaster" form ?

  1. #1
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    108

    Default "Contact the webmaster" form ?

    Hello,

    In the IndexU templates, there is nowhere a link to contact the webmaster of the site.
    It's stupid to write "in clear" a mail address (it's a spam magnet), even with a JavaScript to deceive the spam robots.

    So, I suppose all the elements (classes and php files) to create a form to contact the webmaster are already in the IndexU script. The captcha is still existing, but where are the other pieces ?
    Is it possible to create such a form using elements from IndexU instead of using an "imported" script ?

    Thanks a lot for any solution.

    Mickey

  2. #2
    Join Date
    May 2007
    Posts
    30

    Default

    Hi,

    Do want I did, Place a "contact us" link on your header? and place the code in the hyperlink. /sendmail.php?u=admin.

    Simple solution.

  3. #3
    Join Date
    Jul 2006
    Location
    Paris, France
    Posts
    108

    Default It works :)

    Quote Originally Posted by prowler View Post
    Hi,

    Do want I did, Place a "contact us" link on your header? and place the code in the hyperlink. /sendmail.php?u=admin.

    Simple solution.
    Thanks a lot, it works.

    But I use a simple "passive" directory, without mailing list, without "users" nor "editors", and without reviews, votes nor ratings. So, I had to create an account for "admin" (in "/cp"), adding my e-mail address in this account. The e-mail address put in the "/admin" section is not working with the e-mail from the "/cp" section.

    To don't give bad ideas to spammers, I changed the "/sendmail.php?u=admin" URL into an html URL (URL rewriting in ".htaccess" file). Spammers (or simply stupid people) could try hundreds of terms to replace "admin". It sends nothing, but it could avoerload the web host (I suppose).

    Thanks a lot.

    Mickey

    PS : Dody (or Zubby)... Could you tell me if a spammer putting lots of terms to replace "admin" in "/sendmail.php?u=admin" could overload the web host ? What are the consequences ?

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

    Default

    Define "lots" of queries to a URL, 1000 per day? 10,000 per hour? It all depends on what kind of hardware is behind the site as to how many hits on a url it would take before something happens.

    What will happen? Load will go up on the server and it will start running slower and slower until something eventually crashes such as apache. However something like this is going to take thousands of requests per second on a decent server.

  5. #5
    Join Date
    Aug 2007
    Posts
    63

    Red face contact.php? How is it done?

    Hi everyone,
    I'm a newbie here and just got my indexu up and running a few days ago at
    Vitisearch Grape Grower Portal

    What I would like is a Contact Us link at the top of the page to a
    form page like they use at
    Directory of niche and regional/local directories only - IndexU Directory or exactly
    Contact Us - IndexU Directory

    Can anyone tell me where to start? It seems simple, clean and uses captcha.
    Best regards,
    Michel White

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

    Default

    Which is exactly what you get if you use /sendmail.php?u=admin as mentioned above

    The sendmail.php part is the page of the mail form. The ?u=admin just means people are emailing the admin user.

  7. #7
    Join Date
    Aug 2007
    Posts
    63

    Default

    Sadly enough I only have a rough idea of what you mean Bruceper.
    Do you mean that I make a copy of sendmail.php, rename it to contact.php
    and then make a "Contact Us" link to http://www.vitisearch.com/contact.php?u
    I just tried this, got to a form and tried to send it but it gave a 505 error. I then
    added =admin to the url above and sent an email to myself and it worked.

    Thanks, you have at least gotten me a lot closer to what I have to do.
    Michel

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

    Default

    You don't need to make a copy of any file, just add the link at the top of the top (and/or bottom).

    You can make a copy, but it's not necessary.

  9. #9
    Join Date
    Aug 2007
    Posts
    63

    Default Thanks

    I did make a copy simply because I want the Contact Us form to say
    "Contact Us" instead of what it said before...
    At any rate I wouldn't have been able to do it without your help and all is hunky dory,
    Thanks,
    Michel

Similar Threads

  1. Replies: 1
    Last Post: 01-22-2007, 08:18 PM
  2. Put "-" instead of "," between subcategories names
    By Mickey in forum Blocks and Modification
    Replies: 2
    Last Post: 09-17-2006, 08:27 PM
  3. Changing color of "new" and "hot"
    By Hetti in forum Indexu Lite
    Replies: 2
    Last Post: 09-10-2004, 09:46 AM
  4. Rename "Top" to "Index"
    By Robert in forum v5.x
    Replies: 2
    Last Post: 07-11-2004, 11:41 AM
  5. Replies: 1
    Last Post: 07-18-2002, 07:47 PM

Posting Permissions

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