![]() |
1 sec i try m8
|
Why are you calling the counter.php in your phpinclude template? try removing that, certainly if its not even on your server. I believe wajones is going to be moving vbPortals stats over to vbstats anyway.
counter.php is called in your vbPortal head.php (or header?) try editing it out of there. Try uploading vbs_counter.php to both your forum and root directories. |
Bane I checked his forums and it appears he has both the vbs_counter.php and counter.php files there in his root folder.
|
At any rate, Glad the expert is here! :p
|
Is the file (vbs_counter) in the root and forums directories? I have mine in both because vbportal seems to not want to find it from time to time. it seems like its not finding it at all. and if vbstats.php is showing up all white that means its not finding the language file for inclusion.
Make sure vbstats.php is installed in your FORUMS directory. not root. Make sure you have the paths right in all cases. Let me know. |
Quote:
|
I'd say alot. This seems to be the most popular hack ever! :D
I just checked his forums again. He has the vbstat.php file in his root only :( Oh yeah, you should change your sig so it says. El Coolest Hacko! |
:D
i try now m8 cheers & to JTmon thanx |
Well I see he moved it to his forums folder but is still getting the white page. That means the language file isn't getting called? NUTZ-I can't remember where the code is supposed to go for that :p
|
whats the language file m8, and where should it be ?
|
The file is called vbslang_en.php. If it's up on your server you may want to try it in your forum folder I think
|
Yeah I see it's in the root. Try moving it to the forum folder.
|
right its sort of working but its got a lot of errors at the top of the page
Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 159 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 165 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 162 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 186 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 148 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 139 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 145 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 142 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 136 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 151 Warning: Division by zero in /home/sites/site4/web/forums/vbstats.php on line 154 but some of the data is ok, i think some of the paths may be the prob cause the images are missing ? ill be 5 mins cause i have to see a client (slimming consultant you see :D ) |
Ok now we're getting somewhere. Division by zero errors mean there's something up with the include statement. Paste your current PHPinclude statement here. Or try like Bane said and put the vbs_counter.php file in both your root and forums folder.
|
ive put that in both m8, my phpincludes is:
if (!isset($mainfile)){ include("../vbp_includes.php"); } back in 5 mins |
um, I think that's supposed to be vbs_counter.php and with one less . before the /
WHERE'D ya go Bane!! :stupid: :eek: :confused: :D :p |
Also, I don;t know if it's supposed to be in that loop as it seems that if the condition isn't met then the file won't be included.
|
Make your phpinclude template look like this:
Code:
if (!isset($mainfile)){ |
right guys we starting to get their now.......
look here : http://www.golden-springs.com/forums...=&action=stats but if i visit http://www.golden-springs.com/forums/vbstats.php i get a blank page ooooh i just noticed their is a link on the vbportal (my main page) for stats which displays some of the stats ? was that always their ? |
I get a working vbstat page at both. The only thing is that your images are missing.
|
Congratulations, baldnut it's working. I get vbstats on both links.
Upload your images to it's proper folder. |
did you upload the gifs to your forum/images folder in binary?
Note this from the install instructions I got: Upload the GIF files to your server. I would advise the [vbulletin]/images/ directory, but the $tl_loc and $tl_loc2 variables in the vbstats.php can point anywhere you like. |
couldnt of done it without you guys thank you v.much :)
now for my next hack install :) dont you go offline you lot :p |
I'll be here. Just hope any other hacks are ones I've also installed:D
|
cool m8 thanx :)
ive now got the images working too :) have you installed the one which says next to your name online | offline ? if so is it difficuilt |
dunno haven't done that one yet:D
It's on me list tho! |
what about giving the drop down box to select which colour display is shown to the user ?
|
I believe there are options in the AdminCP where you can set the colors.
|
sorry m8 i was meaning the kind that displays on the main page so the user can choose what colour scheme to use on the page
|
For VBStats I believe most of it corresponds to your style colors.
|
sorry m8, ive confused things here, its for my overall site design (the whole forums) im gonna do a custom design and i was gonna use one of those drop down boxes so users can select which style they like best
|
gotta put it in the request section here. It should be easy enough tho.
|
|
That's not a hack it's built into VBPortals. I think getting the same thing for the forums would be tho
|
Well I thought it was. They used to have that same drop down on php portals but it seems like it's gone now!
|
Yeah if you read the last news post in the center it says:
Styles Demo Posted by: [wajones] on 10-18-2001 @ 10:12 PM Thanks to Pete, note the new Styles demo block, top of right column. These aren't fancy, just a demo of the multiple styles you can have for vbPortal. This isn't meant to set your default style. You will still have to do that in the usercp. It's just to demo the capabilitiy to new visitors. Now it was there the other day but is not now. BTW I think we should discuss this elsewhere, like in general chat or something:D |
Heyho @Bane :)
This is the most powerful Hack I've ever seen. It works like a charm :) :) But, I do have a little problem: I've installed also this *mini-hack* for the forum_home. But on the main-index-page is maybe a little bug, because this one shows all threads and all posting for last 24h ! On "vbstats.php" works it quiet well. :) Just test yourself: Bugproblem: http://www.d-c-f.de Working: http://www.d-c-f.de/vbstats.php As you can see, there are different values for $threadstoday and $poststoday. So, how may I fix it? (This hack is incredible! :) ) |
any working versio n for 2.2.1?
|
It does work for 2.2.1 as there were no changes to index.php for 2.2.1
Not sure why the values are off though |
Quote:
// Today [FireFly] in the index.php Code:
$tltoday=time()-(86400); |
All times are GMT. The time now is 09:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|