XF 2.0 Not able to view un-displayed node.

KSA

Well-known member
I have created a new forum and unchecked "Display in the node list" however I have set a permission for myself to view the node in node permission ALL YES but Im still unable to have the node displayed to me only! Any suggestion folks? I want the node to be accessible via url for all registered and unregistered users without displaying the node in the list but I want to have full access to it as an admin to the node.
 
If I understand correctly what you need to do is not have it in the node list, and create a link somewhere in a sidebar widget or in the footer and use a conditional to only display that link to yourself.

This will show link only to user group 3

Code:
<xf:if is="$xf.visitor.isMemberOf(3)">Link goes here</xf:if>
 
Last edited:
I think you'll have to display it in the node list, then in the node permissions only allow admins to actually see it. However, I'm not sure that under that condition other user groups will be able to access it at all, even by url. I haven't ever tried it, so I don't know, but my bet is that they wouldn't.

But why do you need to see it in the node list? Why can't you just follow the link like your users? If you could explain in more detail what you're doing then maybe someone could offer an alternative solution.
 
I think you'll have to display it in the node list, then in the node permissions only allow admins to actually see it. However, I'm not sure that under that condition other user groups will be able to access it at all, even by url. I haven't ever tried it, so I don't know, but my bet is that they wouldn't.

But why do you need to see it in the node list? Why can't you just follow the link like your users? If you could explain in more detail what you're doing then maybe someone could offer an alternative solution.

If I assign permissions users won't be able to access it through url. What im trying to do is create a read only node and I will posting some news/articles and sharing the urls in social media. I don't want members to access the node rather visitors coming from twitter ad facebook to read the rest of the contents posted.
 
If I assign permissions users won't be able to access it through url. What im trying to do is create a read only node and I will posting some news/articles and sharing the urls in social media. I don't want members to access the node rather visitors coming from twitter ad facebook to read the rest of the contents posted.
I still don't understand why you can't just access it via url. Why do you need it to be visible in the node list?

What I would do is just leave it out of the node list completely and set the permissions to where only you can post in it.
 
I still don't understand why you can't just access it via url. Why do you need it to be visible in the node list?

What I would do is just leave it out of the node list completely and set the permissions to where only you can post in it.

It would be much more easier for me to browse and get things done.
 
It would be much more easier for me to browse and get things done.
I'm sure what you want is possible, but I don't know the code to make it happen. @Mr Lucky seems to have a good grasp of the XF conditional statements so he could probably put you in the right direction. Sorry, all I know is CSS, and that wouldn't allow you to see the node.
 
I have a very basic grasp, and I thought I ad already given the answer but maybe I misunderstood the question.
I'm not sure I understand what he wants either. I think he wants the node visible in the node list to admins only, but he still wants everyone else to be able to view the node via url.

So he needs to check display in node list, set the node permissions to where only admins can post in it, then set a conditional statement to say that the node will be hidden in the node list except for admins. I think...

It would be much simpler if he would just access via url like everyone else. Then he would just uncheck display in node list, then set the node permissions so that everyone could view it but only admins could post in it. No code involved.
 
Sorry for talking gibberish but that exactly what I want.

I'm not sure I understand what he wants either. I think he wants the node visible in the node list to admins only, but he still wants everyone else to be able to view the node via url.
 
Back
Top Bottom