Log in

View Full Version : Unknown location...


corn dog
03-03-2006, 06:57 PM
How do I get the Unknow location to switch it too something I want.

EXAMPLE:

Unknown Location
/home.php
(this is my portal btw)

to something like:

Toonstin home
And the link here
How do I get it to there?
-Corn dog

Daniel
03-03-2006, 09:37 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=82882" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=82882</a>

May be of help.

corn dog
03-03-2006, 09:42 PM
https://vborg.vbsupport.ru/showthread.php?t=82882

May be of help.

Thank you.

https://vborg.vbsupport.ru/showthread.php?t=82882

May be of help.

Hmm.It doesnt work very well O_o Ill try it again....

MRGTB
03-04-2006, 09:49 AM
Thank you.



Hmm.It doesnt work very well O_o Ill try it again....

Is the page located "outside" your forums folder that you are trying to do this with, or is it located inside your forums folder. I know how you can fix this if the page is inside your forums folder.

Open: includes/functions_online.php

Find:


case 'bugs':
$userinfo['action'] = construct_phrase($vbphrase['viewing_x'], 'Bugs'); // Don't report 'bugs' as needing to be translated please :p
break;


After Add:


case 'yourpage':
$userinfo['action'] = 'Viewing Yourpage';
$userinfo['where'] = "<a href=\"yourpage.php?$session[sessionurl]\">Yourpage</a>";
break;


Find:


case 'bugs.php':
$userinfo['activity'] = 'bugs';
break;


After Add:


case 'yourpage.php':
$userinfo['activity'] = 'yourpage';
break;


Just change were you see "yourpage" with the page name of your page instead.

Code Monkey
03-04-2006, 01:08 PM
He doesn't need to edit a script. He can just make the plugins.

corn dog
03-05-2006, 12:03 AM
He doesn't need to edit a script. He can just make the plugins.

What do I have to edit in the plugin??