#39182
05/13/2001 11:37 AM
|
Joined: Mar 2000
Posts: 162
Member
|
Member
Joined: Mar 2000
Posts: 162 |
The fix is very simple: Remove the following line of code from ubb_library2.pl. That's it!
|
|
|
#39183
05/13/2001 12:22 PM
|
Joined: May 2001
Posts: 50
Member
|
Member
Joined: May 2001
Posts: 50 |
Thanks for the quick reply! I'll test it out shortly.
|
|
|
#39184
05/25/2001 12:34 AM
|
Joined: May 2001
Posts: 5
Junior Member
|
Junior Member
Joined: May 2001
Posts: 5 |
Where can I get this hack except for UBB6?
|
|
|
#39185
05/25/2001 6:03 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Maybe go look in the UBB6 forums...
|
|
|
#39187
07/02/2001 5:29 PM
|
Joined: Jul 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 1 |
Got it working fine on UBB 5.44a. I already had the "last username to post" hack so I made a minor adjustment to one of the forumdisplay mods (both hacks work fine together now). I also skipped the $extrapages routine but everything seems okay (so far!). See here I'll let you know if anything goes wrong!  Many thanks for a great hack, JB007. You deserve a kiss from Ms Moneypenny! 
|
|
|
#39188
09/27/2001 7:07 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Cool, I have this working on a heavily hacked 5.45c board. Yep, it took a llittle time to run down some changes that needed to be made, but it works! Even the fix for the multi-page problem listed on page 3. Here is my dilema...and I am just plain tired so I thought I'd drop a note here. I'll continue to work on this...but I need to walk away following several failed attempts.
I have the Redirect Hack installed, and everything works fine...except when you move a thread...and I guess this might happen even if you just close a thread...anyway, views are still counted in a closed thread...and I want the counting to stop if a thread is closed.
Break time! Again...good job on this 007!
|
|
|
#39189
09/30/2001 1:28 AM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Not sure if anyone cares....but I have this working on a heavily hacked 5.45c board (as above), and I have modified the code for active.cgi as well as the getdaily subroutine to reflect the current status of the hits counter in the Control Panel. Also took a while to square away the "Last Reply by" cooperation when there are multiple pages!  (I looked through this thread and only saw a mention of it, but no fix.) No worries...007, works a treat! Thanks for the code...I had VERY little to modify thanks to you!! 
|
|
|
#39190
10/28/2001 12:58 PM
|
Joined: Oct 2000
Posts: 27
Member
|
Member
Joined: Oct 2000
Posts: 27 |
How resource intensive is this Hack? I would like to install but I have a very high traffic forum and concerned about it's impact on the server. Can anybody who is using it commment?
|
|
|
#39191
11/07/2001 3:54 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
What kind of numbers are you talking about? I have it on one board with ~1K users...I'd have to check the logs for usage, but it has never seemed to be a problem. I just got back from Seattle and plan to add it to another board.
|
|
|
#39192
12/27/2001 9:13 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Sorry to bump this up...I just wanted tomake sure it was clear about a small fix. I think I read the fix here...but here it is.
If you have a thread that moves to more than one page, the counter resets to zero! Funny thing...I have had this running on one board, remembered to put the fix in and had NO troubles. I just added it to the Viper Board and forgot the fix and for the life of me could NOT remember what I had done! LOL Someone said the word "unlink" to me and I remembered it all.
In ubb_library2.pl you are supposed to add this line of code [code][/code]
The fix that I read here (I think) was to OMIT that bit and the counter would count on...and on....
Imagine how silly I felt when I realized this!! LOL
Happy Holidays!
|
|
|
#39193
01/01/2002 1:26 PM
|
Joined: Oct 2000
Posts: 27
Member
|
Member
Joined: Oct 2000
Posts: 27 |
Vip,
I am talking about a forum that does about 10 million page views per month. Would it drastically increase server load?
|
|
|
#39194
01/01/2002 2:39 PM
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
Let me get some stats for one of the boards I work on. I cannot comment directly as I just recently implemented this feature on the Viper Board and it seems to be doing OK....hits there appear to be over the 10 million mark...but I've only had the counter going for a couple weeks now.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|