Welcome to Geeklog, Anonymous Saturday, July 02 2022 @ 08:00 pm EDT

Geeklog Forums

gl_userindex question


Status: offline

Armitage

Forum User
Junior
Registered: 12/10/04
Posts: 15
Location:D.C.
I've had an ongoing problem where whenever there was a featured news item on the main page, certain users would get a "No New News to Display" block, plus their Forum Lastest Posts block would disappear.

I've traced the problem to gl_userindex. Any user that had aids=4 set would experience this issue (aids=0 is the default).

My question is, what is that setting, how did they set it in the first place, and why is it hiding those two blocks?

Thanks!
---
Matthew R. Demicco (matt@demicco.net) - armitunes.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The (somewhat unfortunately named) "aids" field can contain a list of user ids of authors that a user doesn't want to see.

My Account > Content > Exclude Topics and Authors > Authors

Is your uid = 4 on your site?

bye, Dirk
 Quote

Status: offline

Armitage

Forum User
Junior
Registered: 12/10/04
Posts: 15
Location:D.C.
Ahh, thanks for the information. Yes, uid 4 is the account I use to post all news stories, etc. I guess that explains it!
---
Matthew R. Demicco (matt@demicco.net) - armitunes.com
 Quote

Status: offline

Armitage

Forum User
Junior
Registered: 12/10/04
Posts: 15
Location:D.C.
Ah I see something interesting. In the box where they can select the userid to exclude, there's only one entry (me). Once clicked and highlighted, it becomes impossible to unselect. This must be how they got it accidentally set in the database.
---
Matthew R. Demicco (matt@demicco.net) - armitunes.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Armitage

Once clicked and highlighted, it becomes impossible to unselect.


It's a multi-select listbox. You need to hold down a key when clicking. Which key depends on the operating system. On Windows, try Control.

bye, Dirk
 Quote

Status: offline

Armitage

Forum User
Junior
Registered: 12/10/04
Posts: 15
Location:D.C.
Right, but it only has 1 entry in the box, and once clicked, cannot be unclicked. I've tested it and there doesn't seem to be an immediately obvious solution. It has caught out at least a dozen of my users. I've just gone and manually set aids=0 where aids=4 for all of them and will check occasionally to see if anyone else has fallen into that trap.
---
Matthew R. Demicco (matt@demicco.net) - armitunes.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Did you try what I wrote above? Works just fine with only one entry ...

bye, Dirk
 Quote

Status: offline

Armitage

Forum User
Junior
Registered: 12/10/04
Posts: 15
Location:D.C.
I thought I had tried before but you're right it does work. Maybe I'll stick a comment on that page or better yet just block users from changing it in the first place in case they can't figure it out either Wink
---
Matthew R. Demicco (matt@demicco.net) - armitunes.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Btw, there's already a feature request to allow disabling that list. Maybe in some future Geeklog release ...

bye, Dirk
 Quote

All times are EDT. The time is now 08:00 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content