1
amartins
Re: News Module Question
  • 2006/9/5 20:56

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Hi All,

Thanks to all of you that answered in the first place. I found a way to to do that. Here it goes:

1- Set the start page to none.
2- Remove the permission on ADMIN>GROUPS>ANONYMOUS to access the news module.
3- edit the file XOOPS_ROOT/include/checklogin.php

look in the code for the lines below:
=====================================

// RMV-NOTIFY
// Perform some maintenance of notification records
$notification_handler =& xoops_gethandler('notification');
$notification_handler->doLoginMaintenance($user->getVar('uid'));

// ADD THE LINE BELOW TO REDIRECT THE USER AFTER LOGIN TO THE NEWS PAGE.

$url = XOOPS_URL.'/modules/news/index.php';

redirect_header($url, 1, sprintf(_US_LOGGINGU, $user->getVar('uname')));

=====================================

Now, it is working as i wanted, aonymous users see the headlines (block) but not the news and when they login the news page is their start page.

If you wanna see it in action my website is:

http://www.copainferno.com.br

Thanks again,

Alexandre.



2
amartins
Re: News Module Question
  • 2006/9/5 20:19

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Yeah, i might have to do just that!



3
amartins
Re: News Module Question
  • 2006/9/5 14:36

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Hi,

That wont work because if i remove the permission for the anonymous users to acess the News Module. Every person will get a message that "he is not allowed to access that module" when entering the page.



4
amartins
News Module Question
  • 2006/9/5 14:22

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Hi all,

I've setup the NEWS Module to be module for the start page but i would like it only to show to registered users. Is there way to do that ? I tried to disabled it, but i did not find any block that display the news in the way it does when the news module is setup to appear in the entry page ?

Thanks in advance.

Alexandre.



5
amartins
EXTCAL: Error showCalendar is not defined
  • 2004/12/19 2:40

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Hi,

When i go to add an event, and click on the [...] to select the date the calendar box does not appear and i get the following javascript error on the Javascript Console:

Error showCalendar is not defined

Everything else seems to be just fine. Also if i manually add the date it also works.

Thanks in advance.

Alexandre Martins.



6
amartins
EXTCAL: Error showCalendar is not defined
  • 2004/12/17 12:27

  • amartins

  • Just popping in

  • Posts: 6

  • Since: 2004/7/5 2


Hi,

When i go to add an event, and click on the [...] to select the date the calendar box does not appear and i get the following javascript error on the Javascript Console:

Error showCalendar is not defined

Everything else seems to be just fine. Also if i manually add the date it also works.

Thanks in advance.

Alexandre Martins.




TopTop



Login

Who's Online

225 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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