Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Should be fairly easy, edit the template "wf_widget_stats", wrap its content inside <xen:hook /> like this

Code:
<xen:hook name="forum_list_sidebar">

<!-- existing contents go here -->

</xen:hook>
hi @xfrocks - I tried doing this and added this to your template wf_widget_stats - but still have 0 views, any thing you see out of place, i didn't add the other code - it didn't seem to do anything but fudge the template a bit. thanks.
Code:
<div class="pairsJustified">
    <dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
        <dd>{xen:number $boardTotals.discussions}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
        <dd>{xen:number $boardTotals.messages}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase iwdrp_total_views_home}:</dt>
        <dd>{xen:number $iwdrptotalviews}</dd></dl>
    <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
        <dd>{xen:number $boardTotals.users}</dd></dl>
    <dl><dt>{xen:phrase latest_member}:</dt>
        <dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
    <!-- slot: forum_stats_extra -->
</div>
 
hi @xfrocks - I tried doing this and added this to your template wf_widget_stats - but still have 0 views, any thing you see out of place, i didn't add the other code - it didn't seem to do anything but fudge the template a bit. thanks.
Code:
<div class="pairsJustified">
    <dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
        <dd>{xen:number $boardTotals.discussions}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
        <dd>{xen:number $boardTotals.messages}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase iwdrp_total_views_home}:</dt>
        <dd>{xen:number $iwdrptotalviews}</dd></dl>
    <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
        <dd>{xen:number $boardTotals.users}</dd></dl>
    <dl><dt>{xen:phrase latest_member}:</dt>
        <dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
    <!-- slot: forum_stats_extra -->
</div>
Never mind - got it, i didn't just inset the content, i put the entire code between the xenhook - should only be as below.
Code:
<div class="pairsJustified">
    <xen:hook name="forum_list_sidebar"><dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
        <dd>{xen:number $boardTotals.discussions}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
        <dd>{xen:number $boardTotals.messages}</dd></dl>
    <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
        <dd>{xen:number $boardTotals.users}</dd></dl>
    <dl><dt>{xen:phrase latest_member}:</dt>
        <dd><xen:username user="$boardTotals.latestUser" /></dd></dl></xen:hook>
    <!-- slot: forum_stats_extra -->
</div>
 
how i can delete
the time posted + the user who post the thread

from the Widget Type : New threads

its show now

name of thread + time + username

i just want it to show the thread name
 
We've changed all the template hook names in extra portal 1.2.
Is there a way to automatically change the positions for the users while the portal update process?:D

(not sure if it's really recomanded, but my idea was to replace "simpleportal with extraportal in the positions column)
 
Hi there,

can you take a look at:
http://www.xsimulator.net/community/forums/simaxe-motion-controller.122/

The preview tooltips are loaded not on the position where they should be, way too much at the bottom of the page.
When i disable the widget framework they appear on the regular position and everything is fine.

I also notice, the more widgets are enabled and the longer the right sidebar gets, the tooltips are shown proportional lower. It seems as when the tooltip JS is calculating the height of the site dependently by the sidebar and not by the thread_view or forum_list

Do you have any suggestion for me how i can investigate the reason for that issue?

Unbenannt-1.webp

Thank you guys for any help.

Have a great night into 2014:)

Best regards,
René
 
There is a conflict of some sort with this add on -http://xenforo.com/community/threads/tinhte-xentag.32231/page-44#post-683675 when I turn off xentag its fine, but when on I get this in my footer.

View attachment 63053
Well, this is still happening, however, I i=use to be able to turn the add ons off and back on and it would go away, now I can't get it to go way. What is the issue with this? I am doing nothing different than I always had.

Screen Shot 2014-01-01 at 10.16.17 AM.webp
 
@xfrocks What's better expression to use?
empty($contentTemplate)
or
$contentTemplate == ''
or
!in_array($contentTemplate, array (''))


To detect error pages.
 
Hi,

I need some help and suggestions.

Any widget that allows me to post XenMedio videos? There was one but it's not working for me.

I want suggestions. XenMedio and their widgets are really old, haven't been updated after 1.2

Any media gallery/portals out there, and their widgets?


Thanks!
 
How do I create a tabbed widget for New Threads, Popular Threads and Polls? I put them all in the same "columns" widget group, but don't see any change. I still see only New threads appearing on the sidebar. Any other options need to be changed?

Thanks
 
The poll widget has a very slow query:
Code:
SELECT thread.*
    ,
social_forum.title AS social_forum_title, social_forum.user_id AS social_forum_user_id, social_forum.style_id AS social_forum_style_id,
    poll.*,
    forum.*, 21 AS itemtypeid, thread.thread_id AS itemid
FROM xf_thread AS thread

LEFT JOIN xf_social_forum AS social_forum ON
(social_forum.social_forum_id = thread.social_forum_id)
    LEFT JOIN xf_poll AS poll ON
    (poll.content_type = 'thread' AND content_id = thread.thread_id)
    INNER JOIN xf_forum AS forum ON
    (forum.node_id = thread.node_id)
WHERE (((thread.node_id IN (13, 43, 173, 312, 480, 184, 426, 177, 209, 176, 459, 458, 461, 314, 460, 190, 428, 429, 391, 430, 174, 69, 191, 419, 301, 127, 68, 57, 129, 152, 368, 153, 130, 164, 369, 167, 154, 165, 370, 168, 155, 166, 371, 169, 128, 156, 372, 163, 171, 170, 274, 55, 146, 180, 54, 143, 462, 304, 305, 302, 351, 309, 342, 308, 306, 381, 53, 307, 310, 41, 192, 193, 75, 473, 71, 42, 60, 138, 45, 438, 481, 56, 424, 282, 284, 417, 280, 288, 420, 281, 425, 440, 441, 467, 468, 469, 470, 471, 472, 463, 464, 465, 466, 196, 279, 221, 223, 224, 277, 297, 354, 293, 355, 356, 296, 294, 222, 295, 357, 358, 359, 217, 225, 360, 216, 361, 362, 218, 363, 220, 375, 278, 219, 273, 211, 212, 213, 214, 215, 228, 227, 237, 238, 229, 239, 230, 240, 231, 241, 242, 243, 232, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 236, 264, 265, 266, 267, 233, 234, 268, 269, 235, 270, 271, 272, 290, 292, 291, 226, 474, 70, 195, 475, 85, 51, 74, 188, 142, 394, 476, 39, 477, 478, 49, 482, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 483, 335, 17, 433, 435, 187, 38, 66, 64, 186, 185, 65, 67, 328, 380, 434, 319, 437, 84, 431, 330, 27, 379, 402, 401, 400, 352, 29, 333, 407, 3, 18, 285, 19, 136, 135, 88, 326, 286, 325, 7, 331, 409, 410, 411, 412, 106, 26, 414, 418, 479, 413, 405, 62, 125, 416, 415, 22, 283, 24, 80, 92, 119, 446, 50, 20, 289, 30, 422, 324, 40, 175, 443, 52, 321, 118, 76, 93, 117, 32, 320, 353, 35, 408, 36, 421, 322, 23, 25, 329, 8, 79, 332, 28, 33, 406, 161, 123, 395, 396, 403, 397, 124, 162, 334, 398, 404, 399, 287, 432, 21, 336, 377, 445, 89, 423, 323, 91, 90, 327, 392, 393, 37, 107, 132, 134, 172, 133, 46, 148, 147, 58, 315, 316, 318, 317, 343, 344, 150, 345, 346, 110, 59, 159, 149, 111, 115, 86, 61, 108, 114, 158, 109, 157, 112, 82, 87, 14, 208, 210, 389, 447, 347, 442, 47, 200, 204, 207, 206, 203, 202, 205, 197, 348, 349, 198, 201, 350, 199, 122, 121)))) AND (thread.discussion_type = 'poll')
ORDER BY thread.post_date DESC
LIMIT 1
Run Time: 0.570416
This is on a development install, so there is no activity on it. The run time will likely go up if I unleash thousands of concurrent users on it.

Could be a conflict with the social groups addon, or an issue with having a large number of nodes.
 
  • Like
Reactions: rdn
Hi there,

can you take a look at:
http://www.xsimulator.net/community/forums/simaxe-motion-controller.122/

The preview tooltips are loaded not on the position where they should be, way too much at the bottom of the page.
When i disable the widget framework they appear on the regular position and everything is fine.

I also notice, the more widgets are enabled and the longer the right sidebar gets, the tooltips are shown proportional lower. It seems as when the tooltip JS is calculating the height of the site dependently by the sidebar and not by the thread_view or forum_list

Do you have any suggestion for me how i can investigate the reason for that issue?

View attachment 63914

Thank you guys for any help.

Have a great night into 2014:)

Best regards,
René

Is there no one else recognizing that issue?
 
Hey @xfrocks sorry I'm sure this has been answered ans spent awhile searching with no luck.

I need the a widget to show in thread_view only in a certain node.

Position I'm assuming thread_view

However the expressions I've tried haven't gotten me anywhere.
 
I have a widget that is causing problems. I'm not sure if it is the code I used or the settings I have.
It is rendered as [Advanced HTML] that holds a banner that is linked to an external site .
It shows to all who have not logged in or registered.
The problem is that if a member gets an email to a message they are watching, and clicks on that link it takes them to a log in page with the banner and text below to Log in or Register. The link from the banner bleeds down to this text which is normally not linked to anything so that if a person clicks on Log in or Register, they are taken to the external site.
The position of the banner is set to hook: page_container_content_title_bar
Is there any way to stop the link from the banner bleeding below it?
Please keep in mind I am not only new to XenForo but I also know diddly squat about coding.
Thanks,
 
I do not understand why the developers have not yet added this add-on (which is potentially infinite) nucleus XenForo !

:mad: -> :cautious: -> :whistle:
 
I believe this may be a bug:
Xenforo has its own 'home' tab in the navigation bar.
When a widget page titled 'hone' has 'is index page' active then it will create a second 'home' tab. This leaves you with 2 home tabs instead of one.
 
Top Bottom