HTML Code in Widget

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thunderclap
    Senior Member
    • Dec 2008
    • 407
    • 4.2.x

    prefix_vb4_cmsanswered_title_rich HTML Code in Widget

    I have AJAX Chat installed on my site, and there is code someone shared that allows the number of users using chat, as well as listing the names, that appear in the What's Going On section. It involves a plugin and template change and, once done, works. I'd like to use this code in a Widget on the front page but no matter how I alter the code it doesn't work in the widget. The code for the templates is:

    Code:
     [I][COLOR=#000080]<!-- chat users -->[/COLOR][/I] [COLOR=#000080]<div id=[COLOR=#0000FF]"wgo_onlineusers"[/COLOR] class=[COLOR=#0000FF]"wgo_subblock section"[/COLOR]>[/COLOR] [COLOR=#000080]<h3 class=[COLOR=#0000FF]"blocksubhead"[/COLOR]>[/COLOR][COLOR=#800080]<img src=[COLOR=#0000FF]"{vb:stylevar imgdir_misc}/users_online.png"[/COLOR] alt=[COLOR=#0000FF]"Users In Chat"[/COLOR] />[/COLOR]{vb:raw num_chatting} Users In Chat[COLOR=#000080]</h3>[/COLOR] [COLOR=#000080]<div>[/COLOR] [COLOR=#000080]<p>[/COLOR]{vb:raw chat_userlist}[COLOR=#000080]</p>[/COLOR] [COLOR=#000080]</div>[/COLOR] [COLOR=#000080]</div>[/COLOR] [I][COLOR=#000080]<!-- end chat users -->[/COLOR][/I]
    Basically, in the widget, it doesn't convert the num_chatting or chat_userlist. Is it because widgets can't handle these calls? The plugin I'm referring to is here.
    Last edited by thunderclap; Sun 6 Oct '13, 6:49pm.
  • thunderclap
    Senior Member
    • Dec 2008
    • 407
    • 4.2.x

    #2
    The problem has been resolved by using a PHP widget instead.

    Comment

    Related Topics

    Collapse

    Working...