Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-30-2001 Last Update: Never Installs: 109
 
No support by the author.

This hack was requested on vBulletin.com.

It lets you add possible locations to Who's Online, directly from the Admin CP.
This is good if you are using external hacks, that use vBulletin's system. You probably know that users browsing these external files have Unknown Location (or Main Index for non-admin viewers) next to them.

With this hack, you can easily add a new custom location with ease!
It's also designed in a way that won't let you overwrite existing locations. ('dummy protection' as I like to call it )

The locations you add are not stored in their own table, because I really felt that would be waste of space and resource.
Instead, I store the locations in the template table, in one special template dedicated to this data.
It was a lot harder to do it this way, btw.

Please let me know if you find any bugs, or if this script doesn't work with files in child folders (this is my main concern).
This can be easily remove (just undo changes to online.php), so please don't fear to try it out!

A nice screen shot is in my next post.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 02-09-2003, 10:59 PM
ethics ethics is offline
 
Join Date: Feb 2002
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wondering if it's okay to bump something a week old?

Thanks in advance to anyone who takes a look at this.
Reply With Quote
  #193  
Old 03-18-2003, 07:57 AM
Spike05 Spike05 is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a Problem with the Hack!

When I activate Email (in Admin CP under User....) the tables are make problem!

See the picture!

I have vbportal also installed! There is a site called modules.php before I update vbulletin and vbportal I have this take: <a href="$userinfo[location]">Module</a>

But the field is empty now?

[sorry for my bad english )
Reply With Quote
  #194  
Old 03-21-2003, 06:34 AM
Spike05 Spike05 is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone an idea???
Reply With Quote
  #195  
Old 03-31-2003, 12:46 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possable to get this to work with Logician's [WEBTEMPLATES HACK:]Share your WebTemplates or WebQueries!


Thanks! :nervous:
Reply With Quote
  #196  
Old 04-07-2003, 03:48 AM
Nebby Nebby is offline
 
Join Date: Mar 2003
Location: England
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now what are the chances of that happening?

it used the template ID 65535

which is what i randomly typed in for another hack i made... of cvourse, it couldn't insert anything :P stupid me
Reply With Quote
  #197  
Old 04-09-2003, 12:40 AM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know you hera this a lot but you can never hear it enough im sure but GREAT Hack. now I am having troubles at the moment tho.

I am running 2.3.0 I installed like you correctly I even went over it 3 times to make sure now the problem I am having is me being the admin of the forums I have the ability to see IP address. The thing is they are showing in the EMAIL slot of the Whos online page.

Everything else worked correctly I made the proper link to the UNKNOWN page i was having. But now Like i said I get the IP #'s in the email Table column, is anyone else havin this trouble? I have added a picture of the screen (i have removed the #'s of course) but you can see where they was.

Thank you for your time
Reply With Quote
  #198  
Old 04-10-2003, 06:02 PM
Zaeolos's Avatar
Zaeolos Zaeolos is offline
 
Join Date: Jan 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack on VB 2.3.0 and it is working flawlessly.

GZ_Tanis, do you have a hack that shows you the email address in the Who's Online page? That may be what is messing you up. Correct me if I am wrong, but I do not believe that the users email is originally supposed to be there.
Reply With Quote
  #199  
Old 04-10-2003, 09:13 PM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]03-18-03 at 04:51 AM Spike05 said this in Post #192
I have a Problem with the Hack!

When I activate Email (in Admin CP under User....) the tables are make problem!

See the picture!

I have vbportal also installed! There is a site called modules.php before I update vbulletin and vbportal I have this take: <a href="$userinfo[location]">Module</a>

But the field is empty now?

[sorry for my bad english )
Reply With Quote
  #200  
Old 04-10-2003, 09:17 PM
Zaeolos's Avatar
Zaeolos Zaeolos is offline
 
Join Date: Jan 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do you enable the email to be shown like that? I was not saying you were wrong, I would just like to recreate it.

***Update...

Nevermind, I found it. I have never enabled that email function before. But now that I did, it is still working perfectly. I will look into it some more and see why it may be doing what it is doing to you.
Reply With Quote
  #201  
Old 04-10-2003, 10:00 PM
GZ_Tanis's Avatar
GZ_Tanis GZ_Tanis is offline
 
Join Date: Oct 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Today at 05:11 PM Zaeolos said this in Post #199
Where do you enable the email to be shown like that? I was not saying you were wrong, I would just like to recreate it.

***Update...

Nevermind, I found it. I have never enabled that email function before. But now that I did, it is still working perfectly. I will look into it some more and see why it may be doing what it is doing to you.
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 01:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06209 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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