Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Strange Thing After User Renamed 
 
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!  
 



 
EradicatorSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
just wait a few mins/hours

or clear the cache thingy  
 




____________
check out my site sometime
www.Dutch-HQ.net
 
NizzleSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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!!!
 



 
EradicatorSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
check out my site sometime
www.Dutch-HQ.net
 
NizzleSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
Thanks!
What about "Compile Cache"? What will do this link?
 



 
EradicatorSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
it will create new cache
 




____________
check out my site sometime
www.Dutch-HQ.net
 
NizzleSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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?
 



 
EradicatorSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
No site anymore
 
ClaireSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
Eradicator wrote: [View Post]
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?

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!

Claire wrote: [View Post]
When I change a users name for them, it takes a few hours for it to actually change for some silly reason.

You have to empty the cache!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
OK thank you.  How do I do that?
 




____________
No site anymore
 
ClaireSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
READ claire

I've already awnsered both of your questions.. IN THIS TOPIC..
don't be too lazy
 




____________
check out my site sometime
www.Dutch-HQ.net
 
NizzleSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
Thanks to all!
 



 
EradicatorSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Strange Thing After User Renamed 
 
Eradicator wrote: [View Post]
Thanks to all!

You're welcome... I hope you have solved your problem, and everything is clear now about cache!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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