Firefox PHP

Module: User List

Posted by Ravenswood 
Re: Module: User List
September 21, 2009 03:25PM
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.
Re: Module: User List
September 21, 2009 03:36PM
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
Re: Module: User List
September 21, 2009 03:55PM
Now I see- Thank you for clear up my vision.
Re: Module: User List
September 23, 2009 05:42PM
Quote
djdubuque
In red it states add to the header.tpl it does not say where in the header.tpl to place it.

Well you can choose the place yourself. You can put it wherever you like as it's only a link.

---
-=[ Panu ]=-
Re: Module: User List - Upgrade
April 19, 2010 11:00PM
My Check Modules for Upgrades (version 5.2.1.05) is showing that User List (version 1.0.2) has an Upgrade Available (5.2.1.08)
I cannot see this upgrade on the site? Seems a big jump from 1.02 which I have installed to 5.2.1.08?
Thanks for any pointers.
Harry
Re: Module: User List - Upgrade
April 20, 2010 09:04AM
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
Re: Module: User List - Upgrade
April 20, 2010 10:08AM
Hi Joe
I can see that it has changed but still showning an upgrade available but lower than installed?

User List (version 1.0.2) - Upgrade Available (1.0)

Do you want me to post on to the other forum?

Harry



Edited 1 time(s). Last edit at 04/20/2010 10:08AM by harryatkins.
Re: Module: User List - Upgrade
April 20, 2010 03:58PM
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
Re: Module: User List - Upgrade
April 20, 2010 06:43PM
Thanks Joe....
Re: Module: User List
September 05, 2010 02:23AM
Great module..thanks...
what do i need to change in the code so the page shows user numbers as a default..not the alphabetical order.?

thank you...
Sorry, only registered users may post in this forum.

Click here to login