11
st3wart
goFutsal.com
  • 2004/6/9 17:14

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

This site is dedicated to becoming the futsal hub for Malaysians. Feedback ?

Stewart
http://www.gofutsal.com



12
st3wart
Rate review
  • 2004/6/4 6:21

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

How do users rate a review ?

Stewart



13
st3wart
Re: Welcome message
  • 2004/5/29 10:06

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

But what if i what the block to be only on one page of a module but not the on all the module pages ?


Rgds,
Stewart



14
st3wart
Re: wysiwyg editor
  • 2004/5/27 8:12

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

I've done this successfully with XOOPS within my module.
Check outhttp://www.interactivetools.com/products/htmlarea/

Stewart



15
st3wart
Re: Could not triggerEvent
  • 2004/5/3 15:06

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

I'm trying to add notification to the agendax module.
When an event is approved, notifications are sent to the repective ppl. Those who subscribed.

I did this for events that are waiting to be approved. It worked. Notifications were sent. But when an event is approved, notifications can't be sent. (Action not allowed).

Any suggestions ?

Thanks




16
st3wart
Re: Could not triggerEvent
  • 2004/5/3 10:43

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hmm .. so does that mean ...
if my page is accessed using get variables ..
the xoops_gethandler will only allow Select only ?

I tried to insert hard coded values into the triggerEvent but the results are still the same.. 'Action not allowed'.

Thanks.



17
st3wart
Could not triggerEvent
  • 2004/4/30 6:39

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

I'm tring to add a notification in a module. I've put the
triggerEvent as in the documentation in a few places in the same file (index.php).

Some triggerEvent could work. Some wouldn't.
I've checked to the kernel/privmessage.php and it seems that i couldn't insert the private message into the database.
It is using the DB: query() function instead of queryf().
How can the query() function do an insert ?

I'm really confused. Some of my triggerEvent did get through.

Bewildered.
Stewart



18
st3wart
Agendax hack: Notification
  • 2004/4/25 14:41

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

This is my hack:

1. Added these in xoops_version.php
$modversion['notification']['category'][1]['name'] = 'agenda';
$modversion['notification']['category'][1]['title'] = "cat_title";
$modversion['notification']['category'][1]['description'] = "cat_desc";
$modversion['notification']['category'][1]['subscribe_from'] = array('index.php');

$modversion['notification']['event'][1]['name'] = 'add_event';
$modversion['notification']['event'][1]['category'] = 'global';
$modversion['notification']['event'][1]['title'] = "event_title";
$modversion['notification']['event'][1]['caption'] = "event_caption";
$modversion['notification']['event'][1]['description'] = "event_desc";
$modversion['notification']['event'][1]['mail_template'] = 'global_newcategory_notify';
$modversion['notification']['event'][1]['mail_subject'] = "event_mailsub";

2. Copied notification_update.php from newsbb to module/agendax directory. Also copy
modules/news/language/english/mail_template/global_newcategory_notify.tpl to
modules/agendax/language/english/mail_template/global_newcategory_notify.tpl
If directory doesn't exist, create it.
You should change the file global_newcategory_notify.tpl that u copied accordingly as this is the mail body.

3. Add the line <{include file='db:system_notification_select.html'}> in modules/agendax/templates/agendax_flatview.html

4. Added lines below in modules/agendax/index.php in (case"addevent")

$notification_handler =& xoops_gethandler('notification');
$tags=array();
$notification_handler->triggerEvent('agenda', 0, 'add_event', $tags);

Now try adding an event using another user. After you subscribed it with the admin user. Now log in as the admin user and check your inbox.

Stewart



19
st3wart
Blank Module Image
  • 2004/4/25 9:50

  • st3wart

  • Just popping in

  • Posts: 20

  • Since: 2004/4/25


hello,

I've searched high and low for a blank module image but to no avail.

Anybody has any clue ? I want a blank module image which i could put it on the side of the administrative menu.

Something like news_slogo.png in the news module but a blank one. Just with the background

Thanks.
Stewart




TopTop
« 1 (2)



Login

Who's Online

222 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 222


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