Mostviewed/lastcom/lastup is pointing to user gallery Mostviewed/lastcom/lastup is pointing to user gallery
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Mostviewed/lastcom/lastup is pointing to user gallery

Started by lasa, June 08, 2005, 05:43:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lasa

Hello dear Coppermine users,

I love the script, use it already a year but got a problem now :-\\.. The links "Most viewed", "Last comments", "Last upped" are pointing to an user gallery..

If I point my mouse to "Last comments", it goes to this url:
http://fotos.lasa.nl/thumbnails.php?album=lastcom&cat=10006

What am I doing wrong? Something miss in the config? Or is the template not 100% right?

I'm sorry, but I just don't know where to start..

Thanks for all users who wants to help me! Thnx

kegobeer

It's related to your theme.  When I switch to your classic theme the links are correct.  Have you modified your theme in any way?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

lasa

Yes I have modified the english texts to the dutch ones.. (Netherlands).. Not more I guess, but I can be wrong..

kegobeer

Your theme is attaching the cat=xxxxxx to the links.  Compare your theme.php file to the classic theme.php file to see what the difference is.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

lasa

Hi KegoBeer. I have replaced the theme.php with the original theme.php of the Kubrick Rar. But it still gives the cat=xxxxxx.. Maybe it's Kubrick? Do I need to give some debug info?

kegobeer

It's not the theme - I downloaded and installed Kubrick on my 1.3.3 gallery and it works fine.  I think the jump to category/user select box at the bottom of your page may be reacting with that particular theme.  Try removing that mod.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

lasa

You are right!! Thanks for your tip!

I've changed:
      while ( $fetched_row  = mysql_fetch_row($result) )
         {
            $cat = $fetched_row[0];
            $owner = ucwords($fetched_row[1]);

            echo "<OPTION VALUE='$cat'>$owner</OPTION>";

         }


to:

      while ( $fetched_row  = mysql_fetch_row($result) )
         {
            $catje = $fetched_row[0];
            $ownertje = ucwords($fetched_row[1]);

            echo "<OPTION VALUE='$catje'>$ownertje</OPTION>";

         }


THANKS KegoBeer!