Legacy Please make usernmae changes flush DBSEO cache

Status
Not open for further replies.

furnival

Customer
I have the username change mod and DBSEO installed on my forum but they do not talk to each other. I have user profiles set up to be in the general format /forum/members/username.html

Here is the problem:

1. A moderator changes a username through /modcp/

2. The user's profile link (both the old profile link and the new profile link) become unaccessible.

3. I flush the cache of DBSEO through DBSEO's admincp and the new user profile link then works as expected.

--

Could you please build a function into the next version of the username change mod to prompt DBSEO to flush its cache, or at least the cache of user profile links, whenever a username is changed please?
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
I'll build this into DBSEO in the next version :)

I would strongly recommend switching user profile URL format to include the [user_id] however, as URL formats without this will run into multiple problems as your forum grows.
As a very quick example; let's say two people register, Test and tést. In most cases, both these usernames will have a SEO'd URL of test, meaning they will both use the exact same URL for their profile.
Naturally, it is impossible for DBSEO to determine which user you actually wanted to access, so it will always show you one and never the other.

The only reason we support user profiles without User ID is to maintain compatibility with vBSEO URL profiles, it's an extremely bad idea to exclude the ID from URL formats that allow it for this reason. Furthermore, it also lowers the performance of your forum as complex queries will need to be ran in order to attempt to resolve the URLs, so as your member base grows (even if no conflicts ever occur) the performance will gradually decrease.
 
Status
Not open for further replies.
Back
Top