601
rowdie
Re: How to make a new module anonymous users available by default ?
  • 2004/9/28 17:03

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


sorry, I overlooked the 'creating a module' bit :)

It's not a bad general XOOPS user tip though.



602
rowdie
Re: How to make a new module anonymous users available by default ?
  • 2004/9/28 16:58

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Quote:

By default, module and block access is added to groups, the user, who installs the module, is a member of.


If that's the case couldn't the person installing the module just add themselves to the anonymous users group to create the behaviour the original poster wanted?

Rowd



603
rowdie
Re: Changing date display in blocks (extcal and newmembers)
  • 2004/9/26 10:18

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I'm sorry I missed your post, but it's good hear you figured it out.

The next version of extCal has the date format as an admin option. We're working very hard to try to get it released as soon as possible. There are a lot of extra features in the new version though, so there's been a lot to do.

Rowd



604
rowdie
Re: Documentary Module
  • 2004/9/20 18:32

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I've heard of two :

phpwiki in this thread

and wikimod

I haven't tried either of them out yet though, so i can't say what the difference is between them.

Rowd



605
rowdie
Re: problem : failed to open stream
  • 2004/9/7 11:10

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Extra info on this problem...

I had the same message - no xoopslogger.php.

I found that it was true, there is no xoopslogger.php in the latest XOOPS releases. There is a logger.php though, so I just changed the references in the module to logger.php. That got rid of the error message at least. The module I was using is outdated and not XOOPS 2.x compliant, I´m trying to convert it. So there wouldn't be many people encountering this error, I´d say.




606
rowdie
Re: how are cookies / sessions used in Xoops?
  • 2004/9/4 13:12

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Thanks Mithrandir, I'm an AS400 programmer and still have a lot to learn about PHP.

Rowd



607
rowdie
Re: how are cookies / sessions used in Xoops?
  • 2004/9/4 10:15

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Thank you for the replies. I'll work with the session db entries then and not bother about cookies, as you have suggested.

I was really just trying to work out the logical flow of events, I guess you could call it. Like, what exactly happens when a user visits the site. As I understand it, an anonymous user would have a cookie set immediately which contains the sessionID, and a session entry is also created in the db for that user, containing no sess_data values. When the user logs on, the db session entry is updated to include user info as sess_data. When they logout the session entry is deleted.

I still have some questions though, such as:
- When an anonymous user moves on, how is the session entry removed from the db? Or if a registered user closes the browser without logging out?

- If a user has cookies disabled can they view the site?

- Why is a cookie used to store the sessionId, when it is immediately stored in the db anyway?


Sorry for all the questons, I just like fully understanding the system I work with.

Rowd



608
rowdie
Re: how are cookies / sessions used in Xoops?
  • 2004/9/3 21:50

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


no-one can help me?



609
rowdie
how are cookies / sessions used in Xoops?
  • 2004/9/3 14:54

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I've been trying to find documentation about cookie and session use in XOOPS but without success. Could someone please either point me in the direction of an explanation or help me work it out?

Basically what I'd like to do is add a new key/value to the current valid session/cookie, or if it already exists then use the value in my module. Are there core functions to do this?

Any help would be appreciated

Rowd



610
rowdie
Re: wordbook and cache
  • 2004/8/18 0:07

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


I had a quick look at the sql queries and my suggestion would be to change the way you check for $totalwords. Do a SELECT count(*) from the table, instead of reading in all the entries. As far as I can see you don't use the $words variable for anything else, though it was just a quick look, like I said, so correct me if I'm wrong :)

Anyway, just a suggestion and I hope it helps...

Rowd




TopTop
« 1 ... 58 59 60 (61) 62 »



Login

Who's Online

221 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits