Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Hi again!
- This new beta is more ubb-compatible , it supports moving/deleting/pruning threads. Using cookies, I've designed the hack to count one thread view per browser session. Which means that we need to update the counter file only once!

- To download it: Click here

Best Regards

Sponsored Links
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
sweet, ill look into using this

Joined: Jun 2000
Posts: 22
Member
Member
Offline
Joined: Jun 2000
Posts: 22
does the [modified] mean the codes been modified since v1.0? And the ones with nothing don't need to be touched?

Thanks

Joined: Dec 2000
Posts: 12
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 12
Hey is possible put the view also in forum summary page between posts and last posts?

Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Very nice work JB007, I am glad you got all the cookie issues solved. smile

Sponsored Links
Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
few things...
its installed on ubb6.02.
when i just view the topic. it gets 2 views.
after i view on topic on a single browser session it wont add any views to any other topics i view, un till i restart my browser.
??

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Yeah, that's happening because there was an error in the instructions file in the first few minutes, the error was in ubb_get_topic.cgi. Re Dowanload hitscounter4.txt and apply the modifications in ubb_get_topic.cgi.

saehoon, yes the [modified] tag means that there are changes since the last beta [1.3].

prova, I'll try to do it if I have the time but that will also increase the load on the server, so I'm going to give an optional instructions for that.

[ April 09, 2001: Message edited by: JB007 ]

Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
just redownloaded. used a new ubb_get_topic.cgi file

and same problem occurs

Joined: Jun 2000
Posts: 19
Member
Member
Offline
Joined: Jun 2000
Posts: 19
The mod installed without problem but when I go through the threads, only the first thread I click on gets counted. SO that if I goto Thread 1, its counter goes up by 1 but if i then goto Thread 2 or Thread 3, their counters do not go up. Any ideas??

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
What version of UBB are you running it on? I'm running UBB 6.03 with not problems.

[ April 10, 2001: Message edited by: JB007 ]

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Same prob with me. 6.03

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Sorry guys smile , there was a minor problem in the hitscounter4.txt , all you've to do is to re-paste the code in ubb_get_topic.cgi , so download the file again!
The details:
In the first few minutes there was a small error in the file so I quickly edited the code in the file without testing it, unfortunatly, I did not write it correctly, however I inserted the right code in ubb_get_topic.cgi file later so I was not able to track the problem until I reinstalled UBB and the hack using the instructions.

Best Regards

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
thanks for the update smile
yo JB007 is there a way to call this on the topic pages?

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Works fine now JB. Nice work.

Joined: Feb 2001
Posts: 67
Member
Member
Offline
Joined: Feb 2001
Posts: 67
Nice Job indeed..
installed and working ..

thnx.

i'm getting a white page thought when going to a forum with more then 1 page!!

[ April 10, 2001: Message edited by: Compboy ]


What Would UBB look like with out hacks?
Joined: Apr 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 5
that fixed one problem, but i keep getting double view counts..
if i just click the topic then hit back then refresh the view counter goes up by 2
on every topic i view

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
yea just added it lookin nice!

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
MasterMind, thanks smile

ta twam asi, and Compboy .. can you give me the url to your boards?

Jigga-Master, I've done what you requested but I need to write a upgrade file and modify the instructions file.

Joined: Jun 2000
Posts: 19
Member
Member
Offline
Joined: Jun 2000
Posts: 19
the fix worked. thanks for the help. keep up the good work.

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
- Okay, the files are ready now, the update file is located here .

- I've added optional instructions to show views in the Active Topic's hack.

Hop you enjoy it!

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
I installed this on my test board this afternoon, and it appears to work fine, except that I cannot reply to any of my threads now. I just get a "Zero byte data error" in Netscape.

Any ideas?
http://www.3drealms.com/cgi-bin2/ultimatebb.cgi

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Joe Siegler, Can you access the log files? I'm running UBB 6.03/Linux with no problems.

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Yeah, I can. What am I looking for?

BTW, I noticed you registered on the test board, JB007. That "big red notice" doesn't apply to you. That applies to the goobers who are on my forums who like to cause trouble, and would disregard a "please don't post here" notice unless it was big and red like that. smile

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Good, so you can see the latest error in the log files, what does it say? Anyway I'm gonna try using UBB 6.04 today ..

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
I can, but I won't be able to look at that till tomorrow. The log file is massive (over 10megs), and on my 56k dialup at home here, I'm not gonna attempt to go to the bottom of the thing. smile

I'll look at it tomorrow when I can access it with my office T1. smile

Joined: Dec 2000
Posts: 12
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 12
hey jb is difficult hack for view in forum summary? Pls this hack for view in forum summary is very good. Thanks for your work!

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
I'm running the log file through a processor now for yesterday. (It was 13.5Megs Gzipped, something like 190Mb raw).

Anyway, what am I looking for?

I'm also going to try putting this hack in on default code. I put it in on already hacked code, so I wonder if other hacks I have are causing this problem.

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
If you can view the latest records then maybe we can get some more information about the problem.

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Well, I just put the hack in a stock 6.04 code, and the problem still exists. There is a problem with your cp_lib.cgi instructions with 6.04, though.

### FIND:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~n!;

### REPLACE WITH:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;
print FILE qq!count_views => '$in{count_views}',n!;
print FILE qq!show_topics_views => '$in{show_topics_views}'n!;

The problem is that FoodCheckSpan is not the last variable anymore. If you replace FloodCheckSpan as instructed, the new runon limit variable in 6.04 is the last one. I've found that if you replace these as instructed, the board won't run at all, because the variables are out of order. If you put your two new ones here after the new one from Infopop,

print FILE qq!runOnLimit => q~$runOnLimit~,n!;

then the board will run. However, I still have the reply problem. I find it hard to believe that this is the cause, but it's the only irregularity that I've found putting this in 6.04.

Also, the log file doesn't appear to show errors, at least I can't tell by looking at it. Due to the fact that my log is 185Mb (raw), the text editors I've tried looking at it with crash. If you could tell me what I should look try and look for, I could search for it.

Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
i ran into the same problem joe experienced with 6.04a, i couldnt find the sentence in cp_lib.cgi, its like this now

print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;

so i halted the modification after reading his reply problem. im waiting eagerly for you guys to upgrade this.

Joined: Mar 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 20
Hi ppl

Great hack JB007 laugh

Yep I had the same problem in 6.04a so played around a little and its working great now.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
to get it to work try this

+++++++++++++++++++++++++++++++++++++++++++
5. cp_lib.cgi

### OLD FIND:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~n!;

++++ NEW FIND:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;

### OLD REPLACE WITH:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;
print FILE qq!count_views => '$in{count_views}',n!;
print FILE qq!show_topics_views => '$in{show_topics_views}'n!;


++++++ NEW REPLACE WITH:
print FILE qq!FloodCheckSpan => q~$FloodCheckSpan~,n!;
print FILE qq!count_views => '$in{count_views}',n!;
print FILE qq!show_topics_views => '$in{show_topics_views}',n!;

+++++++++++++++++++++++++++++++++++++++++

Hope this helps ppl

Wheelie


Wheelieâ„¢
Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
I'll try it again with this modification, but does this solve the "can't reply" problem?

I had it working fine insofar as the thread counting goes. However, I could NOT get it to reply to any message, though. frown

Joined: Mar 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 3
ok

but this hack working with ubb4.06a
who tested?

Joined: Mar 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 20
Quote
quote:
Yes Joe everything seems to be working great


Wheelieâ„¢
Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
No , still having problem with 6.04a even after doing AceWheelie edit .

it worked great until i add a reply ,
First: the following appeared in all Topic pages
Quote
quote:
Second: the counter increased by 4 , then by 1 if you Refreshed the page or even you used the back and forward buttons , and it will keep increasing , not just one time in the browsing season .

[ April 16, 2001 04:48 PM: Message edited by: Wanted ]

Joined: Mar 2001
Posts: 20
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 20
Quote
quote:
Second: the counter increased by 4 , then by 1 if you Refreshed the page or even you used the back and forward buttons , and it will keep increasing , not just one time in the browsing season .

[ April 16, 2001 04:48 PM: Message edited by: Wanted ][/b][/QUOTE]

I dont understand why its seems to work fine on my test board go try it yourself

My Test Board

It may have something to do with the fact that I did a complete reinstall of all hacks when I upgraded to UBB 6.04a I dont know?

Wheelie


Wheelieâ„¢
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey, so far... wink It looks like it is working here:
https://www.ubbdev.com/db/cgi/ultimatebb.cgi?ubb=forum&f=20

Thanks for the nice modification.


- Allen wavey
- What Drives You?
Joined: Jul 2000
Posts: 81
Member
Member
Offline
Joined: Jul 2000
Posts: 81
AllenAyres ,,, The problem appears only after the First reply .
before the reply it was working great .


anyway , i'll try to reinstall it again and we will see

Joined: Apr 2001
Posts: 33
Member
Member
Offline
Joined: Apr 2001
Posts: 33
Hi

is there a revised version of this hack to download that is compatible with ubb versions 6.04, 6,04a?

TIA

Joined: Apr 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 16
I've been fiddleing with this hack for the last couple hours. I finially got a .shw file written. The one problem I'm getting is nothing updating on the forum pages. No numbers being displayed at all. The script seems to be counting. (you can see the number in the topic header when clicked on) You can view my board here: http://tattlerboard.cjb.net

I'm running 6.03. Any ideas as to what's causing that? Template maybe?
Thanks for a great hack!

Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)