Enhanced XSPF Player keeps loggin out SOLVED

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Enhanced XSPF Player keeps loggin out SOLVED

Post by yorgi63 »

Bug issue. I loaded FEU and Enhanced XSPF .051 n CMS Made Simple 1.5.1 "San Juan",  I have worked with the modules before and they always worked great.

What seems to be happening is when I create a play list and add songs the site just logs out. I uninstalled everything and reloaded it and again it just logs out.

Very strange this has never happened before does anyone have any suggestions.  Or other similar problems.

It doesn't seem to do it on any other module.

Thanks to everyone in advance.

George
Last edited by yorgi63 on Fri Jan 02, 2009 5:27 am, edited 1 time in total.
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by yorgi63 »

Hello,

I back tracked on the system and went to 1.4.1 which I know works with the player and it still logs out.

George
ReoC
New Member
New Member
Posts: 4
Joined: Mon Dec 22, 2008 12:58 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by ReoC »

i have this problem too. And i don't know how to resolve this problem, any ideas ?
Geronimo
New Member
New Member
Posts: 8
Joined: Mon Oct 27, 2008 12:46 am

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by Geronimo »

I have the exact same problem.  As of right now I can't add anything to the playlist!  Help anyone? 
syncros

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by syncros »

Hello, I found a solution. (Maybe no elegant, but functional. ;) ):
1. Make new user define tag, e.g.: "cms_user_key" with code

Code: Select all

echo $_SESSION[CMS_USER_KEY];
2. In "admin_edit_playlist.tpl" find this:

Code: Select all

<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
and replace by

Code: Select all

<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
<div class="hidden">
<input type="hidden" name="_s_" value="{cms_user_key}" />
</div>
Now, while submit form is pressed, I stay logged in.

Adequate change also this code in admin_add_playlist_songs.tpl
Last edited by syncros on Wed Dec 31, 2008 1:59 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by Dr.CSS »

This may have something to do with the new session keys being used now to correct a small vulnerability found in CMSMS that was explained in the Blog...
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by yorgi63 »

syncros wrote: Hello, I found a solution. (Maybe no elegant, but functional. ;) ):
1. Make new user define tag, e.g.: "cms_user_key" with code

Code: Select all

echo $_SESSION[CMS_USER_KEY];
2. In "admin_edit_playlist.tpl" find this:

Code: Select all

<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
and replace by

Code: Select all

<form id="playlist_form" name="playlist_form" method="post" action="moduleinterface.php">
<div class="hidden">
<input type="hidden" name="_s_" value="{cms_user_key}" />
</div>
Now, while submit form is pressed, I stay logged in.

Adequate change also this code in admin_add_playlist_songs.tpl
Trying to work this fix and even though this sounds simple what file  do I place the "echo $_SESSION[CMS_USER_KEY];" code into. Sorry if this sounds simple.  Also I am not sure where to place the code in playlist_songs. I found it in playlist.tpl but not in that one.

Thanks!
Yorgi
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by Dr.CSS »

1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];

If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by yorgi63 »

mark wrote: 1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];

If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
Found it thank you and it works.

Yorgi
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by Dr.CSS »

Remember to amend the Subject line of the first post here with [solved]...
yorgi63
Forum Members
Forum Members
Posts: 108
Joined: Fri Aug 25, 2006 4:35 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by yorgi63 »

mark wrote: 1. Make new user define tag, e.g.: "cms_user_key" with code
Code:
echo $_SESSION[CMS_USER_KEY];

If you aren't sure what that is read the default content: Default Extensions » Tags » User-defined tags...
One one last tweak. Seems the Thumbnails are not happening. Is this because the playlist is good but the songs.tpl is not? Anyone?

Thanks!
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Enhanced XSPF Player keeps loggin out (need help!!!_

Post by Dee »

yorgi63 wrote: One one last tweak. Seems the Thumbnails are not happening. Is this because the playlist is good but the songs.tpl is not? Anyone?
Thumbnails weren't showing due to a change in the way the Uploads module stores the thumbnails. This is fixed in EnhancedXSPF-0.5.2, which also adds the cms_user_key where needed.

Regards,
D
Post Reply

Return to “Modules/Add-Ons”