11
suico
Re: How does the notify function works?
  • 2005/6/23 2:23

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks for the tip.
But i tried logging with one user and subscribing him to one event , then loging out and with another user logging in, going to the module and triggering the notification. Andit doesnot seem tobe this the problem :(

But thanks for trying...
Do you have another idea of what it can be?I am pretty syre this must be something stupid thati am missing ...

12
Mithrandir
Re: How does the notify function works?

You don't get any PHP errors or MySQL debug errors, when triggering the event?

13
suico
Re: How does the notify function works?
  • 2005/6/23 21:44

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


No Mith, no error messages when triggering, no php and no MySQL (debugger on).

I am putting a link to the files of the module translated in a poor english.

What it does:

It shows you vehicules separated in 3 kinds ( KOMBI, UNO and SAVEIRO).

You can reserve(book) one for you. Then if there are no more veicules of that kind to be booked (reserved)for one day and period then you can subscribe yourself to a waiting list.

The admin of the module can pressing the "set free" link for one car cancel a reserve and allow the first person in the waiting list automatically to the reserve. At this time the module should notify the user that he got a reserve but for an uncknown reason it does not :(

Try with the kombi model as there is only one veicule for this kind it will be faster for test ( if you try with UNO you have to reserve all 4 veicules on the morning afternoon or night to have the same efect)

www.suico.brturbo.com/carros.zip (may takes some time to load even beeing a small file)
try this place too (same file)
www.simcitybrasil.com.br/carros.zip



Please help me!
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

14
suico
Re: How does the notify function works?
  • 2005/6/24 3:00

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Did someone tried it ?
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

15
suico
New module but Notify problem
  • 2005/6/24 15:06

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


No one?
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

16
suico
Re: New module but Notify problem
  • 2005/6/27 12:37

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Please can someone take a look at it? It is something simple for sure, just i have no idea of what it can be :(
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

17
suico
Re: New module but Notify problem
  • 2005/6/27 18:16

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


I read and read again the codes and lines of the script but can t find what s wrong, :(

Please do take a look at it.
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

18
suico
Re: How does the notify function works?
  • 2005/6/28 3:09

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Come on , please take a look on this, you coders will find my mistake, i have no one else to ask , sorry to insist :(
www.simcitybrasil.com.br/carros.zip
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

19
jegelstaff
Re: How does the notify function works?

Well, I haven't looked extensively, but it looks as if cod_lista, the item_name you're using, is not actually in the URL? The item name needs to be in the URL (unless you're going to do some extensive hacking of how the notification system works), because the notification system checks for the value of that item in the URL and determines whether or not to send a notification based on what it finds there.

In the code you made available, in the file liberar.php, the $cod_lista variable is actually derived from a database query, not from the URL.

So without digging further, my hunch right now would be that you have do not have the right variables in the URL in order for the notification trigger to actually operate correctly.

I made some extensive notes in the comments for the notification class, in the old wiki, before it was taken down, about how to do notifications without a URL parameter in place. I believe ackbarr still has a copy of the comments from that wiki on a hard drive somewhere.

Good luck,

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

20
suico
Re: How does the notify function works?
  • 2005/6/28 15:34

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks for the answer Julian,

I tried what you suggest, changing the code to pass a parameter via a GET variable but it did not work either.

I think it is not a must have for triggering the event.

Thanks very much to have taken a look at it.

If you have another idea on what it can be just let me know I will be really happy to find what it is, but now I have this doubt:

Is it really necessary to have the parameter via get for triggering the event?
Yogurt Social Network Service
Visit:http://www.marcellobrandao.eti.br/

Login

Who's Online

117 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 117


more...

Donat-O-Meter

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

Latest GitHub Commits