Recent content by pr-opaganda

  1. P

    XF 2.3 Can't write value from select to db

    Correct code for my case - name should be name="block_category": <xf:selectrow name="block_category" value="{$block.block_category}" class="input--inline input--autoSize" > <xf:option value="val1" label="" /> <xf:option value="val2" label="" /> <xf:option...
  2. P

    [TaylorJ] Blogs

    Thank a lot for this info! I've already found this by myself! )
  3. P

    XF 2.3 Can't write value from select to db

    Hi guys! I have stupid problem and can't save value from select to DB in my first addon. With text and textarea fields I have no problem - everything correct storing in DB. This is part of XML template with my code: <xf:selectrow name="category" value="{$block.block_category}"...
  4. P

    [TaylorJ] Blogs

    Hi guys and @Taylor J! I have a strange problem with a widget "Latest Blog Posts". I have only title h3 and <ul> tag, but have no content of every blog. <div class="block-container"> <h3 class=" block-header"> <a href="/whats-new/blog-posts/"...
  5. P

    Condition for check moderators status

    Hmm - maybe you're right, and I invent a wheel... )
  6. P

    Condition for check moderators status

    Finally I made it with jQuery: jQuery(document).ready(function(){ if( jQuery('.staffOnline a.avatar').length == 0 ) { jQuery('.staffOnline').hide(); } }); For my tasks this is enough. Thanks all for help!
  7. P

    Condition for check moderators status

    Yeah! ) Initial I post thread in development topic, but Moderator move it in styling.
  8. P

    Condition for check moderators status

    I saw your link - thanks. But I need diferent logic. ALL forum users includes guests must be appear block ONLY when Moderators is online - for example in usual work day. Then moderators goes to offline - this blocks must be hidden for ALL users, not only for moderators and administrators. I hope...
  9. P

    Condition for check moderators status

    Thanks for fast reply! Am I right it's will be working together? is_admin: true - this condition check forum users, admin or not admin? I need make condition which will be work for all forum users or guests. "If anybody from group "Moderator" is online - all forum user with guests APPEAR custom...
  10. P

    Condition for check moderators status

    Hello! I need create condition ib template and show one block only if one of my moderators is online <xen:if is="{ $visitor.user_group_id } == 1"> block code </xen:if> Something like this, but without checking status on current user. Logical is a simple: If anybody from group...
Back
Top Bottom