2051
Dave_L
Re: User Selectable Themes?
  • 2004/1/8 17:21

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Thanks, I was going to ask what you meant above by hacking common.php.

Minor nitpick: Is there a particular reason for using
if(is_object($xoopsUser) == true)
instead of
if(is_object($xoopsUser))
?



2052
Dave_L
Re: User Selectable Themes?
  • 2004/1/8 5:00

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


There's a system block named "Themes" that provides this function.



2053
Dave_L
Re: Do you know what happens when you delete your templates_c folder?
  • 2004/1/7 22:29

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It's named something like xoops-2.0.5.2/html/templates_c in the XOOPS distribution. The files in the html subdirectory are copied to whatever directory you've chosen as your XOOPS web root, which need not be "html".

(The above applies to XOOPS 2. I haven't used XOOPS 1, so I don't know if they're the same in this respect.)



2054
Dave_L
Re: $xoopsDB help please...
  • 2004/1/6 20:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Passing an unsafe ($_GET variables) query to query() will add a "Action not allowed" to the MySQL Debug screen

How does it do that, since XoopsMySQLDatabase::query() has an empty body?

Edit: Looking further, I suppose that the method in the derived class XoopsMySQLDatabaseProxy::query() is being called, instead of XoopsMySQLDatabase::query(). But I still don't see where it's checking for $_GET.



2055
Dave_L
Re: Code Writing Weapon of Choice?
  • 2004/1/5 21:18

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7





2056
Dave_L
Consistent terminology in user interface
  • 2004/1/5 3:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I haven't seen this brought up in previous posts.

There are a number of instances in which the user interface is unnecessarily confusing because the terminology is inconsistent.

Examples:

Administration Menu - Control Panel Home
User ranks - User titles
Site Preferences - Preferences Main
Edit account - Edit profile
Hot topic - Popular topic



2057
Dave_L
Re: Before you post a question, check here first!
  • 2004/1/3 0:13

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


That's the #1 disadvantage of using sessions. The ID has to be passed around somehow. I think that passing the session ID in a cookie is better than passing it in the URL.

Workaround: tell your users to remove the session ID from the URL before giving it to someone else.



2058
Dave_L
Re: Mark all messages read hack practically finished
  • 2004/1/2 0:22

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The XOOPS Default Template Set can't be edited. You have to Clone it to create a new template set, which can be edited. After making your changes to the new template set, you also have to make the new template set the default in Preferences/General Settings.



2059
Dave_L
Re: Themes and Templates?
  • 2004/1/1 21:03

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7





2060
Dave_L
Re: Mark all messages read hack practically finished
  • 2004/1/1 20:56

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Quote:
changed the template file (/modules/newbb/templates/newbb_viewforum.html)


Instead of changing that file, don't you need to edit the template from the admin page? (Control Panel >> System Admin >> Templates)




TopTop
« 1 ... 203 204 205 (206) 207 208 209 ... 212 »



Login

Who's Online

246 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 246


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