garethjmsaunders
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Editor Tools] Newest TinyMCE doesn't allow ctrl 3? (h3)I can see why they’ve done it, being able to switch tabs in Chrome with Ctrl+3 is useful.
I’m really glad that this has been remapped to Shift+Alt+3 rather being dropped altogether. I would have found that to be even more tedious, and until I read this thread I didn’t realise that Shift+Alt+number was available — so thank you for that.
Forum: Hacks
In reply to: I am getting hacked evry two weeks? Help pleaseIn my case I think it was indeed MailPoet, installed on another domain that is also served from my hosting account.
This post from Sucuri helped me identify the cause:
WordPress Websites Continue to Get Hacked via MailPoet Plugin VulnerabilityForum: Hacks
In reply to: I am getting hacked evry two weeks? Help pleaseThanks Femio, I’m still going through my server files but I’ve discovered that I had a site on the same hosting account that had MailPoet on it — I wonder if that was the source of the vulnerability.
I also discovered that it wasn’t just WordPress files that were ‘infected’ but *any* .php file, including those for a small site that I wrote by hand.
I’m trying out Wordfence just now, which was recommended to me by the guy who administers the WordPress site at the university where I work.
Forum: Hacks
In reply to: I am getting hacked evry two weeks? Help pleaseFemio, did you resolve the issue and figure out what caused it? I’ve just experienced the same thing on one of my sites.
On the plugins page I was getting an error for each plugin, saying that “the plugin does not have a valid header”.
Which plugins are you using? This is what I have installed on mine. I wonder if we have a crossover:
Akismet
Antivirus
Batch categories
Getty Images
Google Sitemap Generator
Jetpack
Search & Replace
Search Everything
WordPress Importer
WP-DB Manager
WP-Security-Scan
WP-Spamshield
WP-Super-Cache
WP-Syntax
Yet Another Related Posts PluginI’ve just changed user, FTP and MySQL passwords.
The GoodSpace premium theme is using this plugin, and the documentation says “If your theme requires this plugin to be available it will work as a simple include.” so I guess the answer is yes.
Forum: Plugins
In reply to: [WP-Admin Icons] Problem loading the iconsAs I said, I’m running XAMPP 1.8.0 on a clean installation of Windows 8 Pro, on a machine with an Intel Core i7-3770 CPU at 3.40 Mhz, 16 GB RAM, and XAMPP is installed on a 120GB SSD. In php.ini memory_limit = 128M. The issue certainly isn’t to do with a lack of memory or hard drive space.
I’ve just discovered where the issue may lie. I have WordPress installed in a sub-directory on localhost, e.g. https://localhost/wordpress.
If I change line 89 of icons-scripts.js from
var url = ‘/wp-content/plugins/wp-admin-icons/includes/showfiles.php’;
to
var url = ‘https://localhost/wordpress/wp-content/plugins/wp-admin-icons/includes/showfiles.php’;
then I no longer get the error message. I don’t see the icons either, but placeholders, but it’s a start.
Any ideas?
Forum: Plugins
In reply to: [WP-Admin Icons] Problem loading the iconsSorry about my lack of information. That’s very unlike me.
I was testing it out on localhost. I can’t remember if I tried it on a remote server, but I doubt I did when I saw it wasn’t working on localhost (I’m running XAMPP 1.8.0 on Windows 8 Pro).
Forum: Plugins
In reply to: Allow Facebook group members to loginIn case anyone else is also looking for this functionality.
After a bit of digging around I’ve discovered that the plugin WP-FB AutoConnect Premium from Justin Klein offers the functionality that I am needing including “restrict auto-registration to Facebook friends, Facebook fans, Facebook group members, explicitly invited users, everyone, or no-one”.
Forum: Fixing WordPress
In reply to: "Page not found" for sub-pages of specific slugThank you indorock you just solved a mystery for me that I’ve been puzzling over for the last day. I’m using a premium theme from Obox called Knead which includes three custom post types: Portfolio, Quotes and Services.
I discovered that if I had a page with a slug of ‘portfolio’ then all the sub-pages resulted in a 404 error. Your post pointed me in the right direction, thank you. I changed the slug to ‘my-portfolio’ and lo! and behold! the rest of the sub-pages started working ok.
Thank you, once again.
Forum: Plugins
In reply to: wp-syntax plugin undefined function: do_action_ref_arrayI’m currently using WordPress 2.0.11 — simply because my webhost won’t support PHP 4.3 or MySQL version 4.0 … I know, I’m about to move to another host who realises that it’s 2009!
Anyway, using wp-syntax 0.9.2 if you open wp-syntax.php change line 106 from:
do_action_ref_array('wp_syntax_init_geshi', array(&$geshi));
to
do_action('wp_syntax_init_geshi', array(&$geshi));
the plugin works for me (although I haven’t done any extensive testing) without the “Call to undefined function” error. I found details about the function in the Codex:
https://codex.www.ads-software.com/Function_Reference/do_action_ref_array
Hope that helps.
Gareth
Forum: Plugins
In reply to: Search pages plugins not workingAha! I’ve now got the Search Everything plugin working, thanks.
I found that I had to configure the options twice — the first time I clicked “Save” I got the confirmation that it had saved the options, but all the options disappeared … very weird!
So I set the options again, saved and this time it remembered them.
All is well, thanks again.
Forum: Your WordPress
In reply to: Looking for some feedback on my new websiteI particularly like the picnic-table link in the header to the wp-admin. Very neat. Though I’m also a fan of a link in the header (image or text) back to the home page. Clickable trucks, perhaps?
Gareth
Forum: Themes and Templates
In reply to: Header tags: how do you use h tags in themes?Root, I certainly take your point:
Finally anything to do with links deserves much higher than h5. h2 I would think (if you are using them at all).
That was exactly what I was struggling with: do I return to h2 for #sidebar use, or continue on to the next unused header, in this case h5? In the end I opted for h5 … but it’s nothing that a global search-and-replace couldn’t alter at a future date if I change my mind! Maybe in my next site I’ll use h2 for #sidebar. I’m certainly a fan of commenting code — not only for other users, but for me too! I’ve got about 10 sites I work on, and it keeps me right.
I certainly found the interview article I referenced in my first post useful, and it was refreshing that the experts couldn’t agree either. But then, when html was created I don’t suppose they envisioned what the web would become. In those days it all about was single, hierarchical pages.
And thanks for the welcome to WordPress. It’s a great community, using a great tool. Keep up the good work.
Gareth
Further to my previous post about the advanced version of TinyMCE I forgot to say that I had already hacked the file
/wp-admin/quicktags.js
to include h3 and h4 tags, as I required.However, as I’m building this site for an organisation and the people who will be regularly updating the site aren’t au fait with HTML a WYSIWYG solution would be simpler for them.
I wonder if that WYSIWYG editor can be easily adapted. I’ll look into it at some point. At the moment I just want to get the site finished! What with (a) our host switching off the server completely, and subsequently being most unhelpful in a switch (server and domain names) to another host, and (b) the client changing their collective mind about website specifications every few days (in over 80 emails!!) we are now about 4-5 months behind schedule! If I do manage to alter it I’ll post back here.
Gareth
Forum: Themes and Templates
In reply to: Horizontal menu with sub-categories… and the reason that it doesn’t work in IE is that the ‘wise’ bods at Microsoft decided that users wouldn’t need to :hover over anything other than links. It appears that they were wrong.
There’s a cool Javascript workaround that fools IE into thinking that it supports hover … but I don’t bother. People should be using Firefox! Simple as that. ??
Gareth