Welcome to Geeklog, Anonymous Monday, June 15 2026 @ 10:57 am EDT
Geeklog Forums
Where to disable "no boxes" in user preferences?
Status: offline
jmichael
Forum User
Chatty
Registered: 04/08/04
Posts: 47
I would like to disable to "no boxes" option in Preferences. Seems I'd need to change the code where the template variable {display_block} is created.
But grep can't find {display_block} in any file except the template displayprefs.thtml.
Where do I go? Or will I just have to put a "My Prefs" link into the top menu? ;-)
But grep can't find {display_block} in any file except the template displayprefs.thtml.
Where do I go? Or will I just have to put a "My Prefs" link into the top menu? ;-)
11
18
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You could simply remove this piece of HTML from the preferences/displayblock.thtml file of your theme(s):
<td align="right"><b>{lang_noboxes}:</b><br>
<small>{lang_noboxes_text}</small></td>
<td><input type="checkbox" name="noboxes" {noboxes_checked}</td>
</tr>
bye, Dirk
Text Formatted Code
<tr valign="top"><td align="right"><b>{lang_noboxes}:</b><br>
<small>{lang_noboxes_text}</small></td>
<td><input type="checkbox" name="noboxes" {noboxes_checked}</td>
</tr>
18
13
Quote
Thanks! Works like a charm!
Of course, before disabling the field in the template, I checked the 'noboxes' column of 'gl_userindex' to make sure nobody had "no boxes" set.
Geeklog, it's core team, most visibly you, and the community in general definitely ROCK!
Of course, before disabling the field in the template, I checked the 'noboxes' column of 'gl_userindex' to make sure nobody had "no boxes" set.
Geeklog, it's core team, most visibly you, and the community in general definitely ROCK!
18
14
Quote
All times are EDT. The time is now 10:57 am.
- 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