| Anonymous | Login | Signup for a new account | 2010-09-09 03:46 EDT |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0001041 | Geeklog | Bugs | public | 2009-11-23 06:44 | 2009-11-29 04:47 | |
| Reporter | cordiste | |||||
| Assigned To | dhaun | |||||
| Priority | normal | Severity | major | Reproducibility | always | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | 1.6.1 | |||||
| Target Version | 1.7.0 | Fixed in Version | 1.7.0 | |||
| Summary | 0001041: select daily digest and exclude topics is save | |||||
| Description | 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 | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Notes |
|
|
cordiste (reporter) 2009-11-23 18:00 |
In usersettings.php line 622 change topics for etids could help [code] // daily digest block 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', ''); } [/code] ::Ben |
|
dhaun (administrator) 2009-11-29 04:47 |
And here I was wondering why it worked for me. Turns out that str_replace fixes it - as long as your gl_topics table is called 'topics' (without the prefix) ... Thanks for tracking it down! |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-11-23 06:44 | cordiste | New Issue | |
| 2009-11-23 18:00 | cordiste | Note Added: 0001148 | |
| 2009-11-29 04:22 | dhaun | Status | new => assigned |
| 2009-11-29 04:22 | dhaun | Assigned To | => dhaun |
| 2009-11-29 04:47 | dhaun | Target | => not specified |
| 2009-11-29 04:47 | dhaun | Note Added: 0001150 | |
| 2009-11-29 04:47 | dhaun | Status | assigned => resolved |
| 2009-11-29 04:47 | dhaun | Resolution | open => fixed |
| 2009-11-29 04:47 | dhaun | Projection | none => minor fix |
| 2009-11-29 04:47 | dhaun | Fixed in Version | => 1.6.2 |
| 2009-11-29 04:47 | dhaun | Target Version | => 1.6.2 |
| Copyright © 2000 - 2010 MantisBT Group Hosted by pair.com |