Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Web and Scripting > VB Script

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

"Unknown Location" While viewing User Profile
Old 02-22-2006, 07:59 PM   #1
Level 3

Patrick's Avatar

Join Date: Nov 2004
Posts: 247
Reputation: 4481
Rep Power: 137
Patrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating community
Last Achievements
"Unknown Location" While viewing User Profile

Sometimes with addons and things to your website, the most common being a "Portal", while looking at online user profiles, you wont be able to see where they are at. ie. Whilst viewing, for example "Shoot"s user profile it says he is viewing "Unknown Location" /Forum/Main.php To me that just looks bad so here is a little tutorial to fix a problem like that:

Go to this file:

functions_online.php

Find this:

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

Code:
		case 'cmps index': 
            			$userinfo['action'] = 'Viewing CMPS Index';
			$userinfo['where'] = "<a href=\"cmps_index.php?$session[sessionurl]\">$vboptions[hometitle]</a>";
			break;
Now Find:

Code:
	case 'bugs.php':
		$userinfo['activity'] = 'bugs';
		break;
After that add:

Code:
	case 'cmps_index.php': 
        		$userinfo['activity'] = 'cmps index'; 
        		break;
Save functions_online.php

**********************************************************************************************************************************************************

Big note!!! Change cmps_index.php to what ever php you want to locate and define.

Example for GTE portal we want to change cmps_index.php to main.php (since the portal page is main.php) and define it as the GTE Portal.

So where we added this first section:

Code:
		case 'cmps index': 
            			$userinfo['action'] = 'Viewing CMPS Index';
			$userinfo['where'] = "<a href=\"cmps_index.php?$session[sessionurl]\">$vboptions[hometitle]</a>";
			break;
We would change to:

Code:
		case 'main': 
            			$userinfo['action'] = 'Viewing GTE Portal';
			$userinfo['where'] = "<a href=\"main.php?$session[sessionurl]\">$vboptions[hometitle]</a>";
			break;
And where we added this:

Code:
	case 'cmps_index.php': 
        		$userinfo['activity'] = 'cmps index'; 
        		break;
Should now look like this:

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

Your done that should be self explainitory and it will work for any page your trying to define.
Im not sure if it will work for 3.5.x , but its tested and working on 3.0.x
__________________

Last edited by Patrick; 02-22-2006 at 10:58 PM.
Patrick is offline

Reply With Quote


Old 02-22-2006, 08:56 PM   #2
Level 3

lulybule's Avatar

Join Date: Feb 2006
Location: São Paulo - Brazil
Posts: 55
Reputation: 106
Rep Power: 76
lulybule is officially drafted by UClulybule is officially drafted by UC
what the hellllllllll?
__________________
lulybule -
Brazil r0x
msn - lulybule@hotmail.com
lulybule is offline

Reply With Quote

Old 02-22-2006, 10:57 PM   #3
Level 3

Patrick's Avatar

Threadstarter
Join Date: Nov 2004
Posts: 247
Reputation: 4481
Rep Power: 137
Patrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating communityPatrick is a legend in the cheating community
Last Achievements
If you dont have any input on the subject, then dont post. Its considered an Of-Topic or spam post. Warning to all.
__________________
Patrick is offline

Reply With Quote

Old 03-01-2006, 05:10 PM   #4
Level 3

lulybule's Avatar

Join Date: Feb 2006
Location: São Paulo - Brazil
Posts: 55
Reputation: 106
Rep Power: 76
lulybule is officially drafted by UClulybule is officially drafted by UC
ok sorry..
i just didnt understand the first post.. sorry..


Is this warn forever?
Should i make a new thread just for asking that?
Don´t think so.. please don´t give me one new warn for asking it at the worng place.

bye
__________________
lulybule -
Brazil r0x
msn - lulybule@hotmail.com
lulybule is offline

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
profile, unknown location, user, viewing
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 05:09 PM.