Admin RSS - chcnges and bugs
Andrzej7 - April 23, 2007 - 10:30
| Project: | Admin RSS |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | fgm |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
Thanks for upgrading a very useful module ;-)
Some remarks:
1. Changed some settings in code - for published comments (I don't have the approval) and for all nodes:
,
function adminrss_feed_comment() {
$result = db_query_range('SELECT c.timestamp, c.subject, c.cid, c.nid, n.title, c.comment
FROM {comments} c
INNER JOIN {node} n ON c.nid = n.nid
WHERE c.status = 1
ORDER BY c.timestamp DESC ', 0, 15);
$items = '';
for
function adminrss_feed_comment() {
$result = db_query_range('SELECT c.timestamp, c.subject, c.cid, c.nid, n.title, c.comment
FROM {comments} c
INNER JOIN {node} n ON c.nid = n.nid
WHERE c.status = 0
ORDER BY c.timestamp DESC ', 0, 15);
$items = '';
================
$result = db_query_range('SELECT n.nid, n.title, n.changed, u.name, u.uid
FROM {node} n
INNER JOIN {users} u ON n.uid = u.uid
WHERE n.status = 0 AND n.moderate = 1
ORDER BY n.changed DESC', 0, 15);
$items = '';
for
$result = db_query_range('SELECT n.nid, n.title, n.changed, u.name, u.uid
FROM {node} n
INNER JOIN {users} u ON n.uid = u.uid
WHERE n.status = 0
ORDER BY n.changed DESC', 0, 15);
$items = '';(Sorry I can't make the patch)
2. There's a bug with edit:
comment/edit/'. $comment->cid
and
node/edit/'. $node->nid3. In the node-rss there's no title of the node
4. Is it possible to show the name of the user in nodes and comments?
Thanks once more
Andrzej

#1
I'm not sure I understand all of your wishes, but I *think* they're covered in the DRUPAL-5 version. Can check them with the new release and confirm ? Thanks.