Loading...
 
Skip to main content

History: Module since_last_visit_new

Source of version: 18 (current)

Copy to clipboard
            ! {{page}}
Give a list of events that happens since the last login /visit of a user


!!Usage
To use this module in a wiki page:
{CODE()}
{MODULE(module=>since_last_visit_new,showuser=>n)}{MODULE}
{CODE}

Where:
*__showuser__: n. If n do not show the new users (optional, default: show the users >=tw1.10)
*__showtracker__: n. If n do not show the new tracker items(optional, default: show the traker items >=tw1.10)

!!! Parameters
{PLUGINMANAGER(module=since_last_visit_new) /}

!!! Example 1
::{img src="img/wiki_up/since_last_visit_new.gif"  alt="Example of since_last_visit_new Module" desc="Using the since_last_visit_new module (taken from doc.tiki.org)."}::

!!! Parameters
it is possible to give an option to see the last x days if the last login occurs after these last x days (tiki>=8)

!!Objects monitored by since_last_visit_new
|| Object | Since Version
Wiki page revisions | 1.10
Articles | 1.10
Comments | 1.10
Blogs | 1.10
Blog posts | 1.10
Image galleries | 1.10
Images | 1.10
FAQs | 1.10
File galleries | 1.10
Files | 1.10
Forum posts | 1.10
Polls | 1.10
Sites (Directory) | 1.10
Tracker Items | 1.10
Users | 1.10
Calendars  | 12.1
Events | 12.1
||

!!! Fancy display using jquery
You can enable a fancier display of the module if you set the param "__Use jQuery presentation__" (''use_jquery_ui'') to "__y__" ("n" by default), that you can find editing the module under the "Module" tab, quite at the bottom of the list.

^{img fileId="951" thumb="y" width="400" rel="box[g]"}

(...)

{img fileId="952" thumb="y" width="400" rel="box[g]"}^

!!! Example 2

Same content is shown in both displays of the module in the same site:

{SPLIT(colsize="48%|4%|48%")}
-= ::Using "Fold sections by default":: =-

^::{img fileId="954" thumb="y" width="200" rel="box[g]"}::^
---
~hs~
---
-= ::Using "jQuery presentation mode":: =-

^::{img fileId="953" thumb="y"  width="230" rel="box[g]"}:: ^
@@@
In this example, only 4 sections are unfolded: 
# Wiki
# Blog posts
# Calendars
# Calendar events
The other sections contain items but they are hidden under the section name.

When you click on the section name, you toggle the display of its contents.
---
~hs~
---
In this example, the Wiki tab is selected (shown with grey background), listing the 7 wiki pages changed. 

When you pass the mouse over another tab, its background is shown in ~~bue:blue color~~ (in this case, the new calendar events icon, at the bottom right corner). 

When you click, the content displayed below switches to the changed content for that other tiki section.
{SPLIT}


{include page="Module and Plugin Includes" start="startinclude1" stop="stopinclude1"}