Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2012, 06:51 PM   PM User | #1
xellero
New to the CF scene

 
Join Date: Dec 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
xellero is an unknown quantity at this point
Javascript Plugin Problem

Hi guys, sorry that my first post is a question, but i have a problem with a plugin i just bought from codecanyon.

This is the plugin: http://tyler.tc/social-slider-pro/

Now, i installed it to my site which is a sophisticated theme running on wp 3.5. And the plugin(if you saw on the link above) won't work if you click on any of the icons.

This is my site link : http://netfluxmarketing.com

Then, i created a test subdomain trying wp 3.4.2 using twenty eleven, the default wp theme. It still won't work

This is the testing link : http://infocus.netfluxmarketing.com

I don't think that the plugin is running its own jquery library and i think that there is a interference between javascript.

Can someone help me with this issue? I don't know how to see if i have multiple versions of jquery UI or javascript.

Thanks.
xellero is offline   Reply With Quote
Old 12-30-2012, 07:45 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,335
Thanks: 13
Thanked 207 Times in 207 Posts
DanInMa is on a distinguished road
I would contact the author for support. This is the error:

"
Code:
"NetworkError: 400 Bad Request - https://plusone.google.com/u/0/_/pages/badge?bsv&theme=light&height=131&width=400&hl=en-US&origin=http%3A%2F%2Finfocus.netfluxmarketing.com&url=https%3A%2F%2Fplus.google.com%2F&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.pt_BR.2J1h_NEFEZI.O%2Fm%3D__features__%2Fam%3DiQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTMSQ-Dnvh_hcuvGiXBxaq271-LyHg#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Conauth%2Conload&id=I0_1356896614667&parent=http%3A%2F%2Finfocus.netfluxmarketing.com""
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 12-30-2012, 08:07 PM   PM User | #3
xellero
New to the CF scene

 
Join Date: Dec 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
xellero is an unknown quantity at this point
No, its not that, im 100% sure that is a jquery/javascript issue . The divs that should open with javascript are not popping up. I have contacted the author and he only said that i have multiple instances of jQueryUi and different versions. He didn't answer afterwards. Thanx for the reply. Any other solutions? Thanks.
xellero is offline   Reply With Quote
Old 12-30-2012, 09:41 PM   PM User | #4
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
I don't see multiple versions of jQuery, but the error console does have a couple of worrying messages:
Quote:
The "fb-root" div has not been created, auto-creating all.js:49
FB.getLoginStatus() called before calling FB.init(). all.js:49
<fb:like-box> requires one of the "id" or "name" attributes. all.js:49
xelawho is offline   Reply With Quote
Old 12-30-2012, 10:37 PM   PM User | #5
xellero
New to the CF scene

 
Join Date: Dec 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
xellero is an unknown quantity at this point
Yeah i saw those, any idea how to fix them? thx
xellero is offline   Reply With Quote
Old 12-30-2012, 10:46 PM   PM User | #6
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
no, none. and it seems that the demo page shows the same errors (apart from the name or id one, even though in that page the fb-like-box doesn't have a name or id either)

good luck!
xelawho is offline   Reply With Quote
Old 12-30-2012, 10:49 PM   PM User | #7
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,335
Thanks: 13
Thanked 207 Times in 207 Posts
DanInMa is on a distinguished road
the 400 error make sme think maybe the plugin is tied to your domain somehow ( and isnt authorized for your testing subdomain?)? is that mentioned in the docs?
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 12-30-2012, 11:01 PM   PM User | #8
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,461
Thanks: 52
Thanked 457 Times in 455 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
that could be it. in the demo, that div is:
Code:
<div class="g-plus" data-href="https://plus.google.com/107230159557411387733" data-width="400" data-height="131" data-theme="light"></div></div>
whereas yours is
Code:
<div class="g-plus" data-href="https://plus.google.com/" data-width="400" data-height="131" data-theme="light"></div></div>
(without the numbers added to the url)
xelawho is offline   Reply With Quote
Old 12-30-2012, 11:03 PM   PM User | #9
xellero
New to the CF scene

 
Join Date: Dec 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
xellero is an unknown quantity at this point
Interesting, if i try to edit the plugin from the wp dashboard it gives me, Error 406 - Not Acceptable. After a quick search i fixed it by turning off mod_security form modsec manager from the domain cpanel.

I managed to get it working on another testing site: http://xellero.com/ which is wp3.4.2

But then why it won't work on my main site? Thx

Last edited by xellero; 12-31-2012 at 01:37 AM..
xellero is offline   Reply With Quote
Old 12-31-2012, 02:59 AM   PM User | #10
xellero
New to the CF scene

 
Join Date: Dec 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
xellero is an unknown quantity at this point
I found the answer:

In WP3.5 they have updated the jquery libraries so the plugin no longer works with wp3.5

I will stick to 3.4.2 until/ or if the plugin will be fixed.

Thanks for your replies.
xellero is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:52 AM.


Advertisement
Log in to turn off these ads.