vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Unknown location... (https://vborg.vbsupport.ru/showthread.php?t=109381)

corn dog 03-03-2006 06:57 PM

Unknown location...
 
How do I get the Unknow location to switch it too something I want.

EXAMPLE:

Quote:

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

to something like:

Quote:

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

Quote:

Originally Posted by Daniel

Thank you.

Quote:

Originally Posted by Daniel

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

MRGTB 03-04-2006 09:49 AM

Quote:

Originally Posted by corn dog
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:

Code:

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

After Add:

Code:

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

Find:

Code:

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

After Add:

Code:

        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

Quote:

Originally Posted by JumpD
He doesn't need to edit a script. He can just make the plugins.

What do I have to edit in the plugin??


All times are GMT. The time now is 10:31 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.01081 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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