Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 01:24 pm EST
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? ;-)
7
9
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>
10
4
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!
11
8
Quote
All times are EST. The time is now 01:24 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