Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Anyone else seeing a conflict with Category Grid View plugin?
Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2012 - 10:14 pm

This plugin http://evilgenius.anshulsharma.in/cgview

Whenever I activate it, the members are unable to reply to topics on the forum. The button becomes void.

Any ideas how I can work around this? at the moment it seems like I have to choose between one and the other...

Cheers!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2012 - 11:13 pm

sounds like the other plugin is doing jquery wrong...  see:  http://codex.simple-press.com/.....-conflict/

but cannot tell without a link to the site... of course with the codex article I listed, you can check too...

Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 1:07 am

Thanks for your help.

I have read through the info. When looking at the source for a page with simple:press on it, and the conflicting plugin is not active, I can see it is calling the library from my own server, so it seems alright (assuming I understood the information on that page correctly).

When I activate the problem plugin those values stay the same, it's still calling the library from my server, but the reply button doesn't work.

The forum in question is http://www.soundcloudpodcast.com/forum/

I'm going to deactivate the problem plugin so that the forum is usable, but I'm happy to activate it, take screenshots, etc, anything that could help me work it out... I'm obviously not an expert on this.

I appreciate your time.

Cheers!

Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 1:11 am

Actually, I can see what the difference is, just don't know how to fix it.

When I activate the other plugin, I get this suss line of code

<script type="text/javascript">paginateVal = ;</script>

After the JQuery entries...

So I can spot the difference, is this something I can fix myself or will I need to contact the guy who made the other plugin?

Cheers,

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2012 - 3:49 am

What we really need is for you to activate that plugin and let me know so I can take a look at the page myself. Obviously you want to do that when I am here and can look so that it is not broken for too long! I am  in the UK - it is 9:45am when I posted this. Reply when you are online here and if I am too I will come back to you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 4:46 pm

Ok, online now lol I will check this thread throughout the day.

Thanks a lot for your assistance with this :)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 5:49 pm

so is the category view plugin active?? I dont see anything to indicate that it is, but no clue what it actually does...  and guests cannot see posts or vote, so hard to look at the conflict...

Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 7:36 pm

Alright I'm online again.

I'll make the gallery plugin active and allow guests to post for a couple of hours, hopefully you'll be able to check it out.

Edit: Done, plugin active and guests allowed to post, link to a thread http://www.soundcloudpodcast.c.....uttonello/ 

Really appreciate your time.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 8:38 pm

not exactly sure what is going on...  seems to be related to the plugins js use of $ instead of the wp preferred jquery... but cannot be sure...  the plugin is definitely throwing internal errors...

might be worth trying a quick replace of the cgview.js file with:

/* Author : Anshul Sharma (contact@anshulsharma.in) */

jQuery(document).ready(function() {
// To remove the css class for CSS fallback strategy
jQuery("div.cgview ul li div").removeClass("cgnojs");

jQuery("div.cgview li").mouseenter(function(){
var d = this.getElementsByTagName("div");
if(jQuery(d[0]).attr('class')=='cgback hover'){
jQuery(d[0]).stop(true,true).animate({height: '35%'},200);
jQuery(d[1]).stop(true,true).animate({height: '32%'},200);
}
});
jQuery("div.cgview li").mouseleave(function(){
var d = this.getElementsByTagName("div");
if(jQuery(d[0]).attr('class')=='cgback hover'){
jQuery(d[0]).stop(true,true).animate({height: '0px'},200);
jQuery(d[1]).stop(true,true).animate({height: '0px'},200);
}

});
/*Events for colorbox (Fix for small popup window in colorbox due to delay in load of images*/
jQuery(".cgpost").colorbox({onComplete:function(){jQuery.colorbox.resize();}});

/* Pagination */
jQuery(document).ready(function(){
if(paginateVal){
jQuery('ul#cg-ul').easyPaginate({
step:paginateVal,
nextprev:false,
controls:'cg-page-controls'
});
}
});

});

and see if it helps...  I just changed the $ namespace to jQuery...

please be sure to save a copy of the original in case you need to revert...

Avatar
LifeOnMTV
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2012 - 8:48 pm

Thanks!

Just did it, but still doesn't seem to be working...

I guess it's not a good plugin, if I can get it fixed it would be great, but I can look for other ones if this is gonna cause trouble.

Anyway, I've changed the contents of the cgview.js to what you posted, still no joy.

Excellent support btw :D

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626