Author Topic: No options available in version 3.1.1  (Read 1380 times)

Anonymous

  • Guest
No options available in version 3.1.1
« on: September 02, 2009, 03:05:03 PM »
Hi,

I've got the version 3.1.1 of this plugin with Wordpress 2.8.4.

I can only see the fields for adding the associate Id, but I cannot put in any ASINs or ISBNs of books, to show in a sidebar widget as in earlier versions, some month ago :-(

I could not use the "FAQ" or "Wishlist"-Tab in the plugin's option page - there is only a white page.

A bug?

Anonymous

  • Guest
Re: No options available in version 3.1.1
« Reply #1 on: September 02, 2009, 03:09:27 PM »
By the way: I have no options available in Firefox 3 and in I.E. 8!
I can only add the ID and the two keys, nothing else is available, only a very long white page.

Anonymous

  • Guest
Re: No options available in version 3.1.1
« Reply #2 on: September 02, 2009, 03:19:30 PM »
The Error message:


User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Zeitstempel: Wed, 2 Sep 2009 19:17:15 UTC


Message: Object necessary
Line: 4537
Character: 4460
Code: 0
URI: ....../wp-admin/load-scripts.php?c=1&load=swfobject,sack,prototype,jquery,utils,farbtastic,colorpicker&ver=7f58139a6760dcf9ad93886446d3e2ce


Message: Object necessary
Line: 4537
Character: 4460
Code: 0
URI: ....../wp-admin/load-scripts.php?c=1&load=swfobject,sack,prototype,jquery,utils,farbtastic,colorpicker&ver=7f58139a6760dcf9ad93886446d3e2ce

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: No options available in version 3.1.1
« Reply #3 on: September 02, 2009, 03:33:15 PM »
the jquery-ui-tabs doesn't seem to get loaded.
What version of WordPress are you running?

Check if you have the following file:
/wp-includes/js/jquery/ui.tabs.js
Peter van der Does
AVH Plugins developer

Anonymous

  • Guest
Re: No options available in version 3.1.1
« Reply #4 on: September 02, 2009, 04:39:51 PM »
Quote from: Peter
the jquery-ui-tabs doesn't seem to get loaded.
What version of WordPress are you running?

Check if you have the following file:
/wp-includes/js/jquery/ui.tabs.js


I use WP 2.8.4.

ui.tabs.js is in that place as you mentioned.
My file is version "jQuery UI Tabs 1.7.1".

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #5 on: September 02, 2009, 04:53:01 PM »
Now I've loaded the version 1.7.2 of the ui.tabs.js here:
http://blog.jqueryui.com/2009/06/jquery-ui-172/

But it has no effect, I still cannot see any options at your plugin's page, in firefox as well as in internet explorer.

All other plugins and the drag & dropping of widgets to sidebar works well (Wordpress 2.8.4).

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #6 on: September 02, 2009, 04:58:30 PM »
ok, now I have used the ui.tabs.js of an older backup of my blog.
There is no version number in it, so I post here the code - perhaps it helps you, to find out, what's the problem is:

Code: [Select]
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c]);return p}('(4(A){A.3g("8.3",{3f:4(){2.c.t+=".3";2.1f(1d)},3e:4(B,C){5((/^7/).26(B)){2.17(C)}m{2.c[B]=C;2.1f()}},j:4(){d 2.$3.j},1G:4(B){d B.2b&&B.2b.14(/\s/g,"2a").14(/[^A-3d-3c-9\-2a:\.]/g,"")||2.c.1S+A.f(B)},8:4(C,B){d{c:2.c,3b:C,1O:B,V:2.$3.V(C)}},1f:4(O){2.$i=A("1j:3a(a[n])",2.h);2.$3=2.$i.1t(4(){d A("a",2)[0]});2.$b=A([]);6 P=2,D=2.c;2.$3.X(4(R,Q){5(Q.v&&Q.v.14("#","")){P.$b=P.$b.1c(Q.v)}m{5(A(Q).13("n")!="#"){A.f(Q,"n.3",Q.n);A.f(Q,"p.3",Q.n);6 T=P.1G(Q);Q.n="#"+T;6 S=A("#"+T);5(!S.j){S=A(D.1z).13("1g",T).l(D.19).39(P.$b[R-1]||P.h);S.f("1b.3",1d)}P.$b=P.$b.1c(S)}m{D.e.1Y(R+1)}}});5(O){2.h.l(D.1y);2.$b.X(4(){6 Q=A(2);Q.l(D.19)});5(D.7===1q){5(1L.v){2.$3.X(4(S,Q){5(Q.v==1L.v){D.7=S;5(A.Y.1h||A.Y.38){6 R=A(1L.v),T=R.13("1g");R.13("1g","");1B(4(){R.13("1g",T)},37)}36(0,0);d o}})}m{5(D.11){6 J=35(A.11("8-3"+A.f(P.h)),10);5(J&&P.$3[J]){D.7=J}}m{5(P.$i.U("."+D.k).j){D.7=P.$i.V(P.$i.U("."+D.k)[0])}}}}D.7=D.7===w||D.7!==1q?D.7:0;D.e=A.34(D.e.33(A.1t(2.$i.U("."+D.W),4(R,Q){d P.$i.V(R)}))).1X();5(A.1s(D.7,D.e)!=-1){D.e.32(A.1s(D.7,D.e),1)}2.$b.l(D.x);2.$i.q(D.k);5(D.7!==w){2.$b.r(D.7).1I().q(D.x);2.$i.r(D.7).l(D.k);6 K=4(){A(P.h).z("1v",[P.u("1v"),P.8(P.$3[D.7],P.$b[D.7])],D.1I)};5(A.f(2.$3[D.7],"p.3")){2.p(D.7,K)}m{K()}}A(31).16("30",4(){P.$3.15(".3");P.$i=P.$3=P.$b=w})}2Z(6 G=0,N;N=2.$i[G];G++){A(N)[A.1s(G,D.e)!=-1&&!A(N).12(D.k)?"l":"q"](D.W)}5(D.y===o){2.$3.1n("y.3")}6 C,I,B={"2Y-2X":0,1K:1},E="2W";5(D.Z&&D.Z.2V==2U){C=D.Z[0]||B,I=D.Z[1]||B}m{C=I=D.Z||B}6 H={1r:"",2T:"",2S:""};5(!A.Y.1h){H.1J=""}4 M(R,Q,S){Q.29(C,C.1K||E,4(){Q.l(D.x).1e(H);5(A.Y.1h&&C.1J){Q[0].28.U=""}5(S){L(R,S,Q)}})}4 L(R,S,Q){5(I===B){S.1e("1r","1F")}S.29(I,I.1K||E,4(){S.q(D.x).1e(H);5(A.Y.1h&&I.1J){S[0].28.U=""}A(P.h).z("1v",[P.u("1v"),P.8(R,S[0])],D.1I)})}4 F(R,T,Q,S){T.l(D.k).2R().q(D.k);M(R,Q,S)}2.$3.15(".3").16(D.t,4(){6 T=A(2).2Q("1j:r(0)"),Q=P.$b.U(":2P"),S=A(2.v);5((T.12(D.k)&&!D.1i)||T.12(D.W)||A(2).12(D.18)||A(P.h).z("27",[P.u("27"),P.8(2,S[0])],D.17)===o){2.1u();d o}P.c.7=P.$3.V(2);5(D.1i){5(T.12(D.k)){P.c.7=w;T.q(D.k);P.$b.1H();M(2,Q);2.1u();d o}m{5(!Q.j){P.$b.1H();6 R=2;P.p(P.$3.V(2),4(){T.l(D.k).l(D.1x);L(R,S)});2.1u();d o}}}5(D.11){A.11("8-3"+A.f(P.h),P.c.7,D.11)}P.$b.1H();5(S.j){6 R=2;P.p(P.$3.V(2),Q.j?4(){F(R,T,Q,S)}:4(){T.l(D.k);L(R,S)})}m{2O"1M 2N 2M: 2L 2K 2J."}5(A.Y.1h){2.1u()}d o});5(!(/^1A/).26(D.t)){2.$3.16("1A.3",4(){d o})}},1c:4(E,D,C){5(C==1q){C=2.$3.j}6 G=2.c;6 I=A(G.1R.14(/#\{n\}/g,E).14(/#\{1k\}/g,D));I.f("1b.3",1d);6 H=E.2I("#")==0?E.14("#",""):2.1G(A("a:2H-2G",I)[0]);6 F=A("#"+H);5(!F.j){F=A(G.1z).13("1g",H).l(G.x).f("1b.3",1d)}F.l(G.19);5(C>=2.$i.j){I.25(2.h);F.25(2.h[0].2F)}m{I.24(2.$i[C]);F.24(2.$b[C])}G.e=A.1t(G.e,4(K,J){d K>=C?++K:K});2.1f();5(2.$3.j==1){I.l(G.k);F.q(G.x);6 B=A.f(2.$3[0],"p.3");5(B){2.p(C,B)}}2.h.z("23",[2.u("23"),2.8(2.$3[C],2.$b[C])],G.1c)},1a:4(B){6 D=2.c,E=2.$i.r(B).1a(),C=2.$b.r(B).1a();5(E.12(D.k)&&2.$3.j>1){2.17(B+(B+1<2.$3.j?1:-1))}D.e=A.1t(A.21(D.e,4(G,F){d G!=B}),4(G,F){d G>=B?--G:G});2.1f();2.h.z("22",[2.u("22"),2.8(E.1E("a")[0],C[0])],D.1a)},1Z:4(B){6 C=2.c;5(A.1s(B,C.e)==-1){d}6 D=2.$i.r(B).q(C.W);5(A.Y.2E){D.1e("1r","2D-1F");1B(4(){D.1e("1r","1F")},0)}C.e=A.21(C.e,4(F,E){d F!=B});2.h.z("20",[2.u("20"),2.8(2.$3[B],2.$b[B])],C.1Z)},1V:4(C){6 B=2,D=2.c;5(C!=D.7){2.$i.r(C).l(D.W);D.e.1Y(C);D.e.1X();2.h.z("1W",[2.u("1W"),2.8(2.$3[C],2.$b[C])],D.1V)}},17:4(B){5(2C B=="2B"){B=2.$3.V(2.$3.U("[n$="+B+"]")[0])}2.$3.r(B).2A(2.c.t)},p:4(G,K){6 L=2,D=2.c,E=2.$3.r(G),J=E[0],H=K==1q||K===o,B=E.f("p.3");K=K||4(){};5(!B||!H&&A.f(J,"y.3")){K();d}6 M=4(N){6 O=A(N),P=O.1E("*:2z");d P.j&&P.2y(":2x(2w)")&&P||O};6 C=4(){L.$3.U("."+D.18).q(D.18).X(4(){5(D.1m){M(2).2v().1p(M(2).f("1k.3"))}});L.1o=w};5(D.1m){6 I=M(J).1p();M(J).2u("<1D></1D>").1E("1D").f("1k.3",I).1p(D.1m)}6 F=A.1N({},D.1l,{1T:B,1C:4(O,N){A(J.v).1p(O);C();5(D.y){A.f(J,"y.3",1d)}A(L.h).z("1U",[L.u("1U"),L.8(L.$3[G],L.$b[G])],D.p);D.1l.1C&&D.1l.1C(O,N);K()}});5(2.1o){2.1o.2t();C()}E.l(D.18);1B(4(){L.1o=A.2s(F)},0)},1T:4(C,B){2.$3.r(C).1n("y.3").f("p.3",B)},1b:4(){6 B=2.c;2.h.15(".3").q(B.1y).1n("3");2.$3.X(4(){6 C=A.f(2,"n.3");5(C){2.n=C}6 D=A(2).15(".3");A.X(["n","p","y"],4(E,F){D.1n(F+".3")})});2.$i.1c(2.$b).X(4(){5(A.f(2,"1b.3")){A(2).1a()}m{A(2).q([B.k,B.1x,B.W,B.19,B.x].2r(" "))}})},u:4(B){d A.t.2q({2p:B,2o:2.h[0]})}});A.8.3.2n={1i:o,t:"1A",e:[],11:w,1m:"2m&#2l;",y:o,1S:"8-3-",1l:{},Z:w,1R:'<1j><a n="#{n}"><1Q>#{1k}</1Q></a></1j>',1z:"<1P></1P>",1y:"8-3-2k",k:"8-3-7",1x:"8-3-1i",W:"8-3-e",19:"8-3-1O",x:"8-3-2j",18:"8-3-2i"};A.8.3.2h="j";A.1N(A.8.3.2g,{1w:w,2f:4(C,F){F=F||o;6 B=2,E=2.c.7;4 G(){B.1w=2e(4(){E=++E<B.$3.j?E:0;B.17(E)},C)}4 D(H){5(!H||H.2d){2c(B.1w)}}5(C){G();5(!F){2.$3.16(2.c.t,D)}m{2.$3.16(2.c.t,4(){D();E=B.c.7;G()})}}m{D();2.$3.15(2.c.t,D)}}})})(1M)',62,203,'||this|tabs|function|if|var|selected|ui|||panels|options|return|disabled|data||element|lis|length|selectedClass|addClass|else|href|false|load|removeClass|eq||event|fakeEvent|hash|null|hideClass|cache|triggerHandler|||||||||||||||||||||filter|index|disabledClass|each|browser|fx||cookie|hasClass|attr|replace|unbind|bind|select|loadingClass|panelClass|remove|destroy|add|true|css|tabify|id|msie|unselect|li|label|ajaxOptions|spinner|removeData|xhr|html|undefined|display|inArray|map|blur|tabsshow|rotation|unselectClass|navClass|panelTemplate|click|setTimeout|success|em|find|block|tabId|stop|show|opacity|duration|location|jQuery|extend|panel|div|span|tabTemplate|idPrefix|url|tabsload|disable|tabsdisable|sort|push|enable|tabsenable|grep|tabsremove|tabsadd|insertBefore|appendTo|test|tabsselect|style|animate|_|title|clearInterval|clientX|setInterval|rotate|prototype|getter|loading|hide|nav|8230|Loading|defaults|target|type|fix|join|ajax|abort|wrapInner|parent|img|not|is|last|trigger|string|typeof|inline|safari|parentNode|child|first|indexOf|identifier|fragment|Mismatching|Tabs|UI|throw|visible|parents|siblings|height|overflow|Array|constructor|normal|width|min|for|unload|window|splice|concat|unique|parseInt|scrollTo|500|opera|insertAfter|has|tab|z0|Za|setData|init|widget'.split('|'),0,{}))



By replacing the ui.tabs.js, that came with Wordpress 2.8.4, with this older file from Wordpress 2.7.1, I can see your plugin's option page well.

But now, I cannot drag and drop the widgets of Wordpress into the sidebar, this does not work any more with the old file of ui.tabs.js.

With the new version 1.7.2 (and 1.7.1) of ui.tabs.js the whole Wordpress 2.8.4 backend (and its widgets) works fine, but not your plugin.

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: No options available in version 3.1.1
« Reply #7 on: September 03, 2009, 07:43:42 AM »
Could you check the source code of the AVH Amazon settings page.

In the source there is a small javascript that should look similar to this.

Code: [Select]
<script type="text/javascript">
 jQuery(document).ready( function() {jQuery('#printOptions').tabs();});
</script>

The #printoptions should be there no matter what.
Is this exactly what it is on your side too or if it is different what does it state?
Peter van der Does
AVH Plugins developer

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #8 on: September 03, 2009, 07:58:24 AM »
I have this text in my source code of the AVH settings page:

Code: [Select]
<script type="text/javascript">jQuery(document).ready( function() {jQuery('#printOptions').tabs();});</script><div class="wrap avh_wrap"><h2>AVH Amazon: Options</h2><form action="http://xxxxxxxxxxxxxxxxxxxxxx.de/wp-admin/admin.php?page=avhamazon_options"method="post"><div id="printOptions"><ul class="avhamazon_submenu"><li><a href="#general">General</a></li><li><a href="#widget_wishlist">Wishlist</a></li><li><a href="#shortcode">Shortcode</a></li><li><a href="#faq">FAQ</a></li><li><a href="#about">About</a></li></ul>
<div id="general"><fieldset class="options"><legend>General</legend><table class="form-table">


And below of this text I can see the options in the source code, but not in "real" in the backend.
See here a screenshot of it:
http://http://tinyurl.com/lj7zl5

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #9 on: September 03, 2009, 08:05:00 AM »
Ah, I see now a strange phaenomenon:


If I go to the AVH settings page, I first see the three keys with its fields.

Then - very quick - I see the whole (!) options page while the settings page is still loading!
But if the settings page is ready with loading, the options disappear and only the three keys at the top are to see; below are no longer options to see, but only white space.

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: No options available in version 3.1.1
« Reply #10 on: September 03, 2009, 08:43:03 AM »
The latter is normal behavior.
jQuery hides the options.

So when you click on FAQ for example, the three keys disappear.
The rest of the page remains the same?
When you click on General next do the three keys reappear?
Peter van der Does
AVH Plugins developer

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #11 on: September 03, 2009, 10:27:17 AM »
When I click the tabs, nothing happens and nothing else appears, still only the three keys.

Why is it necessary, to hide the options by jQuery?
Other plugins' settings pages have all options all at once.

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: No options available in version 3.1.1
« Reply #12 on: September 03, 2009, 12:19:08 PM »
When I build the plugin, it was a neat feature. That way the option page isn't to long.
I'll be working on the next release and it will be different.
What I will be working on the next few days is a quick solution for this problem. I have an idea how to quickly fix it.
If you contact me through my Contact page, that way I have your email without having to show it here, I will send you the updated version as soon as it is ready.
Peter van der Does
AVH Plugins developer

csign

  • Guest
Re: No options available in version 3.1.1
« Reply #13 on: September 03, 2009, 12:46:45 PM »
Thank you very much, I will do so.

Thanks for your support!