webzone
Forum Replies Created
-
Forum: Plugins
In reply to: [Genesis Responsive Slider] Cycle through slides once (or x times)?I had no idea how to approach this. I’m glad Mike could help.
Forum: Plugins
In reply to: [Genesis Responsive Slider] Cycle through slides once (or x times)?Got a solution from a friend… Kudos to Mike Kilday in Maine!
“Ok, found the docs:
https://github.com/woothemes/FlexSlider/wiki/FlexSlider-PropertiesSo, unfortunately I had to modify the woothemes slider plugin javascript code to do what you wanted, so if you update it ever you’ll need to re-apply the patch below (so save this in your site notes)…
Around line 483 in /wp-content/plugins/genesis-responsive-slider/js/jquery.flexslider.js , replace this:
??? //FlexSlider: Automatic Slideshow
??? slider.animateSlides = function() {
????? if (!slider.animating) {
??????? slider.flexAnimate(slider.getTarget(“next”));
????? }
??? }with this:
??? //FlexSlider: Automatic Slideshow
??? slider.animateSlides = function() {
????? if (!slider.animating) {
??????? slider.flexAnimate(slider.getTarget(“next”));
???????
????????? // Custom hack to pause slideshow at the end
????????? //alert(slider.currentSlide);
????????? //alert(slider.count);
????????? if ( slider.currentSlide == slider.count – 2 ) {
??????????? slider.pause();
????????? }
???????
???????
????? }
??? }”
Forum: Plugins
In reply to: [BadgeOS] Title Toggle plugin not available on Badge pagesSo
sanitize_text_field()
wouldn’t be better? I haven’t tried that option, though.Forum: Plugins
In reply to: [BadgeOS] Title Toggle plugin not available on Badge pagesOk, I’ve tried a few things and was able to get the title toggle to display on custom page types by adding it to the array of posttypes (within the Hide Title plugin). But, for the top-level badges (usually ‘badges’, but not always) it ends up showing a slew of escaped characters in the achievements widget.
https://www.mysmallhouseplans.com/badges/expert-traveler/
I tracked it down to line 123 in /includes/widgets/earned-user-achievements-widget.php:
echo '<a class="widget-badgeos-item-title '. esc_attr( $class ) .'" href="'. esc_url( $permalink ) .'">'. esc_html( $title ) .'</a>';
Essentially, does
esc_html
have to be in there for some reason I’m not seeing?And why would you think this is happening only on ‘badges’ posttypes?
Thanks!!
Forum: Plugins
In reply to: [BadgeOS] Title Toggle plugin not available on Badge pagesOk, thanks Michael. I’m going to hire out a developer to fix this one.
Forum: Plugins
In reply to: [BadgeOS] Updated badge images not populating to activity pageYep, the system looks like it works for the first 2 required steps. It’s when you start with the optional achievements that it breaks down (for previously registered users). When the first of 3 optional achievements is approved then steps 4 and 5 are also approved, plus the final badge.
But, it’s fine for newly registered users.
Thanks for taking a look!
Forum: Plugins
In reply to: [BadgeOS] Updated badge images not populating to activity pageLogin sent.
Forum: Plugins
In reply to: [BadgeOS] Updated badge images not populating to activity pageIs there a PM feature here? (I see your site and social media hubs, but no contact form.)
Forum: Plugins
In reply to: [BadgeOS] Updated badge images not populating to activity pageThanks!
I tried deleting submissions, deleting activity, and deleting individual achievements within the user’s profile… then testing going through “earning” a badge again. That almost worked. I finally just completely deleted a user’s profile in order to get rid of the old images.
There was a funny glitch that happened when I started with a wiped user profile: at earning the first optional achievement the system awarded ALL of the optional achievements PLUS the final badge.
I guess we’ll know in the future not to change the badge images.
The example you have listed above is beyond me. But that’s ok — I think we’ll just deal with deleting users in our testing phase.
Should I take this up with BuddyPress? Or do you think they’re the 800 pound gorilla?