Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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: [Download] [Hide]
  1.     <input type="hidden" name="redirect" value="{U_PORTAL}" /> 
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: [Download] [Hide]
  1.     <input type="hidden" name="redirect" value="{U_PORTAL}" /> 
Replace with
Code: [Download] [Hide]
  1.     <input type="hidden" name="redirect" value="{U_PORTAL_NOSID}" /> 


Open user_block.php
Find
Code: [Download] [Hide]
  1.             'AVATAR_IMG' => $avatar_img, 
  2.             'U_NAME_LINK' => $name_link, 
Before, add
Code: [Download] [Hide]
  1.             'U_PORTAL_NOSID' => CMS_PAGE_HOME, 


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



 
Informpro - View user's profileSend private message 
Back to topPage bottom
Thanks for the useful Topic Informpro:
mort (25 May) 
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: Blocks/user_block Bad Redirect 
 
MMmmm! We need more "Bug" killer?  
 




____________
My advice is freely given on the assumption that you will ignore any part or all of it!
My Hobby
 
mort - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Blocks/user_block Bad Redirect 
 
Informpro.

Is this 1.3.6.70 ?? git version ??

or is this a .53b  bug ?
 




____________
Driving me and my PC crazy, trying to create some pluggins
Icy-Mods.com ( IP 2.0 RC-1)
 
spydie - View user's profileSend private messageVisit poster's website 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Blocks/user_block Bad Redirect 
 
I'm working on the github version, but I think the bug is present in actuel release.
 



 
Informpro - View user's profileSend private message 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Blocks/user_block Bad Redirect 
 
Thanks, fixed.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty Gorgon - View user's profileSend private messageVisit poster's websiteView user's personal gallery 
Back to topPage bottom
Post new topic  Reply to topic  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