Module: User List
Posted by Ravenswood
September 21, 2009 03:25PM |
Registered: 11 years ago Posts: 24 |
Quote
Maurice Makaay
Why is it that users do not seem to read README files when they are installing a module? IIRC, this modules has quite a long section in the README for explaining where to put the link.
I would have to disagree with your reply. Here is the contents of the README file.
Module : User List Version : 1.0 Author : Jim Lehmann ( a.k.a. Ravenswood ) This module implements an addon page, which displays a list of current active users. Installation: ------------- - Unpack the archive; - Move the directory "user_list" to the directory "mods" within your Phorum installation; - Login as administrator in Phorum's administrative interface and go to the "Modules" section; - Enable the module "User List". - Templates must be configured to show the link to the user list page. See below: Template customization: ----------------------- To display the link to the user list page on various Phorum pages, you will have to edit the Phorum template files. In these template files, you can use the following template variable: {URL->USER_LIST->All} Example template code for adding a link to a template: {IF URL->USER_LIST->All}<a href="{URL->USER_LIST->All}">User List</a>{/IF} The "IF" is there to hide the link when the User List mod is disabled. If you are adding the link to the Emerald template (the default Phorum 5.2 template) or a template that is based on Emerald, then you can also use the following code to make it show an icon in front of the link. {IF URL->USER_LIST->All}<a class="icon" style="background-image: url('mods/user_list/images/user_list.png');" href="{URL->USER_LIST->All}">User List</a>{/IF} For example, if you want the link to appear in the upper right corner of the page, then you can add the marked code from below to the file templates/emerald/header.tpl: ...... ...... {! Code for logged in users } {IF LOGGEDIN} <span class="welcome">{LANG->Welcome}, {USER->username}</span> <a class="icon icon-key-delete" href="{URL->LOGINOUT}">{LANG->LogOut}</a> <a class="icon icon-user-edit" href="{URL->REGISTERPROFILE}">{LANG->MyProfile}</a> {IF ENABLE_PM} <a class="icon icon-user-comment" href="{URL->PM}"> {IF USER->new_private_messages} <strong>{LANG->NewPrivateMessages}</strong> {ELSE} {LANG->PrivateMessages} {/IF} </a> {/IF} _____________________________________________________________________________________________________________________________________________________________________ | | {IF URL->USER_LIST->All}<a class="icon" style="background-image: url('mods/user_list/images/user_list.png');" href="{URL->USER_LIST->All}">User List</a>{/IF} |_____________________________________________________________________________________________________________________________________________________________________| {! Code for anonymous users } {ELSE} <span class="welcome">{LANG->Welcome}!</span> <a class="icon icon-key-go" href="{URL->LOGINOUT}">{LANG->LogIn}</a> <a class="icon icon-user-add" href="{URL->REGISTERPROFILE}">{LANG->Register}</a> {/IF} ...... ......
In red it states add to the header.tpl it does not say where in the header.tpl to place it.
Edited 1 time(s). Last edit at 09/21/2009 03:37PM by Maurice Makaay.
September 21, 2009 03:36PM |
Admin Registered: 16 years ago Posts: 8,532 |
Open your eyes and look again. it's all in the data below your highlighted block. If it is that unclear to you, I will update the post to make green what's already there and orange what has to be added.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



September 21, 2009 03:55PM |
Registered: 11 years ago Posts: 24 |
Re: Module: User List September 23, 2009 05:42PM |
Registered: 19 years ago Posts: 1,076 |
April 19, 2010 11:00PM |
Registered: 11 years ago Posts: 63 |
April 20, 2010 09:04AM |
Moderator Registered: 14 years ago Posts: 1,301 |
Actually, this should have been reported to the Check Modules for Upgrades module as an issue, but it has (hopefully) been addressed. You should no longer see the incorrect module version being reported.
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
April 20, 2010 10:08AM |
Registered: 11 years ago Posts: 63 |
April 20, 2010 03:58PM |
Moderator Registered: 14 years ago Posts: 1,301 |
Ok, you can download the latest version of the Check Modules for Upgrades and the bug will be fixed. Thanks for reporting this. And thank you Jim for letting us hash this out on your module's thread ;-)
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
April 20, 2010 06:43PM |
Registered: 11 years ago Posts: 63 |
Re: Module: User List September 05, 2010 02:23AM |
Registered: 11 years ago Posts: 9 |
Sorry, only registered users may post in this forum.