• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Admin Index & Forum Index

 
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 have installed JForum RC4 running on Tomcat 4.1 / MySQL 4.0.
I logged in as an adminstrator and have added a category and a forum. While still at the Admin Control Panel, I access the Admin Index & Forum Index section, but I didn't find any new entries in it.

So my question is what do Admin Index & Forum Index suppose to show?

Thanks in advance,
james yong
[originally posted on jforum.net by jamesyong]
 
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
Did you gave access rights to it? ( User and Group Permissions )

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
I logged in as an administrator and didn't changed anything in the group and user permission. So I don't think the problem is there.

BTW, what does the a/m sections supposed to show anyway?

Regards,
james yong
[originally posted on jforum.net by jamesyong]
 
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

jamesyong wrote:I logged in as an administrator and didn't changed anything in the group and user permission. So I don't think the problem is there.



You *should* give permissions. Go to the Group Management Section, click in the link "Permissions" and then click Save.

Moreover, when you create a new Forum / Category, you can choose which groups will have access to it. For example, when adding a new Category, see the text "Choose the groups you want to allow the access to this new Category", and there is a field where you can choose the groups.

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

Rafael Steil wrote:
You *should* give permissions. Go to the Group Management Section, click in the link "Permissions" and then click Save.



Just to report back what I have found:

Yes, I followed the above instructions and is working. It seems to me that I have to go Group Management Section and save the administrator's permission (although i didn't change any settings) before the administrator can see any topics/groups.

Beside logging as administrator, I have also tried role as a registered user. Seem to happen the same thng until I go to the Group Management Section and save the permission for General (i leave settings untouched).

Regards,
James
[originally posted on jforum.net by jamesyong]
 
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
Ok, I'll check that better.

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
One more thing. I found that whenever a new user is registered, his permission is not automatically updated in the jforum_roles tables. Is this the correct behaviour?

Regards,
James Yong
[originally posted on jforum.net by jamesyong]
 
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

jamesyong wrote:One more thing. I found that whenever a new user is registered, his permission is not automatically updated in the jforum_roles tables. Is this the correct behaviour?

Regards,
James Yong



hhmm.. no. If you are sure about this ( e.g, if you are sure that a new registered user doesn't have any privileges at all ), then register this as a bug.

Just dont' forget that every new user, by default, is associated with the "General Users" group, which means that he'll inherit the group's permissions without being necessary to explicity write at jforum_roles.

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

jamesyong wrote:
Yes, I followed the above instructions and is working. It seems to me that I have to go Group Management Section and save the administrator's permission (although i didn't change any settings) before the administrator can see any topics/groups.

Regards,
James



ok, I have a close look at the source code. What I have found out about the permission control is this. If the administrator create a forum, he cannot see it until he save his permission. This is because the code for saving the forum doesn't update the administrator's rolevalue for perm_moderator_forums.

Well, this isn't a problem since the administrator can always resave his permissions after creating the forums.

Regards,
James Yong


[originally posted on jforum.net by jamesyong]
 
reply
    Bookmark Topic Watch Topic
  • New Topic