31
MS-2001
xoopsDB Object
  • 2005/9/7 13:25

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I've got a question concerning the xoopsDB object. Sometimes I've got the problem that a query's just not working.

e.g:
$xoopsDB->query("UPDATE ".$xoopsDB->prefix("users_gal")." SET visit_count = visit_count + 1, visit_lastip='".$_SERVER['REMOTE_ADDR']."' WHERE pid=$pid");

There is no update after executing the file. Using MySQL directly

mysql_query("UPDATE ".$xoopsDB->prefix("users_gal")." SET visit_count = visit_count + 1, visit_lastip='".$_SERVER['REMOTE_ADDR']."' WHERE pid=$pid");

it works. So why??



32
MS-2001
Re: Notifications
  • 2005/9/4 9:40

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I've still got the same problem



33
MS-2001
Re: Notifications
  • 2005/9/1 12:14

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


OK, seems to be a bug anyway:

I've got 3 Users: Test1, Test2, Test3

Test1 takes a Topic into his notification list and logs out
test2 logs in, writes an answer to that topic and logs out
test3 logs in, writes an answer to that topic and logs out
Test1 logs in again

notification method is 1 (PM)

But I can choose mode 0, 1 or 2 without any difference in regard on the result. i allways get 2 pm's

I'm using XOOPS 2.0.7.3. any idea?



34
MS-2001
xoops.js: xoopsCheckGroup
  • 2005/9/1 11:31

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


The function xoopsCheckGroup in xoops.js doesn't work with firefox. You can test it with the notification-list.

Tested on XOOPS 2.0.7.3 and 2.2



35
MS-2001
Re: Notifications
  • 2005/8/31 16:51

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


After a long time of seaching for it I just found it. But I have to say that a user should not have to decide about that.

Would be better to move that setting to the xoops-presettings.



36
MS-2001
Re: Notifications
  • 2005/8/31 13:42

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Oh, really? Where can i find that option? Never heard about it :-/

And i don't want to FORCE it but it should be selected by default (after installing the system) with a remark like: "sending a pn / email for each new post while the user is offline causes a lot higher traffic / cpu-load."



37
MS-2001
Re: Notifications
  • 2005/8/31 13:26

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Exactly that's what I'm looking for. But I'd need it for 2.0.7.3 as I allready said .

Possible?



38
MS-2001
Notifications
  • 2005/8/31 12:57

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I just reactivated the notifications on my website (xoops 2.0.7.3 / newbb (first final release)) but there's something about it I don't like.

When you take a topic into your notificationlist you get everytime another user writes an answer to that topic a private message / email. That's useless.

Is it possible to just send him ONE notification and then no other for the time the user doesn't visit the page again.

Do you know what i mean !?!?! :-/

That would save both traffic and cpu-power.



39
MS-2001
Re: user twice in the onlinetable
  • 2005/8/11 19:39

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Again and again and again.... seems like you need to push your topic about five times to get an answer?

Hope it works here as well.



40
MS-2001
Re: user twice in the onlinetable
  • 2005/8/9 16:45

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


No idea?




TopTop
« 1 2 3 (4) 5 6 7 ... 20 »



Login

Who's Online

133 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 133


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