171
suico
Re: How does the notify function works?
  • 2005/6/21 19:01

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


yes there are.
Table xoopsnotifications data:

id    modid   itemid    category event         uid    mode
48      53      9      Espera  Reserva      9      0
49     53     10     Espera     Reserva     1     0
50     53     1     Espera     Reserva     12     0
51     53     12     Espera     Reserva     1     0


Any idea mith? Or anyone else?



172
suico
Re: How does the notify function works?
  • 2005/6/21 18:00

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


ok forget the last message.

Now i am able to subscribe the members to an event it seems everything is ok for this feature but when i try to use the trigger method it does not send a message to the user. :(

$notification_handler =& xoops_gethandler('notification');
$notification_handler->triggerEvent('Espera'$num 'Reserva');


in the code espera is a category, reserva is an event and $num is a variable that i have now set to 1 for test purposes only . Maybe someone can give me a tip on what to do to make it works? Or at least to test it.



173
suico
Re: Notification errors
  • 2005/6/21 17:22

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks, I was having the same problem!



174
suico
Re: How does the notify function works?
  • 2005/6/20 22:36

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Still about notifications:

I ve red the article you pointed me and it helped me a lot!

I have though a few doubts:

Quote:

item_name: the HTTP //get// parameter to watch, which specifies the ID of the specific item in the category (e.g. forum ID or thread ID)

What if i have more than one get parameter to be wacthed together? Is it possible to be implemented? Or do I have to change my code to have a unique variable?



175
suico
Re: How does the notify function works?
  • 2005/6/20 22:14

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks mith , as always you have thought of everything and we users are making stupid questions :) But i have looked for something like this before :( Anyway it wis exactly what i was looking fo, thanks too much!



176
suico
How does the notify function works?
  • 2005/6/20 20:34

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


I am implementing a module by myself and i need to inform a user that i have just made an insert.

How does XOOPS treat this? I saw I have to alter the xoops_version.php file but i really can' t understand. Can sanyone write a bit on the matter? Or maybe show me where to read about this?



177
suico
Re: Wfdownloads Security (BIG) issue
  • 2005/5/27 15:47

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


I have made a hack for this and I think it works.
If someone wants to try it too just add this code to line 23 of viewcat.php:

[CODE]
$teste = $gperm_handler->checkRight('WFDownCatPerm', $cid, $groups, $xoopsModule->getVar('mid'));
if (!$teste)
{
redirect_header('index.php', 2, 'You are not allowed to view this category');
}
[/CODE]

It seems to work for me.

Please if someone trys this just let me know the results.

obs: Of course you can also add a variable for language instead of the message but as this will be solved on next version i think it is unnecessary now.



178
suico
Re: XoopsFormTextDateSelect Problem showing
  • 2005/4/6 7:49

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


The problem was on my html/language/portugues.do.brasil/calendar.php file
When i changed it to the original english one it worked fine , hope this helps more people...



179
suico
Re: A better Xoops editor?
  • 2005/4/4 15:08

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


You can look for koivi htmlarea and others wysiwyg here:

http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1155&release_id=240



180
suico
Re: XoopsFormTextDateSelect Problem showing
  • 2005/4/2 15:29

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Sorry to bump this, but i really need some help here :(




TopTop
« 1 ... 15 16 17 (18) 19 20 21 22 »



Login

Who's Online

206 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 206


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