Line numbers refer to the 3.3 version of the TikiWiki code
Memory issues
It mainly happens with trackers and file uploadings. The memory used is greater than the assigned to php processes in the server. However, the same tracker can request both too much memory (sometimes) or very little (some other times). So we don't know if the problem is in the software or in the server.
Aceptado | Undecided | Rechazar |
---|---|---|
1 | 0 | 0 |
|
1.2. Error 500 due to huge mysql tables for Action log & Tiki history
We have seen Error 500 in the current hosting where precarios.org is hosted (at pangea.org) and the sys admin reported that they are due to timeout, php doesn't wait any more to mysql (some tables seem to be too huge, with several thousand records)). The proposal is to add the option to purge some ranges or records in these mysql tables known to be too huge with time (also search index, etc.). Examples:
Potential solutions:
- Let the admin select a range by start and end time, or by other means, and purge them.
- Or even better, let the admin backup them so that they don't interfere with current tiki intance, but they can be imported at any time in the future (for forensics, spam detection, etc.)
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.3. Read/unread threads
If there have been new messages in a thread since the last time you read it, we would like the subject to be highlighted in the list, as though it were unread. (we know how to do it, the details are in the web mail-list ("El poder del copypaste: naranjitas en los foros", 8 nov 2008)
- In comments.php add in the line 197 (not very sure about the best line, at least it works in this line)
$commentslib->unmark_comment($_REQUEST["comments_parentId"]);
- In lib/commentslib.php change the lines 94-98
function unmark_comment($user, $forumId, $threadId) { $query = "delete from `tiki_forum_reads` where `user`=? and `threadId`=?"; $this->query($query,array($user,(int) $threadId)); }
into
function unmark_comment($threadId) { $query = "delete from `tiki_forum_reads` where `threadId`=?"; $this->query($query,array((int) $threadId)); }
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
Comments:
- Xavi: I don't commit it myself because I tried long ago in local and the fix didn't seem to work for me. So +1 to have some expert coder look for the right fix (or ensure that this hack fixes it properly).
1.4. Images in articles
In the articles, we would like to be able to use one of the images in the gallery as the specific image for the article. We believe this is not possible, or don't know how to do it.
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.5. Charset in notifications
Failure in the character codification of notifications.
We have a custom user_watch_forum_subject.tpl like this:
[{$mail_forum}] {$mail_title}
With this custom the subject header of the mail is something like that, for a post with title "some text"
Subject: =?utf-8?Q? [Gesti=C3=B3n=20de=20la=20web]=20some=20text?=
If you have some character like "é", there is no problem (title post "some téxt"):
Subject: =?utf-8?Q? [Gesti=C3=B3n=20de=20la=20web]=20some=20t=C3=A9xt?=
But if you have the symbol "?" (title post "some text? and more text") the subject header is
Subject: =?utf-8?Q? [Gesti=C3=B3n=20de=20la=20web]=20some=20text?=20and=20more=20text?=
And in your mail program, you can see a subject like
some text20and=20more=20text?=
The "?" symbol behind the first "text" is interpreted by the mail program like the end of the utf-8 chain, so the rest of the chain is literal.
Instead of this "?" symbol, tiki may send "=3F" (the same for utf-8 and iso-8859-1) for a good subject visualization.
We don't know how to do that.
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.6. Customize notifications
1.6.1. Forum
We would like to manage and customize Forum notifications from the Admin Menu, without having to change tpls.
Aceptado | Undecided | Rechazar |
---|---|---|
1 | 1 | 0 |
|
|
1.6.2. Articles
The same with Article notifications.
Aceptado | Undecided | Rechazar |
---|---|---|
1 | 1 | 0 |
|
|
1.7. Only one Re: shown in forums
In forums, make "only one Re: to be shown" an option in http://precarios.org/tiki-admin.php?page=forums, as there is an option that reads "Do not prefix message titles by 'Re: '". We know how to change that in the php, but it would be great if it were an option, and we don't know how to do it.
- In comments.php, add at line 375
$title_aux = str_replace(tra('Re:'), "", $comment_info["title"] );
and change the line 376
$smarty->assign('comment_title', ( $prefs['forum_comments_no_title_prefix'] != 'y' ? tra('Re:').' ' : '' ).$comment_info["title"]);
into
$smarty->assign('comment_title', ( $prefs['forum_comments_no_title_prefix'] != 'y' ? tra('Re:').' ' : '' ).trim($title_aux));
And make this an option (the bit that we don't know how it is done)
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.8. Allow gmail and thunderbird to track threads properly
Make forum notifications be sent by a different user specific "e-mail address", so we can track changes in gmail properly, on top of the In-Reply-to and message-id that we added.
- In lib/notifications/nofificationemaillib.php add at line 136
$my_sender_aux = '"' .$author. '" <' .$author. '-' .$my_sender. '>'; $mail->setFrom($my_sender_aux); $mail->setHeader("Message-ID", "<".$messageId.">"); $mail->setHeader("In-Reply-To", "<".$inReplyTo.">"); $mail->setHeader("Reply-To", $my_sender);
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.9. Improve forum sorting
A better way to order the forums as you wish, avoiding using blank spaces for that. If not possible, make Forum notifications delete those blank spaces before forum names.
- For the second option (delete blank spaces) in /lib/notifications/notificationemaillib.php change the line 108
$smarty->assign('mail_forum', $forum_info["name"]);
into
$smarty->assign('mail_forum', trim($forum_info["name"]));
Aceptado | Undecided | Rechazar |
---|---|---|
2 | 0 | 0 |
|
1.10. Read/Unread forums
It would be good if tiki indicated in the forum list whether a forum has unread threads (nowadays it doesn't, in any way).
Aceptado | Undecided | Rechazar |
---|---|---|
1 | 0 | 0 |
|
1.11. Username in Quote
Username to be included in QUOTE: we reported this bug, and explained how it could be done. However, it hasn't been incorporated to Tiki, and we have to keep changing the php in our server.
- In comments.php, change the line 356
$comment_info["data"] = "\n{QUOTE()}" . $comment_info["data"] . '{QUOTE}';
into
$comment_info["data"] = "\n{QUOTE(replyto=>" . $comment_info["userName"] . ")}" . $comment_info["data"] . '{QUOTE}';
1.12. Include text in article notifications
Add the missing lines to /lib/articles/artlib.php so that article notifications could include the text of the article (we know how to do it, but it would be great to have it incorporated into Tiki and avoid changing the php in our server).
- In lib/articles/artlib.php, add at the line 111
$smarty->assign('mail_heading', $heading); $smarty->assign('mail_body', $body);
No necesario:
Error message: The same with the error message notifications.
Esto se puede adaptar a gusto con una regla de rescriptura del apache que lleve al usuario a una página wiki o url específica. Ver http://doc.tikiwiki.org/Rewrite+rules
# Error pages, handled by Apache (not by TikiWiki) # TikiWiki can catch some errors and deal with them by redirecting to a similar page, sending you to the search, etc. However, some errors bypass TikiWiki and must be handled by Apache (ex.: impossiblepagename.php) # To use Apache error handling, uncomment the following line and adapt the page name. You must create the page before trying to use it. # ErrorDocument 404 /tiki-index.php?page=Page+not+found