Loading...
 
Features / Usability

Features / Usability


passing parameter to a module (top 20 users)

posts: 55

We have a 1.9.2 site which is generally going very well.

The font page displays a number of modules displaying things that have changed, top forums etc

I would like to pass a parameter to the module but I can't see any documentation for doing this e.g. display the top 20 users rather than the top 10

{MODULE(module=>users_rank)}{MODULE}

 Failed to execute "users_rank" module
Required features: feature_score. If you do not have permission to activate these features, ask the site administrator.


How would I display the top 20 users in the page?

Any help gratefully received.

Peter

posts: 3665 United States

Use the max parameter. See the docs for details.

HTH,

-Rick

> We have a 1.9.2 site which is generally going very well.
>
> The font page displays a number of modules displaying things that have changed, top forums etc
>
> I would like to pass a parameter to the module but I can't see any documentation for doing this e.g. display the top 20 users rather than the top 10
>
> {MODULE(module=>users_rank)}{MODULE}
>

>
 Failed to execute "users_rank" module
Required features: feature_score. If you do not have permission to activate these features, ask the site administrator.

>
> How would I display the top 20 users in the page?
>
> Any help gratefully received.
>
> Peter

posts: 55

Thanks.

{MODULE(module=>users_rank,max=>20)}{MODULE} works for us

Peter

> Use the max parameter. See the docs for details.
>
> HTH,
>
> -Rick
>
> > We have a 1.9.2 site which is generally going very well.
> >
> > The font page displays a number of modules displaying things that have changed, top forums etc
> >
> > I would like to pass a parameter to the module but I can't see any documentation for doing this e.g. display the top 20 users rather than the top 10
> >
> > {MODULE(module=>users_rank)}{MODULE}
> >

> >
 Failed to execute "users_rank" module
Required features: feature_score. If you do not have permission to activate these features, ask the site administrator.

> >
> > How would I display the top 20 users in the page?
> >
> > Any help gratefully received.
> >
> > Peter


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting