rcain
Forum Replies Created
-
Forum: Plugins
In reply to: [Font Awesome 4 Menus] Please update the REGEX for text substitution to this…I would like to second @jpsantos ‘s request please.
( although alternatively, you can just make the regex sub-pattern ‘ungreedy’ like so:
preg_match( ‘/(<a.+?>)(.+)(<\/a>)/i’, $item_output, $matches );
– same effect, same reason )
Many thanks.
Forum: Plugins
In reply to: [Fetch Tweets] text flow under icon image in Plain templateHi,
Delighted – I’ll write a short complimentary review later today.
Thanks again for your help.
Forum: Plugins
In reply to: [Fetch Tweets] text flow under icon image in Plain templateThat ‘almost’ did it.
I had to also:
a) ‘clear both’ on .fetch-tweets-body, & tidy up the spacing/padding a bit more on various elements. thus my css now reads:/** * Fetch Tweets */ .fetch-tweets > .fetch-tweets-item { padding-bottom: 1em; } .fetch-tweets-item > .fetch-tweets-main { margin-left: 0 !important; padding-left: 0px; padding-right: 0px; } .fetch-tweets-profile-image { margin-right: 0.5em !important; } .fetch-tweets-heading > .fetch-tweets-tweet-created-at { float: left; margin-left: 0px; } .fetch-tweets-main > .fetch-tweets-body { clear: both; margin: 0px; padding: 0px; } div.fetch-tweets-body > p.fetch-tweets-text { padding-bottom: 0px; }and b)
since by default in wp, theme css is always loaded BEFORE plugin css, the css changes above neeed to go in a SEPARATE overrides.css file which i load explicitely directly AFTER the wp_head() hook in header.php.hope you’ll agree this looks a lot better.
Thanks for your help again. Great plugin. Keep up the good work. 🙂
Forum: Plugins
In reply to: [Fetch Tweets] text flow under icon image in Plain templatesure: http://www.birkinbagblog.co.uk/
thanks for quick response 🙂
Forum: Plugins
In reply to: [WP Page Widget] won't play nice with Simple Link List WidgetThank you so much!
It seems to work perfectly now.
I will make a donation as soon as our site goes live.
Keep up the great work 🙂
Totally forgot to close this issue. My apologies.
Just for the record, I determined the cause of my problem to be similar to conclusion Optica & Ben reached above – namely:
– I had defined a custom function in my theme functions.php which i had then referenced in one of my widget logic rules – thence, i inadvertently updated theme, therefore function undefined, therefore white screen of death.
What’s ultimiately required to make this safer i think is either a try-catch loop (& app. error management) around expression eval in plugin code, else some sort of pre-parse/if function_exists type tests around the same.
if i get the timem i’ll take a closer look at the code again & see what gives.
Hope these notes help someone else out there.
thanks for taking a look Alan,
Very strange indeed.
I will do some further investigation – maybe its a corrupt wp install my end (I can’t see what else it can be – nothing else active).
I’ll let you know what I find.
All best
Hi Alan,
Thanks very much for the response.
Tried all possible combinations of: Widget Logic Options – ‘Load Logic’, ‘Use wp_reset_query_fix’ & ‘Add widget content filter’ – all same result I’m afraid – white screen of death on all front-end pages.
NOTE: I get the same result using the new WP 3.8 + 2014 Theme – which should be easier for you to test & replicate the issue.
Forum: Themes and Templates
In reply to: [Responsive] Responsive Theme V1.8.4.1 breaks WP V3.8 home pageThanks for the advise WPyogi – will do.
ppps. Via experimentation, I have found that although widget logic does indeed seem to break some pages of Responsive theme, it is Responsive theme iteslf which actually appears broken, since it shows white ecreen of death when wp settings hope page = static page is also selected.
I Will get on to cyberchimp & see what they have to say.
pps. although i have the plugin activated, i have NO widget logic expressions entered in any of the widgets – still breaks theme.
ps. it also seems to break the new 2014 theme in the same way.
i too have the same problem/requirement.
it is not good that non-admin users see messages and links like this – it suggests that plugin security has not been properly addressed (even if there is no actual exposure).
thanks for any advise/feedback.
i have exactly the same problem: vis:
‘You can also subscribe without commenting’
– links to eg:
http://mysite.com/comment-subscriptions?srp=10820&sra=s
– which just gives ‘page not found’ error. (even if i create that page manually, it show no content related to the plugin).
some assistance/feedback from the developer/anyone else would be most welcome, since otherwise this looks like a really useful plugin
hi slickremix,
thanks for the fast reply.
yep got all that. in case this is helpful to anyone else out there: in order to override the standard plgin css file here what i did was apply a temporary hack to the plugin file:
/wp-content/plugins/design-approval-system/framework/das-default-template.php– at the top of that file, replace the existing hardcoded html link to plugin’s css file with the following (or similar):
<?php //mod jrc 290112 - allow stacked child theme plugin override css's $scl_stylesheet_file_path = get_stylesheet_directory() . "/plugins/design-approval-system/templates/slickremix/css/" . "styles.css"; if (@file_exists($scl_stylesheet_file_path)) { $scl_stylesheet_file_uri = get_stylesheet_directory_uri() . "/plugins/design-approval-system/templates/slickremix/css/" . "styles.css"; ?> <!--scl child theme plugin ovverride for das template CSS--> <link rel="stylesheet" type="text/css" media="all" href="<?php print $scl_stylesheet_file_uri;?>" /> <?php } else { //orig ok: ?> <!--default das template CSS--> <link rel="stylesheet" type="text/css" media="all" href="<?php print DAS_PLUGIN_PATH ?>/design-approval-system/templates/slickremix/css/styles.css" /> <?php } //end if // maybe: Enqueue the style sheet // maybe: wp_enqueue_style('etc'); //mod jrc 290112 - allow stacked child theme plugin override css's ?>– i think this is pretty wp/plugin/child-theme-friendly, but migt be improved further to search a wider selection of possible places peolple might want to store plugin override stuff for their thems.
– i suspect also, you might want to do similar logic for all plugin template files, js files, etc – else provide some further wp custom hooks and filters to facilitate same.
all best