Hello.

I am using the most recent beta for User Titles.

One problem I am having is that the titles are not being updated once a user crosses the threshold into the next rank; while their post count continues to increase, their rank doesn't.

Is there anything I can provide to help solve this?

Comments

batbug2’s picture

i have the same problem. i kinda solve it by going to the admin page for user-titles and clicking the "save" button. after that all titles are updated.

gaijinu’s picture

I believe the user_titles_posts table is not updated when a user posts a comment or the comment is deleted.

jamix’s picture

This is caused by a bug in user_titles_comment() function in user_titles.module. You need to replace the line which starts with db_query("REPLACE INTO... with this one:

  db_query("REPLACE INTO {user_titles_posts} (uid, posts) VALUES (%d, %d)", $a1['uid'], user_titles_get_posts($a1['uid']) + 1);

$a1 is an array, not an object as the old code implied.

pramudya81’s picture

yeah mine too...

I even reset and recount the user points back but still user title doesnt update

agileware’s picture

Title: User titles not updating » [master] User titles not updating
agileware’s picture

Title: [master] User titles not updating » [master] User titles not updating with addition or removal of comments
agileware’s picture

Status: Active » Fixed

This is fixed in 5.x-1.0

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.