http://www.icyphoenix.com/viewtopic.php?f=35&t=7853&p=52757#p52757
-----------------------------------
Informpro
Wed 25 May, 2011 11:21

Blocks/user_block Bad Redirect
-----------------------------------
Hoi there.

I found a little, the user_block is used to log directly from the portail (I.E.) but a problem remains : it uses[code]
	<input type="hidden" name="redirect" value="{U_PORTAL}" />[/code]The problem is that U_PORTAL have SID in it. So, you'll be logged ... But your sid won't change.
To correct that, open templates/default/blocks/user_block_block.tpl
Find[code]
	<input type="hidden" name="redirect" value="{U_PORTAL}" />[/code]Replace with[code]
	<input type="hidden" name="redirect" value="{U_PORTAL_NOSID}" />[/code]

Open user_block.php
Find [code]
			'AVATAR_IMG' => $avatar_img,
			'U_NAME_LINK' => $name_link,[/code]Before, add[code]
			'U_PORTAL_NOSID' => CMS_PAGE_HOME,[/code]

Have a nice day playing around with Icy Phoenix =).


