|
|
Forum moderator: Eriko |
uCoz Community uCoz Modules Photo Albums Photo Album -- Mainpage -- Entry Moderation Options (I need help with making custom moderation options.) |
Photo Album -- Mainpage -- Entry Moderation Options |
Module: Photo Album Mainpage Hi there i'm creating Privacy settings like facebook for my Photo Album and with an extra i was trying to modify the ENTRY MODERATION buttons For example: Note: the BLUE color arrows should turn the picture like it happends on the Full Entry Page, At first it worked but after an hour the code just stops working. This is my code: Code <a href="javascript://" rel="nofollow" onclick="if(confirm('Do you confirm this action?')){_uPostForm('',{url:'http'+'://www.shredded-factory.com/photo/',type:'POST',data:{ssid:'RaqMj5Vo',c:'0',p:'0',id:'$ID$',a:'6',m:'1'}});} return false;"><img src="http://www.shredded-factory.com/images/img/right-rorate.png" style="width:30px;height:25px;position:absolute;bottom:55px;right:0;"></a> I think the problem is with the ssid changing automaticly after a while. but i don't know how to make the ssid code on my end change automaticly when uCoz servers change the code. For example an hour ago the ssid code was "RaqMj5Vo" at this time the code works but now the ssid changed to this "bi1CAMxU" To busy building a passive income online ;)
Post edited by Animorph - Monday, 2014-08-25, 11:31 AM
|
Animorph, the SSID is you session ID. Every time you log in/out of your website the ID is reset. I'll have a look at the code and see how I go, there's a way around it I've just got to search through my old snippets to find it.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||
| |||