1
keith_jones
Help Regardiing Debaser 0.92 module
  • 2006/2/18 7:02

  • keith_jones

  • Just popping in

  • Posts: 5

  • Since: 2006/2/18


Hello people whats up...

I have the DEBASER 0.92 module running on my site which i think is great. Users can upload their songs and listen to them without a problem. However sometimes users end up submitting the same file twice because of them pressing the submit button twice.

Is their a way to de-activate the submit button once clicked and also after they have uploaded the file is it possible for them to be redirected into the category where the file has being uploaded?

Sorry for my english but i am from Newcastle in the UK lol.

Help appreciated,
Keith

2
frankblack
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 7:34

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Quote:
Sorry for my english but i am from Newcastle in the UK lol.


Poor guy? The only thing I know about Newcastle is from the song "Coals to Newcastle" from The Three Johns. LOL

I guess for the first part of your question there is solution possible, but I don't know how.

For your second part: Look for

if ($result) {
$xoopsTpl->assign('uploadsuccess'true);
}


in debaser/upload.php and replace it with

if ($result) {
redirect_header(XOOPS_URL.'/modules/debaser/genre.php?genreid='.$genrefrom.''2'Successful upload!');
}


This should work

3
keith_jones
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 13:24

  • keith_jones

  • Just popping in

  • Posts: 5

  • Since: 2006/2/18


thankyou.

What will that snippet of script do wen the upload is complete? I aint that good with php... lol

Does anyone know about how to make the submit button so it can be pressed once in debaser 0.92?

Thanks

4
frankblack
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 13:47

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Quote:
What will that snippet of script do wen the upload is complete? I aint that good with php... lol


This will redirect you to the category-page where the file was uploaded to (hope so!)

5
keith_jones
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 14:24

  • keith_jones

  • Just popping in

  • Posts: 5

  • Since: 2006/2/18


Great thanks...

So does anyone know how to make the form so you can only submit once...

I would aooreciate this if anyone can tell me

keith

6
frankblack
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 14:29

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Lucky you! I found a script HERE.

But I have to test before I can tell how to implement or maybe someone else wants to assist you?

7
keith_jones
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 17:14

  • keith_jones

  • Just popping in

  • Posts: 5

  • Since: 2006/2/18


Yeah that code is in html. Can someone tell me how to implement it into the debaser?

Did you have any luck with it frankblack? It would be very useful...

Thanks
Keih

8
keith_jones
Re: Help Regardiing Debaser 0.92 module
  • 2006/2/18 18:53

  • keith_jones

  • Just popping in

  • Posts: 5

  • Since: 2006/2/18


Anyone?

Keith

9
nghia
Re: Help Regardiing Debaser 0.92 module
  • 2006/3/16 15:35

  • nghia

  • Just popping in

  • Posts: 20

  • Since: 2005/1/23


My site is http://www.ria1.org. I use Debaser 0.92 and it play a radio very well.
My question is: I want it to work also with Internet television, is it OK???. I have internet TV streaming address already, but when I add to radio administration, it works only with Audio, but no Video. Can any one try this TV address mms://www.vtc.com.vn/vtc1 to check for me.
Any one can help?
Thanks a lot

Login

Who's Online

260 user(s) are online (30 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits