• Page 1 of 1
  • 1
Forum moderator: bigblog  
How to make and save a variable
N-Jay
Posts: 5
Reputation: 0

Message # 1 | 12:57 PM
Hey there.

I am developing a system for user song uploading. I already battled through a way to add the player on uploaded files, now there is a one more issue. How could i add soundcloud player for user tracks. So that the users could choose between Upload or soundcloud.

I'v figured so far that i need to remake/add a space at entry adding for soundcloud link for the song.

And then i need to access the saved information with the same method like &_DIRECT_FILE_URL$ or something

Third step would be to add a soundcloud script with the link from the variable.

But the problem is - how to save/make souch a variable for later use?

So the main question - how to make souch a variable?

Thanks!!
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 2 | 1:43 PM
Variable? As in var x = "something"; on the server side? Not possible.

Or variable as in $SOMETHING_CODE$ ? Are you gonna put some scripts so it's easier to call? eeer. function, then? Well, we have global blocks that you can use if you don't want to use functions.
N-Jay
Posts: 5
Reputation: 0

Message # 3 | 1:52 PM
Grate. ok - I am starting to understand how this work. Is there a place where i can see default block scripts?

Imagine - you are uploading file - you got a spot where you need to enter soundlcloud adress. this is the variable.

Then at the entry view - you edit the design to add a custom soundcloud player script where instead of a track link you add that variable

i do apologize for my noobness lol

Thanks for Helping me!
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 4 | 1:56 PM
N-Jay, what you are describing would be very difficult to implement onto a uCoz website. Perhaps look into JavaScript coding through the use of browser cookies, however, otherwise it's non-achievable from a base system perspective. wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
N-Jay
Posts: 5
Reputation: 0

Message # 5 | 3:27 PM
Ohh.. Too bad. Then i'll need to become a programmer. biggrin
Thanks for the help!
  • Page 1 of 1
  • 1
Search: