Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.4
Description: Adds extensive statistics to UBB.classic
Author: Tovok7 <webmaster@Tovok7.de>
Date: 10-10-2002
Thanks to: LK [ homepage ]
Compatible with: Multihack, XHTML, UBB Cache and UBB Accelerator
Requires: Modification Wordlets™
Link: 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 .

Sponsored Links
Joined: Aug 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 1
I'm not sure if it's a bug or if I did something wrong, but when I try to use a JC Template style, Stat Hack dissapears completly.

As long as I don't use a JC Template, it works fine. Any ideas what this could be?

Joined: Jul 2002
Posts: 18
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 18
I think you should hack the JC Templates...


i was X-tend, but i lost my mail and password frown
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
If you want to use a non-standard template you need to hack those files, too.

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Hmmm Using UBB 6.3.1 I am looking in cp_common.pl amd dont find this line:

document.writeln("");

that Im supposed to put this under:

document.writeln("");

Think there is one other as well as I get 2 errors in MultiHack.

Can I just add both lines?

Without the first one I get this:

http://www.thedarkwatch.com/cgi-bin/ultimatebb.cgi

essentially nothing frown

Sponsored Links
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
Quote
quote:
Originally posted by Chrimera:
[QB]Hmmm Using UBB 6.3.1 I am looking in cp_common.pl amd dont find this line:

document.writeln("");

that Im supposed to put this under:

document.writeln("");
document.writeln("");

should be

document.writeln("");

and

push(@items, qq($vars_wordlets{search_link}));

should be

push(@items, qq($vars_wordlets{search_link}));

This is what I gathered that is necessary for 6.3.1.1, someone else check that though, as I am new to all these mods.

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Thanks for all your help smile , but I guess I am going to insist on being stupid.

http://www.thedarkwatch.com/ubb_test/cgi-bin/ultimatebb.cgi

this is my sandbox I have rehacked the wordlets twice, so if there is a mistake I cant find it (or more to the point dont know whatIm looking for) but I dont get text. I read the FAQ and found a mistake, but there is anotherone I cannot find

thanks

Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
chrimera, do you have modification wordlets installed?


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Ttrying to reinstall Wordlets I find this is not is my cp_common.cgi (v6.3.1)

document.writeln("");

so that I may place this below it

document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");

What should I be looking for?

Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
chrimera, are you trying to install wordlets here or stats?


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Sponsored Links
Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
I was started by installing stats. You asked me if I had installed wordlets, and this is the question I have doing that. I should move this question to wordlets I guess. Sorry. When I get this addressed, and if it does not solve my 'no text' problem left over after trying the fixes in the Stats faq, I'll come back here.

Didnt mean to cross threads frown

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
Thank you for your patience and understanding

it worked -

Joined: Mar 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 10
(double post)

Joined: Mar 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 10
I have installed under 6.3.1.1.

First, I was getting an error:
Software error:
Global symbol "%vars_statistics" requires
explicit package name at C:websstagingdocscgi-binultimatebb.cgi line 125. BEGIN not safe after errors--compilation aborted at C:websstagingdocscgi-binultimatebb.cgi line 396.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. [Wed Aug 28 10:57:36 2002] C:websstagingdocscgi-binultimatebb.cgi: Global symbol "%vars_statistics" requires explicit package name at C:websstagingdocscgi-binultimatebb.cgi line 125. [Wed Aug 28 10:57:36 2002] C:websstagingdocscgi-binultimatebb.cgi: BEGIN not safe after errors--compilation aborted at C:websstagingdocscgi-binultimatebb.cgi line 396.


So I moved the declaration of vars_statistics a little earlier. That seemed to at least keep the board from totally bombing.

Now...the "statistic" link is not showing up on forum pages...and *still* the text is now showing up on the summary at the bottom. I know the wordlets are installed (I can see them in my CP).

http://staging.windyhop.org/cgi-bin/Ultimatebb.cgi is the board.

m.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Quote
quote:
Originally posted by Mugsy Malone:
Now...the "statistic" link is not showing up on forum pages...and *still* the text is now showing up on the summary at the bottom.
Seems to work great. Where's the problem?

Joined: Mar 2000
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 10
Quote
quote:
Originally posted by Tovok7:
Seems to work great. Where's the problem?
Well, I did get it to work eventually.

However, the issue with the variable declaration (that I mentioned at first) should probably be looked at.

m.

Joined: Aug 2002
Posts: 3
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 3
Hi there

Can some one tell me what I am supposed to add in cp_common.pl using 6.3.1.1 under

document.writeln("");

this seems different as mentioned above

document.writeln("");

can some give me an updated version of what i am supposed to add please

thanx

slev

Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
What needs to be hacked so this works with a JCTemplate? Thought I saw something earlier. . .

(edited)

Here's what I get using the JCTemplates. I was hoping to get them squished over to the left.

The Dark Watch

Joined: Sep 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 1
what do you use to open the mph files on your site? I need a program that can edit this hack for me please. I have been screwing up with it, by doing it by myself. Please help. THanks.

Joined: Dec 2000
Posts: 151
Member
Member
Offline
Joined: Dec 2000
Posts: 151
I just installed this MOD (from the text file) on my test board - works perfect first time around!

Great MOD and great instructions - even I could follow them!

Joined: Mar 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 2
Quote
quote:
Originally posted by slev:
Hi there

Can some one tell me what I am supposed to add in cp_common.pl using 6.3.1.1 under

document.writeln("");

this seems different as mentioned above

document.writeln("");

can some give me an updated version of what i am supposed to add please

thanx

slev
slev, It is the same thing as the above except instead of calling to a wordlets file to get the title of the menu (Statistics Settings). It's just putting it in there as is to save a step.

Joined: Mar 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 17
I added this hack using MultiHack. A couple of suggestions:
- Don't upload the vars_wordlets_mods.cgi file. I had to backup and change the mhp file to modify vars_wordlets_mods.cgi. Not tough, but it probably should probably be in the mhp file as an edit rather than just an upload.

- I had the same errors as posted by others. Perhaps you should tie the document.writeln... to a line that everyone will have (I don't have the graemlin line either).

My question:
I have the statistics working beautifully on the category page (forum home displays categories only), but they don't appear on the forum summary pages. Any suggestions?

URL: http://www.naaf.com/UBBtest/cgi-bin/ultimatebb.cgi

Login ID: Test
Password: test

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
I've got an issue. It seems like although I set the correct style in the control panel, I can't get the correct $standard_title_table to show up, and also, I'm not getting the nice graphics that I included in $TBT, $TBB. Why is it not reading those?

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
Okay. I've figured out this much: the stats hack is pointing to the standard version of public_common.pl. I'm using an HTML template, so the public_common.pl file I want to reference is actually in {noncgi}/templates/{html template name related to style}

I think the issue is that unlike all other sections in UBB, this does not have a "HTML Template" option. But before I go dig deep into this code and spend hours making it work, does anyone have the fix ready... err... already!

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Quote
quote:
Originally posted by JayM:
I added this hack using MultiHack. A couple of suggestions
Thank you for your suggestions!

quote:
[qb]Originally posted by JayM:
I have the statistics working beautifully on the category page (forum home displays categories only), but they don't appear on the forum summary pages. Any suggestions?[/qb]
You used multihack to install Stats Hack. Right? The problem is probably in ubb_forum_summary.cgi. You can try to go through it manually and search for the problem.

Quote
quote:
Originally posted by Shriveled Toe:
does anyone have the fix ready... err... already!
Please provide an URL for your forums!

Joined: Mar 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 17
I found the problem. In the mhp file, edit 12, has just:
Quote
code:
Code
	&DisplayStats;  

with Add After selected.

In edit 13, the code is:

code:
[qb]
Code
 	$ShColSpan2 = $vars_statistics{'ShColSpan2'};
$vars_statistics{'ShColSpan2'} = 0;
&DisplayStats;
[/qb]
with Add Before selected.

Changing edit 12 to be the same as 13 solves the problem.

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
***Notice: I reviewed the following carefully, after several people pointed out how stupid and completely out of line it was. Although I wish to publicly retract the statement, I will not delete it from the record and try to pretend it never happened. Please see my Public Apology to Tovok in the Chit Chat section***

Quote
quote:
Originally posted by Tovok7:
Please provide an URL for your forums!
Why, so you can trouble-shoot it? I already know what the problem is. The problem is your hack doesn't allow me to select an HTML template to go with my style. I've tested and verified this.

Besides, I spent a lot of time ripping out all of your Copyright stuff, and it wouldn't be fair for you to see how beautiful it looks without it! tipsy

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
That was easier than I thought. If you want your stats page to pick up JCTemplates:
Code
# Open cp_templates_advanced.pl
# Location: NonCGI/Templates
#
# Find:

} elsif ($key eq "registration") {
$Type = "Registration Pages";

# Under it add:

} elsif ($key eq "statistics") {
$Type = "Statistics Page";

# Open vars_template_match.cgi
# location: CGI-BIN
#
# Find:

%template_match = (

# Under it add:

q!statistics! => q!!,


# Find:

%template_html = (

# Under it add:

q!statistics! => q!!,
Then go into the control panel --> primary settings --> Style Templates --> Edit Template Associations. Set the Style Template and the HTML Template you wish to use with the stats page.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Stats Hack 1.4
Changes:
  • Fixed several install problems
  • Added control panel's new design
  • Rewrote Style Template Association
  • Fixed multihack errors

If you have no problems with Stats Hack and use v1.3, there will be no need to upgrade. This release is for new installs only.
Quote
quote:
Originally posted by Shriveled Toe:
Besides, I spent a lot of time ripping out all of your Copyright stuff, and it wouldn't be fair for you to see how beautiful it looks without it! tipsy
This isn't funny at all. If you are such a clever guy, why don't you write your own Stats Hack instead of stealing mine?

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
***Notice: I reviewed the following carefully, after several people pointed out how stupid and completely out of line it was. Although I wish to publicly retract the statement, I will not delete it from the record and try to pretend it never happened. Please see my Public Apology to Tovok in the Chit Chat section***

Stealing? I didn't know there was a cost associated with your code. How does infopop feel about your "copyright" of something based on their intellectual property? Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.

I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.

God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page (he's probably also incorporate a copyright notice we couldn't figure out how to undo).

I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.

I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.

I don't know, I'm just trying to understand your motive for putting there in the first place, and I just can't figure it out. Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Quote
quote:
Originally posted by Shriveled Toe:
Stealing? I didn't know there was a cost associated with your code.
Well, Mr. Toe there is no cost associated with my code, but it's my intellectual property and I share it with hundreds of other UBB fanatics for free. I worked many hours on Stats Hack and used a lot of my free time to create it and to keep it up to date. The only thing I want for that in response is this little link which isn't even a real copyright on the bottom of a sub page which nobody ever vists.

quote:
[qb]Originally posted by Shriveled Toe:
How does infopop feel about your "copyright" of something based on their intellectual property?[/qb]
I can't see this sign © in connection with my name in Stats Hack. It just says Stats Hack v1.3 for UBB6 by Tovok7. Infopop's copyright to the board is still there and not controverted.

Quote
quote:
Originally posted by Shriveled Toe:
Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.
Shriveled, what I did is an addition to the UBB and only there is the little hint that this addtion is written by myself. If you wrote a second Stats Page, feel free to add your own copyright to it.

quote:
[qb]Originally posted by Shriveled Toe:
I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.[/qb]
Maybe you can give me some examples? When I got into the UBB scene it was more than common to add a little copyright to your hack. Despite of that I didn't add copyrights to my early hacks. Stats Hack is with distance the most extensive hack I wrote and that's why it is the only one with a small hint to the author of it.

Quote
quote:
Originally posted by Shriveled Toe:
God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page.
Hyperbole isn't a stylistic device that fits you.

quote:
[qb]Originally posted by Shriveled Toe:
I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.[/qb]
How should other people profit from this if they don't know where to get this hack, if there isn't a link to the source of it? That there is the little word Tovok7 which nobody knows has nothing to do with selfishness.

Quote
quote:
Originally posted by Shriveled Toe:
I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.
What about people being not from UBBDev who never heard of Stats Hack and maybe want to get this hack, too? How should they know that it's not part of UBB and where to get it?

quote:
[qb]Originally posted by Shriveled Toe:
Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.[/qb]
In general, my hack_ isn't different from the others but I used many of my free hours to code for the communtiy. Hours which other people get payed with many bucks. The only payment I wanted to have was this little notice. I shared my work with the condition that the copyright has to remain intact. And if there is somebody who doesn't agree to this, he will not be forced to use my hack.

Edited by LK: Toe asked me to remove his real name

Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
OK. You win. I'll either create my own Stats hack or concede and put your shameless free advertisement back in. Hmmm... I'd like to keep it clean though. Perhaps, If I put an entire separate page to my site listing the hacks and their authors, and put a link on every page (something like "UBB Modification Details"). Could I put your information on that page instead of on the bottom of the statistics page itself.

Do you think that would be a fair arrangement?

Also, regarding the Hyperbole, I'm not so sure. If you look around, you see alot of Calendars and Spellcheck buttons on UBB forums. The guy's got something like 20 hacks posted.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Quote
quote:
Originally posted by Shriveled Toe:
Do you think that would be a fair arrangement?
I would agree to this.

quote:
[qb]Originally posted by Shriveled Toe:
Also, regarding the Hyperbole, I'm not so sure. If you look around, you see alot of Calendars and Spellcheck buttons on UBB forums. The guy's got something like 20 hacks posted.[/qb]
I'm not sure wheather I understood you in the right way. I don't want to have copyrights all around UBB, just if you have a seperate page added by a hack f.ex. Memberlist, old Who's Online or Stats Hack. The Spellcheck or the TimeZone Hack don't need a public copyright because there is no room for it. IMO copyrights shouldn't violate the aesthetical look of UBB, so just one little hint at the bottom of a seperate page.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Shriveled Toe:
OK. You win. I'll either create my own Stats hack or concede and put your shameless free advertisement back in.

Or just not use his hack...or you might even consider not acting like an idiot.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Shriveled Toe:
Stealing? I didn't know there was a cost associated with your code. How does infopop feel about your "copyright" of something based on their intellectual property? Based on what you're doing, I'd say I've made enough modifications to your hack to call it my own and put my own copyright there.

I've been more than impressed with the general attitude about sharing and programming for the good of all around here, and out of all the great hacks available, yours seems to be the only one with a copyright line.

God know's, If LK enforced the same idea about copyrights, We would all have a list of copyright notices about 6 or 7 deep at the bottom of each page (he's probably also incorporate a copyright notice we couldn't figure out how to undo).

I think you are being extremely foolish, and selfish. You should take extreme pride in knowing that the stats hack is very good and that, judging by this thread, many people are using it with satisfaction.

I think that out of all the people who are going to look at the stats page, none of the common users are going to give a flying #$#%@ who holds the copyright. The only people for whom your name recognition will count are those of us around here that are actually using the hack.

I don't know, I'm just trying to understand your motive for putting there in the first place, and I just can't figure it out. Maybe you can tell us why this is so *extremely* important to you, or make us understand why your hacks are so different from everyone elses? Until then, don't break your arm trying to pat yourself on the back.
Never mind, it's too late...just ban the moron.

Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
I think shriveled ***** needs to learn some manners. It is people like you that discourage others from doing a good job. You make me sick and if you were here right now I would ***** slap ya like the little ***** that you are. So put that in your pipe and smoke it homie. mad


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Bizkit, there is a reason some words are censored, don't try to override censor check! frown

Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
Please check your PMs bizkit -- LK


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Joined: May 2001
Posts: 122
Member
Member
Offline
Joined: May 2001
Posts: 122
Sorry. didn't realize there were youngsters here with UBB licenses. Will not happen again.


A wise man Confucious once say, "Man who stands on toilet, high on pot!"
Joined: May 2001
Posts: 50
Member
Member
Offline
Joined: May 2001
Posts: 50
Code
###############################################################################
# if you have wol list hack, open public_pntf_summary.pl (template) and find: #
###############################################################################

$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

##############
# add below: #
##############

} elsif($gah eq "5.7475" && !$in{f}) {
$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);
Is that supposed to be "public_display_profile.pl" because I can't find that line in the "public_pntf_summary.pl" file. Only in the "public_display_profile.pl" file...

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
WOL List doesn't modify public_pntf_summary.pl anymore, it did it only in the 6.2 versions smile

Joined: May 2001
Posts: 50
Member
Member
Offline
Joined: May 2001
Posts: 50
Well it seems to work (I can see users browsing the statistics page) so either my guess was right or I've just added some un-needed code wink

Joined: Nov 2002
Posts: 30
Junior Member
Junior Member
Offline
Joined: Nov 2002
Posts: 30
I just wanted to mention that the latest version of the hack solved the problems with the version before on my board!

Great Job!

thnx for making this hack!

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Now, maybe I am just a "dirt" disturber but I dont see what is Shriveled Toe's problem?
And this goes for everybody that even considered his pledge to have a valid bearing!

These guys are spendings days and nights to bring us new, nice features and spendings additional days and nights supporting the hacks and helping dummies like me install the hack correctly and we are not even able to give them the right consideration? If you are unable to show some respect and recognition for their work and dedication yes, you are stealing the hacks!

Whats so complicated? If a name/link under a hack will put a dent in your personality at you UBB make your own or, as TheX said: DONT USE IT!

Sorry for bringing this up again, I just have to say it.

Thank you all.

Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
[edited]

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Love this hack, One question, Id like to be able to modify the number of days the board has been online, how does it derive this number ?

Thanks!


I can't afford a good signature editor frown
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You have to change Cookie_Number in vars_config.cgi, but if you do that, all your members will have to login to your board again.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
LK, thanks for the reply, although I dont want to reset it, I want to set to something like 600 days when the board was fisrt setup on v5 ubb.
How would I go about doing this ?
As it now says
Code
 
q!Cookie_Number! => q!2452562.2037!
Thanks!


I can't afford a good signature editor frown
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
....did the Stats-Hack 1.4 work with UBB-Classic 6.4.0 Public Beta 1???

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
The stats-hack did not work with 6.4.0....

I did not find the following code...

open ubb_forum_summary.cgi and find:

$ThisHTML .= &Cat_Page_Bottom;

If anybody find it please tell me wich line...

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Why don't you use the search function?

It's right above "return 2;" or look at the end of the file right before the return which is right before the last "}".

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Tovok7,

what have i done wrong? Look at my page http://www.giga-board.com/cgi-bin/ultimatebb.cgi

that code is somethin different in the new 6.4
I can't exactly find it...

open public_pntf_admin.pl and find:

find: #
#########

return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune}, $in{p});

Please help me...

thanks
d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Leave this step out. It's not part of your problem. You hacked your UBB wrong. Take your backup files and try using multihack instead.

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

I have rehack it several times but every time it is the same...

http://www.giga-board.com/cgi-bin/ultimatebb.cgi

d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Dec 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 2
This mod causes my "Last Reply" column to widen. Is there anyway to change a column size or make the stats program use only 1 column instead of 2. Here is my site;

http://www.tcpaintball.com/cgi-bin/ultimatebb.cgi

Joined: Dec 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 2
Well I sorta got the above fixed. I went in a changed the second column to 100% so that it would fill up as much space as possible. Is there a better way to do this or just put the stats in 1 column.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
You can change the column combination in controlpanel.

Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Leute ,

Sorry i not Englisch !

Code
 

######################################
### Suche in vars_wordlets_mods.cgi:
######################################

%vars_wordlets_mods = (

#######################
### ersetze es durch:
#######################

%vars_wordlets_mods = (
statistics_header => "<b>Statistics</b>",
statistics_pntf => "Statistics",
statistics_total_posts => "Total Posts:",
statistics_total_topics => "Total Topics:",
statistics_total_forums => "Total Forums:",
statistics_total_members => "Total Members:",
statistics_average_member_posts => "Average Posts per Member:",
statistics_average_posts => "Average Posts per Forum:",
statistics_average_topic => "Average Topics per Forum:",
statistics_topics_per_day => "Topics per Day:",
statistics_posts_per_day => "Posts per Day:",
statistics_days_ago_1 => "This board was set up",
statistics_days_ago_2 => "days ago.",
statistics_newest_member => "Last member to register is",
statistics_featured_member => "Featured member is",
statistics_last_post_by => "Last post by",
statistics_in => "in",
statistics_at => "at",
statistics_on => "on",
statistics_monthly_hits => "Page Views",
statistics_pageviews => "Total Page Views:",

------------------------------------------------------------------------

###############################
### Suche in ultimatebb.cgi:
###############################

use vars qw(

###############################
### fĂ¼ge folgendes in den
### nachfolgenden String ein :
###############################

%vars_wordlets_mods

###################
### dann suche :
###################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(wordlets_mods

------------------------------------------------------------------------

###############################
### Suche in cp.cgi:
###############################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(wordlets_mods

------------------------------------------------------------------------

###############################
### Suche in cp_wordlets.cgi:
###############################

&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_err') {

#################################
### ersetze es durch :
#################################

&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_mods') {

%wordlets_fill = %vars_wordlets_mods;

$Hiddens = qq%<INPUT TYPE="HIDDEN" NAME="ubb" VALUE="set_wordlets">
<INPUT TYPE="HIDDEN" NAME="type" VALUE="$_[0]">
%;
$CurrentTab = qq%$vars_wordlets_mods{mod_wordlets}%;

# note: the wordlets are already required... no need to grab them

&CPHeader;
&CPFooter;
&CPTop;
&LoadTemplate("cp_set_wordlets");
&CPBottom;


} elsif ($_[0] eq 'wordlets_err') {

###################
### dann suche :
###################

if ($in{type} eq 'wordlets') {
%update_wordlets = %vars_wordlets;

#################################
### ersetze es durch :
#################################

if ($in{type} eq 'wordlets') {
%update_wordlets = %vars_wordlets;
} elsif ($in{type} eq 'wordlets_mods') {
%update_wordlets = %vars_wordlets_mods;

------------------------------------------------------------------------

###############################
### Suche in cp_common.pl:
###############################

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - $vars_wordlets_cp{wordlet_frag_image}</option>");

#########################
### ersetze es durch :
#########################

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_img&r=$ran> - $vars_wordlets_cp{wordlet_frag_image}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=wordlets_mods&r=$ran> - Modifications</option>");

------------------------------------------------------------------------


#################################
### suche in ultimatebb.cgi
#################################

foreach my $file (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $file (qw(statistics

#################
### dann suche:
#################

use vars qw(

###############################
### fĂ¼ge folgendes in den
### nachfolgenden String ein :
###############################

%vars_statistics

#################
### dann suche:
#################

if ($ubb eq 'login') {
&set_page_elements;
&LoadTemplate("public_login");
exit(0);
}

########################
### ersetze es durch :
########################

if ($ubb eq 'login') {
&set_page_elements;
&LoadTemplate("public_login");
exit(0);
}

if ($ubb eq 'statistics') {
&set_page_elements;
&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");
&DisplayStatistics;
exit(0);
}

if ($ubb eq 'statistics_ssi') {
&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");
&DisplaySSIStatistics;
exit(0);
}

------------------------------------------------------------------------

#################################
### suche in ubb_lib.cgi
#################################

my %types = (

########################
### ersetze es durch :
########################

my %types = (
'statistics' => q^|statistics|^,

#################
### dann suche:
#################

foreach my $type (qw(

#################################
### ersetze es durch :
### (auf die leerstelle achten)
#################################

foreach my $type (qw(statistics

------------------------------------------------------------------------

######################################
### suche in ubb_forum_summary.cgi
######################################

&set_page_elements;

########################
### ersetze es durch :
########################

&set_page_elements;

&RequireCode("$vars_config{CGIPath}/ubb_statistics.cgi");

#################
### dann suche:
#################

$ThisHTML .= &PageBottom;

########################
### ersetze es durch :
########################

&DisplayStats;
$ThisHTML .= &PageBottom;

#################
### dann suche:
#################

$ThisHTML .= &Cat_Page_Bottom;

########################
### ersetze es durch :
########################

$ShColSpan2 = $vars_statistics{'ShColSpan2'};
$vars_statistics{'ShColSpan2'} = 0;
&DisplayStats;
$ThisHTML .= &Cat_Page_Bottom;

------------------------------------------------------------------------

#################################
### suche in cp.cgi
#################################

} # end get_archives

########################
### ersetze es durch :
########################

} # end get_archives

if (($ubb eq 'vars_statistics') && ($status eq 'Administrator')) {
&RequireVars("$vars_config{VariablesPath}/vars_statistics.cgi");
&RequireCode("$vars_config{CGIPath}/cp_statistics.cgi");
&StatisticsSettings;
exit(0);
}

if (($ubb eq 'set_vars_statistics') && ($status eq 'Administrator')) {
&RequireCode("$vars_config{CGIPath}/cp_statistics.cgi");
&SetStatisticsSettings;
exit(0);
}

------------------------------------------------------------------------

#################################
### suche in cp_styles.cgi
#################################

if ($_[0] eq "misc") {

########################
### ersetze es durch :
########################

if ($_[0] eq "misc") {
$template_match{statistics} = $in{statistics};

------------------------------------------------------------------------

#######################################
### suche in vars_template_match.cgi
#######################################

%template_match = (

########################
### ersetze es durch :
########################

%template_match = (
q!statistics! => q!1!,

#################
### dann suche:
#################

%template_html = (

########################
### ersetze es durch :
########################

%template_html = (
q!statistics! => q!!,

------------------------------------------------------------------------

#######################################
### suche in cp_common.pl
#######################################

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=faq&r=$ran> - $vars_wordlets_cp{menu_faq}</option>");

########################
### ersetze es durch :
########################

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=faq&r=$ran> - $vars_wordlets_cp{menu_faq}</option>");
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_statistics&r=$ran> - Statistics Settings</option>");

------------------------------------------------------------------------

#######################################
### suche in cp_templates_advanced.pl
#######################################

} elsif ($key eq "registration") {
$Type = $vars_wordlets_cp{style_template_assoc_reg};

########################
### ersetze es durch :
########################

} elsif ($key eq "registration") {
$Type = $vars_wordlets_cp{style_template_assoc_reg};
} elsif ($key eq "statistics") {
$Type = "Statistics Page";

------------------------------------------------------------------------

#######################################
### suche in public_forum_summary.pl
#######################################

sub PageBottom {
my $Bottom = qq~

########################
### ersetze es durch :
########################

sub PageBottom {
my $Bottom = qq~

<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="$ColSpan">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{'statistics_header'}</font></a>
</td>
</tr>
<tr>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="center"><img src="$vars_config{NonCGIURL}/$vars_statistics{'GraphIcon'}" border="0" alt="" /></td>
<td colspan="$vars_statistics{ShColSpan1}" valign="top" bgcolor="$vars_style{AltColumnColor2}" width="50%">
<font size="1" face="$vars_style{FontFace}">$DisplayFH</font>
</td>
</tr>

#################
### dann suche:
#################

sub Cat_Page_Bottom {
my $Bottom = qq~

$TBB

########################
### ersetze es durch :
########################

sub Cat_Page_Bottom {
my $Bottom = qq~

$TBB




$TBT
<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="3">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics"><font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">$vars_wordlets_mods{'statistics_header'}</font></a>
</td>
</tr>
<tr>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="center"><img src="$vars_config{NonCGIURL}/$vars_statistics{'GraphIcon'}" border="0" /></td>
<td bgcolor="$vars_style{AltColumnColor2}" valign="top" width="50%">
<font size="1" face="$vars_style{FontFace}">$DisplayFH</font>
</td>
</tr>
$TBB

------------------------------------------------------------------------

#######################################
### suche in public_common.pl
#######################################

if ($vars_search{AllowSearch} ne 'FALSE') {
# Search
my $this_forum = "";
if (exists $in{'f'}) {
$this_forum = ";search_forum=$in{f}";
} else {
$this_forum = "";
}
push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum" title="$vars_wordlets{search}">$vars_wordlets{search_link}</a>));
} # end if

########################
### ersetze es durch :
########################

if ($vars_search{AllowSearch} ne 'FALSE') {
# Search
my $this_forum = "";
if (exists $in{'f'}) {
$this_forum = ";search_forum=$in{f}";
} else {
$this_forum = "";
}
push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=search$this_forum" title="$vars_wordlets{search}">$vars_wordlets{search_link}</a>));
}

if ($vars_statistics{'MBL'}) {
# Statistics
push(@items, qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{'statistics_pntf'}</a>));
}

# end if

------------------------------------------------------------------------

#######################################
### suche in public_pntf_admin.pl
#######################################

} else {
$location .= qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf_admin;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
} # end if

########################
### ersetze es durch :
########################

} else {
$location .= qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=pntf_admin;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
}

} elsif($gah eq "5.7475") {
$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);

# end if

------------------------------------------------------------------------

#######################################
### suche in ubb_lib_pntf.cgi
#######################################

if($in->{ubb} !~ m/^(

########################
### ersetze es durch :
########################

if($in->{ubb} !~ m/^(statistics|

#################
### dann suche:
#################

#9999.1 - LID for front page category 1

########################
### ersetze es durch :
########################

#9999.1 - LID for front page category 1
#5.7475 - LID for Statistics

#################
### dann suche:
#################

return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune} &#0124;&#0124; 0, $in{p} &#0124;&#0124; 0);

########################
### ersetze es durch :
########################

return sprintf("%04d%04d.%04d", $in{f}, $in{DaysPrune} &#0124;&#0124; 0, $in{p} &#0124;&#0124; 0);

} elsif ($in{ubb} eq "statistics") {

#$self->warn("Viewing Statistics");
return 5.7475;

------------------------------------------------------------------------

#########################################
### suche in public_display_profile.pl
#########################################

$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

########################
### ersetze es durch :
########################

$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);
} elsif($gah eq "5.7475") {
$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);

------------------------------------------------------------------------







###############################################################################
# if you have wol list hack, open public_pntf_summary.pl (template) and find: #
###############################################################################

$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB?ubb=forum;f=$f">) . (&GetForumRecord($f))[1] . qq(</a>);

##############
# add below: #
##############

} elsif($gah eq "5.7475" && !$in{f}) {
$location = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=statistics">$vars_wordlets_mods{statistics_pntf}</a>);

#####################
# clear your cache! #
#####################

------------------------------------ FAQ -----------------------------------
Q: I can't find the stats on forum home, where are they?
A: You forgot to clear your cache. Clear it and reload the page!

Q: Can you insert birthdays?
A: This feature of comparing birthdays (showing the oldest and the youngest
member) is not planned, just because that would require a search through
all member files and this is - especially on huge UBB's - a too extensive
process.

Q: I just would like to know what is exactly the "featured member"?
A: The featured member is randomly choosen. Some users like it to read their
name on forum home, it's maybe a special honor for them.

Q: I installed it but there is no text in it. I just got numbers in it.
A: You installed the wordlets wrong. Please read mods_wordlet_install.txt and
go through it again.

Q: There are no values displayed. How can I make them visible?
A: Probably your ubb_statistics.cgi isn't installed properly, install it again
like described above. You may hacked ultimatebb.cgi wrong, make sure that
all is correct hacked.

Q: I can't find the cp_common.pl or cp_vars_statistics.pl in my cgi-bin or
anywhere on my Server!
A: These files are templates they are placed in /noncgi/Templates/

Q: How can I display the stats via SSI?
A: Make sure your server supports SSI, create a file with a .shtml or .ssi
extension, then put the following code in there and modifiy the path
<!--#include virtual="/ubbcgi/ultimatebb.cgi?ubb=statistics_ssi" -->

Q: My tables on forum home are screwed up. What can I do to get rid of this?
A: In the Controlpanel you have Col Span Right and Left. Play arround with
the values then it should fits. Remember to clear your cache after every
try!

Q: Where can I change the Style Template Associations?
A: Go into controlpanel: Primary Settings -> Style Templates -> Edit Style
Template Associations there you are!
Nettomo

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Nettomo, where is actually the difference to v1.3?

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
With both it did not work on my board, i think it has a problem with an other hack....

d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Can anybody save me the time to hack everything for the 3rd time ant tell me where is my problem?

http://www.dss-shop.com/cgi-bin/ubb/ultimatebb.cgi

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Looks as if you made a mistake in ubb_forum_summary.cgi. Did you notice the above's instead of the below's?

Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
danke her Tovok wink

Joined: Dec 2002
Posts: 2
nym Offline
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 2
I'm really having trouble with this mod....most of the problem is probably my lack of experience with UBB. I've redone this 4 times, and it's better this time than it's been in the past. I now get the correct numbers, including on the Statistics page. I just don't get their labels, and I can't figure out why. I also don't get a link on the main menu options to the Statistics page, though there's a space where the link should be. Could someone please help me? Here's the link to the board:
http://apooltoswim.com/cgi-bin/ultimatebb.cgi

and here's the link to the stats page:
http://apooltoswim.com/cgi-bin/ultimatebb.cgi?ubb=statistics

ANY help at all would be appreciated.

Thanks.

Matt

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi,

you have to install mods wordlets!!!

d-talk


Webmaster of d-talk & Kabel-Forum.com
Joined: Dec 2002
Posts: 2
nym Offline
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 2
Ok, I'm stupid.
Thank you so much...problem fixed.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 229
Member
Member
Offline
Joined: May 2001
Posts: 229
I installed the hack, everything works great in the main page of the forums, but when I click on "Statistic Settings" in the cp, the following error appears:

Code
[/code]I must mention that when I installed the hack, I didn´t find the following line in 
cp_common.pl:
Code
</pre></div></div>so the line that I had to add below that, I added it below:<br><br> [code]
Please somebody help, thanks a lot.
Forums: http://www.rompela.com/cgi-rompela/ubbcgi/ultimatebb.cgi
Ver: 6.3.0

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
You need Stats Hack 1.3 for UBB version 6.3!

Joined: Oct 2000
Posts: 73
Member
Member
Offline
Joined: Oct 2000
Posts: 73
edit: gizzy, I forgot to upload vars_statistics.cgi so that's why I got that error that FeaturedMemberTime was missing wink


aleina
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Its not reading the ammount of time that you have set for the featured members to be displayed, try to set it to 1 hour.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 229
Member
Member
Offline
Joined: May 2001
Posts: 229
Thanks Tovok !! my mistake. thumbsup

Joined: May 2003
Posts: 19
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 19
Thanks a ton for the Hack!
Great Job...
I have one little problem...
On my "forum home" page...
right above my "furum" block...
I have this? _locations[2]
How do I get rid of this?
Thank you in advance!

BUZN_WILDLY laugh

--------->Update<---------

I guess you have to add things two times!
I got it working... works GREAT!
Thank-You! thumbsup

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
glad you got it working smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
Hey, I moved my board over to a new server and now it say been active for 5 days? when really its been around for 2 years!!!! so all the stats are messed up (300 posts per day, etc)
what file is this number located in?
thanks in advance

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
That is because your Cookie Number is new. Try to edit vars_config.cgi and change your Cookie_Number into your old one.

Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
this number?:
q!2452752.1728!

i did and got error: ubb_lib.cgi cant locate in ultimatebb.cgi or something
...?

Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
I take that back, you were RIGHT
I must've uploaded it in binary or something.
this number is encrypted so its impossible to custom set it but i found some old ones:
2452046.0451 -> 5/13/2001
2452853.0419 -> 5/1/2003
2452752.1728 -> 7/13/2003

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
I had to modify this on my board too, the number you are looking at isnt encrypted, its just a different date/time format know as Julian. Go to this site and do your conversion.

http://www.onlineconversion.com/julian_date.htm

Good luck!


I can't afford a good signature editor frown
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Hello,
first of all this Statistics hack is great!.
Now I have one question, I am using UBB.classic 6.3.1.2 and before I installed the hack it looked like this http://users.skynet.be/dewit/pictures/ubb.jpg
now it looks like this: http://users.skynet.be/dewit/pictures/ubb2.jpg
as you can see the coloms have shifted to the left. I don't know why and how, but is it possible that I shift them back to the right and how?

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Go into the CP and change the colspan settings for the stats hack.

Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Hi Randy, thx that solved it,
but I have one more question, don't the Stats update automaticly? When I change something in the CP for the Statistics and check my page, nothing had changed. Everytime I chang something fot the stats in the CP I have to clear the cache in the CP.
Also, I have to clear the cache in the CP to update the total views. Is this norma?

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
Yes, this is the designed behavior.

Page 1 of 3 1 2 3

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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
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
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 20240506)