Author |
Topic |
|
8minus8
Starting Member
26 Posts |
Posted - 21 March 2001 : 10:34:59
|
I was wondering if someone could help me create a function that would dynamically update the post counts of my members. For example I noticed when I deleted a thread the post count didn't change. I'd like to make them dynamic - so if the user or moderator deletes a thread or individual posts for any given reason, then the post count will be updated accordingly. The reason for this is I want to be able to control the quality posts. I think it's essential for the community.
Richard Kinser wrote:quote: for what you are wanting to do (decrease post count when 1 reply is deleted, and decrease post count when an entire thread is deleted [which would require all posters in that thread having their post count decreased]), will require an entire new function, and some modifications to topic.asp, forum.asp, default.asp, active.asp, search.asp and pop_delete.asp as well.
I appreciate any help you can offer. Thanks in advance.
|
|
redbrad0
Advanced Member
USA
3725 Posts |
|
8minus8
Starting Member
26 Posts |
Posted - 21 March 2001 : 10:48:19
|
Yes I did. It was suggested to me that I should make a new post in this forum to see if someone could help. thanks. |
|
|
8minus8
Starting Member
26 Posts |
Posted - 26 March 2001 : 19:17:56
|
any luck?
thanks.
Edited by - 8minus8 on 26 March 2001 19:19:19 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 26 March 2001 : 20:07:24
|
not yet.
Haven't forgot about it though. |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 29 March 2001 : 17:47:12
|
Ok, download the following:
pop_delete.zip
overwrite your current pop_delete.asp file with the one in the pop_delete.zip file.
This will decrease the post count of a user when they delete their post and when an Admin or Moderator deletes their post.
If an Admin or Moderator deletes a Topic that has replies, then both the Topic Starter, and everyone who replied will have their post count decreased by the # of posts they had in that thread. |
|
|
8minus8
Starting Member
26 Posts |
Posted - 29 March 2001 : 22:17:56
|
WOW!!!!!
What can I say? You are the best, thanks so much Richard for taking the time to help me out, this place rocks and you have something to do with it.
Awesome! It works like a charm.
Can't say it enough ----> thank you!
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 29 March 2001 : 23:35:36
|
You're welcome
Glad I could help. |
|
|
Freeman II
Junior Member
232 Posts |
Posted - 06 May 2001 : 16:46:03
|
Richard could you highlight the code that you changed? thanks a lot =)
|
|
|
Locust99
Starting Member
United Kingdom
4 Posts |
Posted - 07 May 2001 : 05:30:36
|
i have always found that a post cost increases spamming
Email: Locust99@yahoo.com ICQ# 53057896 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 28 May 2001 : 22:51:01
|
this is PERFECT. I just added a Testing Area to my forum and members counts were increasing dramatically when they were testing their new signatures and other forum features. thank you very much for this feature...
Dayve |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 29 May 2001 : 14:37:50
|
seems like 121host.net is down or inaccessible.
Here is an alternate download site: http://www1.domaindlx.com/dssdbs/pop_delete.zip
The code I added is in between the following tags (2 places in the file)
around line #52 and line #190
'## Below Code added to decrease the post count of members when their posts are deleted code..... '## Above Code added to decrease the post count of members when their posts are deleted |
|
|
|
Topic |
|