Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 03:19 pm EST
Geeklog Forums
geeklog.net issues: excluded topics and boxes
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello,
Today I noticed a nice welcome message on main geeklog.net page
So I visited my accound and all topics are exclude (checked) and one box was checked (Resources). I did not made those changes. Could it be an upgrade issue?
I saw twice this issue after an update from 1.5.2 to 1.6.0 on two geeklog sites...
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Today I noticed a nice welcome message on main geeklog.net page
There are no news stories to display. There may be no news for this topic or your user preferences may be too restrictive
So I visited my accound and all topics are exclude (checked) and one box was checked (Resources). I did not made those changes. Could it be an upgrade issue?
I saw twice this issue after an update from 1.5.2 to 1.6.0 on two geeklog sites...
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
20
15
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
:doh: It's a big bug founded this morning.
When daily digest is available, if you select a topic from the list on the user settings page and save information, it is the exclude topics witch is save.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
When daily digest is available, if you select a topic from the list on the user settings page and save information, it is the exclude topics witch is save.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
16
17
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
In usersettings.php line 622 change topics for etids could help
if ($_CONF['emailstories'] == 1) {
$user_etids = DB_getItem ($_TABLES['userindex'], 'etids',
"uid = {$_USER['uid']}");
if (empty ($user_etids)) { // an empty string now means "all topics"
$etids = USER_getAllowedTopics();
$user_etids = implode(' ', $etids);
} elseif ($user_etids == '-') { // this means "no topics"
$user_etids = '';
}
$tmp = COM_checkList($_TABLES['topics'], 'tid,topic', $permissions,
$user_etids, 'etids');
$preferences->set_var('email_topic_checklist',
str_replace($_TABLES['topics'], 'etids', $tmp));
$preferences->parse('digest_block', 'digest', true);
} else {
$preferences->set_var('digest_block', '');
}
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Text Formatted Code
// daily digest blockif ($_CONF['emailstories'] == 1) {
$user_etids = DB_getItem ($_TABLES['userindex'], 'etids',
"uid = {$_USER['uid']}");
if (empty ($user_etids)) { // an empty string now means "all topics"
$etids = USER_getAllowedTopics();
$user_etids = implode(' ', $etids);
} elseif ($user_etids == '-') { // this means "no topics"
$user_etids = '';
}
$tmp = COM_checkList($_TABLES['topics'], 'tid,topic', $permissions,
$user_etids, 'etids');
$preferences->set_var('email_topic_checklist',
str_replace($_TABLES['topics'], 'etids', $tmp));
$preferences->parse('digest_block', 'digest', true);
} else {
$preferences->set_var('digest_block', '');
}
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
19
16
Quote
All times are EST. The time is now 03:19 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