|
Joined: May 2002
Posts: 17
Junior Member
|
Junior Member
Joined: May 2002
Posts: 17 |
My HitHack works now - I think it was a cache problem after installing. But, one question:
does the HitHack generate a lot more Perl .CGI requests? I have a problem with too much traffic on my server (1GHz P3 768MB RAM) and I need to streamline my forum as much as possible.
|
|
|
|
Joined: May 2002
Posts: 17
Junior Member
|
Junior Member
Joined: May 2002
Posts: 17 |
Sometimes the ubbhits.cgi "freezes" the loading of a page for a couple of seconds - why?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1) 1 more .cgi file per forum summary/page visit, but it's not as massive as ultimatebb.cgi. 2) never happened here 
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
Is this working for v6.3.1?
Also it seems to cause more of this annoying 'Execution' errors that UBB6.3.1 spits out on its v6.3.x series now.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I have NO idea what you're talking about. 
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
If a forum summary page takes too long to load then it now spits out an execution error, I believe the time period can be set somewhere although I haven't found it and UBB seems to default to 30 seconds. UBBDev's been throwing it up a bit today as well.. just a little.. very variable. Obviously Hit-Hack adds to the loading of long summaries = more common problem, not your scripts fault.
That aside and does this Hit Hack support v6.3.1, or don't you have any idea what that is? =)
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Obviously not, since 2.0 uses ubb_hits.cgi. Edit: and yeah, it works on 6.3.1 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Files updated - important bugfix. Overwrite ubb_hits.cgi.
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
Bug (using updated v2): Double Counting
Firstly after having installed it and timing the before and after loading time of forum and topic summaries I did find that it added about 1 second to the topic loading times. Nothing big, but when a summary loads in 1 second, 2 full seconds is twice as slow =).
Anyway, I've found on my beta board (with only me testing) that if you enter a topic and then click back to the topic summary it counts in multiples of two and now 1? Thus 1 visit = 2 and 2 visits to the topic = 4.
Try for yourself: http://www.ispreview.co.uk/ubb/ultimatebb.php?ubb=forum;f=1
Also, doesn't this affect cache since its more dynamic and therfore must update more often? I removed it from the forum summary pages since there was no need, so if you note that then it's not a bug, just my own preference.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1: double counting - if you access PHP page but the cache is cleared, it counts once for PHP and once for CGI - twice. I guess I'll fix that by writing the last number (or IP) to view the topic soon. 2: cache/time - it uses a different file (ubb_hits.cgi), so it can't slow it down unless you count the time until the other file is loaded, which is from
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
Oh I see what you mean, however please note that IE6 (as with others before it), which is the most used browser, loads HTML tables in bulk and thus unlike Opera I don't see the table and then the hits - it all loads together unless the site is really slow or showing a lot of topics, hence the delay.
|
|
|
|
Joined: Mar 2002
Posts: 7
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 7 |
Opera don't shows the hits? Why?
|
|
|
|
Joined: Mar 2002
Posts: 7
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 7 |
.. and also Netscape 4.5 
|
|
|
|
Joined: Oct 2000
Posts: 40
Member
|
Member
Joined: Oct 2000
Posts: 40 |
This is another hack that does not work with the Blam Templates. would someone please edit the templates so they do work? Thank you.
Newbie From Hell
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
the hits.cgi gots not chmoded to me right and the php-accelerator complains that he cant access the hits.cgi file cause of no permission ..... ? any ideas ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Sep 2001
Posts: 93
Member
|
Member
Joined: Sep 2001
Posts: 93 |
it's my server 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
LK help please. Just installed new copy of board: board and installed your hit hack. I don't see the hits appearing anywhere - what the heck have I done wrong, followed everything to the letter, twice!
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
doh! that was the reason thanks. 2 other problems now: When I go into cp and modification wordlet list I don't get anything appearing - only says "Page:" with nothing else underneath it. Also the forum summary hits that appear after each description of the forum summary seem to be counting double what the actual topic hits are counting - I don't actually need the hits on the forum summary page, just within each forum is fine - can I remove them from main summary page?
thanks
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. Make sure vars_wordlets_mods.cgi is fine, rehack ultimatebb.cgi/cp.cgi/cp_wordlets.cgi from Mod Wordlets instructions. If it still deosn't work, post your vars_wordlets_mods.cgi content here. 2. Just undo public_forum_summary.pl 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
rehacked and I still get this as content for vars_wordlets_mods:
%vars_wordlets_mods = ( q!mod_wordlets! => q!Modification Wordlets!, );
1;
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
vars_wordlets_mods.cgi should also have the following after %vars_wordlets_mods = ( count_on_click => "Hits", count_on_click_lowercase => "hits",
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
ok now I have the "hits" and "Hits" showing on the board but:
1. the cp modification wordlets still shows a blank page with just "page" on it
2. when I view a post the forum summary total increases by 1, then when I view it again the forum summary increases by 2, then 1, then 2. The forum pages incriment by 1 and are fine
?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. Rehack cp.cgi and cp_wordlets.cgi from mod wordlet instructions AGAIN 2. No idea, but you're going to remove it from forum summary anyhow, right? 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
ignore pm I just sent you, I was going to remove it but I actually quite like it now - any ideas? I'll redo 1. again!!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Your PHP Accelerator is acting strangly (PNTF's fault), that's why The next hit2 version should fix it.
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
ok thanks - when's that due out?
another question, I want to add into this new board same hacks I had of yours from previous board - memberlist and jIRC chat mod.
1. Is it ok to add these now and then migrate all members and posts from my old board, ie is there anything in the migration process that screws up these hacks ? - alternative would be to import members and posts then redo hacks but would rather do hacks first if not a problem.
2. the jIRC chat mod, can I atually move this to another board, seem to remember you take license out for one url only, if not can I use the mod and link into the chat on my existing board?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
0. dunno 1. Yes, I think it's fne. 2. I don't take licenses, jPilot does.  The URL depends on the domain, so if both your boards are held on the same domain it's fine.
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
they're not both on the same domain - so can I use your mod but somehow keep the actual chat board where it is and just link to it from your link on the forum summary page ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes, that's fine. I don't even get a share out of the money they make 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
LK - how the hell do I migrate my members and posts from old board to new, can't seem to find info on this anywhere ? Do I just copy old members folder and each forum and upload it into new board ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes. 
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
ok I just took all member profile cgi's and loaded them into new board, seems to be ok except when you select a user avator for them it doesn't show up - this a conflict between versions ?
|
|
|
|
Joined: Nov 2001
Posts: 70
Member
|
Member
Joined: Nov 2001
Posts: 70 |
actually scrub that, just needed refreshed!
|
|
|
|
Joined: Aug 2002
Posts: 2
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 2 |
getting this error: CGIPath/ubb_forum_summary.cgi: syntax error at CGIPath/ubb_forum_summary.cgi line 204, near ") {" syntax error at CGIPath/ubb_forum_summary.cgi line 245, near "} else"
|
|
|
|
Joined: Nov 2001
Posts: 170
Member
|
Member
Joined: Nov 2001
Posts: 170 |
LK Can you store the hits an separate file for example for topic # 007144 it will store the hits in hits0071.cgi The reason for this is that I have forms the have 7000 topic it will cause a big delay in my board
|
|
|
|
Joined: Jan 2002
Posts: 27
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 27 |
Could someone instant message me on AIM. on how i could change, < Hits > what everyone sees the column called in the forum to < Views > so people basically know they are getting their posts viewed...just to make it easier for some people with less terminology ..
Thanks.
AIM : DUMB OR DEAF
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Just change it in the wordlets 
|
|
|
|
Joined: Jan 2002
Posts: 27
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 27 |
Thanks Allen, Worked Fine!
Also 1 more thing. on Ultimatebb.cgi The Main forum page Like you have your catagories.
like
Fun < catagory >
then you have your sub cats inside of that
like
skiing basketball etc.etc.
well in the subcatagories
if you get what im saying ....theres a LAST POST Columb
it will say posted by MR. LARUE on 8/10/2002 10:43 PM (2 HITS)
how do i get rid of the (2 HITS) from the main page. I want it to show HITS in the forum column but not on the main page like that. I think it looks ugly. And when the board grows much bigger ...The number would be big..and look bad ....
Well If you can help me i appreciate it.
Thanks Allen.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|
 |
 |
 |
|
|