History: Module since_last_visit_new
Source of version: 19 (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 {DIV(style='text-align: center')}{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)."}{DIV} ### 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. {BOX()}{img fileId="951" thumb="y" width="400" rel="box[g]"} (...) {img fileId="952" thumb="y" width="400" rel="box[g]"}{BOX} ### Example 2 Same content is shown in both displays of the module in the same site: {SPLIT(colsize="48%|4%|48%")} {DIV(class=titlebar)} {DIV(style='text-align: center')}Using "Fold sections by default"{DIV} {DIV} {BOX()} {DIV(style='text-align: center')}{img fileId="954" thumb="y" width="200" rel="box[g]"}{DIV} {BOX} --- --- {DIV(class=titlebar)} {DIV(style='text-align: center')}Using "jQuery presentation mode"{DIV} {DIV} {BOX()} {DIV(style='text-align: center')}{img fileId="953" thumb="y" width="230" rel="box[g]"}{DIV} {BOX} @@@ In this example, only 4 sections are unfolded: 1. Wiki 2. Blog posts 3. Calendars 4. 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. --- --- 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 {HTML()}<span style="color:bue">blue color</span>{HTML} (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"}