• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to restrict access to Member Listing page

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm thinking of using Jforum for our internal company forum, hence would not like non-members to see the member listing.
Is there a way to restrict permissions on the member listing page, or is ther no other way but to delte the link to it.
If so, how do I do it?

Thanks in advance.
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can make a small change to the template: open the file templates/default/user_list.htm, and there restrict the access to logged users using this:



Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should also add this in the "user_profile.htm" file too.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rafael, GatorBate3

Thanks for the quick reply.
I'm not very familiar with coding, as we don't have webmaster per se.
Could you help me out a little further here?
What specifically do I have to put in between the if statement?
Do you mean I have to go to the member listing page, right click and show the source, and copy and paste the whole thing in there?

Regards,
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

goldhorse wrote:Hi Rafael, GatorBate3

Thanks for the quick reply.
I'm not very familiar with coding, as we don't have webmaster per se.
Could you help me out a little further here?
What specifically do I have to put in between the if statement?
Do you mean I have to go to the member listing page, right click and show the source, and copy and paste the whole thing in there?

Regards,


No. You need access to the server and JForum application files on the server where JForum is installed. Then you will need to edit the YOUR_JFORUM_INSTALL_PATH_GOES_HERE/templates/default/user_list.htm and user_profile.htm files. You may want to talk to the person that installed and configured JForum for you to get further details on how to do that.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

GatorBait3 wrote:

goldhorse wrote:Hi Rafael, GatorBate3

Thanks for the quick reply.
I'm not very familiar with coding, as we don't have webmaster per se.
Could you help me out a little further here?
What specifically do I have to put in between the if statement?
Do you mean I have to go to the member listing page, right click and show the source, and copy and paste the whole thing in there?

Regards,


No. You need access to the server and JForum application files on the server where JForum is installed. Then you will need to edit the YOUR_JFORUM_INSTALL_PATH_GOES_HERE/templates/default/user_list.htm and user_profile.htm files. You may want to talk to the person that installed and configured JForum for you to get further details on how to do that.




Hi GatorBait3,

Actually I'm the one who installed it.
I know how to go to the files and edit them, I just don' understand what to put inside "html code of user listing goes here".

Could you help me out on that part?

Thank You,
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please disregard my last question, I think I got it. ops:
Thanks for your help.
[originally posted on jforum.net by goldhorse]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the benefit of others wanting to do this in the future...

It's more user friendly if you also disable the "Member Listing" item in the header when you have the functionality disabled. Add the same #if block around the img, a, and nbsp for that item in templates/default/header.htm.
[originally posted on jforum.net by blaine]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

goldhorse wrote:Please disregard my last question, I think I got it. ops:
Thanks for your help.



Could you please show me the "html code of user listing", Thanks.
[originally posted on jforum.net by collin_chu]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic