Darth Cezar wrote:
have some questions;
I cretaed few forums and there stands "by Forum Administrator";
I changed my name from Administrator to Cezar, and Cezar is displayed when I post;
why isn't it displayed when I crate new forums; can that be changed?
also, if I delete old posts, number of users posts drops; can that be changed?
thnx people
|
I've found a way so post count doesn't decrease, but it's somehow incomplete:
go to the file "delete_post.asp" at line 193, you'll find the following:
'If there is a record returned by the database then read in the no of posts and decrement it by 1
'If NOT rsCommon.EOF Then
'Read in the no of posts the user has made and username
'lngNumOfPosts = CLng(rsCommon("No_of_posts"))
'decrement the number of posts by 1
'lngNumOfPosts = lngNumOfPosts - 1
'Place the new number of posts in the recordset
'rsCommon.Fields("No_of_posts") = lngNumOfPosts
'Update the database
'rsCommon.Update
'End If
Comment it all, just like it is here.
Problem is this is incomplete, because if you delete a whole topic (using topic admin) the posts are deleted, and decreased count on the DB. I still haven't found where the .asp does this change. If someone can tell, i would also appreciate it 