Menu

Problem in Web Links section

Help
2000-08-04
2000-08-29
  • Maximino Ameneiro

    When a user introduces an URL, PHP-Nuke says that the URL is waiting for confirmation to publish it, but in the admin section doesn't appear in the queue. Any suggestions?

     
    • Anonymous

      Anonymous - 2000-08-05

      It will not show up on the main admin page. You have to go to the weblinks page and the new submission will be there.

       
    • Anonymous

      Anonymous - 2000-08-25

      My users are having this problem also.  The thing which bothers me is that it used to work fine in version 2.02.  From there we went to 2.5 and now 3.0 an the links users submit don't show up anywhere I can find.  Links added by administrative users work fine.

      I'll try to figure out what's gone wrong.

       
    • Anonymous

      Anonymous - 2000-08-29

      I was having this same problem and the following change fixed it for me:

      Line 197 of links.php3 looked like this and weblinks did not work.

      mysql_query("insert into links_newlink values (NULL, '$cat[0]', '$cat[1]', '$title', '$url', '$description', '$name', '$email')");

      Changing it to:

      mysql_query("insert into links_newlink values (NULL, '$cat[0]', '$cat[1]', '$title', '$url', now(), '$description', '$name', '$email')");
                         ^^^^^^
      makes it work for my site again.  It looks like the now(), parameter got dropped somwhere along the way. 

      Sites pending approval again appear under Weblinks for administrators.

       
      • Anonymous

        Anonymous - 2000-08-29

        Further testing with version 3.0 shaows me that line 197 of links.php3 should read :

        mysql_query("insert into links_newlink values (NULL, '$cat[0]', '$cat[1]', '$title', '$url', '$description', now(), '$name', '$email')");

        the now(), entry should be placed between $description and $name and urls will be posted correctly.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.