Previous Thread
Next Thread
Print Thread
Rate Thread
#54093 07/15/2002 3:41 PM
Joined: Apr 2001
Posts: 86
Member
Member
Offline
Joined: Apr 2001
Posts: 86
Is the a mod that I can install that allows admins to change the post count of a certain member via cp?

Tar

Sponsored Links
#54094 07/18/2002 10:54 AM
Joined: Apr 2001
Posts: 86
Member
Member
Offline
Joined: Apr 2001
Posts: 86
bump




# Add Below:






#close
# open cp_users.cgi
# find
print FILE ("$user_profile[7]n");
# replace with
print FILE ("$in{postcount}n");
#close and upload

Voila smile
Works for me, maybe someone can check 6.3's comapatability of this?
EDIT: typo size didn't have closing "
#54095 07/19/2002 3:39 AM
Joined: Apr 2002
Posts: 111
PF Offline
Member
Member
Offline
Joined: Apr 2002
Posts: 111
Haven't seen one, shouldn't be too hard.
I only have 6.05 but the idea should be the same.

# Open cp_edit_profile.pl
# Find:
$user_profile[2]



Post Count:






#54096 07/21/2002 12:14 PM
Joined: Oct 2001
Posts: 114
Content Kidman
Content Kidman
Offline
Joined: Oct 2001
Posts: 114
If you rebuild member post histories does this recalculate the post counts and then overwrite any manual alteration of the post count?

#54097 07/21/2002 3:12 PM
Joined: Apr 2002
Posts: 111
PF Offline
Member
Member
Offline
Joined: Apr 2002
Posts: 111
Doubtful, since Pruned and Deleted posts will then decrement the post count over a large time scale.

Sponsored Links
#54098 07/25/2002 7:23 PM
Joined: Apr 2001
Posts: 86
Member
Member
Offline
Joined: Apr 2001
Posts: 86
Hi, thanx for replying, soz bout the delay.
This area of code is not available in 6.3 frown

#close
# open cp_users.cgi
# find
print FILE ("$user_profile[7]n");
# replace with
print FILE ("$in{postcount}n");
#close and upload

#54099 07/26/2002 3:25 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Yep, you'll need to find

Quote
code:
Code
	$user_profile[6]  = qq!$in{location}!;

And add after

code:
[qb]
Code
	$user_profile[7]  = qq!$in{posts}!;
[/qb]
smile

#54100 08/24/2002 6:28 PM
Joined: Apr 2001
Posts: 86
Member
Member
Offline
Joined: Apr 2001
Posts: 86
Right people! I got back from my vacation! yay!
Anyway, I did that and it worked. ish...
Only when you update the profile now after altering the post count, it wipes the users post counts! gone! eek
Any ideas?

tar


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)