2081
Dave_L
Cookie prefix
  • 2003/12/21 16:33

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I don't know if this is already on the list, but it would be helpful if there were a configurable cookie name prefix used for all cookies. This would prevent cookie name conflicts if you have more than one XOOPS installation on the same domain, or have other web applications that use the same cookie names.

A related request is to have a common function xoops_setcookie() that's used for setting all cookies, both by the core and by addon modules. That would make it possible to make changes such as adding a cookie prefix, or changing the other cookie attributes (domain, path, expiration time), with a single code change.



2082
Dave_L
Re: Webmasters
  • 2003/12/20 5:06

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks

I placed another user (not #1) in the Webmasters group, and that user seems to have full admin privileges (including ability to edit groups, modules, users, etc.) even though the boxes in the "System Admin rights" section are unchecked for the Webmasters group.



2083
Dave_L
Webmasters
  • 2003/12/20 4:15

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


[2.0.5.1]

The boxes in the "System Admin rights" section are unchecked by default for the Webmasters group, and the corresponding rows are not present in the xoops_group_permission table.

But users in the Webmasters group nevertheless have full admin privileges. Is this hard-coded?



2084
Dave_L
Re: Last Post date/time issue
  • 2003/12/18 18:28

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I was thinking of storing the timestamp, rather than a formatted date/time, in the cached content. I know that Javascript can convert that to a formatted date/time string.

Of course, it should also be done in such a way that if the user's browser has Javascript diabled, then the results will still be reasonable.



2085
Dave_L
Re: Last Post date/time issue
  • 2003/12/18 17:09

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks for explaining why the problem occurs. I had forgotten about the cache.

If I have time, I'll see if I can come up with a Javascript fix.

Maybe a better solution would be to disable caching for blocks such as Recent Topics that depend on user preference settings.



2086
Dave_L
Re: Recent Topics - date/time
  • 2003/12/18 16:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks

I should searched before posting.

Moderator: please lock or delete this topic.




2087
Dave_L
Recent Topics - date/time
  • 2003/12/18 5:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


[2.0.5.1]

Even though I'm logged in, in the Recent Topics block the Last Post date/times are not adjusted for the time zone offset in my account settings. The date/times are adjusted correctly on the forum list page, the topic list page, and the topic view page.

I see this problem on this site, but the problem doesn't occur on my XOOPS installation.

The code in modules/newbb/blocks/newbb_new.php that generates the date/time looks correct (it calls formatTimestamp).




2088
Dave_L
Re: Adding user fields?
  • 2003/12/18 2:10

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Are the changes really that extensive?

One of the advantages of Object Oriented code is that changes like that should be relatively easy.



2089
Dave_L
PHP Superglobals
  • 2003/12/17 16:58

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Are there plans to change $HTTP_GET_VARS to $_GET, $HTTP_POST_VARS to $_POST, etc.?

The superglobals, supported in PHP 4.1.0 and higher, are more convenient to use, since they don't have to be declared as global within functions, and the stated requirements for XOOPS is PHP 4.1.0 and higher.



2090
Dave_L
Re: Right Side Blocks removed except on home page?
  • 2003/12/16 6:15

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Under Administration Menu >> System Admin >> Blocks, if you Edit a block, you can set "Visible in" to "Top Page" only.




TopTop
« 1 ... 206 207 208 (209) 210 211 212 »



Login

Who's Online

293 user(s) are online (194 user(s) are browsing Support Forums)


Members: 0


Guests: 293


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