![]() |
Simple (especially for novices like myself) and effective. Thanks! :)
|
Great Hack, I would like to add it to the bottom of my page, I have tried placing it in numerous spots of the FORUM HOME template, and I get it there, just not the right format. Its either vertical or half the page. Any ideas?
|
I don't quite follow, the instructions tell you where to place it in the template.
|
Look at TEAMBAJAMARINE's forum. What's Going On is at the top of the page. The original template has What's Going On near the bottom of the page. Does TEAMBAJAMARINE want the Members who have visited today (with last 24 hours option) hack to be seen in What's Going On or be seen separately at the bottom of the page?
|
It's already in the what's going on section, to put it seperately at the bottom would require some extra code to create a table - as the supplied code is for a single row in an existing table.
|
Quote:
|
In the original FORUMHOME template the code at the end of the forum table looks like this:
</tbody> </table> <!-- /main --> <br /> <br /> <!-- what's going on box --> This code includes a couple of line breaks to put a space between the forum table and the What's Going On table. If you want a gap then make sure you put your code after the two <br />'s. If you want Paul's hack to be butted on the end of the forum table then his code must be inserted between </tbody> and </table>. Try adding this code after the two line breaks: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> |
Mick,
Fantastic Work, Thank you! I made a few line break adjustments, but worked like a charm. See it in action here... http://www.teambajamarine.com/forum/ |
You have put the code here:
</tbody> Your code </table> <!-- /main --> and added a <br /> before the code to add a gap between the forum and Paul's hack. Since you added a <tbody> inside the forum table container I don't think you need: <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> & </table>. You only need those lines if you are creating a new table container for Paul's <tbody>. I hope that makes sense. If not, just leave the code as is as it seems to work. |
have a question here.......this hack has been working great for a few months now and really makes the forum look nice but i have a problem the past few days.....
i just switched servers and since the switch every night at about 6 p.m. eastern it goes blank (has 0 members visited in last 24 hours) and doesn't start up again until a few hours later (probably like 1 a.m.). Any idea how i could fix this or what the problem would be? |
The timezone on your server is probably wrong, it also sounds like you have an older version of the hack as this shouldn't affect the newer versions. Try installing the latest version of the code (2.31).
|
will this work with 3.5?
|
Quote:
The 3.5 version is here ; https://vborg.vbsupport.ru/showthread.php?t=82769 |
Good job, installed/
|
Installed. Works great. Thanks!
|
Hi, I installed this hack about ten minutes ago, but when I refresh the index page and see that there have been other members online, the new box is blank... and still is! What might be wrong?
|
Link ?
At a guess, you either haven't done the edit to index.php correctly, or you haven't uploaded the edited file. |
What do I need to change to show users from the entire month?
|
Quote:
|
Not too bad of an idea for smaller sites.
|
Would it at all be possible to display this info on a non vb page.
Could you provide the code? |
Thank you dude, I installed ;)
|
Quote:
Quote:
|
Quote:
Would any of the other coders be prepared to port this to a stand alone script to be used on a not VB page? |
Super simple, super effective! Thanks for the great mod!
Cheers! :) |
|
nicely installed thanks paul
|
Thank you, Thank You, Thank You - Easy Install!
|
Ok, I have it commented off like this for now
Code:
$cutoff = TIMENOW - (substr($tnow,8,2)*3600 + substr($tnow,10,2)*60 + substr($tnow,12,2)); |
Also, I've been through ALL 40 pages of this thread and was wondering if you could direct me to a question on the CMP Module? I want to know what to change in the CMP Module to change it to a rolling 24 hours instead of the today which resets at midnight.
Thanks. Also, to go with the above, I didn't make the same mistake others are making, I removed the "//" and even removed the $cutoff line above it and it shows ALL my users. Much like a member before had mentioned, when I do the mouse over, the time is right of their last log in, but the dates are months ago, so should not show them all like that, help on both would be great. |
I suggest you upload the file you are actually using in your CMPS so I can see the code.
|
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> |
No, not the template, the (php) file.
|
Well, I'm on 3.0.6 because if I upgrade I'm not sure how to keep all my "hacks", but when I uncomment the line for the $cutoff in the php file it shows ALL of my users in the box. Can you help me on that one?
|
Change the uncommented line to this ;
PHP Code:
|
Uh, nope, that didn't do anything but send it back to showing all my users. I'm not sure what the comment line after the code was supposed to do, since it is just a comment line. ??? Any other guesses.
|
It's not a guess.
Sorry, but without access to your files etc I can't really help you as I can't figure out how you have things set-up and what code you are running. BTW, the comment is exactly that, nothing more. |
that's what I thought, it was just a comment. I got the module working, but would like to see it changed to a rolling 24hr deal instead of just showing today, but this is still a good hack. Thanks.
|
Cheers PeM :)
|
Paul will this work with 3.6? If not, are you going to update it?
please? |
All times are GMT. The time now is 03:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|