11
talon39
Re: Help implementing Agenda-X Hack
  • 2005/3/1 0:11

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


[bump]

Anyone? Can anyone see a reason why that hack would fail to work? Some missing step? I tried it, but it doesn't add the notification option anywhere. Does make any noticible difference.



12
talon39
Help implementing Agenda-X Hack
  • 2005/2/25 0:19

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


I found a Hack to enable notifications in the Agenda-X module Located Here

However i can't get it to work. Does anyone know how to add notifications to this module? I'm using version 2.2



13
talon39
Notifications for Agenda-X
  • 2005/2/25 0:15

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


It would be nice for the admin to be able to receive notification when new events are submitted and awaiting approval.



14
talon39
Re: Agendax hack: Notification
  • 2005/2/23 22:38

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


This hack is exactly what I need. Unfortuantely I'm have trouble getting it to work. I'm using version Agenda-x 2.2

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";


I cut and pasted the above code exactly.

Quote:
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


I copied notification_update.php exactly as described.

I copied global_newcategory_notify.tpl as described by copying the entire folder mail_template from modules/news/language/english/ to modules/agendax/language/english/

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


I added the line in the file and in the corresponding template through the XOOPS template manager. I added it at the bottom. However nothing changes when viewing the Calendar in flat view. I even added the word "test" next to it as a test. In flat view I could see "test" but still no notification form. Was there something else I need to modify to get the template to include it?

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);


I was unsure exactly where to add the above code. So I addedit right after line 488, like this

case "addevent":
  {
  
$notification_handler =& xoops_gethandler('notification');
$tags=array();
$notification_handler->triggerEvent('agenda'0'add_event'$tags);


After making the above mods I still have no notification options in my agenda-x module. Any idea what I have missed?



15
talon39
Re: Agenda X - ArgHHHHHHHH!
  • 2005/2/23 16:29

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


I must be blind. Where in the config.inc.php file is this information? What line number? I can't see anything that controls the image link in that file.
I'm using version 2.2



16
talon39
Having trouble adding Inbox to a top menu in the theme
  • 2005/1/27 22:37

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


I'm customizing the default theme. One of the things I have done is add the items from the user menu block to a top menu within the default theme. I added a table row under the logo area and added the menu items to the cells.
I used the code from the user menu template to create the links. The Admin link works, it is only visible if you have admin rights as it should. All the links work except for one aspect of the inbox link. When a new message arrive the inbox link usually adds the number of new messages to the right of the link. For example:

Inbox (1)

When I add the code
<{if $block.new_messages 0}>
        <
class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a>
      <{else}>
        <
a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}></a>
      <{/if}>

It just displays "Inbox" even if there are new messages. It will not display the number of messages. Anyone know how to get this to work in the new theme menu?



17
talon39
Re: wmpDownloads sending notifications in Chinese
  • 2005/1/12 19:52

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


To others with this problem, appearantly the mail_template file located in the various language folder were not updated to reflect the different languages. They are all in Chinese. Just copy the appropriate mail_template files from the mydownloads module and overwrites the ones in wmpdownloads and you should be ok.



18
talon39
wmpDownloads sending notifications in Chinese
  • 2005/1/12 17:25

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


When I recieve notifications regarding the wmpDownloads module, they are in Chinese. I overwrote all the files in the chinese language folders in the module with the english ones, but It still sends in chinese. Anyone know what might be causing this?



19
talon39
Re: Notifications not sending email
  • 2005/1/12 17:21

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


I have got it working. I know your all relieved.



20
talon39
Re: A Good document sharing module.
  • 2005/1/12 15:08

  • talon39

  • Just popping in

  • Posts: 94

  • Since: 2002/6/13


I tried every variation of mydownloads, I could find before making this thread. Including all listed in the modules reository and all mentioned in the forums here. Every module I tried without exception fell short on one of the points I described except wf-downloads which is actually to much for a simple document sharing module.
I believe the uploader module simply failed to work at all for me. I found a hacked version of the mydownloads module, possibley the one methioned in this thread, however i found that it would not open pdf files in a browser. It tries to save them instead. Unless the modules mentioned are new, were previously not accessable, or have been upgraded recently, i probably tried them. I will take a look and see if I already have them downloaded.

p.s.-
The download link for the invisio file manager has a parse error.

thanks for your help.




TopTop
« 1 (2) 3 4 5 ... 10 »



Login

Who's Online

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


Members: 0


Guests: 215


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