plugin:starred
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:starred [2015-03-19 06:31] – 37.200.79.25 | plugin:starred [2023-10-31 00:20] (current) – Klap-in | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action, syntax | type : action, syntax | ||
- | lastupdate : 2015-02-26 | + | lastupdate : 2023-06-13 |
- | compatible : hrun | + | compatible : Frusterick Manners |
depends | depends | ||
conflicts | conflicts | ||
Line 17: | Line 17: | ||
sourcerepo : https:// | sourcerepo : https:// | ||
- | screenshot_img : http://www.ickewiki.de/_media/dokumentation/starred_star.png | + | screenshot_img : https://trello.com/ |
---- | ---- | ||
- | [[http:// | + | |
+ | [[https:// | ||
===== Installation ===== | ===== Installation ===== | ||
+ | |||
:!: **External requirements: | :!: **External requirements: | ||
* [[plugin: | * [[plugin: | ||
Line 33: | Line 35: | ||
//Starred | //Starred | ||
$starred = plugin_load(' | $starred = plugin_load(' | ||
- | $starred-> | + | |
?> | ?> | ||
Some templates, like the [[template: | Some templates, like the [[template: | ||
+ | |||
+ | === Using with Vector Template === | ||
+ | |||
+ | Users of the [[template: | ||
+ | |||
+ | <code php> | ||
+ | //show starred only if user has access to page. Works on wikis with disabled acl too. | ||
+ | if (auth_quickaclcheck(getID()) >= AUTH_READ) { | ||
+ | //check if sqlite plugin exists, labeled plugin requires it. if it doesn' | ||
+ | if (!plugin_isdisabled(' | ||
+ | $labeled = plugin_load(' | ||
+ | if ($labeled) { | ||
+ | $_vector_boxes[" | ||
+ | $_vector_boxes[" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
===== Usage ===== | ===== Usage ===== | ||
+ | |||
To list the current user's saved pages, add '' | To list the current user's saved pages, add '' | ||
===== Development ===== | ===== Development ===== | ||
+ | |||
=== Change Log === | === Change Log === | ||
plugin/starred.1426743094.txt.gz · Last modified: 2015-03-19 06:31 by 37.200.79.25