Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Actually it's designed that way.

I see, still weird :)
People need to like the first post all the time which not makes any sense especially if the thread is growing and they read the latest posts.
If this would be a standalone post like a gallery item, event etc this is fine, but a growing discussion about a topic may have only a little interest at the beginning and become more popular later on.

Thread list is useful for this reason in Xenforo. I see the total replies, views on that specific thread.
I understand if there is a tech limitation or the logic would slow down things. So it's fine.

Anyway i appreciate for the framework. Brilliant work. :)
 
when I use the clear_sidebar widget it certainly does clear everything, but even other widgets get cleared... which position should I use... I am trying to clear the forum_list, then add widgets to forum_list.
Currently I have clear_sidebar and a few others set up on the forum_list but nothing shows...
 
when I use the clear_sidebar widget it certainly does clear everything, but even other widgets get cleared... which position should I use... I am trying to clear the forum_list, then add widgets to forum_list.
Currently I have clear_sidebar and a few others set up on the forum_list but nothing shows...
You need to put the clear widget at the top of the sidebar by setting the lowest display order for it.
 
You need to put the clear widget at the top of the sidebar by setting the lowest display order for it.

Yep got it thanks.(y)

Also, trying to install the recent media widget but the renderer add on will not install at all on 1.2... do i still need that for the recent media widget?
 
Yep got it thanks.(y)

Also, trying to install the recent media widget but the renderer add on will not install at all on 1.2... do i still need that for the recent media widget?
To use renderers provided by other add-ons, you need to install that add-on... The [bd] Widget Framework add-on itself only supports renderer for built-in features.
 
It show on thread with 2 replies, meaning 3 post in all.
I want to show it on 1,2 post only :)
So i'll be using:
PHP:
$thread['reply_count'] < 1
Correct?
 
Please check my expression:
PHP:
$visitor['user_id'] == 0
AND
$thread['reply_count'] == 0
AND
in_array($forum['node_id'], array(23,26,69,70,71,72,74,75,76,77,78,79,80,83,84,85,86,87,89,90,91,92,93,94,95,98,106,108,160,161,162,198,200,210)) == false
It works now for me, you are awesome xfrocks !
 
Please check my expression:
PHP:
$visitor['user_id'] == 0
AND
$thread['reply_count'] == 0
AND
in_array($forum['node_id'], array(23,26,69,70,71,72,74,75,76,77,78,79,80,83,84,85,86,87,89,90,91,92,93,94,95,98,106,108,160,161,162,198,200,210)) == false
It works now for me, you are awesome xfrocks !
Glad it works :D
 
"hook:ad_above_content" doesn't support that expression unfortunately. The expression is supposed to use in position like "resource_category".
Tried @Waindigo's customfields for resources but realized it only works on the resources themselves and not the category :(

Is there no way to target even just the url to achieve this. I currently have it in the description but really don't want that as it causes trouble with the tooltip:
Screen Shot 2013-09-06 at 11.21.47 PM.webp

Url: http://xyz.com/resources/categories/terraria.3/

and then http://xyz.com/resources/categories/minecraft.4/

Maybe use php callback and do if (xxx) {show img} elseif(xyxyx) {show img} else {show default}
 
Tried @Waindigo's customfields for resources but realized it only works on the resources themselves and not the category :(

Is there no way to target even just the url to achieve this. I currently have it in the description but really don't want that as it causes trouble with the tooltip:
View attachment 56121

Url: http://xyz.com/resources/categories/terraria.3/

and then http://xyz.com/resources/categories/minecraft.4/

Maybe use php callback and do if (xxx) {show img} elseif(xyxyx) {show img} else {show default}
Will, you can check the URL in the expression. But doing that is rather overkill. I'll check if there are some workaround.
 
Tried @Waindigo's customfields for resources but realized it only works on the resources themselves and not the category :(

Is there no way to target even just the url to achieve this. I currently have it in the description but really don't want that as it causes trouble with the tooltip:
View attachment 56121

Url: http://xyz.com/resources/categories/terraria.3/

and then http://xyz.com/resources/categories/minecraft.4/

Maybe use php callback and do if (xxx) {show img} elseif(xyxyx) {show img} else {show default}
Try this

PHP:
$controllerName == 'XenResource_ControllerPublic_Resource'
AND $controllerAction == 'Category'
AND in_array($title, array( 'Example Category' ))
 
Hi @xfrocks. It looks like this add-on is conflicting with the Two-factor Authentication add-on by @SheepCow. I am running XenForo 1.2.1. Not certain of where I should report it, so I tagged both of you. :)

Error Info
Code:
XenForo_Exception: [bd] Widget Framework: load_class_view is being called thrice (FreddysHouse_TwoFactor_ViewPublic_GoogleAuthenticator_Add, FreddysHouse_TwoFactor_ViewPublic_Account_TwoFactor_Add, XenForo_ViewPublic_Account_Wrapper) - library/WidgetFramework/Listener.php:192

Stack Trace
Code:
#0 [internal function]: WidgetFramework_Listener::load_class_view('XenForo_ViewPub...', Array)
#1 /disk3/andrej/public_html/board/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#2 /disk3/andrej/public_html/board/library/XenForo/Application.php(477): XenForo_CodeEvent::fire('load_class_view', Array, 'XenForo_ViewPub...')
#3 /disk3/andrej/public_html/board/library/XenForo/ViewRenderer/Abstract.php(209): XenForo_Application::resolveDynamicClass('XenForo_ViewPub...', 'view', 'XenForo_ViewPub...')
#4 /disk3/andrej/public_html/board/library/XenForo/ViewRenderer/HtmlPublic.php(67): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'account_wrapper')
#5 /disk3/andrej/public_html/board/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'account_wrapper', Object(XenForo_ControllerResponse_View))
#6 /disk3/andrej/public_html/board/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#7 /disk3/andrej/public_html/board/index.php(13): XenForo_FrontController->run()
#8 {main}

Request State
Code:
array(3) {
  ["url"] => string(58) "http://mydomain.com/index.php?account/two-factor/add"
  ["_GET"] => array(1) {
    ["account/two-factor/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Hi @xfrocks. It looks like this add-on is conflicting with the Two-factor Authentication add-on by @SheepCow. I am running XenForo 1.2.1. Not certain of where I should report it, so I tagged both of you. :)

Error Info
Code:
XenForo_Exception: [bd] Widget Framework: load_class_view is being called thrice (FreddysHouse_TwoFactor_ViewPublic_GoogleAuthenticator_Add, FreddysHouse_TwoFactor_ViewPublic_Account_TwoFactor_Add, XenForo_ViewPublic_Account_Wrapper) - library/WidgetFramework/Listener.php:192
That happened because this add-on does not expect to have more than 2 views created in a request. Anyway, the exception will be thrown in debug mode only.
 
Back
Top Bottom