Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 4 1 2 3 4
#142659 04/18/2002 1:44 PM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
find:
Code
[/code]replace with:[code]
This is tested by LK and should work now!

Sponsored Links
#142660 04/19/2002 5:27 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Bei mir arbeitet es nicht!

Wieder 1 mehr!

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

Gruss
d-talk


Webmaster of d-talk & Kabel-Forum.com
#142661 04/19/2002 8:19 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by d-talk:
Bei mir arbeitet es nicht!
Wieder 1 mehr!

The last fix was additionally to the first one.

#142662 04/19/2002 10:11 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#142663 04/19/2002 10:50 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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.

Sponsored Links
#142664 04/19/2002 11:10 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#142665 04/19/2002 12:41 PM
Joined: Feb 2001
Posts: 497
Enthusiast
Enthusiast
Offline
Joined: Feb 2001
Posts: 497
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.

#142666 04/19/2002 4:40 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Perfect! It works!!!!

Many Thanks!!!

d-talk


Webmaster of d-talk & Kabel-Forum.com
#142667 04/21/2002 10:14 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#142668 04/22/2002 8:48 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

Sponsored Links
#142669 04/22/2002 9:34 AM
Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
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?

#142670 04/22/2002 9:38 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142671 04/22/2002 9:46 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
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


Webmaster of d-talk & Kabel-Forum.com
#142672 04/22/2002 10:26 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142673 04/22/2002 10:37 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Look! I have activated it!!!

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

d-talk


Webmaster of d-talk & Kabel-Forum.com
#142674 04/22/2002 11:48 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142675 04/22/2002 10:50 PM
Joined: Feb 2002
Posts: 12
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 12
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

#142676 04/23/2002 8:25 AM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
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.


I'm depriving a village somewhere of an idiot.
#142677 04/23/2002 8:32 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142678 04/23/2002 10:50 AM
Joined: Feb 2002
Posts: 12
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 12
Thanks Tovok, but you no idea about the error?

#142679 04/23/2002 11:01 AM
Joined: Mar 2001
Posts: 326
Member
Member
Offline
Joined: Mar 2001
Posts: 326
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.

#142680 04/23/2002 4:04 PM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
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 . . .


I'm depriving a village somewhere of an idiot.
#142681 04/24/2002 5:51 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142682 04/24/2002 7:49 AM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
Thanks again Tovok, appreciate your response.

smile smile


I'm depriving a village somewhere of an idiot.
#142683 05/01/2002 3:16 PM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
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


I'm depriving a village somewhere of an idiot.
#142684 05/02/2002 8:09 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
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.

#142685 05/02/2002 12:21 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
But then everybody will be logged out, so I wouldn't recommend that wink

#142686 05/22/2002 10:13 PM
Joined: Nov 2001
Posts: 159
Member
Member
Offline
Joined: Nov 2001
Posts: 159
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?

#142687 05/23/2002 7:35 AM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by DragonSoul:
This line of code is not in my ultimateb.cgi.Any ideas?

Which version of UBB do you use?

#142688 07/17/2002 3:18 PM
Joined: Apr 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 19
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

#142689 07/17/2002 3:36 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
ubb_lib.cgi - That's only for 6.3, don't ask me why did Tovok put it there tipsy

public_common.pl - do the same in ubb_lib.cgi.

#142690 07/17/2002 4:22 PM
Joined: Apr 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 19
Thanks. smile

#142691 07/17/2002 5:36 PM
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by LK:
ubb_lib.cgi - That's only for 6.3, don't ask me why did Tovok put it there tipsy

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

Page 4 of 4 1 2 3 4

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

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