Resource icon

[bd] Widget Framework 2.6.6

No permission to download
It is unclear what you want to achieve by wrapping the output with that... Maybe you can make use of this? (in "PAGE_CONTAINER" template)
Code:
snipped

Alright, I got it working. I'm so happy, thanks a ton for pointing this out. Basically what I've done is create a profile field where users can select whether or not the forum information (and share stuff) in the sidebar is collapsed by default, and if so it uses the same functionality as the "thread display options" in each forum. It's not perfect but it's working well! I'd put it in add-on form if I knew how but, I'm not at that point yet. :)

You can go check it out if you want, but you'd have to register. http://www.ballisticallyspeaking.com

Thanks again!
 

Attachments

  • expand.webp
    expand.webp
    30.2 KB · Views: 18
  • collapse.webp
    collapse.webp
    24 KB · Views: 18
  • enable.webp
    enable.webp
    21.2 KB · Views: 16
  • register.webp
    register.webp
    27.3 KB · Views: 15
  • thread.webp
    thread.webp
    15.1 KB · Views: 15
Last edited:
Is there an easy way to show 0 characters of post in latest threads? If I set "Snippet Maximum Length" = 0 it shows full post.
 
Quick question. The clear sidebar when on "all" clears the reported posts section sidebar where mods assign and take things. Is there a render engine to add that back?
 
Well, technically you will need to write markup, not code, something like this:

PHP:
<img src="http://domain.com/path/to/youtube.png" />
Thank you for the quick reply.. Not easy for me. If someone has something similar and can provide step by step help it I will highly appreciate it.. :)
 
Is there a preferred how-to guide/resource on how to add widgets? I'd really like to create the one needed to put my reports section back in order.
 
Forgive me if this is a dumb question, but as the install instructions say to merge when asked, does that mean it overwrites some files that will then be replaced if/when there is a xenForo update?
 
Forgive me if this is a dumb question, but as the install instructions say to merge when asked, does that mean it overwrites some files that will then be replaced if/when there is a xenForo update?
The only thing you can merge is folders. Files can't be merged - only overwritten.
 
Is there a way to choose "all" as position and then to use a flag in the template to disable the sidebar on this page?

Would be easier then creating the Expression for all the widgets
 
Disregard my request for widget for reports - after realizing my conversation sidebar (invite, etc) was gone too, I stopped using "all". I recreated with just the three main templates plus portal - working great!

That said, I'd like to see xf_phantom's idea happen. I would love to say "please do to all, except what I specify". Either way, great plugin.

:)
 
ok, i've looked through a few of the other posts here dealing with this question, but I can't for the life of me figure out what's wrong with my widgets. i'm getting dozens of errors per page load, so im getting 1,000's of errors a day. sample:

Code:
Error Info
ErrorException: Undefined variable: contentTemplate - library/WidgetFramework/WidgetRenderer.php(483) : runtime-created function:1
Generated By: Unknown Account, A moment ago
Stack Trace

#0 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/WidgetRenderer.php(483) : runtime-created function(1): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/srv/www/squatt...', 1, Array)
#1 [internal function]: __lambda_func(Array)
#2 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/WidgetRenderer.php(487): call_user_func('?lambda_57', Array)
#3 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/WidgetRenderer.php(573): WidgetFramework_WidgetRenderer->_executeExpression('$contentTemplat...', Array)
#4 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/Core.php(352): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#5 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/Core.php(264): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '???????????<!--...')
#6 /srv/www/squattheplanet.com/public_html/library/WidgetFramework/Listener.php(87): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array)
#7 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '????????????<ol...', Array, Object(XenForo_Template_Public))
#8 /srv/www/squattheplanet.com/public_html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#9 /srv/www/squattheplanet.com/public_html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list')
#10 /srv/www/squattheplanet.com/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#11 /srv/www/squattheplanet.com/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(119): XenForo_Template_Public->render()
#12 /srv/www/squattheplanet.com/public_html/library/XenForo/FrontController.php(604): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#13 /srv/www/squattheplanet.com/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#14 /srv/www/squattheplanet.com/public_html/index.php(13): XenForo_FrontController->run()
#15 {main}

Request State

array(3) {
  ["url"] => string(26) "http://squattheplanet.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

i removed all the expressions from all the widgets, and i'm still getting this error and i have no idea where to look next. can someone help me with this?
 
Top Bottom