Resource icon

[bd] Widget Framework 2.6.6

No permission to download
sorry if this has been asked before...

I am running a private community and would like to show the sidebar-widgets to logged-in members only.
So guests should not see those widget-elements in the sidebar.

Is this possible with this add-on? How to do this?

Many thanks! :)
 
Would I be able to do this.
The location is EWRporta_Portal, forum_list, thread_view
Only show the widget on thread_view for guests. It will show on EWRporta_Portal, forum_list for everyone.
I try to combine the location and conditions instead of making duplicate widgets.
 
Would I be able to do this.
The location is EWRporta_Portal, forum_list, thread_view
Only show the widget on thread_view for guests. It will show on EWRporta_Portal, forum_list for everyone.
I try to combine the location and conditions instead of making duplicate widgets.
Something like this should work, but you need to test it.

Code:
empty($thread) OR $visitor['user_id'] == 0
 
You are da man. Thanks.
The use of empty() is really neat. I don't think it is the standard xf conditionals ;)
 
You are da man. Thanks.
The use of empty() is really neat. I don't think it is the standard xf conditionals ;)
I'm not sure about template condition but there is only a few allowed functions. By using widget conditions you have more choice and power.
 
My users are demanding a widget to display 'Watched Threads' in the sidebar. Can someone code it, please? :)
 
Frankly speaking; I've just realized that members don't really know what they want. I asked the same question to them and they're not sure what to say. Since notifications are sent out as soon as the watched threads are updated; there's no point in displaying them in the sidebar.
 
Frankly speaking; I've just realized that members don't really know what they want. I asked the same question to them and they're not sure what to say. Since notifications are sent out as soon as the watched threads are updated; there's no point in displaying them in the sidebar.
Yep. I think so.
 
Back
Top Bottom