![]() |
Thread... Post... and Reply Count...
It's really a quick hack but i thought i'd release it because maybe some members would find interest in it... requested by Barret... it requires only a file edit and template edit... yes a smaller hack ;) i usually try to stay away from them because i like challenges...
open admin/functions.php find: PHP Code:
PHP Code:
Enjoy ;) g-force2k2 |
good idea......i will not use it though.........incourages spamming.......hidin post count is cool
|
It's a good idea but I really like for people to see postcount.
|
Could we set this in the header as well?
|
you mean on the index.php?
g-force2k2 |
Yeah, nevermind, I figured it out.
|
pretty good stuffs, nice work
|
So this shows how many replies and how many topics each user has done?
|
yep thats right Tha Rock you can put what ever you want in the postbit template... if you want all three to show then use them all...
$post[posts] $post[threads] $post[replies] else just put whichever ones that you want to show... g-force2k2 |
Hmm...nice hack and all, but I don't think I'll be using this.
|
it'll add one extra query per post as i see.
you should optimize it, so it'll cache values it has already ;) |
Xenon could you explain to me what you mean... i kinda have an idea... but i want to learn... after all thats why im hacking ;)
g-force2k2 |
Hey, this is good, my members have been asking for this. Works great, easy install. I only use the Thread count variable, not the replies as well. It's interesting to see people's stats though...
|
Nice Hack...but I already have too much things in my postbit so...not for me XD
|
@g-force:
you should replace this: PHP Code:
PHP Code:
|
Great hack, but i`m keep getting a parse error in line 188 in that file :(
(Using vbb 2.2.7 - Works here ??) Thx |
I thought I had a solution, but then I found :
Fatal error: Call to a member function on a non-object in /home/virtual/site26/fst/var/www/html/forums/admin/functions.php on line 198 Satan |
Thx for helping out anyway :)
|
you can just use my original coding on post#15... Xenon made the first coding and im not sure whats up with it... but i'll test it later and find out whats up... regards...
g-force2k2 |
Thanks g-force:)
Satan |
Fatal error: Call to a member function on a non-object in /home/virtual/site26/fst/var/www/html/forums/admin/functions.php on line 196
Satan |
did you use my first coding not Xenon's code? regards...
g-force2k2 |
I used yours this time...
Satan |
okay then above my code add this see if that works ;) regards...
PHP Code:
|
Yes...
Thanks it works now:D Satan |
PHP Code:
Still getting a parse error. Not a big deal, just wanted you to know :) Cheers |
Ice Man 00 change the coding to what i first have on post#15 not the coding that Xenon created... and then add the global $DB_site; regards...
g-force2k2 |
cant work for me......:(
no error....just nothing happen so strange........:(:( |
squawell
change the code and replace it with this instead: PHP Code:
g-force2k2 |
I LOVE THIS HACK !!!!!!!
THANK YOU g-force2k2 (i know am shouting.... ) :$ |
Why use this Hack so much queries? The normal post counter does that not!
|
Quote:
Thanks in advance Xenon! |
well the code should work i'd say
|
All times are GMT. The time now is 02:20 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:
|