Resource icon

[bd] Widget Framework 2.6.6

No permission to download
I have found out your problem. When you put the position in all (I assume that, please correct me if it's not the case), the $_WidgetFramework_positionCode will be "all" as designed. If you wish to check for register page and login etc., please try this:

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
))

In future version, you can use the other version of expression for easy access.
It works now, Thank ! (y)
 
Any way the make one block have the BOX Style but NOT the title? I can't manage do make it happen but i saw people doing it already. ^-^
 
I have found out your problem. When you put the position in all (I assume that, please correct me if it's not the case), the $_WidgetFramework_positionCode will be "all" as designed. If you wish to check for register page and login etc., please try this:

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
))

In future version, you can use the other version of expression for easy access.
The "," comma after
'XenForo_ViewPublic_Misc_Contact' is intended?
 
I have found out your problem. When you put the position in all (I assume that, please correct me if it's not the case), the $_WidgetFramework_positionCode will be "all" as designed. If you wish to check for register page and login etc., please try this:

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
))

In future version, you can use the other version of expression for easy access.
What about this class: error_with_login ?
 
What about this class: error_with_login ?
Add "XenForo_ViewPublic_Error_RegistrationRequired" and "XenForo_ViewPublic_Login" to the mix.

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
'XenForo_ViewPublic_Error_RegistrationRequired',
'XenForo_ViewPublic_Login',
))
 
  • Like
Reactions: rdn
Add "XenForo_ViewPublic_Error_RegistrationRequired" and "XenForo_ViewPublic_Login" to the mix.

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
'XenForo_ViewPublic_Error_RegistrationRequired',
'XenForo_ViewPublic_Login',
))
You already supplied all possible class I might ask :D
 
Kind of hard to explain here but the idea is you open the two renderer, copy their code to get the data. Then create a new template to display both list at once and use that template for your new renderer.
hmmm...I would have no idea how to do that! haha
 
hmmm...I would have no idea how to do that! haha
Not hard, just find the staff block template and the online users, paste them both in a new template, create the widget pointing to the new template and "something" will surely happen. :)
 
Add "XenForo_ViewPublic_Error_RegistrationRequired" and "XenForo_ViewPublic_Login" to the mix.

PHP:
!in_array($viewName, array(
'XenForo_ViewPublic_Register_Form',
'XenForo_ViewPublic_Login_Login',
'XenForo_ViewPublic_Misc_Contact',
'XenForo_ViewPublic_Error_RegistrationRequired',
'XenForo_ViewPublic_Login',
))
How about : 'forum_list','thread_view' ?

Thanks xfrocks !
 
Top Bottom