vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   My User CP and Who's Online dropdown links stopped working... (https://vborg.vbsupport.ru/showthread.php?t=55007)

Gutspiller 07-04-2003 04:53 PM

My User CP and Who's Online dropdown links stopped working...
 
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

Quote:

Today at 12:01 PM Gary W said this in Post #2
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

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/foru...=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/foru...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 Code:

<?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.


All times are GMT. The time now is 10:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01008 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete