Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Hi xfrocks, thanks for a great addon...I have been meaning to have a look at this since you first released it but only just got around to installing it.

I have a question and a problem...

The Question, if I use the widget that removes all the built-in blocks, is the page loading performance impacted by going through the XF code of having the blocks, then saying NO don't use them and then saying USE THESE instead? Much like how everyone says put extra css code in the EXTRA.css template which actually impacts site performance by pulling up the base css then overwriting the base with different css compared to just changing the css in the base so it only pulls it up once...if you can get my meaning?

The Problem, I have created a widget that is displayed in a specific forum and contains a YouTube. The problem is when I use scroll up or down the page of threads the YouTube part of the widget's display is all screwed up and I can't figure out why...I am using the HTML (without wrapper) widget and here is the html of it:
Code:
<div class="section">
    <div class="secondaryContent" id="Aircraft1" style="margin-bottom:10px;">
        <h3>Morgan Aeroworks</h3>
        <div>
            <a href="http://www.morganaeroworks.com.au/" target="_blank"><img src="../sponsors/morgan/morgan_logo.jpg" alt="Morgan Aeroworks" /></a>
            <span class="muted">Contact: </span>Gary Morgan<br />
            <span class="muted">Phone: </span>+ 61 2 65539920<br />
            <span class="muted">Mobile: </span>0418 253466<br />
            <span class="muted">Web: </span>
            <a href="http://www.morganaeroworks.com.au/" alt="www.morganaeroworks.com.au" target="_blank">www.morganaeroworks.com.au</a><br /><br />
 
            <div class="muted" style="width:100%;text-align:center">~ ABOUT ~</div>
            <em>Morgan Aeroworks is an Australian aircraft kit manufacturer specialising in high performance and highly affordable sports aircraft.
            We pride ourselves on being able to offer the Australian aviation industry a range of aircraft that are both designed and manufactured in
            Australia. All of our aircraft can be purchased in kit form or as a completed aircraft, ready to fly away!</em>
        </div>
    </div>
 
    <div class="secondaryContent"style="text-align:center;padding:0px 0px 6px 0px;margin-bottom:10px;">
        <iframe title="YouTube video player" type="text/html" width="248px" height="184px" src="http://www.youtube.com/embed/gVz-H-5_I10"
            frameborder="0" noresize="noresize">
        </iframe>
        <a href="#" onClick="MyWindow=window.open('http://www.youtube.com/embed/gVz-H-5_I10','MyWindow','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=750,height=472'); return false;">Larger view</a>
    </div>
 
    <div class="secondaryContent"style="text-align:center;padding:0px 0px 6px 0px;margin-bottom:10px;">
        <iframe width="248" height="225" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Taree+Airport,+Cundletown,+New+South+Wales,+Australia&amp;aq=2&amp;oq=Taree%2BAirport&amp;sll=37.0625,-95.677068&amp;sspn=55.323926,114.169922&amp;t=h&amp;ie=UTF8&amp;hq=Taree+Airport,+Cundletown,+New+South+Wales,+Australia&amp;ll=-31.890312,152.509375&amp;spn=0.018219,0.021372&amp;z=16&amp;iwloc=A&amp;output=embed">
        </iframe>
        <a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=Taree+Airport,+Cundletown,+New+South+Wales,+Australia&amp;aq=2&amp;oq=Taree%2BAirport&amp;sll=37.0625,-95.677068&amp;sspn=55.323926,114.169922&amp;t=h&amp;ie=UTF8&amp;hq=Taree+Airport,+Cundletown,+New+South+Wales,+Australia&amp;ll=-31.890312,152.509375&amp;spn=0.018219,0.021372&amp;z=14&amp;iwloc=A" style="color:#175d8e;" target="_blank">View Larger Map</a>
    </div>
 
</div>

Here is a screen shot of what happens when you scroll the page:
1.webp
 
Can anyone advise how I can get the two buttons on a Poll Widget to appear on the same line?

1.webp

FIXED...For anyone else, change the width of the buttons in the polls.css template from 120 to one that suits you
 
Found a bug with the Poll Widget...when a user votes on a poll in the widget, the widget changes to show the results which is correct...however when the user returns to a page that has the poll widget on it, it is back to showing the poll options as if the user hasn't voted...naturally the user gets an error if they try and vote again.

The problem is the poll widget is not obtaining the information on whether the user has voted or not, which I guess would require another query
 
Found a bug with the Poll Widget...when a user votes on a poll in the widget, the widget changes to show the results which is correct...however when the user returns to a page that has the poll widget on it, it is back to showing the poll options as if the user hasn't voted...naturally the user gets an error if they try and vote again.

The problem is the poll widget is not obtaining the information on whether the user has voted or not, which I guess would require another query
This is not a bug. When you navigate away and use browser's back button, the page is loaded as it was originally (before the ajax vote). That's why the widget shows up that way.
 
FIXED...For anyone else, change the width of the buttons in the polls.css template from 120 to one that suits you
I could adjust the width of the buttons but not get them on the same line. Did you have to add a return or something?
 
One other issue...

Once I voted on the latest poll in the thread, I went back to my front page and the results were not showing up on the poll widget. Just the two horizontal lines and the buttons. Clicking on the results button gave me a "you don't have permission..."

In my widget settings, I have left the thread number blank so it would pull in the latest one. When I specify a thread, it works perfectly.

Update: After testing this multiple times, I think the issue has to do with the feature which allows you to pull in the latest poll. Once another thread is made (not a poll), it loses the link.
 
I could adjust the width of the buttons but not get them on the same line. Did you have to add a return or something?
No Jeff, I just changed the widths...

In polls.css template I changed it to:
Code:
.pollBlock .buttons .button
{
    min-width: 112px;
    _width: 112px;
}
 
When I did that, they stay stacked, flush right. But I had a line of text which read "your vote is public" to their left. I just removed that and now they go to one line. Thanks.
 
Can anyone tell me how I can add widgets to a "Page" node?

If I try:
Position: forum_view
Expression: $forum['node_id'] == 125 (the id of the page node)
Nothing happens
 
Can anyone tell me how I can add widgets to a "Page" node?

If I try:
Position: forum_view
Expression: $forum['node_id'] == 125 (the id of the page node)
Nothing happens
Position: pagenode_container[, forum_view][, forum_list]...
* [...] optional adds

Salud2
 
Are you using it in the portal page? It's known issue that tabbed widgets are not compatible with XenPorta. Sorry :(
xfrocks,
I don't know if this is xenporta problem or not.
I have a Thread renderer and using Most replied widget type. It will show "Member X posted, Replies :12".
It seems like missing the post date.
In the profile page? It works fine for me, hmm (Chrome)
Even the third image in this seems to confirm it.
 
Just wondering if it was at all possible to have say an XF page and use the widgets on the page instead of them just being in the sidebar?
 
How can we get comments and likes to show with RecentStatus? The RecentStatus addon had it, but, the framework doesn't. :(

Edit: Also recentstatus doesn't seem to be updating.

Edit: So apparently if debug mode is on it updates. If it's off it doesn't update. Why?
 
Back
Top Bottom