The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there,
I really want a letter counter for my forums ![]() Since I'm posting this in "Hack Requests", I'm obviously shooting for a complete solution :cheeky:. But if someone takes the time to post some PHP/SQL code on how to count the letters in the existing posts and gives advice on which database structure would be best (I'm guessing the best would be a new field in the user table containing the calculated number, constantly updated by newreply/newthread/editpost; counting anew every time would result in an extreme load), I might be able to try it on my own again. Anyway, thanks for reading. ![]() |
#2
|
||||
|
||||
![]()
I bet Xenon provided this code in this forum, but I couldnt find its thread when I searched now. You can try to search maybe you can be luckier than me, or maybe Xenon can point it..
![]() |
#3
|
|||
|
|||
![]()
Xenon did provide me with code to display the letter count of the respective post in the postbit template once, but that's not what I need. I want an ongoing counter and I have to count the letters of the existing posts per user before.
![]() |
#4
|
|||
|
|||
![]()
Ah, I got it to work ("Buchstaben" = letters). Logician posted a way to do it dynamically in the old thread, I added it to member.php:
Quote:
Thanks Logician, anyway. ![]() |
#5
|
||||
|
||||
![]()
yw.. even I didn't remember I gave the code before
![]() |
#6
|
|||
|
|||
![]()
<a href="http://www.forenplanet.de/member.php?s=&action=getinfo&userid=450" target="_blank">Now it shows</a> the number of letters, how many letters per day, how many letters of all letters by all members in percent and how many letters per post on average. Maybe I should publish all this as a new hack. Of course, I'd credit you, Logician. What do you say?
|
#7
|
||||
|
||||
![]()
sure go ahead and publish it if you want to..
|
#8
|
|||
|
|||
![]()
Please do as Im interested in this as well
|
#9
|
|||
|
|||
![]()
Cool, thanks a lot Logician!
Xanthine, expect a hack in 10 - 15 hours, I'll do it when it's evening for me over here. |
#10
|
|||
|
|||
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|