Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 12-21-2004, 04:53 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MeTaL_oRgY
yeah, it would remove the unknown locations for sure.. I've been trying to do this and can't find a solution.. not that I'm such a huge hacker.. but I'm learning.. lol... you should wait for someone capable of doing this... that's the only advice I can give you.. sorry I couldn't be of more help.
Hey man... you tried. Thank you regardless.
Reply With Quote
  #12  
Old 12-21-2004, 05:37 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adding anything to the WOL involves making two edits to functions_online.php ;

Find ;

Code:
	case 'bugs.php':
		$userinfo['activity'] = 'bugs';
		break;
and below it add ;

Code:
	case 'xxxxx.php':
		$userinfo['activity'] = 'xxxxx';
		break;
Then find ;

Code:
		case 'modcplogin':
			$userinfo['action'] = $vbphrase['moderator_control_panel_login'];
			break;
and below it add ;

Code:
		case 'xxxxx':
			$userinfo['action'] = " zzzzz zzzzz zzzzz";
			break;
Where "xxxxx.php" is the php script file name and "zzzzz zzzzz zzzzz" is the description you want to appear in the WOL when a person is using that particular script.

Reply With Quote
  #13  
Old 12-21-2004, 09:42 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And.... what do I do again? I knotice the lingo is so out there... but I love you guys cuz you try to help. that is cool.

So the zzzzz is where I ummm put like something? like user is busy ect?
Reply With Quote
  #14  
Old 12-21-2004, 09:43 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Adding anything to the WOL involves making two edits to functions_online.php ;

Find ;

Code:
	case 'bugs.php':
		$userinfo['activity'] = 'bugs';
		break;
and below it add ;

Code:
	case 'xxxxx.php':
		$userinfo['activity'] = 'xxxxx';
		break;
Then find ;

Code:
		case 'modcplogin':
			$userinfo['action'] = $vbphrase['moderator_control_panel_login'];
			break;
and below it add ;

Code:
		case 'xxxxx':
			$userinfo['action'] = " zzzzz zzzzz zzzzz";
			break;
Where "xxxxx.php" is the php script file name and "zzzzz zzzzz zzzzz" is the description you want to appear in the WOL when a person is using that particular script.

Ohhh I see... your saying to place the php I am messing with into this file with a descript?

watch after I am done your like... um no. lol.
Reply With Quote
  #15  
Old 12-21-2004, 10:35 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version you got? Im 3.0.3 i dont see this code. Darn.


Quote:
Originally Posted by MeTaL_oRgY
hmmm... open online.php and search:
Code:
      // Let's show the admin the location but put something false up for everyone else..
      if ($bbuserinfo[usergroupid] == 6) {
         $userinfo[location] = htmlspecialchars(stripslashes(replacesession($userinfo[location])));
        $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
      } else {
        // We were unable to parse the location
        $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";
      }
  }
I'm not the better person for this, but I'm sure that must be modified. Have you tried removing this line:
Code:
        $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
Reply With Quote
  #16  
Old 12-21-2004, 11:09 PM
MeTaL_oRgY MeTaL_oRgY is offline
 
Join Date: Jul 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh.. sorry.. I'm at vB 2.3.5 .... but try opening online.php and search for the word "Unknown".. you'll find what you are looking for there
Reply With Quote
  #17  
Old 12-22-2004, 12:32 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
And.... what do I do again? I knotice the lingo is so out there... but I love you guys cuz you try to help. that is cool.

So the zzzzz is where I ummm put like something? like user is busy ect?
If you don't understand my post (which is fairly basic hacking) then you probably shouldn't be attempting to change or hack anything in vB - instead, find someone who does understand.
Reply With Quote
  #18  
Old 12-22-2004, 06:38 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
If you don't understand my post (which is fairly basic hacking) then you probably shouldn't be attempting to change or hack anything in vB - instead, find someone who does understand.
Yeah but you didnt not state if the mod the other gentleman did works with what your saying to do. you also say if you mod one you should mod the other. so I am un sure if this is cuppled with what you said or not.

That makes sense no?
Reply With Quote
  #19  
Old 12-22-2004, 11:12 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
Yeah but you didnt not state if the mod the other gentleman did works with what your saying to do. you also say if you mod one you should mod the other. so I am un sure if this is cuppled with what you said or not.

That makes sense no?
Errr, no, it doesn't make much sense to me. I'll leave you in the hands of others I think.
Reply With Quote
  #20  
Old 05-31-2005, 02:40 PM
vBTotal vBTotal is offline
 
Join Date: Jul 2004
Location: Computer
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am a little late, but I just did this for my site thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:44 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.03902 seconds
  • Memory Usage 2,264KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (10)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete