PDA

View Full Version : My User CP and Who's Online dropdown links stopped working...


Gutspiller
07-04-2003, 04:53 PM
and I don't know when it happened. :(

Can somebody point me to the files or where I can begin looking for why they are causing problems?

When you click the links in the forumjump dropdown menu it gives this error:

No forum specified. If you followed a valid link, please notify the webmaster
You can also use our built-in Search feature that will find anything that has ever been posted in our forum or our news database.

I did add a hack quite a while ago that changed the background color and if the following links: private messages, User Control Panel, Who's Online, Search Forums, and Forums Home aren't normally in there, then I think the hack added those in there too.

I would really appreciate any help somebody can provide. THe more detailed the more useful.

Thanks a bunch.

Gary King
07-11-2003, 05:01 PM
Try modifying the links in the forumjump template. Also, when selecting those options (user cp, who's online) what's the URL?

Gutspiller
07-11-2003, 11:27 PM
Today at 12:01 PM Gary W said this in Post #2 (https://vborg.vbsupport.ru/showthread.php?postid=416995#post416995)
Try modifying the links in the forumjump template. Also, when selecting those options (user cp, who's online) what's the URL?


In my forumjump I have this code

<option value="cp" $frmjmpsel[usercp] style="color:#6C737A;background-color:#EAE9E9;">User Control Panel</option>
<option value="wol" $frmjmpsel[wol] style="color:#6C737A;background-color:#EAE9E9;">Who's Online</option>

I tried changing "$frmjmpsel[usercp]" to http://www.theforumz.com/forumz/usercp.php but it still didn't work.

BTW when you normally click on the CP through that dropdown it loads a page with this url: http://www.theforumz.com/forumz/forumdisplay.php?s=&forumid=cp&daysprune= with the message:

No forum specified. If you followed a valid link, please notify the webmaster
You can also use our built-in Search feature that will find anything that has ever been posted in our forum or our news database.

When you click on the whos online in the dropdown it takes you to this url: http://www.theforumz.com/forumz/forumdisplay.php?s=&forumid=wol&daysprune= and displays the same error.

Any other ideas?

Gary King
07-12-2003, 11:16 AM
At the top of your forumdisplay.php, it should be:

<?php

// jump from forumjump
$goto = '';
switch($HTTP_GET_VARS['forumid']) {
case 'home': $goto = 'index'; break;
case 'search': $goto = 'search'; break;
case 'pm': $goto = 'private'; break;
case 'wol': $goto = 'online'; break;
case 'cp': $goto = 'usercp'; break;
}
if ($goto != '') {
if ($HTTP_GET_VARS['s']) {
$sessionhash = $HTTP_GET_VARS['s'];
} else {
$sessionhash = '';
}
header("Location: $goto.php?s=$sessionhash");
exit;
}
// end forumjump redirects


Make sure that's what you have, if not, then try replacing what you have with this and try again.