Assist

提供: GeeklogJpWiki

目次

新着記事ほか(assist)プラグイン

機能

Geeklog日本語サイトをアシストするためのツールチップスが各種詰め込まれたアシストプラグインです。

  1. PHPブロック関数と自動タグ
  2. ユーザインポート(メール通知なし)
  3. 擬似クーロン実行日を変更する
  4. ニュースレターをID範囲を指定して送信。送信予約も。

PHPブロック関数

phpblock_shownewstories  
phpblock_showstaticpage id=blockpageの静的ページを表示する
phpblock_showgroup ログインユーザの所属するグループ一覧出力

自動タグ

[newstories:話題ID RSSファイル]

新着記事(おしらせ)</br> 例:[newstories:news news.rss]

[newstories2:話題ID RSSファイルほか例1参照]

新着記事(おしらせ)
例1:[newstories2:news rss_file:news.rss title_trim_length:50 intervalday:70 limitcnt:40 newmarkday:30 thtml:xxxx]
例2:話題news を全件表示 [newstories2:news intervalday:0]
例3:話題news を/テーマ/xxxx/ のテンプレートで表示 [newstories2:news thtml:xxxx]

[conf:変数名] $_CONF[変数名] の値を返す

例1:[conf:site_url]
例2:[conf:site_name]
例3:[conf:site_mail]
例4:[conf:site_slogan]

[assist:usercount] 登録ユーザ数
[assist:usercount_location] location登録ユーザ数
[assist:staticpage_content]

[assist:staticpage_content]id=blockpageの静的ページを無条件に表示する
[assist:staticpage_content id:xxxx urlkey:yyyy]urlにyyyyを含む場合にidがxxxx の静的ページを表示する
指定された静的ページを表示する権限のないユーザがアクセスしている場合は表示されません

[assist:user_homepage uid:9]

指定ユーザ(省略時ログインユーザ)のホームページ

[assist:user_location uid:9]

指定ユーザ(省略時ログインユーザ)の居住地

[assist:user_sig uid:9]

指定ユーザ(省略時ログインユーザ)の署名

[assist:user_photo uid:9 width:9 height:9]

指定ユーザ(省略時ログインユーザ)の写真

[assist:user_about uid:9 ]

指定ユーザ(省略時ログインユーザ)の自己紹介

[assist:user_pgpkey uid:9 ]

指定ユーザ(省略時ログインユーザ)のPGP鍵

[assist:uid]

ログインユーザのuid

[assist:username uid:9]

指定ユーザ(省略時ログインユーザ)のユーザ名

[assist:fullname uid:9]

フルネームを表示する設定になっている場合 指定ユーザ(省略時ログインユーザ)の氏名

[assist:showgroup]

ログインユーザの所属するグループ一覧出力

個人用ツール