Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Where specifically you want to edit the html? Your screenshot includes several different widgets actually.
See the title of each widgets,
Forum Statistics
Users Online Now
Staff Online Now

I would like to add a div around each one of them, just the h3 tags.

 
See the title of each widgets,
Forum Statistics
Users Online Now
Staff Online Now

I would like to add a div around each one of them, just the h3 tags.
Oh, you need to edit template "wf_widget_wrapper" then. The template itself is a bit complicated, you should pay attention to this part of its:

PHP:
<xen:elseif is="{xen:count $tabs} == 1" />
    <xen:comment>Simpler case: just a single widget</xen:comment>
    <div class="{$classSection} widget-container">
        <xen:foreach loop="$tabs" value="$tab">
            <div class="{$classInnerSection} widget {$tab.class}" id="widget-{$tab.widget_id}">
                <xen:if is="{$tab.html}">
                    <h3>
                        <xen:if is="{$tab.extraData.link}">
                            <a href="{$tab.extraData.link}">{xen:raw $tab.title}</a>
                        <xen:else />
                            {xen:raw $tab.title}
                        </xen:if>
                    </h3>
                    {xen:raw $tab.html}
                </xen:if>
            </div>
        </xen:foreach>
    </div>
</xen:if>
 
in pagenode_container only on one specific page.
It shouldn't cause problem with pagenode_container position. According to your quoted error message, the widget is being rendered for forum_list, you are using multiple positions for that widget?

Anyway, to prevent the error message, just change your expression to be like this

PHP:
!empty($page) AND $page['node_id'] == 176
 
I am new to xenforo and a lot of people tell me this mod will speed the site, by using it to show
User Online Now, User Online Now (Staff) and the other right bar widgets with this mod.

Does that mean I have to delete the normal User online Now and User online now ( staff) or the mod deletes the old sidebars alone ?
 
I am new to xenforo and a lot of people tell me this mod will speed the site, by using it to show
User Online Now, User Online Now (Staff) and the other right bar widgets with this mod.

Does that mean I have to delete the normal User online Now and User online now ( staff) or the mod deletes the old sidebars alone ?
This add-on can remove the sidebar of any page if you want to. Or you can keep the sidebar and add more widgets to it. Sorry I cannot answer in more detail because your question is not very clear.
 
If I install it does it cache members online for example, is this a performance boost? I will install it anyway as I need to add new stuff on the sidebar. It is a great mod. Thanks for it.
 
If I install it does it cache members online for example, is this a performance boost? I will install it anyway as I need to add new stuff on the sidebar. It is a great mod. Thanks for it.
This add-on has caching functionality so it will not affect your performance much. For member online, it actually doesn't need extra query.
 
Hey @xfrocks, I installed this at one of my forums today.

I'm using the recent status widget and it's not updating itself when someone updates their status unless I go to the admin panel and update the widget. What should I do to fix this?
 
@xfrocks, hi! Why do you use <h3> elements inside tabs? I am asking because it's not an expected behaviour in some styles, so I have to omit these tags.
 
The threads widget does not follow user permissions.
Members see threads that they have no access to.

I tested this and found that on my installation it honoured usergroup privs and didn't show new threads to people who shouldn't see them.
 
Really - wow - need to disable it then... if so that is a big no no
I tested this and found that on my installation it honoured usergroup privs and didn't show new threads to people who shouldn't see them.
After testing we found that it happens with specific permission.
If you disallow user to see a forum, the widget will not show threads from there. But if you allow a user to enter into a forum and see only his threads (disable the option to see other's threads) the widget will show other's threads, which he shouldn't see.

This was confirmed by xfrocks
 
Bumping this again. Can I get an answer please? It has been 5 months.
Sorry for that. I have quite a lot of things on my list.

After testing we found that it happens with specific permission.
If you disallow user to see a forum, the widget will not show threads from there. But if you allow a user to enter into a forum and see only his threads (disable the option to see other's threads) the widget will show other's threads, which he shouldn't see.

This was confirmed by xfrocks
Yes, confirmed and fixed ;)
 
How can i make my own widget - I just want to put a picture and some links. Like the atatchment.

Thanks,
 

Attachments

  • Screen Shot 2013-09-01 at 6.00.41 AM.webp
    Screen Shot 2013-09-01 at 6.00.41 AM.webp
    34.1 KB · Views: 10
Back
Top Bottom