Fix is comingUsing 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.
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).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).
<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>
Not sure if the javascript will work correctly but you can copy and paste this (removed the outer <div />)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?
<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.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>
Congrats! And yes, the popup is quite good that way I think.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.
Use the HTML (without wrapper) widget as normal and put this into Expression fieldCan anyone tell me how I hide un-wrapped html content in the sidebar, from members - so just display it to guest?
$visitor['user_id'] == 0
Sorry for the problem, the code signature changed a bit in the recent versions. That's why the renderer inFatal 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.
protected function _getRenderTemplate(array $widget, $templateName, array $params) {
Can you post a screenshot please? You can send me a message if you don't want to post it in this thread. Thanks.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.
I sure can.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.I sure can.
http://imgur.com/XSyMX <-- has color like before (this is using XenPorta - but the old "Users online now" had the same look before installing the Widget Framework)
http://imgur.com/XE7Wl <-- no color (fresh install of widget frame)
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?Did you customize the original widget? I'm pretty sure it doesn't support CSS-styled username.
We use essential cookies to make this site work, and optional cookies to enhance your experience.