Axel13
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Social Login] How to add custom Icons?I’ve no clue why, but a friend said he couldn’t see the social provider icons on my site, except on hover (when the original icons are shown). This solved when changing the AdBlock settings…
Looking into this, I found extensive documentation on how to change the icons.
The author recommends to set Widget > Basic Settings > Social icon set to “None, display providers names instead of icons” (wouldn’t work for what I did), yet he also suggest to set different icons as background image.
Ah… Maybe that’s it, I forgot to add this here, but included it in the pastebin. You probably need to set the width and height and add inline-block as display:
.wp-social-login-provider { width:32px; height:32px; display: inline-block; }I hope that (or the documentation) solves it GL!
Forum: Networking WordPress
In reply to: How do I delete sites?I think you wrote about this, Mika 🙂
http://halfelf.org/2010/moving-your-images-for-multisite/
http://halfelf.org/2012/dumping-ms-files/VFHwebdev, your files are likely in a directory ‘blogs.dir’ instead of ‘uploads’. I assume the 0 or 1 changes where WordPress looks for the files. Perhaps the posts could help, but I wouldn’t try it anywhere else than on a test site.
In fact, especially since finding a solution is on the core dev’s to do list and while/because I’m not at all sure it would, I’d probably delete the ms_files_rewriting again to make sure it does not interfere with any future update that aims to solve this.
If I’d need to delete a site once in a while, I’d leave it there, but I’d turn off automatic updates and verify whether a solution is included before updating.
Alternatively, if I would want to get the issue out of the way permanently, and if the site is not too big and if it’s not a drama when it’s offline for a (little) while, I’d install a new WP on a temporary domain (could be subdomain or a free .tk), import the sites there and when all is ok, move it to the current domain.
– my2ct.(And you’re welcome, glad you at least managed to delete the site 🙂
Forum: Networking WordPress
In reply to: How do I delete sites?VFHwebdev, if ms_files_rewriting is missing, perhaps you can – take a backup first – then insert it, if meta_id 19 is free…
meta_tag = ms_files_rewriting
meta_id = 19
site_id = 1
meta_value = 0The rest is not selected (functions) and not checked (null).
Looking at the image of the settings is perhaps easiest.Again I’d prefer to see someone confirm that this is good advice though… but that’s what I would do.
Forum: Plugins
In reply to: [WordPress Social Login] How to add custom Icons?Hey Rastalamm, do you make use of the AdBlock browser plugin, or something alike? If so, could you deactivate it, or change settings to allow social media (on your site)?
Twenty Twelve uses conditionals for page-templates (wide screen):
if ( ! isset( $content_width ) ) $content_width = 625; function twentytwelve_content_width() { if ( is_page_template( 'full-width-page.php' ) || is_attachment() ) { global $content_width; $content_width = 960; } } add_action( 'template_redirect', 'twentytwelve_content_width' );Twenty Thirteen uses conditionals for post-formats (videos & images):
if ( ! isset( $content_width ) ) $content_width = 604; function twentythirteen_content_width() { if ( has_post_format( 'image' ) || has_post_format( 'video' ) || is_attachment() ) { global $content_width; $content_width = 724; } } add_action( 'template_redirect', 'twentythirteen_content_width' );source: feature request – add_theme_support( ‘content-width’, $defaults )
@fourwhitesocks – TY & glad it helped! 🙂 I use 7zip, but I doubt this matters, because the error happens on download, before 7zip gets involved. For some reason the download doesn’t finish entirely. I mentioned it on the feedback form when uninstalling Avast…
Forum: Networking WordPress
In reply to: How do I delete sites?It’s beyond my scope, but it seems you get stuck after the status gets updated @ /wp-admin/includes/ms.php#L83.
Below that line, there are a couple of cases mentioned in which the blog does not get deleted:
- If a full blog object is not available.
- If it’s the initial, main, or root blog.
- If ms_files_rewriting is enabled and upload_path is empty.
1. I’m not sure what this is, but would guess ID, domain, path and site name.
2. Not the problem, since it’s the same for new blogs.
3. Is you site 3 years old?
ms_files_rewriting used to be enabled by default (3 years ago), I don’t know if this changes on updates, perhaps it is still enabled on your site… You can find it, f.ex. via phpMyAdmin, in the main site’s (wp)_sitemeta database table. If the value is 1, you could try to change it to 0, however, there must be a reason why WordPress does not change this automatically… Perhaps wait for a confirmation that this is ok.
upload_path can be found in the blog settings (network admin), but on my site, it’s empty for all sites. If you would not have access to the database to check the above, you could try to fill the upload_path with the folder where you store uploads (/wp-content/uploads/).
I hope this helps. GL with it!
Forum: Networking WordPress
In reply to: How do I delete sites?Looking in that file my guess is that this is used when users (not network admin) delete their site. Then the blog status gets updated to ‘deleted’ until confirmation. Upon confirmation the blog’s tables should get dropped.
Still, I would expect that the network admin should be able to delete a blog, marked as deleted or not.
Trying it on my site from the network admin, I get asked to confirm deletion, ms-delete-site.php is not used there.
URL:
…/wp-admin/network/sites.php?action=confirm&action2=deleteblog&id=[ID]&msg=You+are+about+to+delete+the+site+[SUBDOMAIN].&_wpnonce=[NONCE].text:
Confirm your action
You are about to delete the site [SUBDOMAIN].
[confirm]When I confirm, the site’s tables get removed from the database.
So, to me this seems unexpected behaviour indeed.Could you try to create a new site and see if this one can be deleted? If it doesn’t cause the same issue, it may be just a problem with this one site, in which case you could drop its database tables…
Forum: Networking WordPress
In reply to: How do I delete sites?Weird. I don’t recall ever been asked to confirm deletion via email. Perhaps you could try to delete it on the site’s admin via tools > delete site (…/wp-admin/ms-delete-site.php), but you should be able to do it from the network admin.
Forum: Plugins
In reply to: [WordPress Social Login] How to add custom Icons?You could hide the image with ‘display:none’ and add your custom icons as background.
f.ex.
1. replace the Google icon.wp-social-login-provider-google img {display:none} .wp-social-login-provider-google {background: url('yourgoogleicon.png')}2. Replace default icons with b/w ones and show original on hoover
http://pastebin.com/KbCAchNDEnjoy!)
Forum: Plugins
In reply to: [Simple Lightbox] errors in log, maybe theme related?Same here. I still see the same errors and one new:
Strict Standards: Only variables should be assigned by reference in .../plugins/simple-lightbox/includes/class.options.php on line 283I can’t present a sample page, because the log runs full in no time and I need it for something else, so I removed the plugin for now.
I do look forward to its return though.
GL with it!Forum: Plugins
In reply to: [Simple Lightbox] errors in log, maybe theme related?Hello Archetyped, thank you for looking into this.
I found the solution for my theme on your GitHub. It loaded jQuery 1.11.2. I didn’t know WordPress takes care of this. Good to know 🙂
I’ll let you know in case I still see Simple Lightbox in my error log now, but I’m currently not debugging. It may take another while.
Either way, I’m glad it works. TY!
Forum: Networking WordPress
In reply to: Admin email no active linkI would guess that smth is wrong with the custom login plugin(s), in which case it’s best to ask the author, or to choose a different one or method.
I had a similar problem today with my tar.gz backup, but had something similar with a zip earlier. The solution was to turn off/kick out Avast! antivirus.
Forum: Networking WordPress
In reply to: Admin email no active linkI have no clue what might cause this on your site. Do you have any plugins enabled that interfere with the login, or emails? Did you install the latest WordPress?
I would think that the message sent when retrieving a password gets generated by wp-login.php and that it should not have such variables…
Here is how it looks in my install:$message = __('Someone requested that the password be reset for the following account:') . "\r\n\r\n"; $message .= network_home_url( '/' ) . "\r\n\r\n"; $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n"; $message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "\r\n\r\n"; $message .= __('To reset your password, visit the following address:') . "\r\n\r\n"; $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n";If you only just installed, perhaps try a fresh download. Else perhaps resetting your password may help.