• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[bd] Widget Framework

Status
Not open for further replies.
didn't work
i need to find the widget hook in put in the ad_sidebar_top template
do you know where it is?
Finally, that feature has arrived!

Anyway, you will have to do like this:
  • Use the Clear Sidebar widget, check to hide visitor panel option
  • Add widgets that you want on top
  • Add visitor panel widget (this one is new)
  • Add widgets that you want below the visitor panel widget
  • Profit!
Also, people should check out the "random" group feature. It's simple but fun and powerful. Rotating ads on your sidebar is simple now! :D
 
Finally, that feature has arrived!

Anyway, you will have to do like this:
  • Use the Clear Sidebar widget, check to hide visitor panel option
  • Add widgets that you want on top
  • Add visitor panel widget (this one is new)
  • Add widgets that you want below the visitor panel widget
  • Profit!
Also, people should check out the "random" group feature. It's simple but fun and powerful. Rotating ads on your sidebar is simple now! :D

Nice one dam you have been busy :D thanks muchy I love this addon
 
When I activate the add-on I get a sudden internal server error :S I've also darkimmortal's XenOptimize installed and thought it was caused by his add-on, I deactivated it and uploaded the widget framework file again but that didn't help it.

Edit: I'm also looking at the server error logs but there is nothing related to that issue.
 
When I activate the add-on I get a sudden internal server error :S I've also darkimmortal's XenOptimize installed and thought it was caused by his add-on, I deactivated it and uploaded the widget framework file again but that didn't help it.
Your site is still in error? Did you disable the hooks globally (in config.php)? This is the first time you activate the framework (with default widgets) or else?
 
Your site is still in error? Did you disable the hooks globally (in config.php)? This is the first time you activate the framework (with default widgets) or else?

I deactivated the framework xfrocks now I'm back online. I have a line in my config.php (that appearantly you added :D) should I disable that too ?
 
I don't remember that but you should probably let it there. Anyway, how did you configured the framework? Also, latest version?
 
I don't remember that but you should probably let it there. Anyway, how did you configured the framework? Also, latest version?

It's the 1.0.7 version. The line is:

Code:
if ($_SERVER['REMOTE_ADDR'] == 'IP Adress') { $config['debug'] = true; /* xfrocks did this */ }

:)

It was working until recently. It happened suddenly I have no idea what the problem is.
 
Oh, that line is certainly mine :D Would you please send me your server info via PC and I will come by and check for you. Strange things always happen
 
Oh, that line is certainly mine :D Would you please send me your server info via PC and I will come by and check for you. Strange things always happen

I just send you a PC xfrocks, I have send you a few PC's and messages over the weeks but I'm strating to suspect aren't you're not getting them :D
 
When I activate the add-on I get a sudden internal server error :S I've also darkimmortal's XenOptimize installed and thought it was caused by his add-on, I deactivated it and uploaded the widget framework file again but that didn't help it.

Edit: I'm also looking at the server error logs but there is nothing related to that issue.

Yup yup, I had that same error and the only way to get rid of it was to disable the mod
 
Yup yup, I had that same error and the only way to get rid of it was to disable the mod
Did you change anything? Install new addon? Server configuration? Anything?
The solution I applied is below

Open XenForo-root/library/WidgetFramework/Core.php
Line 322

PHP:
throw new XenForo_Exception(new XenForo_Phrase('wf_invalid_widget_renderer_x', array('renderer' => $class)), true);

Change it to

PHP:
throw new XenForo_Exception('Invalid renderer: ' . $class, true);

Please confirm if this also fixes your problem :)
 
  • Like
Reactions: eod
Did you change anything? Install new addon? Server configuration? Anything?
The solution I applied is below

Open XenForo-root/library/WidgetFramework/Core.php
Line 322

PHP:
throw new XenForo_Exception(new XenForo_Phrase('wf_invalid_widget_renderer_x', array('renderer' => $class)), true);

Change it to

PHP:
throw new XenForo_Exception('Invalid renderer: ' . $class, true);

Please confirm if this also fixes your problem :)

I made that change
 
All I did was upload the new files and run the upgrade for the latest version. I'm pretty sure that is all I did but I cannot be positive. It was a few days ago and late :)
 
I wanted 2 widgets into one
Renderer: Users/Users online now
But it looks...weird

tabs.webp
 
Status
Not open for further replies.
Back
Top Bottom