This hack displays statistics for your UBB like a separate category at the bottom of
forum home and provides a detailed stats page.
Name:
Stats Hack 1.2Description:
Adds extensive statistics to UBBAuthor:
Tovok7 <webmaster@Tovok7.de>Date:
04-03-2002Thanks to:
LK [ homepage ]Compatible with:
Multihack, XHTML, UBB Cache and UBB AcceleratorLink:
http://Tovok7.de/ This hack went through an intensive testing process and should be bug free now. If you discover any bugs please post them here.
A demo can be seen at
LK\'s Board .
any big differences between 1.1 and 1.05?
Changes from 1.05 to 1.1:
- added Topics per Day
- added Posts per Day
- added days since UBB was set up
- fixed the dependencies bug
- added a truncate option to cp
- fixed some little other things
As long as you haven't any problems with Stats Hack and as long as you don't want the new features, there is no need to upgrade.
trying to download-
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
ATTN: There is currently no multihack file for v1.1
I was just too lazy :rolleyes: to make one.
Very nice added it today. Works great.
Yeah I installed this a while ago and it works great.
I lost my Who's online...somebody know why?
How can we know without even a URL?
The board in your 'homepage' link is 6.04e, so I guess it's not that one.
quote:
Originally posted by LK:
How can we know without even a URL? The board in your 'homepage' link is 6.04e, so I guess it's not that one.
Yeah i know. My new board is 6.20. But i allready found it out. Little mistake in the vars_wordlets_mod install with the statshack (my fault)
Now its working great.
Good hack!
JBSET - what was the wrong doing? My "Recent Visitors" isn't showing.
splain
quote:
Originally posted by Cuzz:
JBSET - what was the wrong doing? My "Recent Visitors" isn't showing.
splain
Allready solved the problem!
...lol - i meant could you share with me what your solution was to fix why the recent visitors wasn't showing?
Will this work with 6.2 final?
yes ...
@tovok7 : kannst du die geburtsdaten reinnehmen ? - jümgster, ältester user und durchschnittsalter aller gemeldeten (oder auch offiziellen) geburtstage?
----------------------
... hope tovok7 can insert birthdays
quote:
lol - i meant could you share with me what your solution was to fix why the recent visitors wasn't showing?
"Ditto" - my recent visitors isn't showing either
The stats hack also broke the poll feature in my forums
No biggie - I reverted all the modified files back but now the recent visitors doesn't show up on the forum summary anymore!
Oh well... here's to 6.2 going production!
The stats hack was cool nonetheless! Nice Job Tovok7!
quote:
Originally posted by melder:
yes ...
@tovok7 : kannst du die geburtsdaten reinnehmen ? - jümgster, ältester user und durchschnittsalter aller gemeldeten (oder auch offiziellen) geburtstage?
----------------------
... hope tovok7 can insert birthdays
Tovok7 knows English well enough to be asked in English, I think. Please leave German for the German forum or PMs.
How's it possible that this hack removes PNTF and polling?
cool, the statitics are a good idea
quote:
... hope tovok7 can insert birthdays
It is possible but it would require to read out each member file and compare all birthdays. That would cause an enormous increase of processor load and is not recommended. quote:
Will this work with 6.2 final?
Yes quote:
The stats hack also broke the poll feature in my forums
Don't blame stats hack everytime something isn't working
If you didn't test PNTF/Polls before installing stats hack, you should make sure it's enabled in the cp.
oops, i found my answer
quote:
Originally posted by Tovok7:
quote:
Will this work with 6.2 final?
Yes
hello I'm a newbie and am stuck!
What is the meaning of multihack please?
I have tried to install the stats and the chat but in the chat i got compile erra in the ultimateubb.cgi and the stat files i do not find all the strings you mention. So am figuring multihack might hold out some good chance for me?
Can someone tell me the difference and how to inplement it:)
visit! - download! - read!
ok,
Just installed this hack on 6.2, didnt miss a step, cleared cache etc, but the statistics table etc doesnt appear on the ultimatebb.cgi page when you load it. I can configure it through the CP ok, but it just doesnt get displayed for people to see. Do I need to "turn it on" somewhere in the CP, or is there an obvious reason why its not appearing. I cleared the cache many times.
Embercidal, please provide a URL to your UBB.
Did you read the FAQ at the and of the install manual?
http://forum.aliqua-online.com/~pright/cgi-bin/ultimatebb.cgi
And yeah i read the FAQ
Well, http://forum.aliqua-online.com/~pright/cgi-bin/ultimatebb.cgi?ubb=statistics works. I guess you made a mistake while hacking public_forum_summary.pl or ubb_forum_summary.cgi. So please rehack these files again.
Hello Tovok, seems that the link of multihack file of latest Stats hack, isn't correct. Can you fix it please?
quote:
Originally posted by Tovok7:
ATTN: There is currently no multihack file for v1.1
I was just too lazy :rolleyes: to make one.
Hi i have installed the hack, and the statistics box appears at the bottom of the page, and the little stat gif to the left but that's it there's now STATS in there....???
Anyone know why..??
I know wordlets-mod is ok as another hack i installed has used it ok. But even the words don't appear...?
Please help thanx.
Thanx for any help.
It's ok i've sorted it out now i missed:-
&DisplayStats;
Out of ubb_forum_summary cgi
Doh..!
I seem to be having the same problem Embercidal had/has. I've went through all the steps the instructions said and rehacked the ubb_forum_summary.cgi and public_forum_summary.pl but still can't get it to work. I've also cleared my cache plenty of times, (not to mention rebooted do to getting bluescreened grr) also ultimatebb.cgi?ubb=statistics works.
Forums:
http://sne.vze.com If anyone can help, I could send the hacked files so you could see what is wrong or if i cactualy messed up 3 times in a row.
Rehack public_forum_summary once again?
BTW, send your files only after you verify the person asking for it has atleast 6.2.0.
heh k well let me go hack it a 4th or so time lol
nope didn't work then either. I found one mistake but that didn't change anything visible i could see.
Cleared cache?
yup, bout 5000 times hehe
quote:
Originally posted by Saboter:
yup, bout 5000 times hehe
Take a clean copy of ubb_forum_summary.cgi and of public_forum_summary.pl then go slowly through the instructions, step by step and make it definitely sure that you read the instruction correctly. Do not mix up add below and add above. Then simply do the things you read and clear the cache. Then it will work.
Dozens of people did it before and they had no problem, so it must be you who had made the mistake.
Hi,
I installed this hack 3 times (not 1.1) and it works great. However, it doesn't show the text like total posts or something..
This is my URL:
http://www.fwave.net/ubb621/ultimatebb.cgi Not ready yet, just to let ya know.
Cache cleared, wordlets ok etc..
Thanks..
quote:
Originally posted by GotaN:
wordlets ok etc..
If wordlets were ok, you would see something written there. But do you see something? I don't. So why is this? hmm.. maybe wordlets are not ok? Right!
I suggest you to verify that you've hacked it all correctly. You should look into vars_wordlets_mods.cgi and at "add directly after it: # Copy the space, too!".
I can't understand why it's not working! Well I know the stats are working, just not showing on the main page.
Can access them here -->
http://death.supremity.org/cgi-bin/ultimatebb.cgi?ubb=statistics <--
I'll try rehacking everything one more time just to be sure. If it still doesnt work then I'm gonna go to sleep and try again tomorrow.
quote:
Originally posted by Saboter:
I'm just saying I can't understand why it's not working!
Well, I just can sit here and gues what's wrong. How do you expect people to help you?
I suggest sending the files to LK and let him check them. Then you'll see that you've made a bad pretty obvious mistake.
lol okay i'll ask him then
Is there anyway I could get a direct link to your program to download? I go to your web sight but don't read the language
Thanks
Rainner
It's the link at the bottom of the page... BTW, you could just type in the text in the first post ("
http://UBB.Tovok7.de ")
dahhh,
Thanks Lk, turns out I never let the page finish loading. I got a slow connection.
RaiNNer
Multihack file cannot be found???
Not Found
The requested URL /stats_1-1.mhp was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.19 Server at ubb.tovok7.de Port 80
quote:
Originally posted by Tovok7:
ATTN: There is currently no multihack file for v1.1
I was just too lazy :rolleyes: to make one.
Thanks Tovak, nice hack!
I got the hack in fine and all looks like its working great!
Just a little problem.
On the far right side, where my Mods column would apear for the forums above, I have a black box.
Any idea how to get rid of it?
Thanks
Rainner
quote:
Originally posted by Rainner:
On the far right side, where my Mods column would apear for the forums above, I have a black box.
Any idea how to get rid of it?
Well, I can't access adt-online.com but I think your problem is a known one. That's why I already implemented a bug fix.
So please RTF in statistics_readme.txt! It's the last frequently asked question.
Thanks Tovok
I tend to miss things periodically
Rainner
Wioew, I have so many errors that I just don't know where to begin
.
1) ?ubb=statistics = page not found
2) ?ubb=statistics_ssi = page not found
3) the table screwed up, I know that you can edit it in your cp (I also read the faq
) but then:
4) when I enter the cp and go to statistics I get the next error:
[code][/code]I hope somebody can help me, thanks in advance
edit: I guess it would be usefull I post the url aswell
Here ya go:
http://gknet.twistedanime.net/cgi-bin/ubb/ultimatebb.cgi
Rehack cp and ultimatebb.cgi...
OK, i'll try
Thank you, I now have acces to the cp, and ?ubb=statistics(_ssi) works. But the table is still screwed up. And whatever I change, nothing happens. And yes, I cleared the cache after every try.
So rehack.. hmm.. *.cgi except these two
Thanks now it works. Nice hack tovok7 (and LK)!
Just wish the download link worked
I'd like to try it too
Just wish the download link worked
I'd like to try it too
Sorry bout the multiple posts, but yer beta board is generating errors.................. then runnin outta memory
And the error is
An error has occured:
Undefined subroutine &main::ubb_mail_tng called at D:/216.205.119.230/ubbcgi/ubb_new_reply.cgi line 641.
Please inform the board administration of this error so that they may fix the problem. Thank you!
Oh .. then a stack overflow
link is dead
I moved my homepage to another server. The link is working again, but do not use UBB.Tovok7.de this isn't working anymore. Use
http://Tovok7.de instead.
I'm not sure if it's just an option I have'nt activated but I've noticed that when I installed this hack on my board, it has removed the Recent Visitors Feature (new one with 6.2.1) from the top. I'm not sure the exact line that calls this but is there a way to put it back?
Otherwise the hack works great.
Oh and by the way your Multihack 2.0 File link on your site does not work (your mirror site that is).
Thanks
Multihack file link is dead... please, some1 post the file here or Tovok, fix the link plz
Tovok, I think you should just make the multihack or take the link off the page, You have had to say several times that there is no multihack file for this version. (unless of course, you have made it and the link really is down)
I know, I am just as guilty as others, I posted before I looked back through the previous post to find out if this had been reported. I guess we all are bad about assuming we are the only one that has the problem we are reporting
The zip file for this hack does not include the vars_statistics.cgi file ... is this something I can use from my main board? I hope so!
Okay, in the FWIW area, I found a Multihack file for the "old" Stats ... the version 1.05
I uploaded it to
http://adwoff.com/Stats_hack.mhp I did not make any changes to it. I installed it, chmoded stuff, cleared the cache, went to the control panel and turned on options, opened the board, and everything seems to be in working order.
I was working on a Multihack file for the version 1.1, and it installed extremely well to the control panel.
I did all the steps I listed above, opened my board, and I discovered a syntax error.
I went back and tried to fix the syntax error, reopened the board, and it was a blank screen.
Anyone else have that experience? And if you did, how did you conquer it?
I wouldn't mind installing the newer version, but to be completely honest, the text file--near the end--was extremely difficult to read. It was mixed up; it had hyperlinks. (I don't know enough about the code to make sure everything was set up properly; if someone would like to look at that Multihack file to see how close it was to being good, PM me.)
I also have know idea if the version 1.05 is compliant with the accelerator or with the "recent visitors" or the WOL list hack.
quote:
Originally posted by ADWOFF:
The zip file for this hack does not include the vars_statistics.cgi file
This is simply not true. quote:
Originally posted by ADWOFF:
... is this something I can use from my main board?
No quote:
Tovok, I think you should just make the multihack or take the link off the page
OK I did this
quote:
Originally posted by Tovok7:
quote:
Originally posted by ADWOFF:
[qb]The zip file for this hack does not include the vars_statistics.cgi file
This is simply not true.
Why would I lie about this?
I downloaded the zip file from your website earlier. I opened it. In my .cgi file, I had two files -- cp_statistics.cgi & ubb_statistics.cgi
Okay ... I see where it was ... in the variables file.
My apologies. I don't have a separate folder for my variables w/my .cgi files, so I never even thought to look in there.
I certainly wasn't trying to be malicious when I said what I said.
Installed the hack and everything seems to look OK, but the "last post by" section does not work, it shows a post from 6 days ago and will not change.
My Site
It's working correctly, but there's a problem with your UBB. If Last Post isn't shown in forum summary when it's not in statistics.
Ummmm, Could you expand on that a bit? What is wrong with the UBB?
Dave
Most of the forums seem to be private and Stats Hack doesn't display private subject names in public.
Well that makes sense!
Thanks.
Just wondering about something. Lately my board has been receiving some occasional disk full type of messages.
The first time it happened it was definitely because I needed to change the config set-up with my server host, which I did.
But last night, about eight users reported the following type of error to me:
Could not perform buffered print to '/(I've truncated up to this part...) /ubb/cache-VP4YBBSQ/ubb_files/counter/2002-03-dynamic.cgi'. The disk is out of space - I was unable to write a new file. Please ask the administrator to contact the web hosting provider. The exact error returned by the operating system is: No space left on device
Now I definitely have it set up with my server that I still have space (about 150 Megs of storage and they also monitor files and I have about 6500 left there). I can't guarantee they do have the server space they claim I still can use, but my question is about the specific error message.
It looks like it's trying to write some file based on the counter and I didn't know if that's part of the default UBB page views counter or might be related to this Mod (which I use and really like). I don't want my board to generate errors just because of either the built-in counter tool or this Mod so if that's the case I'll probably try to disable them for the time-being.
Anyway, any suggestions to why this type of error message might have shown up?
Thanks
This should have nothing to do with this hack. Try to upload a one megabyte file to your server and check the file permissions.
Thanks for the response. I can upload large files without a problem. Which files in particular would you suggest checking permission on?
/ubb/cache-VP4YBBSQ/ubb_files/counter/
Maybe you'll get more feedback if you post your problem in a different forum.
Hi Tovok - how ya doing?
Installed stats 1.05 over 6.2.1 works great no probs - don't think Ill upgrade till the MH comes out - txt file looks too hard
My question, would there be a way to exclude a specific IP?
The amount of time my 2 sons and I spend there (3 pc's thru ICS and cable) we're probably clocking up most of the page views.
Thanks
can someone share the dissapearing recent visitors fix FINALLY??????????????
Version 1.2 of this hack was just released.
Changes from 1.1:
- Added link to Main Button Line
- Added Recent Visitors Support (not via multihack)
- Some little bugfixes
- Minor cosmetic changes
i upgraded from 1.1 to 1.2, still no recent visitors.
also, public_pntf_admin.pl, i dont have this file.
can anyone help?
quote:
Originally posted by suffeks:
can someone share the dissapearing recent visitors fix FINALLY??????????????
The disappearance of Recent Visitors is not caused by Stats Hack.
The file public_pntf_admin.pl is a template and first introduced in version UBB v6.2 which is required for Stats Hack 1.2
I just upgraded to 1.2 from 1.1, and now posts in private forums show up in the Statistics panel. If I remember right, that didn't happen in 1.1
Also, 1.1 the total member count would not update when you delete members.
quote:
Originally posted by Tovok7:
Version 1.2 of this hack was just released.
Changes from 1.1:- Added link to Main Button Line
- Added Recent Visitors Support (not via multihack)
- Some little bugfixes
- Minor cosmetic changes
I'm very confused Didn't stat hack 1.1 support pntf?
quote:
Originally posted by Tovok7:
quote:
Originally posted by suffeks:
can someone share the dissapearing recent visitors fix FINALLY??????????????
The disappearance of Recent Visitors is not caused by Stats Hack.
The file public_pntf_admin.pl is a template and first introduced in version UBB v6.2 which is required for Stats Hack 1.2
Actually, pntf_admin was added to 6.2.1
Ok i installed it, and it displays subject lines from private forums. I have 1.2.
When you turn off that option (last reply and the two other things) it messes up the math done for "Average Posts per day". Originally (With reply on) average posts was 671, when i turn the last reply off, it goes to 2071.
I also tried putting the truncate to 0, but it stills says 5 letters into the subject of any private post. If i could get it to say "Last Reply by SoandSo in "..."" that would be great, but its not letting me do that..
Sarvoth
After installing this hack, I couldn't add any events to my calendar, I kept on getting a message that the file did not exist.
I had to rehack ultimatebb.cgi using the text file instructions for the calendar hack v2.0.
After doing this, the Stats hack did not work, I just got a blank table at the bottom of the page.
I re-hack ultimatebb.cgi using the text file for the Stats hack 1.2. I originally used the multihack version and I guess this is what caused my calendar to malfunction, somehow after installing this Stats hack some of the calendars entries in the ultimatebb.cgi were erased.
After re-hacking the ultimatebb.cgi Stats and Calendar coexists happily in my forum.
Thanks for this great hack
I've installed the Stats Hack and it seems to work except it doesn't show a text link for the statistics on the forum summary page and all the text that should accompany the statistics is also missing on the forum summary page...Any ideas?
Thanks
Nevermind...it was the vars_wordlet_mods file.
To fix the private forums thing, in ubb_statistics.cgi:
[/code]Replace with:[code]
I wrote a bugfix but I'm not gonna release it before I've no answer from Sarvoth Talem about another bug which I want to fix within the next version.
Meanwhile you can install v1.2 and use LK's fix from above. Stay tuned...
This worked perfectly for me the first time. Thanks for a great job.
I wonder, though, it someone could please tell me how to add the featured member line from this modification to the top of the board, right under the "Welcome to the Newest Member." I would really appreciate that!
This is untested and may not work. Please use it at your own risk.
The bugfix is there
It upgrades to Version 1.2a and is downloadable at
http://Tovok7.de
Thanks so much Tovok! It worked perfectly!
hello,
ok, i have 6.2.0, this is how it went:
i installed 1.1, but never did the 6.2 beta 1+ part down at the bottom, clear cached, and recent visitors dissapeared. ran the board a little, then upgraded to 1.2, later to realized i was missing a file, still ran with 1.2 even though file missing, since i have 6.2.0.
but i really needed recent visitors. so, uninstalled 1.2, then 1.1, clear cached, and recent visitors still not showing?? then installed 1.1 again, the whole file this time, and still not there?
can anyone help me on this issue?
in cp its enabled, but it doesnt show up at all, and when i did the IM hack, it says recent visitors not enabled.
anyone? i would REALLY appreciate your help.
So my wild guess is that.... PNTF is not enabled
quote:
Originally posted by LK:
So my wild guess is that.... PNTF is not enabled
how do i go about enabling that?
1. What's your board's URL?
2. Do you have ICQ, AIM, Yahoo, MSN?
would it help if i posted requested files, perhaps i would be able to get this fixed by your help, cause i'll never get it myself.
but i dont understand why, i did install the avatar hack before this, unless that had something to do with it, but i triple checked everything.
url =
www.newveedub.com icq 13226369
right now i'm at university, i'll be home in a couple of hours.
Hi LK and Tovok,
BIG question here - maybe I already know the answer
I'm giving 6.3 a "shakedown" as a test board and with JC's mods it's very nice.
Problem is that my two favourite hacks (along with UBBNews), are Stats 1.2 and IM, and neither the multihack nor zip can be applied - (for people with my skills at least)
The problem seems to be with ultimatebb.cgi and ubb_lib.cgi for Stats; and ubb_lib.cgi and ubb_lib_files.cgi for IM. I've waded through the zip with both and tried a few things but without any success.
The board is sitting nicely in the background and looking great, but I don't want to put it to work just yet if it's possible that I can apply these hacks beforehand.
Any chance of you guys having a peek and letting me know?? - pretty pleeze
ubb_lib.cgi - hack public_common.pl instead.
ubb_lib_files.cgi - replace '-e' with '&FileExists(........)'
ultimatebb.cgi - I don't know, just don't hack that part, I guess
Hi LK,
Had a look at your suggestion and really can't make out what you mean.
"-e" appears 13 times - replace them all with EXACTLY what you wrote?
I don't understand how hacking a template instead of a cgi file will do anything, and surely by NOT editing ultimatebb.cgi, won't that bring the hack down??
Sorry - but sadly I'm a copier not a coder and since you guys obviously have a lot going on . . . perhaps it's best if I wait until 6.3 is more mainstream and the hacks get updated.
Thanks anyway
1. yes.. well... not ..........., but &FileExists("stuff after -e");
2. a sub from ubb_lib.cgi has been moved to public_common.pl.
3. who said "not editing ultimatebb.cgi"? I said 'just don't hack that part' - only that part with if ($in{ubb} =~ /statistics/) or something like that.
@tovok7 ....
baust du in deine statistik einen schnitt ein der das druchschnittsalter aller user ermittelt, welche den geburtstag angeschaltet haben ?
@LK
can you make a age-cut for all users the birthdays are on?
oh my english - hope u understand
melder, please read the FAQ!
quote:
Originally posted by bigcitychris:
Nevermind...it was the vars_wordlet_mods file.
the vars_wordlet_mods.cgi
HELPPPPPPPPPPPPPPPPPPPPPP
I CAN'T FIND IT????? :rolleyes:
Calm down!
Download the zip file and open mods_wordlet_install.txt!
quote:
Originally posted by mark99:
What's the load intensive part of it?
I think it's easier to say what is not load intensive.- Featured Member
- Total Members
- Last Member To Register
- Board Set Up Date
and if there wouldn't be these total posts and topics, the following features were server friendly as well.- Daily Topics
- Daily Posts
- Averages
installed it yesterday. missed a "paste above" and ooops. quick fix and everything was fine.
thanks, love it.
Hi,
i have the following problem!
The stats-hack shows one Member more than I have!
Just look at
http://www.giga-board.com/cgi-bin/ultimatebb.cgi What can I do??
Thanks
d-talk
The problem ist, that in the memberslist.cgi after every new registration there is a blank line between the last 2 Members and so it counts wrong!
What can I do???
hab ich auch - aber ich glaub das ist bei nächsten version behoben - muß man eigentlich nur in der formel -1 reintackern und fertig- warte mal bis tovok7 die neue version online hat.
the same bug
The so called "bug" isn't caused by Stats Hack! Please rebuild the member stats files and look if there is still one member too much.
Hi Tovok7,
wir können uns ja deutsch unterhalten ist wohl leichter...
Also wenn ich die Statistik aktuallisiere ist es korrekt! Sobald sich wieder jemand registriert ist wieder die Abweichung von 1 User da!
Gruss
d-talk
> Hi Tovok7,
Hi d-talk!
> wir können uns ja deutsch unterhalten ist wohl
> leichter...
But the other guys - probably having this problem as well - wanna read, too.
> Also wenn ich die Statistik aktuallisiere ist
> es korrekt! Sobald sich wieder jemand
> registriert ist wieder die Abweichung von 1
> User da!
Ok here's the fix:
open ubb_statistics and find:
[/code]replace with:[code]
> Gruss
> d-talk
CU
Tovok7
Hi Tovok7,
das funzt irgendwie nicht! Bekomme da eine Fehlermeldung, kann Dir aber leider nicht sagen welche da ich G-zip installiert habe und da nur cryptische Zeichen angezeigt werden...
Gruss
d-talk
find:
[/code]replace with:[code]
This is tested by LK and should work now!
Bei mir arbeitet es nicht!
Wieder 1 mehr!
http://www.giga-board.com/cgi-bin/ultimatebb.cgi Gruss
d-talk
quote:
Originally posted by d-talk:
Bei mir arbeitet es nicht!
Wieder 1 mehr!
The last fix was additionally to the first one.
Irgendwie kriege ich das nicht hin, habe jetzt beide eingebaut und bekomme wieder ne Fehlermeldung! Bin wohl zu blöd!
Könntest Du mir deine veränderte ubb_statistic.cgi schicken? Wäre echt nett!
[email protected]Gruss
d-talk
quote:
Originally posted by d-talk:
Irgendwie kriege ich das nicht hin, habe jetzt beide eingebaut und bekomme wieder ne Fehlermeldung! Bin wohl zu blöd!
Könntest Du mir deine veränderte ubb_statistic.cgi schicken? Wäre echt nett!
[email protected]
Gruss
d-talk
If you want people WITH 6.2/6.3 to help you, please speak English.
Sorry LK, but tovok7 is german too and my english is not so good...
Look at my page!
http://www.giga-board.com/cgi-bin/ultimatebb.cgi At the stats-hack the memberstotal shows one person more than it realy is....
thanks
d-talk
open ubb_statistic.cgi and find:
################################
sub GetMemberCount {
@the_members = &OpenFileAsArray("$vars_config{MembersPath}/membertotal.cgi");
$StatsData{'TotalMembers'} = @the_members;
}
replace with:
#############
sub GetMemberCount {
open (FILE, "$vars_config{MembersPath}/membertotal.cgi");
$StatsData{'TotalMembers'} = ;
close (FILE);
}
#############################
@ tovok7 - merberlist.cgi insert blank lines.
Perfect! It works!!!!
Many Thanks!!!
d-talk
Hi all,
I have an other problem!
The hack list Topis of private forums! What can I do???
---------------------------------------------
An Tovok7 in Deutsch:
Hi,
Der Statistick-Hack listet unter Letzter Beitrag auch Themen die in Privaten Foren stehen! Das kann und darf ja normal nicht sein, oder?
Was kann ich machen???
Gruss
d-talk
quote:
Originally posted by d-talk:
Was kann ich machen???
Zunaest mir mal das Board zeigen wo das auftritt, dann mir die Stats Hack und die UBB Version mitteilen.
Please provide an url where the error is occuring.
Tovok,
Are the pageview stats CPU intensive or do they avoid that because they're already enabled to show as default in the control panel? Should I turn them off or?
quote:
Originally posted by mark99:
Are the pageview stats CPU intensive?
It depends on how long you've your board online. It needs to open and read out three files for every month, so if you've 10 months UBB has to open 30 files and this is kinda much and CPU intensive.
You need to evaluate this and decide by yourself cos a normal view of an average topic can also require 30 file openings and is very often more load intensive.
Hi Tovok7,
Link:
http://www.giga-board.com/cgi-bin/ultimatebb.cgi Ausserdem wenn ich Beiträge des Tages aktiviere erscheinen dort 183000
Was ist das nun wieder?
Gruss
d-talk
quote:
Originally posted by d-talk:
Ausserdem wenn ich Beiträge des Tages aktiviere erscheinen dort 183000
Was ist das nun wieder?
What are "Beitraege des Tages"? Please activate this feature and show me the "183000"!
You have not the latest Version of Stats Hack. Please upgrade to v1.2a and try again.
quote:
Originally posted by d-talk:
Look! I have activated it!!!
This is because you have installed your UBB one day ago and you have 191 posts and 191/1=191 that's why there are 191 posts per day.
Ok, I'm going to upgrade to 6.2.1.3 from 6.2.1.1 and was wondering how i can upgrade the scripts and keep the statistic amounts that are already there and growing? Any suggestions?
At the same time...I just started getting this error on my board today. The last time I added a hack was about 3 weeks ago. "Bad name after a000282' at /services/webpages/1/0/100contests.com/public/forum/cache-8G4PUDU3/search_index/daily_index-2452387-main.cgi line 149."
Does anybody know why this might be happening? I've cleared my cache...resbuilt the search index...rebuilt the forum stats files... and still nothing.
Any Ideas?
Chris
Along the same lines as BigCityChris -
Given that I had a javascript menu problem with 6.2.1 (in then header insert), I decided to perform a clean install with 6.3, just holding on to all member and post data. I’m holding a complete back-up from immediately before the install.
Well the young guys who’s band I set up the site for are looking to attract a little sponsorship from a crowd who are keen to see numbers (hits) increasing and I managed to “lose” their first 40 days data. (LOTS of hits)
Since I’m looking to re-install the “stats hack” soon, I wondered if there is a way to “restore” the first 8 weeks worth of stats and add that data to current stuff before I apply the hack?
Would my first stop be the (counter) data in the backed up cache?
Any help much appreciated.
quote:
Originally posted by guvner:
Since I’m looking to re-install the “stats hack” soon, I wondered if there is a way to “restore” the first 8 weeks worth of stats and add that data to current stuff before I apply the hack?
Would my first stop be the (counter) data in the backed up cache?
Just copy the counter files from the cache dir into the new directory. Btw, these numbers are not the hits, but the page views. This is something different.
Thanks Tovok, but you no idea about the error?
d-talk, could you mail the hit-hack (topic views) thing you're using on Giga to me -
[email protected] .
I can no longer download it from e@sy's topic and nobody ever responds.
Yes thanks Tovok - appreciate your help.
What exactly is the difference between a hit and a page view? - I've never really known . . .
Also - any idea when a 6.3 "friendly" version of 1.2 will be available? (preferably mhp)- LK gave me some basic advice a couple of weeks ago but I struggled with it.
Thanks . . .
quote:
Originally posted by guvner:
What exactly is the difference between a hit and a page view? - I've never really known . . .
A page view is counted every time a url including ultimatebb.cgi is opened. So even if you open the faq or the search or a topic. The hit number gives you an idea how many times a special page (forum home f.ex.) was opened. quote:
Originally posted by guvner:
Also - any idea when a 6.3 "friendly" version of 1.2 will be available? (preferably mhp)
When UBB 6.3 is outta beta.
Thanks again Tovok, appreciate your response.
Hi Tovok,
I hope the answer to this is a s simple as the page views was.
I'v managed to get 1.2 working with 6.3 and JC's templates, everything is fine except "this board was set up XXX days ago" is now only picking up the number of days since my upgrade to 6.3
Not surprising since I did a clean install.
Is it possible to modify a file and adjust the number of days to reflect the actual number of days since the board's first install? (I need to add about 34 days)
I have no idea where to look for this, it doesn't seem to be in the counter or any part of the cache.
Thanks
quote:
Originally posted by guvner:
Is it possible to modify a file and adjust the number of days to reflect the actual number of days since the board's first install?
The date is encrypted in the CookieNumber and it's not easy changeable.
But then everybody will be logged out, so I wouldn't recommend that
This line of code is not in my ultimateb.cgi.
} elsif ($in{ubb} =~ m/^(email|send_topic|lost_password|find_lost)$/) {
$templatefile = $template_match{email};
Any ideas?
quote:
Originally posted by DragonSoul:
This line of code is not in my ultimateb.cgi.Any ideas?
Which version of UBB do you use?
I need help please!! I've got almost everything done in this hack but I'm missing some of the code in 2 different files and I don't know what to do. Do I just add it? And if so, where? Please help! I really want this to work. Here's the code I can't find (and I left what I'm supposed to add/change also):
##############################
# open ubb_lib.cgi and find: #
##############################
my %types = (
##############
# add below: #
##############
'statistics' => q^|statistics|^,
#########
# find: #
#########
foreach my $type (qw(
#####################################
# add after (copy the space, too!): #
#####################################
statistics
###################################
# open public_common.pl and find: #
###################################
if ($vars_search{AllowSearch} ne 'FALSE') {
# Search
push(@items, qq(
$vars_wordlets{search_link}));
}
##############
# add below: #
##############
if ($vars_statistics{'MBL'}) {
# Statistics
push(@items, qq(
$vars_wordlets_mods{'statistics_pntf'}));
}
~~~~
Thanks.
glue
ubb_lib.cgi - That's only for 6.3, don't ask me why did Tovok put it there
public_common.pl - do the same in ubb_lib.cgi.
Thanks.
quote:
Originally posted by LK:
ubb_lib.cgi - That's only for 6.3, don't ask me why did Tovok put it there
I didn't put it there. Glue didn't use version 1.2 this topic is for. He used version 1.3 which isn't compatible with UBB version < 6.3