Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Using the "Status Updates" sidebar widget, is there any way to get it to use the XF word censor? At the moment all words are allowed thru and it ignores the XF word censor.
 
Any way I can wrap the radio stream from this site in a widget? I would love it if my users could listen to this radio station while browsing my forum! :)
 
Using the "Status Updates" sidebar widget, is there any way to get it to use the XF word censor? At the moment all words are allowed thru and it ignores the XF word censor.
Fix is coming :)

Any way I can wrap the radio stream from this site in a widget? I would love it if my users could listen to this radio station while browsing my forum! :)
The site doesn't load for me. But you should be able to do it fairly easy if some kind of embed code is provided (using the HTML widget).
 
The site doesn't load for me. But you should be able to do it fairly easy if some kind of embed code is provided (using the HTML widget).

Strange - I've just checked, and the link is definitely correct, and it loads fine for me. They don't provide embed code, unfortunately. I have examined the page source code, and the bit related to the "Listen now" button seems to be:

HTML:
<div class="header-ad">   
                    <a href="JavaScript:newPopup('http://www.staffordfm.com/stream.php');"><img src="http://www.staffordfm.com/images/listen.png"/></a><br/>
<script type="text/javascript">
// Popup window code
function newPopup(url) {
    popupWindow = window.open(
        url,'popUpWindow','height=410,width=370,left=10,top=10,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script><br>
       
                </div>

Can I just bung that in the [bd] widget HTML wrapper?
 
Strange - I've just checked, and the link is definitely correct, and it loads fine for me. They don't provide embed code, unfortunately. I have examined the page source code, and the bit related to the "Listen now" button seems to be:
...

Can I just bung that in the [bd] widget HTML wrapper?
Not sure if the javascript will work correctly but you can copy and paste this (removed the outer <div />)

HTML:
                    <a href="JavaScript:newPopup('http://www.staffordfm.com/stream.php');"><img src="http://www.staffordfm.com/images/listen.png"/></a><br/>
<script type="text/javascript">
// Popup window code
function newPopup(url) {
    popupWindow = window.open(
        url,'popUpWindow','height=410,width=370,left=10,top=10,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
 
Not sure if the javascript will work correctly but you can copy and paste this (removed the outer <div />)

HTML:
                    <a href="JavaScript:newPopup('http://www.staffordfm.com/stream.php');"><img src="http://www.staffordfm.com/images/listen.png"/></a><br/>
<script type="text/javascript">
// Popup window code
function newPopup(url) {
    popupWindow = window.open(
        url,'popUpWindow','height=410,width=370,left=10,top=10,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
}
</script>
Ah, that placed the "Listen live" button within the widget, so my users can click on the button to launch the player in a separate window. I actually wanted the stream to be played from right within the widget, but to be honest this will do in the mean time so thanks very much. :)

Am I right in thinking that if I did succeed in getting the radio stream to display & play from within a widget, it wouldn't be much good anyway as the stream would get interrupted every time the user clicked a link/refreshed the page/etc? If so, I think this pop-up arrangement is probably the way to go anyway!

Sorry to be so nooby, but could you point me in the direction of a Facebook Fan Page widget, and a Twitter one?

Thanks. :)
 
Ah, that placed the "Listen live" button within the widget, so my users can click on the button to launch the player in a separate window. I actually wanted the stream to be played from right within the widget, but to be honest this will do in the mean time so thanks very much. :)

Am I right in thinking that if I did succeed in getting the radio stream to display & play from within a widget, it wouldn't be much good anyway as the stream would get interrupted every time the user clicked a link/refreshed the page/etc? If so, I think this pop-up arrangement is probably the way to go anyway!

Sorry to be so nooby, but could you point me in the direction of a Facebook Fan Page widget, and a Twitter one?

Thanks. :)
Congrats! And yes, the popup is quite good that way I think.
About the Facebook/Twitter widget, simply grab their code and paste into a HTML (without wrapper) widget. You can can use the normal widget too but I think without-wrapper one is better.
 
Can anyone tell me how I hide un-wrapped html content in the sidebar, from members - so just display it to guest?
 
Can anyone tell me how I hide un-wrapped html content in the sidebar, from members - so just display it to guest?
Use the HTML (without wrapper) widget as normal and put this into Expression field

Code:
$visitor['user_id'] == 0
 
Fatal error: Declaration of XenFarjad_Donations_Widget::_getRenderTemplate() must be compatible with that of WidgetFramework_WidgetRenderer::_getRenderTemplate() in /home/savage/public_html/community/library/XenFarjad/Donations/Widget.php on line 49

Can some one please help me with this error? Thank you in advance.
 
Fatal error: Declaration of XenFarjad_Donations_Widget::_getRenderTemplate() must be compatible with that of WidgetFramework_WidgetRenderer::_getRenderTemplate() in /home/savage/public_html/community/library/XenFarjad/Donations/Widget.php on line 49

Can some one please help me with this error? Thank you in advance.
Sorry for the problem, the code signature changed a bit in the recent versions. That's why the renderer in
[XenFarjad] Donations is broken. You will need to contact the author to update his integration. In the mean time, you can edit the file to fix temporary:

Go to ./library/XenFarjad/Donations/Widget.php, line 29, replace the whole line with

PHP:
    protected function _getRenderTemplate(array $widget, $templateName, array $params) {
 
This killed the custom colors on my "Users Online Now" sidebar - is there any way to get this back? I'd appreciate it! My XenPorta seems to still have them colorized just fine.
 
This killed the custom colors on my "Users Online Now" sidebar - is there any way to get this back? I'd appreciate it! My XenPorta seems to still have them colorized just fine.
Can you post a screenshot please? You can send me a message if you don't want to post it in this thread. Thanks.
 
Did you customize the original widget? I'm pretty sure it doesn't support CSS-styled username.
Yeah, we did - I was hoping it did support css-styles but I suppose it cant. Is there any way to not use the widget and instead use the sidebar for that area? or is mixing/matching not possible?
 
If you customized sidebar_online_users, you will have to do the same with wf_widget_online_users. Supporting CSS-styled username is something may be in the next version.
 
First, I like this add-on. But the new birthday widget needs a bit of work in the phrasing.

So, for example, with more than one birthday, you get: "Today is 2 people's birthday." Not good. Maybe 'Two people are having a birthday" or something like that. But it would be nice to show the names of both, rather than just the icons when it's more than one.

Can you fix?
 
Question - is the poll widget separate from the XF polls? I do not use the polls at the bottom of each post as I find it annoying. But I needed to do a poll for a thread. would the poll widget work? Thanks
 
Top Bottom