jamesdodd
Forum Replies Created
-
Forum: Plugins
In reply to: [Nobs • Share Buttons] Getting 500 Internal Error on some pagesok. the issue seems to be that on the pinterest button you’re pulling in the excerpt via the:
get_the_excerptfunction.as the plugin’s action is attached to the
the_excerptwhich in turn calls theget_the_excerptfunction it just runs an endless loop.I made a quick fix here by changing the line 162 from:
$api_link = 'http://pinterest.com/pin/create/bookmarklet/?media='.$image[0].'&url='.$url.'&title='.get_the_title().'&description='.get_the_excerpt();to:
$api_link = 'http://pinterest.com/pin/create/bookmarklet/?media='.$image[0].'&url='.$url.'&title='.get_the_title().'&description='.$post->post_excerpt;as you’ve already pulled in the $post variable as a global in the function this should be a bit faster too (can’t think of a reason not to use the variable).
In my opinion adding the buttons to excerpts should be option and be triggered in the dashboard and disabled by default
If anyone else wants to disable it on excerpts comment out (add // to) line 236
Forum: Plugins
In reply to: [Nobs • Share Buttons] Disable Juiz Social Post Sharer only on specific pagesanother option which works is if users are outputting tags into the class on the body then they can use some css to hide it:
.hidesocials .juiz_sps_links{display: none;}this will hide any links where posts are tagged hidesocials… not great for pages as by default they don’t have tags. but just another option for anyone who wants a quick fix.
Forum: Plugins
In reply to: [Nobs • Share Buttons] 500 server errorstry disabling the pinterest option
Forum: Plugins
In reply to: [Nobs • Share Buttons] Getting 500 Internal Error on some pagesok. disabled pinterest and it started working again, no more errors (double checked it and it seems to be the issue).
For now I’m fine with just disabling pinterest
Forum: Plugins
In reply to: [Nobs • Share Buttons] button for Plurkwould it be worthwhile to design the plugin so users can add their own custom buttons?
let them upload a graphic, set the text name and the url string for the share button?
could stop you from having to deal with requests regarding this and add a nice feature for everyone else.
Forum: Plugins
In reply to: [Nobs • Share Buttons] Getting 500 Internal Error on some pagesI’m also getting this error, but only on the main site. sub sites are working absolutely fine. haven’t really had a chance to check out the code to see if I could work out the issue tho.
Forum: Plugins
In reply to: [Nobs • Share Buttons] Disable Juiz Social Post Sharer only on specific pagesIf you’re adding it to the next updates hopefully it won’t disappear 😉
The benefit of doing it outside of the theme is for users who change themes regularly, don’t know how much php or like in my case, run a netwrok of blogs and can’t be bothered to update hundreds of themes!
cheers
Forum: Plugins
In reply to: [Nobs • Share Buttons] Disable Juiz Social Post Sharer only on specific pagesin juiz-social-post-sharer.php create a new line at 219 and add:
if(get_post_meta($post->ID, 'hide-juiz-sps', 1)){return;}then on your posts or pages simply use the custom field and add
hide-juiz-sps and set the value to true
this is what I have done and it works fine. if you wanted you could code that custom field to be a tick box on the posts relatively easily.
Yes, network settings were saving fine.
Strangely the WordPress MU Sitewide Tags Pages options saved for me when I gave it one last attempt.
I did nothing different, disabled no plugins, change no code or anything. it Just worked!
populate has been working fine too on a site by site basis (never bothered trying all sites on the network at once).
Thanks for the help anyway
oh ok. that should be fine.
still can’t get it to save the preferences tho, so it seems a tad pointless right now.
wordpress version 3.3.1
SWT version 0.4.2Still no luck getting it resolved.
@ron, what is the issue with regards to shared hosting, is it PHP memory limits or something? Obviously this wouldn’t just effect shared hosting, but I’d like to know before attempt running it (if I ever can) so I can get the settings in place and don’t have to watch it fail first!
Thanks
Forum: Fixing WordPress
In reply to: WordPress 2.1.1 Category Add Ajax Not WorkingI’ve got the same problem here…
I’m using firefox 2.0.0.3 on Mac OS X
Word Press 2.1.3heres my server info, tho I doubt its anything to do with this!!
windows 2003 server with apache and PHP version 5.0.4