Hello,
one of our users asked us to change his username.
Let's suppose that the old username is "user_old" and the new username is "user_new".
I changed from ACP (user section) the username of "user_old" to "user_new".
Now if a go to see user's topics in the author section I see again "user_old" instead of "user_new".
If I click on the link of the profile, in the viewprofile window I see "user_new".
The avatar (in viewtopic window) have an <a> link pointing to: "javascript:quotename('user_new,')"
If the user writes new messages they are "authored" as above.
In the database, in the phpbb_users, the field username contains "user_new".
In the database, in the phpbb_post, the field post_username, contains always value "" (empty).
I analized both viewtopic_body.tpl and viewtopic.php and it seems that the username assumes two values, sometimes from $poster and $sometimes from $poster_qq.
It seems that $poster_qq contains the right (new) username.
Thanks for your help! :D
Strange Thing After User Renamed
Subject: Re: Strange Thing After User Renamed
just wait a few mins/hours ;)
or clear the cache thingy :mrgreen:
or clear the cache thingy :mrgreen:
Subject: Re: Strange Thing After User Renamed
the /cache/ directory.
Funny,
I've found a file called cg-user379.php
379 is the user_id of the renamed user and I've found in it the old username.
The /cache/ directory is a function taken from phpbb or was developed by xs team?
In few words, can somebody explain me how xs and phpbb uses the cache function?
Thank!!!
Funny,
I've found a file called cg-user379.php
379 is the user_id of the renamed user and I've found in it the old username.
The /cache/ directory is a function taken from phpbb or was developed by xs team?
In few words, can somebody explain me how xs and phpbb uses the cache function?
Thank!!!
Subject: Re: Strange Thing After User Renamed
not a clue how it uses it
I don't think it's a phpBB default function
but you can clear it in the ACP -> Styles & Templates -> Manage Cache
I don't think it's a phpBB default function
but you can clear it in the ACP -> Styles & Templates -> Manage Cache
Subject: Re: Strange Thing After User Renamed
Thanks!
What about "Compile Cache"? What will do this link?
What about "Compile Cache"? What will do this link?
Subject: Re: Strange Thing After User Renamed
Have I necessary to compile manually or, when deleted, xs rebuilds the cache?
What the difference to manually compile cache or let xs do it?
What the difference to manually compile cache or let xs do it?
Subject: Re: Strange Thing After User Renamed
When I change a users name for them, it takes a few hours for it to actually change for some silly reason.
Subject: Re: Strange Thing After User Renamed
If you don't do it manually, XS will recompile the Cache when the site is navigated. My advice is let XS build the cache when needed... just empty the cache when you change something that needs it! :wink:
You have to empty the cache! :LOL:
Eradicator wrote: [View Post]
If you don't do it manually, XS will recompile the Cache when the site is navigated. My advice is let XS build the cache when needed... just empty the cache when you change something that needs it! :wink:
Claire wrote: [View Post]
You have to empty the cache! :LOL:
Subject: Re: Strange Thing After User Renamed
READ claire ;)
I've already awnsered both of your questions.. IN THIS TOPIC..
don't be too lazy :mrg:
I've already awnsered both of your questions.. IN THIS TOPIC..
don't be too lazy :mrg:
Subject: Re: Strange Thing After User Renamed
You're welcome... I hope you have solved your problem, and everything is clear now about cache! :wink:
Eradicator wrote: [View Post]
You're welcome... I hope you have solved your problem, and everything is clear now about cache! :wink:
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1086s (PHP: 17% SQL: 83%)
SQL queries: 10 - Debug Off - GZIP Enabled