11
zippylad
Re: XOOPS Session and Sessionsaver extension for Firefox
  • 2005/10/17 19:13

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


yep. Got it.

Many thanks![quote]



12
zippylad
Re: Personal Messaging Block?
  • 2005/10/17 1:11

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


This was an excellent script!! Saved me hours of time... Only problem is I wanted the box to actually say "no new messages" when there aren't any...so I modified the script. Here is what it looks like after I mangled it:

global $xoopsUser;
if (is_object($xoopsUser)) {
$pm_handler =& xoops_gethandler('privmessage');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid')));
$msgs = $pm_handler->getCount($criteria);
}
$xoops_url = XOOPS_URL;
if ($msgs > 0) {
echo "<table cellspacing='0'><tr><td id='usermenu'><a class='highlight' href='$xoops_url/viewpmsg.php'>You have new messages (<span style='color:#ff0000; font-weight:
bold;'>".$msgs."</span>)</a></td></tr></table>";
}
else {
echo "<table cellspacing='0'><tr><td>You have no new messages</td></tr></table>";
}



13
zippylad
Re: XOOPS Session and Sessionsaver extension for Firefox
  • 2005/10/16 21:38

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


Thanks a lot.

I certainly don't 'blame' the extension for operating the way it does. I was just looking for a way around it.

I have noticed that I don't have this issue on the xoops.org site when using the same browser/extensions, so I was basically wondering how to make that happen.



14
zippylad
XOOPS Session and Sessionsaver extension for Firefox
  • 2005/10/16 4:41

  • zippylad

  • Just popping in

  • Posts: 14

  • Since: 2005/10/16


Hi all.

I have found that when using the sessionsaver extension for FireFox, XOOPS is not requiring the user to log back in if the browser is closed down. For that matter, the whole computer can be shut down, and sessionsaver will bring the user back to where they were in the XOOPS site without having to re-authenticate.

Is there any way to correct this?

Just FYI:
XOOPS 2.2
PHP 4.2 / MySQL 4.0.2
FireFox 1.07
Sessionsaver .2

Many thanks,
cHris




TopTop
« 1 (2)



Login

Who's Online

150 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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