Resource icon

[bd] Widget Framework 2.6.6

No permission to download
I am getting javascript errors on the site when this plugin is active. See this post:

http://xenforo.com/community/threads/js-error-when-clicking-links.48047/

No errors show up immediately. But it's when I click on a link that it will not function as it should and then "freeze" all the other links on the page. The only way to fix is to refresh the page and then right-click and open the link in a new tab.
Your site is working properly now, I assume you turned off the add-on? Please turn it on and I will come and check again. Sorry for the inconvenience.
 
It's on and not working for me. I've had other users test and it's not working for them too.

I tried in Firefox and it was busted too. Similar error message but not exactly the same. Here are the messages from Firefox.

First click on a username:
Code:
[22:35:35.923] OverlayLoader for members/slapyo.1/?card=1
[22:35:35.931] TypeError: jQuery.easing[jQuery.easing.def] is not a function @ http://www.feoa.net/js/xenforo/xenforo.js?_v=3067a8be:5

Second click on a username:
Code:
[22:36:15.824] GET http://www.feoa.net/members/slapyo.1/?card=1&&_xfRequestUri=%2F&_xfNoRedirect=1&_xfResponseType=json [HTTP/1.1 200 OK 261ms]
[22:36:15.767] Attempted to call XenForo.OverlayLoader.show() for members/slapyo.1/?card=1 before overlay is created
[22:36:15.767] OverlayLoader for members/slapyo.1/?card=1
[22:36:16.041] Loaded css 0, member_card
[22:36:16.046] XenForo.activate(%o) [object Object]
[22:36:16.077] TypeError: jQuery.easing[jQuery.easing.def] is not a function @ http://www.feoa.net/js/xenforo/xenforo.js?_v=3067a8be:5
[22:36:16.198] GET http://www.feoa.net/data/avatars/l/0/1.jpg?1365286968 [HTTP/1.1 200 OK 206ms]
 
So I figured out what it was.

I had an eBay ad I put on and this was the code.

Code:
<div style="width:160px;margin:0 auto;">
    <script type="text/javascript" src='http://adn.ebay.com/files/js/min/jquery-1.6.2-min.js'></script>
    <script charset="utf-8" src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script charset="utf-8" type="text/javascript">
        document.write('\x3Cscript type="text/javascript" charset="utf-8" src="http://adn.ebay.com/cb?programId=1&campId=5335823904&toolId=10026&keyword=&width=160&height=600&font=1&textColor=032a46&linkColor=0a4c8a&arrowColor=fcfcff&color1=fcfcff&color2=fcfcff&format=ImageLink&contentType=TEXT_AND_IMAGE&enableSearch=y&usePopularSearches=n&freeShipping=n&topRatedSeller=n&itemsWithPayPal=n&descriptionSearch=y&showKwCatLink=n&excludeCatId=&excludeKeyword=&catId=&disWithin=200&ctx=y&autoscroll=n&flashEnabled=' + isFlashEnabled + '&pageTitle=' + _epn__pageTitle + '&cachebuster=' + (Math.floor(Math.random() * 10000000 )) + '">\x3C/script>' );
    </script>
</div>

I'm guessing including the jQuery was causing it to freak out and overwrite the jQuery that XenForo installed. So I went back to using an older version of their ad and it works now.

Code:
<div style="width:160px;margin:0 auto;">
    <script charset="utf-8" src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script charset="utf-8" type='text/javascript'>
        document.write('<scr' + 'ipt charset="utf-8" src="http://adn.ebay.com/cb?programId=1&campId=5335823904&toolId=10026&keyword=ford+escort&width=160&height=600&font=1&textColor=032a46&linkColor=0a4c8a&arrowColor=032a46&color1=fcfcff&color2=fcfcff&format=Html&contentType=TEXT_AND_IMAGE&enableSearch=n&useeBayT=y&usePopularSearches=n&freeShipping=n&topRatedSeller=n&showKwCatLink=n&excludeCatId=220&excludeKeyword=&catId=6000&ctx=n&flashEnabled=' + isFlashEnabled + '&pageTitle=' + _epn__pageTitle + '"></scr' + 'ipt>' );
    </script>
</div>

Sorry about that. I thought it was a Widget Framework issue, but when I realized, this morning after hours last night, that there was no JS code being inserted by the Widget Framework I went through and shut off every widget one by one that I added and as soon as I turned off the eBay one the site worked. So I turned them all back on except for the eBay one and it was still working. Dug around and switched the code out and I've got eBay and the site functioning.
 
So I figured out what it was.

I had an eBay ad I put on and this was the code.

Code:
<div style="width:160px;margin:0 auto;">
    <script type="text/javascript" src='http://adn.ebay.com/files/js/min/jquery-1.6.2-min.js'></script>
    <script charset="utf-8" src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script charset="utf-8" type="text/javascript">
        document.write('\x3Cscript type="text/javascript" charset="utf-8" src="http://adn.ebay.com/cb?programId=1&campId=5335823904&toolId=10026&keyword=&width=160&height=600&font=1&textColor=032a46&linkColor=0a4c8a&arrowColor=fcfcff&color1=fcfcff&color2=fcfcff&format=ImageLink&contentType=TEXT_AND_IMAGE&enableSearch=y&usePopularSearches=n&freeShipping=n&topRatedSeller=n&itemsWithPayPal=n&descriptionSearch=y&showKwCatLink=n&excludeCatId=&excludeKeyword=&catId=&disWithin=200&ctx=y&autoscroll=n&flashEnabled=' + isFlashEnabled + '&pageTitle=' + _epn__pageTitle + '&cachebuster=' + (Math.floor(Math.random() * 10000000 )) + '">\x3C/script>' );
    </script>
</div>

I'm guessing including the jQuery was causing it to freak out and overwrite the jQuery that XenForo installed. So I went back to using an older version of their ad and it works now.

Code:
<div style="width:160px;margin:0 auto;">
    <script charset="utf-8" src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script charset="utf-8" type='text/javascript'>
        document.write('<scr' + 'ipt charset="utf-8" src="http://adn.ebay.com/cb?programId=1&campId=5335823904&toolId=10026&keyword=ford+escort&width=160&height=600&font=1&textColor=032a46&linkColor=0a4c8a&arrowColor=032a46&color1=fcfcff&color2=fcfcff&format=Html&contentType=TEXT_AND_IMAGE&enableSearch=n&useeBayT=y&usePopularSearches=n&freeShipping=n&topRatedSeller=n&showKwCatLink=n&excludeCatId=220&excludeKeyword=&catId=6000&ctx=n&flashEnabled=' + isFlashEnabled + '&pageTitle=' + _epn__pageTitle + '"></scr' + 'ipt>' );
    </script>
</div>

Sorry about that. I thought it was a Widget Framework issue, but when I realized, this morning after hours last night, that there was no JS code being inserted by the Widget Framework I went through and shut off every widget one by one that I added and as soon as I turned off the eBay one the site worked. So I turned them all back on except for the eBay one and it was still working. Dug around and switched the code out and I've got eBay and the site functioning.
Awesome find!
 
How do I add that New/Recent/Popular widget that you have in the photos... there doesn't seem to be an option... there's a "tab group" but it's a little hard to understand what i need to do
 
Downloading (y) Thanks again XFRocks for your ongoing support and development with this modification. Amazing.
 
Found one little issue so far XFrocks. Maybe somebody can try to reproduce it.

When changing the maximum number of feed entries that will be shown in the RSS Feed widget the same values as before are shown. Even disabling the widget it self doesnt change it.

Had to remove it entire and create it from scratch to change the values. Changing it from there has no effect.

Caching issue?
 
Found a second bug.

When selecting the resource manager widget and set it to "new resources" with all categories selected it picks the oldest uploaded resources instead of the newest ones :)

Bug 2a: also when changing to another widget type gives this caching error from the post above
 
The tab groups is a great idea but doesn't appear to work on my site. I selected Latest Posts for 2 different widgets and added them to a tab group called 'latest'.

Edit: it does work, however the styling insists of having a white background, but that's not a problem with WF. Lovely work on the new version :)
 
It is "member_recent_activity".

Could anyone possibly tell me how to get a clear sidebar widget to hold on the Member Recent Activity page, please? I've created the widget, used the clear sidebar renderer, used member_recent_activity as the position, yet it still doesn't work and nothing gets cleared. Tried setting it at 10 and 0 as well.

For reference, I'm talking about the quick nav menu/recent activity.

Thanks.
 
- Clear Sidebar
- Birthday (since 1.1)
- Feed Reader (since 2.1)
- Forum Statistics
- Share This Page
- Thread with Poll (since 1.0)
- Threads. 4 modes: new threads, new replies, most viewed, most replied, most liked, polls
- User Recent Status (since 1.0.9)
- Users. 3 order by: register_date, message_count, resource_count
- User Online Now, User Online Now (Staff)
- Users: Find (since 1.5)
- Visitor Panel (since 1.0.9)
- XFRM: Resources. 4 modes: new, updated, highest rating, most downloaded
- HTML, HTML (without wrapper)
- PHP Callback (since 1.0.10)
- Template, Template (without wrapper) (since 1.2)

Add: people recent activity you follow :D
 
I am trying to make a sidebar element a widget by request...I am having a bit of trouble with the new options that have been included since I first made my thing work with widget framework...

I used to use HTML as a renderer, but with options and such being in the sidebar element I am converting, I believe the [advanced] PHP Callback is the option I am looking for so everything can be exposed to the element as should be.

Anyone have a good guide and or simple template for the callback or have enough knowledge to summarize what I need...I have skimmed and found nothing and don't really know what to search for here.
 
Top Bottom