vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Was Online Today on forums (https://vborg.vbsupport.ru/showthread.php?t=59579)

Sergio68 11-11-2004 10:32 PM

Any ideas please, this hack keeps on doing reset at midnight !! :(
I need something for the last 24 hours....

klaattu 11-13-2004 02:48 AM

Quote:

Originally Posted by Sergio68
Any ideas please, this hack keeps on doing reset at midnight !! :(
I need something for the last 24 hours....

Small stupid question.... (yes I have searched the whol ethread)

I get like 200 to 400 users each day on my forum, so as you may expect the list is long, so I checked the template and looked for the "smalltext" part and it has it...so..THE QUESTION IS..
how do I make the text size of the list even more small lets say 8 points?

I know Its a newbie question but I dont want to mess with a very good hack

best regards

Sergio68 11-13-2004 02:18 PM

Any Ideas on how to count the guests too ?

Sergio68 11-13-2004 02:19 PM

Quote:

Originally Posted by klaattu
Small stupid question.... (yes I have searched the whol ethread)

I get like 200 to 400 users each day on my forum, so as you may expect the list is long, so I checked the template and looked for the "smalltext" part and it has it...so..THE QUESTION IS..
how do I make the text size of the list even more small lets say 8 points?

I know Its a newbie question but I dont want to mess with a very good hack

best regards

Template part has been made in HTML so you can fix the size I suppose...

Trekkie 11-18-2004 06:00 PM

thx nice hack

ericgtr 11-19-2004 06:38 PM

Quote:

Originally Posted by Trekkie
thx nice hack

Unless I am missing a setting somewhere this is not working correctly, I am using the new page part. On the forumhome it says "Number of Active Users Today: 295" then when you click on it and go into the page it says "Number of Active Users Today: 434". Any help would be appreciated.

Hexemer 11-24-2004 09:36 PM

Hello people :)

I have a problem with the onlinetoday.php. On forumhome it's all ok but on onlinetoday.php the usernames not shown. :ermm:

I followed the instructions, only the forumhome template was edited by me.

Can someone help me please? :squareeyed:

Here screenshots:

kabresh 11-26-2004 09:07 AM

Could someone repackage this hack, because its going to be hard work to look though 30 pages to see whats modded from the orig.

Kylie 12-03-2004 12:20 PM

First Time I've ever tried or installed a HACK. It works well considering I just installed it five minutes ago.

I just want to thankyou Gary. You are KING!

Hexemer 12-03-2004 02:26 PM

Quote:

Originally Posted by kabresh
Could someone repackage this hack, because its going to be hard work to look though 30 pages to see whats modded from the orig.

Yes, that would be good. The record always resetted at midnight. I use the newest instructions. :ermm:

boo.3 12-05-2004 01:13 PM

NOW CREATE THE FOLLOWING PHRASES:

and

RUN THIS QUERY (IF YOU HAVEN'T RAN
THE INSTALLER.PHP FILE BEFORE)

what do i do with those??

how do i run a query? and how do i create PHRASES?

alkatraz 12-07-2004 03:03 AM

Installed with ease, thank you!

wow! I avg ~50 members online at a time but was suprised to find out i'm getting over 400 members online throughout the day! (I thought it was the same 40 or so post+++++s that never seem to logout, lol)

fonzerelli_79 12-07-2004 06:11 AM

strange problem with my installation
had it up and running for months
only a while ago i noticed that the most members online was resetting to the same as that day

so i uninstlled and then reinstalled the hack and it was working perfectly for weeks

then today i checked and most members online is now only 2 (ie members online today so far)

what could be wrong??

alkatraz 12-10-2004 04:44 AM

I decided I wanted to make this visable to my mods/admins only for bandwidth/query reasons.

Just wanted to share the mini hack if anyone else wanted it,

PHP Code:

Edit the template "FORUMHOME" 

search for,

$todayloggedinusers


replace with
,

<!-- 
only show total users today to mods -->
<if 
condition="$show['modcplink']">

        
$todayloggedinusers

</if>


and 
you're done 


SHOBizzy 01-07-2005 12:11 AM

Installed tonight on vB 3.0.4 and it works like a charm. Thanks much!

alkatraz, I searched for $todayloggedinusers in my FORUMHOME template like you suggest because I'm interested in having only the mods and admin view this list also but that phrase is nowhere to be found. Is there any other way to add this that you know of?

alkatraz 01-07-2005 01:19 AM

are you using the normal hack or the "new page" version of this hack?

the normal hack instructions say
PHP Code:

OPEN THE FORUMHOME TEMPLATE AND FIND
******************************
<!-- 
end logged-in users -->
******************************
BELOWADD
******************************
$todayloggedinusers 

so if it's not in FORUMHOME then you either installed it wrong and it shouldn't be working *at all* for you. ;) OR you're using the "new page" hack. If it's the later, then check the install instructions and see where $todayloggedinusers is added.

kisersose 01-07-2005 06:10 AM

thanx

Impulse 01-07-2005 09:00 PM

Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?

kisersose 01-07-2005 11:42 PM

Quote:

Originally Posted by Impulse
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?


it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.

Slapp3r 01-07-2005 11:52 PM

Thanks nice hack

Impulse 01-08-2005 04:27 AM

Quote:

Originally Posted by kisersose
it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.


www.ffimpulse.com/forum/index.php?

LKJR 01-08-2005 06:11 AM

:confused: upgraded from 3.0.3 tonight (this hack worked wonderful on that) to 3.0.5 and it killed it.

Even though after the hack, and the upgrade the box on the bottom remained, but it was empty and had no values in it (? :confused: )

I went through the instructions and moded the index.php and forumhome template but I kept getting this error after moding the template.

Quote:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.gareth/lkjr/architorture.org/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 212

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

any ideas?

Impulse 01-09-2005 01:15 PM

Quote:

Originally Posted by Impulse
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?

Someone? ;___;

(for a link of the forum click here)

edit: I've managed to just remove the comma completely, but I that's not what I want. I want it to function properly. I tried some other modifications of the code, copying the who's online original bit (who's currently online) which makes the comma appears, but w/o no luck.

I'd really appriciate it if someone assist/helps me with this :\

joeychgo 01-09-2005 10:48 PM

Installed - Again - On my second forum - Thanks for a great hack!!!!!!

dacho 01-10-2005 05:45 AM

how did i CREATE 2 NEW TEMPLATES CALLED ?

PixelFx 01-10-2005 06:31 AM

Quote:

Originally Posted by dacho
how did i CREATE 2 NEW TEMPLATES CALLED ?

I just tried this on vb3.0.5 and I get blank names as well.

WiseOwl 01-11-2005 08:09 AM

Hack was working fine, I installed about 6 other modifications and now it doesnt show the usersnames of the users who have visited.. I'am running 3.0.5 aswell, tried reinstalling same deal..

any help would be greatly appreciated...

Thank You,
Owl

Gnappy 01-12-2005 01:44 AM

If someone can help me i have a "little" problem.......


the hack works lovely, but the "todaymaxonline" will be resetted day by day.... i dropped the todaymaxonline in my datastore, but the first time a user(or me) makes a refresh on the main page(so the who was online is called by index.php) the todaymaxonline in datastore is updated(or created again if before i dropped it)... i know is right that the datastore must be updated anytime someone call the index.php, but damn! it should register the max online record and the date of it!


if i drop the todaymaxonline into datastore and i run the hack query i will get back this error
Quote:

Error: 1062 SQLSTATE: 23000 (ER_DUP_ENTRY) Message: Duplicate entry '%s' for key %d
im not a sql expert, so if someone can help me ill promise ill pay him a fresh and cool beer :up:


thanks for your attention

Alien 01-13-2005 09:34 AM

Confirmed...

After upgrading to 3.0.5 and reinstalling the php edits on this one the values don't appear. They always did with other upgrades.. Hmm...

Alien 01-13-2005 11:18 PM

Anyone have any ideas on resolving this? :)

GetGamer.com 01-14-2005 09:03 PM

Why does the ACP quick stats report a totally different number from this Mod?

I have Admin Control Panel Quick Stats enabled, and it shows 92 "Unique Members Today" while Who Was Online Today reports 135. Shouldn't these report the same number?

fenderpick 01-15-2005 07:02 PM

ok.. im a newbie!! ive been looking for this and glad its available (thanks Gary!). will someone please.. please help a newbie out. i need very basic (easy to follow) instructions on how to install. i downlaoded it but cant do anything with it..
please help!!

thanx!

MorrisMcD 01-16-2005 02:40 AM

Ok.. I followed the instructions in the txt file and all works well.. There were no instructions on where to put onlinetoday.php and I dont have one anywhere...

Do I need to upload this? How is it working without it?

Great, easy hack.. Thanks..

Also - fender.. Really, that txt file is about as easy as it will get.. If you are confused what to do based on that, read all the stickies and faq's.. That txt is about as easy as they come

Marco van Herwaarden 01-16-2005 07:20 AM

Check the instructions_newpage.txt

fenderpick 01-16-2005 06:29 PM

Quote:

Originally Posted by MorrisMcD
Ok.. I followed the instructions in the txt file and all works well.. There were no instructions on where to put onlinetoday.php and I dont have one anywhere...

Do I need to upload this? How is it working without it?

Great, easy hack.. Thanks..

Also - fender.. Really, that txt file is about as easy as it will get.. If you are confused what to do based on that, read all the stickies and faq's.. That txt is about as easy as they come

I dont know where to begin within the admin and how to dissect the script.. I know nothing of .php... not easy enough for me. Could someone give me a basic tutorial from the very beginning..

MorrisMcD 01-16-2005 06:44 PM

Quote:

Originally Posted by fenderpick
I dont know where to begin within the admin and how to dissect the script.. I know nothing of .php... not easy enough for me. Could someone give me a basic tutorial from the very beginning..

Sometimes you are required to upload files.. Do so.. Sometimes you need to run a install script.. Point your browser to it and click next next next until its done or whatever.

What I do for file edits is make a copy of the original.. (in an example using index.php) index.php copied to index.old.. Then edit the index.php and make the changes.. I do it by right clicking and going to edit or open with notepad (or other text editor).. make the changes and save.. If something craps out, you can always delete it and rename the index.old back to index.php...

For the template modifications, I just go to the admincp, and go to Styles and Templates > Style Manager.. Then drop down the menu to edit template or add template..

For queries, you will need to get PHPMyAdmin (most hacks dont require these changes or are done with an install script)

I'm sure there are threads dedicated to the processes that would explain it better and you should do a search on that.

MorrisMcD 01-16-2005 07:20 PM

Quote:

Originally Posted by MarcoH64
Check the instructions_newpage.txt


Thanks!

So this is only needed if I want it to be a separate page altogether?

My bad.. I should have read everything :) Happy without the extra page myself..

Marco van Herwaarden 01-16-2005 07:33 PM

Quote:

Originally Posted by MorrisMcD
Thanks!

So this is only needed if I want it to be a separate page altogether?

My bad.. I should have read everything :) Happy without the extra page myself..

Well i haven't installed this one myself, so i am not sure. But from the description i would say yes, only if you want it on a seperate page.

Gnappy 01-16-2005 09:42 PM

Quote:

Originally Posted by Gnappy
If someone can help me i have a "little" problem.......


the hack works lovely, but the "todaymaxonline" will be resetted day by day.... i dropped the todaymaxonline in my datastore, but the first time a user(or me) makes a refresh on the main page(so the who was online is called by index.php) the todaymaxonline in datastore is updated(or created again if before i dropped it)... i know is right that the datastore must be updated anytime someone call the index.php, but damn! it should register the max online record and the date of it!


if i drop the todaymaxonline into datastore and i run the hack query i will get back this error

im not a sql expert, so if someone can help me ill promise ill pay him a fresh and cool beer :up:


thanks for your attention


UP! help! :ninja:

MorrisMcD 01-16-2005 11:44 PM

I just installed this and it works great except mods cant see who was invisible online.. They do from 'Who's online' though

Do I need to make a modification?? Like I said, I just installed it, and I figured all previously talked about bugs were fixed in the latest release


All times are GMT. The time now is 05:26 PM.

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.02150 seconds
  • Memory Usage 1,842KB
  • 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
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete