Private Messages Wont go away

Support for IntegraMOD 141

Moderator: Integra Moderator

Private Messages Wont go away

PostAuthor: ZacFields » Sun Jan 28, 2007 1:00 pm

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

A lot of my members are complaining that even after they've read all their private messages, the message at the top of their screen still says they have "X New Messages"

There was a .script for this...and I thought it was in the 140 installation, but I can't download the 140 installation because it says "You cannot download directly from another site" or something like that.

Does anyone know where I can get this .script that reverts everyone's private message counter back to 0 ?

Zac
Last edited by ZacFields on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ZacFields
Sr Integra Member
Sr Integra Member
 
Posts: 426
Likes: 0 post
Liked in: 0 post
Joined: Wed May 24, 2006 11:14 pm
Cash on hand: 0.00

PostAuthor: ZacFields » Mon Jan 29, 2007 1:07 am

While we're waiting on somebody to dig that .script up (because for the life of me I can't remember where it is) here is a quick-fix to help the specific people who might be complaining about their private message counter not resetting when they view their messages. (You'll need to be at least lightly familiar with phpmyadmin for this)

----------------------------------------------------------
1. Hover your mouse over the username of the person who is having the problem. At the bottom of your screen, you'll see the link to their profile page. The last 3-4 numbers in their profile's web address is their USER_ID . Take a pen and paper and write this number down.

2. Log into your phpMyAdmin and get into your forum's database.

3. Find the database phpbb_users (or whatever your databases prefix name is, it might not be "phpbb" but you'll look for your "users" database) and click the "BROWSE" button.

4. Click on "user_id" . This will sort the users by their user ID number.

5. Find the user ID of the member who was having problems with their PM's. (Their user name will also be shown in that row) and click the little pencil icon in their row.

6. Find the variable called "user_unread_privmsg" and change the number in the text field to "0" without the quotes.

7. Scroll down to the bottom of the page and press the "GO" button.
-----------------------------------------------------------

This should fix your problem for that individual user. This issue generally arises sometimes when you add modifications and also sometimes when you upgrade your forums. The user's private message counter should reset itself from now on.

There is a .script that somebody wrote that will fix this for everyone, but until I find it (or somebody else finds it), anyone who feels comfortable enough with phpMyAdmin can do it this way for any of their users who are annoyed by it.

Zac
Last edited by ZacFields on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ZacFields
Sr Integra Member
Sr Integra Member
 
Posts: 426
Likes: 0 post
Liked in: 0 post
Joined: Wed May 24, 2006 11:14 pm
Cash on hand: 0.00

Re: Private Messages Wont go away

PostAuthor: Teelk » Mon Jan 29, 2007 2:36 am

There's a problem with using a .script that will do that for every user. If a user does have unread PM's and you use the .script their counter will be set to 0, but they do have unread PM's. After a user who already has unread PM's, but their counter is at 0, reads their unread PM's, the counter goes to something like 65555.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: fldodger » Wed Aug 08, 2007 8:38 pm

Thanks Zac
It worked like a charm. Easy to do once you find the right data base.
Last edited by fldodger on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

fldodger
Members
Members
 
Posts: 52
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 03, 2007 11:02 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Paulmagall