vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited today (with last 24 hours option). (https://vborg.vbsupport.ru/showthread.php?t=71533)

shadiguy1 01-11-2005 03:23 PM

i did all the stuff made the template and added the module and put the php file in the modules directory ande nothing is coming up at all on my CMPS and i did make sure that it is active.

shadiguy1 01-11-2005 03:48 PM

eric if u have aim hit me up i can let u look into my forums ADMINCP and see that i did everything hit me up on aim shadiguy1.

ericgtr 01-11-2005 03:59 PM

Okay, to be sure this is what your module setup should like like.. see screenshot.

ericgtr 01-11-2005 04:11 PM

Quote:

Originally Posted by shadiguy1
eric if u have aim hit me up i can let u look into my forums ADMINCP and see that i did everything hit me up on aim shadiguy1.

I can't use it at work, I won't be home until about 4:30 (PST)

shadiguy1 01-11-2005 04:15 PM

here are my screen shots.

ericgtr 01-11-2005 04:23 PM

Quote:

Originally Posted by shadiguy1
here are my screen shots.

If you want to PM me with admin access to your server I will take a look.

shadiguy1 01-11-2005 04:39 PM

pm sent with info

ericgtr 01-11-2005 05:59 PM

Quote:

Originally Posted by shadiguy1
pm sent with info

I think I found it, I updated the onlinetoday.php re-upload it and see if it works now.

shadiguy1 01-11-2005 06:48 PM

its displaying but i think ther eis something wrong with the template part now. Please take a look.. here are screen shots.

ericgtr 01-11-2005 06:54 PM

Okay, how does it work if you try it on a side?

Here is the template again, in case I missed something in the inital post.

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="15" height="15" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"><tr><td></td></tr></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<!-- Todays active users -->
$whotoday
<!-- Todays active users -->
</td>
</tr>
</tbody>
</table>
<br />


shadiguy1 01-11-2005 06:59 PM

only thing not showing up is actually how many have visited it showed them correctly just need to put the number on it .. Of how many actuall have visited ill show yah what it looks like as of now.

ericgtr 01-11-2005 07:14 PM

Quote:

Originally Posted by shadiguy1
only thing not showing up is actually how many have visited it showed them correctly just need to put the number on it .. Of how many actuall have visited ill show yah what it looks like as of now.

Okay, I added that. I replaced the adv_portal_onlinetoday.txt re-upload it and you should be good.

shadiguy1 01-11-2005 07:15 PM

worked thanks for all the trouble heheh much appreciated bro,

ericgtr 01-11-2005 07:19 PM

Quote:

Originally Posted by shadiguy1
worked thanks for all the trouble heheh much appreciated bro,

That's okay, we want it to be right if it's going to be posted :) I have so many little tweaks in my templates that sometimes it's hard to keep track of what's what which is where things got confused lol.

Twigz 01-11-2005 07:32 PM

Great work. Worked like a Charm. *InStalled*

stumparoooo 01-16-2005 05:21 AM

I'm still pretty new to vBulletin and this is my first time trying a hack, so forgive me if this is a stupid question.

I'm running version 3.05 and just tried to install it. On my forum's home page, the box shows "Total users that have visited today", but no users are showing up. It's completely blank.

I followed the directions and modified the index.php code in SmartFTP and the FORUMHOME template in the AdminCP. Do you have any idea why the box shows, but no usernames? What can I do to make it work??

Thank you in advance for your time.

Paul M 01-16-2005 11:10 AM

Are you sure you saved the modified index.php file ?

stumparoooo 01-16-2005 03:36 PM

Quote:

Originally Posted by Paul M
Are you sure you saved the modified index.php file ?

Yes, the modified index.php file is saved.


The whole code was copy and pasted in the index right above "Logged In Users".


edit: My mistake--I forgot to upload it after saving it in FTP. :speechless:

Thank you for your time, though!!

It works now and I love it! :):)

sportsoutlaw 01-16-2005 06:10 PM

great addition to my forum, thanks.

Hexemer 01-17-2005 09:05 PM

Thanks, works nice! :)

MickDoneDee 01-20-2005 12:40 PM

Thanks again for the hack, Paul. Just wondering whether you could also do a companion hack to appear under this hack to show "Total users that have posted today"?

Paul M 01-20-2005 06:32 PM

Quote:

Originally Posted by MickDoneDee
Thanks again for the hack, Paul. Just wondering whether you could also do a companion hack to appear under this hack to show "Total users that have posted today"?

Hmm, not something I would use, but I'll look into it for you. :)

MickDoneDee 01-20-2005 06:41 PM

Thanks, Paul. I think it would be useful to see how many people actually post when logging in. It would be extra nice if when a name is clicked a page opens containing the posts that they made "today". So that the posts for that individual are displayed like a thread. This would be more convenient than the advanced search function.

Treasure Quest 01-21-2005 02:34 PM

Hello,
I had this mod installed on my Vb 3.0.6 yesterday and its not showing any users as visiting the forum. Any suggestions as to what might be the problem?

http://www.treasurequestxlt.com/community/


Thank you,

Greg

Vevina 01-21-2005 03:08 PM

Thanks Paul, me likes :)

But when i "hover" over user names the time is not showing, it's showin as Registered User, Moderator etc :(

Can you tell me what ive done wrong or need to do to correct it please !!

Paul M 01-21-2005 03:43 PM

Quote:

Originally Posted by Treasure Quest
Hello,
I had this mod installed on my Vb 3.0.6 yesterday and its not showing any users as visiting the forum. Any suggestions as to what might be the problem?

At a guess you either haven't done the file edit to index.php, or you haven't uploaded the edited file.

BTW, you aren't showing as having it installed it. :)

Paul M 01-21-2005 03:47 PM

Quote:

Originally Posted by sweet2sweet2
Thanks Paul, me likes :)

But when i "hover" over user names the time is not showing, it's showin as Registered User, Moderator etc :(

Can you tell me what ive done wrong or need to do to correct it please !!

There is no way I can think of for this to happen, hell, it would need a bit of extra code if you wanted to do this.

what is your site address ?

Vevina 01-21-2005 03:51 PM

address in pm :)

Treasure Quest 01-21-2005 04:28 PM

Quote:

Originally Posted by Paul M
At a guess you either haven't done the file edit to index.php, or you haven't uploaded the edited file.

BTW, you aren't showing as having it installed it. :)

Hi Paul and thanks, the code would have been uploaded because I have the box for the "Last users visited" right,
http://www.treasurequestxlt.com/community/

I'll check it again,

Greg

Paul M 01-21-2005 06:33 PM

Quote:

Originally Posted by Treasure Quest
Hi Paul and thanks, the code would have been uploaded because I have the box for the "Last users visited" right,
http://www.treasurequestxlt.com/community/

No, the box display is from the template change, which you have obviously done. The code that creates the list (in index.php) is missing.

Vevina 01-21-2005 07:34 PM

ok ive just tried it again and now i'm gettin this:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fhlinux199/r/research-complete.co.uk/user/htdocs/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 194

line 194 $styles = $DB_site->query("SELECT styleid, title, parentlist, parentid, userselect FROM " . TABLE_PREFIX . "style ORDER BY parentid");

line3054 eval('$devnull = "' . $template . '";');

Please Help !! :ermm:

Paul M 01-21-2005 07:57 PM

You appear to have broken a template - the only template used by this hack is FORUMHOME so I suggest you revert it and start again.

Paul M 01-22-2005 11:53 AM

Quote:

Originally Posted by MickDoneDee
Thanks, Paul. I think it would be useful to see how many people actually post when logging in. It would be extra nice if when a name is clicked a page opens containing the posts that they made "today". So that the posts for that individual are displayed like a thread. This would be more convenient than the advanced search function.

See Members who have posted today :)

kodeking 01-23-2005 06:38 PM

I love it. Simple and works

Bluetiereign 01-23-2005 08:17 PM

Got the identical error..fixed with a revert to original.


Quote:

Originally Posted by sweet2sweet2
ok ive just tried it again and now i'm gettin this:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fhlinux199/r/research-complete.co.uk/user/htdocs/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 194

line 194 $styles = $DB_site->query("SELECT styleid, title, parentlist, parentid, userselect FROM " . TABLE_PREFIX . "style ORDER BY parentid");

line3054 eval('$devnull = "' . $template . '";');

Please Help !! :ermm:


Bluetiereign 01-23-2005 08:38 PM

BTR <*installs*> :classic:

Paul M 01-23-2005 10:04 PM

Quote:

Originally Posted by Bluetiereign
Got the identical error..fixed with a revert to original.

I guess you made an error somewhere. :)

chinch 01-27-2005 03:06 AM

nice job with this mod!

is there any way to have it show visitors from the last "24 hours" instead of "today".

for example my list just went from 341 members down to 5 after midnight :)

detalhe 01-27-2005 01:37 PM

I've instaled it, works great, but I'd like to know where can I modify the 'Total Users.....' phrase to another language than English ;)

Paul M 01-27-2005 04:06 PM

Quote:

Originally Posted by chinch
nice job with this mod!

is there any way to have it show visitors from the last "24 hours" instead of "today".

for example my list just went from 341 members down to 5 after midnight :)

Uncomment this line ;

PHP Code:

//$cutoff = $now - 86400 ;  // Uncomment this line if you don't have vB 3.0.3 and all users are showing. 



All times are GMT. The time now is 07:33 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.01406 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (1)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