Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add Who's Online Locations From Admin CP Details »
Add Who's Online Locations From Admin CP
Mod Version: 1.00, by Trigunflame (Member) Trigunflame is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.1 Rating: (0 vote - 0 average) Installs: 90
Released: 26 Jun 2004 Last Update: Never Downloads: 20
Not Supported  

General Info
This hack was requested to be available on Vbulletin 3. Being bored, I figured I would take the task in hand and complete it, to be better than it ever was before.

The original designer of the hack (on Vbulletin 2) is the well known Chen Avinadav, which being the great coder that he is, I dont particularly agree with his methods in this case, which he used a an excess query to select data from a template and loop through. This uses the built in datastore of vb3, therefore using No extra queries.

Therefore this hack is Completely original, in every way. I have used a different method, for accomplishing this, and the control panel I have created is intuitive and utlilizes a great many of vbulletins built in controls and phrases. Looking at the code itself on the admin panel alone you will see I didnt just throw this together and slap it on the site. Total creation time was around 4 hours, the code itself not being the main part, just mainly working out issues with the control panel etc..

Features
My version which is completely new, allows you to add the filename for the who's online along with the location name, and URL Title of the link.

The control panel which was the longest part, is pretty concise in how it works considering what I did to it. Provides a good bit of error checking to keep from accidentally doing stuff you didn't intend to do.

Also should note, the deletion part of the script uses JavaScript to confirm whether or not you wish to delete the selected Location.

I hope this gets a lot of installs, being as that my other 2 hacks/bug fixes were really just something I did in a few minutes and didn't put a great deal of effort into, judging by the fact I didnt have to "edit" any vbulletin files, to do what I wanted.

This is really my first release on this site, that I can say I believe is unique in its effort, and shows some insight on things for the newer coders out there. I have put a great deal of effort into the setup of everything as well as the readme file to be concise and as easy to read and understand as possible.

Hopefully hack of the month, lol.. j/k

Installation
I have provided an readme file inside of the zip, with information on how to install the hack, and what needs to be done to do so. Its a fairly easy installation, as you only have to add things.

Other Misc.
Files To Modify: 2
Total Modifications: 6
Installation Difficulty: Easy

Version Updates
Version 1.0 = First Release
Version 1.1 = Fixed Weird Query Error For Some People
Version 1.2 = Added ability to enable/disable links for locations

Click install if you like. Thanks.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	5.gif
Views:	1238
Size:	23.5 KB
ID:	19385   Click image for larger version

Name:	1_1.gif
Views:	820
Size:	18.7 KB
ID:	19386   Click image for larger version

Name:	3_3.gif
Views:	623
Size:	19.4 KB
ID:	19388   Click image for larger version

Name:	4.gif
Views:	598
Size:	15.8 KB
ID:	19389  

Click image for larger version

Name:	7.gif
Views:	866
Size:	13.6 KB
ID:	19390  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add Who's Online locations from Admin CP Chen vBulletin 2.x Full Releases 220 15 Aug 2005 20:28

Comments
  #2  
Old 26 Jun 2004, 19:51
RapCheck RapCheck is offline
 
Join Date: Dec 2001
Would this be able to differ things such as, index.php, index.php?page=contact, index.php?page=links all as different who's online locations?


So basically, using vbindex created pages, would I be able to add the extra pages to the who's online with this hack?
Reply With Quote
  #3  
Old 26 Jun 2004, 19:57
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Real name: Snowy
WOW so usefull nice work
__________________
A Disability Chat Community
Reply With Quote
  #4  
Old 26 Jun 2004, 19:58
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Quote:
---------------------------------------------------------------------
Would this be able to differ things such as, index.php, index.php?page=contact, index.php?page=links all as different who's online locations?


So basically, using vbindex created pages, would I be able to add the extra pages to the who's online with this hack?
---------------------------------------------------------------------

Maybe later I will implement that, but right now that would be way too much trouble. In the array I would have to specify what variable would determine which pages to look for, I obviously wouldnt just make it to match against ?page= only, then i would have to have it loop through sub arrays for that.

Thats a lot more than what this hack is generally designed for, its just to add it for different .php files.

If you want, a little later I will create a seperate hack and paste it in this thread just for that purpose of allowing multiple locations per .php file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is an example of what that multidimentional array could look like...not very pretty, which is why i didnt make this hack to start off like that in the first place.

Last edited by Trigunflame; 26 Jun 2004 at 20:33.
Reply With Quote
  #5  
Old 26 Jun 2004, 20:19
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Real name: Joe Velez
installation was flawless
__________________
Former vBulletin.org Staff Member

Latest Articles:
Liquid Layout = Less Ad Revenue?
How to Monetize Your Site
Improve Web Page Performance
How To Write For The Web


If it needs instructions, there's room for improvement.
Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them!
Reply With Quote
  #6  
Old 26 Jun 2004, 20:22
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Were the instructions clear enough for your liking? How about the control panel? I wanna fix anything wrong if you see it.. lol

Last edited by Trigunflame; 26 Jun 2004 at 20:33.
Reply With Quote
  #7  
Old 26 Jun 2004, 20:49
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
excellent, a very useful hack- thankyou!
Reply With Quote
  #8  
Old 26 Jun 2004, 20:55
Acido Acido is offline
 
Join Date: Apr 2003
Works perfectly. Big Thanx !
Reply With Quote
  #9  
Old 26 Jun 2004, 21:20
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Wasn't expecting this to come along so soon!

Getting an SQL error on the first install step at the moment. Attempting to work out why now.
__________________
AndroidETC.com :: Android, and other stuff.

Last edited by FleaBag; 26 Jun 2004 at 21:22.
Reply With Quote
  #10  
Old 26 Jun 2004, 21:24
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Hmm, can you paste the error, it should work fine with about any type of vb3 installation. Do you have table prefixes etc..?
Reply With Quote
  #11  
Old 26 Jun 2004, 21:29
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Here you go... No table prefixes - I don't like to over-complicate.

Database error in vBulletin 3.0.1:
Invalid SQL:
INSERT INTO datastore
VALUES ('custom_online', 'a:0:{}');
mysql error: You have an error in your SQL syntax near ';
' at line 3
mysql error number: 1064
Date: Saturday 26th of June 2004 02:28:44 PM
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #12  
Old 26 Jun 2004, 21:31
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
This looks great! Thanks for sharing with the community
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #13  
Old 26 Jun 2004, 21:32
58sniper 58sniper is offline
 
Join Date: Sep 2002
I'm getting an error as well during the first step (running whos_online.php)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #14  
Old 26 Jun 2004, 21:34
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Same error as myself.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #15  
Old 26 Jun 2004, 21:41
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Real name: Dusty Burns
Try This


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:26.

Layout Options | Width: Wide Color: