Results 1 to 2 of 2

Thread: Site after I vote for a link ?

  1. #1
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default Site after I vote for a link ?

    ai,

    after I vote a link indexu shows the site "Thank you bla bla" (rating.php).

    Did someone change that, that the user will be forwarded after a small time to the link he voted or something else ?

    Hm,perhaps the same problem with some required fields in header template ?

    Greetings
    Frank

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default Re: Site after I vote for a link ?

    while there are probably many ways to do it, I can think of only one way.

    make a copy of header.html and add the following line to the meta section:
    Code:
    <meta http-equiv="Refresh" content="5; URL=browse.php">
    or maybe
    Code:
    <meta http-equiv="Refresh" content="5; URL=http://www.your_site.com/browse.php">
    change the time and url to whatever. save it as header_ref.html

    then in rating.php make the following change:
    Code:
      // success
      if($rating_result==0) {
        $title = $links_obj->GetLinkTitle($id);
    DisplayTemplate($theme_path."header_ref.html","\$title,\$cat");
        DisplayTemplate($theme_path."rating_ok.html","\$novars");
    DisplayTemplate($theme_path."footer.html","\$cat,\$ma");
      }
    I did not test this. but it seems like it would work. But then my brain does not think like a computer so....
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Replies: 0
    Last Post: 02-13-2004, 08:56 PM
  2. Linked site in a frame ?
    By Frank71 in forum v3.2
    Replies: 11
    Last Post: 09-01-2003, 04:37 PM
  3. INDEXU FEATURES
    By Hart_House in forum Pre-Sales Questions
    Replies: 13
    Last Post: 06-30-2003, 11:57 AM
  4. Replies: 5
    Last Post: 06-04-2003, 06:12 AM
  5. Replies: 0
    Last Post: 08-29-2001, 07:31 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
  •