recently_updated
recently_updated
hi
I would like to created site which displaying last change (date and user which insert changes on the site)
i.e.
About us
Last modificatrion: 10.11.2007 17:33 by Peter Been (fullname)
Kontakt
Last modificatrion: 10.11.2007 17:33 by Chris Saab
....
thank you very much
I would like to created site which displaying last change (date and user which insert changes on the site)
i.e.
About us
Last modificatrion: 10.11.2007 17:33 by Peter Been (fullname)
Kontakt
Last modificatrion: 10.11.2007 17:33 by Chris Saab
....
thank you very much
Re: recently_updated
Then you have to rewrite the plugin
.
Not sure but you can try this - add after line 84 (in that plugin)

Not sure but you can try this - add after line 84 (in that plugin)
Code: Select all
$output .= ' by ' . $curcontent->GetAuthor();
Re: recently_updated
thank but it doesn't work
Fatal error: Call to undefined method Content::GetAuthor() in /var/www/is/plugins/function.recently_updated.php on line 85
Fatal error: Call to undefined method Content::GetAuthor() in /var/www/is/plugins/function.recently_updated.php on line 85
Re: recently_updated
is anybody who can help me.
pleaseee
thank you very much
pleaseee

thank you very much
Re: recently_updated
OK, as I said on other place I'm not a coder for real - another try
:
Add after line 73
Add after line 84

Add after line 73
Code: Select all
$curauthor =& $curnode->GetAuthor();
Code: Select all
$output .= ' by ' . $curauthor;
Re: recently_updated
thank you very much but
Fatal error: Call to undefined method Tree_Node::GetAuthor() in /var/www/is/plugins/function.recently_updated.php on line 74
please help
Fatal error: Call to undefined method Tree_Node::GetAuthor() in /var/www/is/plugins/function.recently_updated.php on line 74
please help
Re: recently_updated
Try to add red code in source:piotr22 wrote:
Fatal error: Call to undefined method Tree_Node::GetAuthor() in /var/www/is/plugins/function.recently_updated.php on line 74
Alby.....
$output .= $leadin;
$output .= date($dateformat,strtotime($updated_page['modified_date']));
$userops =& $gCms->GetUserOperations();
$thisuser =& $userops->LoadUserByID($gCms->variables['pageinfo']->content_last_modified_by_id);
$output .= ' by '. cms_htmlentities($thisuser->firstname .' '. $thisuser->lastname);
$output .= '';
.....
Re: recently_updated
thank you very much Alby 

Re: recently_updated
thank you very much Alby 
I have next problem
with rss
I insert in site
{cms_module module="news" category="EG" makerssbutton="true"}
and when I click this in IE 7.0 or firefox everythink is ok but when I click this button in IE 6.0 somethink is wrong.
I see some code. I know that IE 6 has't plugin whitch read rss.
And my question.
It's possible insert some code which
if user have IE 7 or firefox then user see this button else user see some text information.
where and how to do this
thx please help

I have next problem

I insert in site
{cms_module module="news" category="EG" makerssbutton="true"}
and when I click this in IE 7.0 or firefox everythink is ok but when I click this button in IE 6.0 somethink is wrong.
I see some code. I know that IE 6 has't plugin whitch read rss.
And my question.
It's possible insert some code which
if user have IE 7 or firefox then user see this button else user see some text information.
where and how to do this
thx please help
Re: recently_updated
Please open a new thread with related topic.piotr22 wrote: I have next problemwith rss