redsalmon
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: add a custom read-only fieldTry the Advanced Custom Fields (ACF) plugin. It gives a lot of options for setting custom fields.
Forum: Fixing WordPress
In reply to: Updated to 4.9, won’t detect page template…Thanks Connor, that helped a sore head taking any more bangs. Deliberately breaking functions.php also clears template cache but much nicer to have a button.
I kinda understand the cache intention if it speeds up admin but as others say an on/off button for it would be v useful.
Forum: Fixing WordPress
In reply to: auto update to 4.5.3 strips menu itemsBase theme: flat bootstrap https://en-gb.www.ads-software.com/themes/flat-bootstrap/
Child : https://xtremelysocial.com/wordpress/developer/
As far as i understand theme converts standard front-end wordpress menu display code to standard bootstrap display code. But I don’t see how that would affect menu admin input/output or database storage.
thanks for your interest . I’ve got a couple of other sites using same theme/child that I manually update, if similar shenanigans there i’ll come back and report; otherwise i take it as further proof that coding just aint as logical as we believe it to be ..
Forum: Fixing WordPress
In reply to: auto update to 4.5.3 strips menu itemsActually I probably did have https://# or # as URL before . That’s my usual practice. The update strip happened on 2 (almost exact) copies of the same install, one on remote server, one on local, so it was definitely the upgrade caused issues.
Forum: Networking WordPress
In reply to: Multisite how to working for user registrationWith my wpms set up a subscriber on one blog can access ‘user only’ content on another blog with is_user_logged_in() but not with current_user_can(‘read’) i.e. they are recognised as being logged in but not as having read capability.
current_user_can(‘capability’) not working for me.
Forum: Everything else WordPress
In reply to: ridiculous short timeout on posting comments in wp forumsbut, he says sheepishly , if i get Secure Connection Failed on https://www.ads-software.com/support/bb-post.php and hit Try again it works to post comment.
So i’m intepreting this as a mozilla problem (and me not bothering to try again cos it never usually helps)
thanks again
Forum: Everything else WordPress
In reply to: ridiculous short timeout on posting comments in wp forumsthanks for reply. Yes my timeouts have been very short , less than 5 mins sometimes. what you say makes sense , it’s too short to be a forum code issue.
Lazurus Forms is very good tip…
Forum: Networking WordPress
In reply to: Multisite different registration pages?You might find it easier to use standard wordpress installs and use a user syncing plugin or user bulk upload plugin to manage users across the separate sites.
Forum: Networking WordPress
In reply to: Multiple domains mapping optionsI would not rely on that plugin. you may find it creates more problems than it solves. read the support threads for the plugin because you may get same functionality with native wpms settings.
Forum: Networking WordPress
In reply to: Multisite how to working for user registrationIn WP multisite, adding or registering a user makes them a network user. This gives the user’s subscriber access to all other sites – without explicitly being given the permission in wp-admin.
Is that definitely true? I’ve seen same stated in codex but I don’t see that behaviour. I have a members only (page template) area on one subsite viz
<?php if ( is_user_logged_in() && current_user_can('subscriber') ) : ?> <?php the_content(); ?> <?php endif; ?> <?php if ( !is_user_logged_in() || !current_user_can('subscriber') ) : ?> <p>Please log in to see members' only content:</p> <?php wp_login_form($args); ?> <?php endif; ?>
but if i try to login to protected subsite as a user registered on another subsite i don’t get access. I have to explicitly add the user to the protected subsite in admin to get access.
This all users as subscribers anywhere on network functionality would be useful for me but i don’t see it. Maybe it changed in recent wpms versions?
thanks
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Why the reluctance to fix issues and update?sorry please ignore me, after reading more threads i see it is amazingly true. I’m off snoozing soundly, thanks all.
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] Why the reluctance to fix issues and update?Thanks for above. Excuse me if I’m repeating joe’s question but I hope to be crystal clear here. I’ve inherited a site using domain mapping plugin and email trails for changing passwords/adding users etc are messed up and my head with them.
So now to change eg mainsite.com/subsite to nameiwant.com I simply –
- uninstall plugin and mop up config etc
- go to mainsite.com/wp-admin/network/site-settings.php?id=x
- in Settings tab enter https://nameiwant.com into the Siteurl and Home fields etc
- ensure dns record for nameiwant.com is pointing to right server
- check content for links
- get some sleep
If that’s true it’s amazing , if not I know where the bar is .. can you confirm bed or bar please?
ok i stopped the duplicate send with below added to my DIY plugin –
add_filter( 'wpmu_welcome_user_notification', 'stop_it_sending'); function stop_it_sending(){ return false; }
see: https://codex.www.ads-software.com/Function_Reference/wpmu_welcome_user_notification
and changed the ‘wordpress‘ name in emails users recieved (because they know nothing of wordpress and why should they?)
add_filter('wp_mail_from_name', 'new_mail_from_name'); function new_mail_from_name($old) { global $post; //code here to work out $fromname $fromname = $newname return $fromname; }
See: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/wp_mail_from_name
Thanks again to plugin devs
Plugin is useful thankyou. But why 2 emails? Why not stop the email sent from wordpress and only send the email from plugin ?
The wordpress email is confusing for users (and me). It doesn’t give user any information. Easy to edit plugin to change the text of the wordpress email but how can I stop it from sending?
Forum: Plugins
In reply to: [Testimonials Widget] not rotatingthanks for quick reply. full site is in development and password protected.
however i think problem was site in wpdebug mode . this was affecting other wp native jquery calls – wp media loader etc. I will check and report in a few days, right now it’s deadline chasing time.