bjusters
Forum Replies Created
-
Forum: Plugins
In reply to: [New User Approve] WP 4.1 upgrade takes out admin panelif you disable the query made to list all approved users in the new user appro panel, _get_user_statuses in new-user-approve.php, second WP_User_Query, it will work, you just don`t get all the approved members listed, but you do get the new ones.
Not ideal, but it works with large grouos.
Forum: Plugins
In reply to: [New User Approve] WP 4.1 upgrade takes out admin panelhey Josh, did you find a fix for this?
i`m having the same problem. Just added 6000 users to a site and it results in an error 500 on the backend, memory exhausted (134217728), when i have the plugin enabled.
Do you think the problem is in the transient creation, or might it help to page the lists?
hope you can help me!
Forum: Hacks
In reply to: run function after wordpress native saveThe plugin wasn`t the problem, i was my lack of understanding of the hooks itself of which the plugin makes use as well.
For all the future readers of this post:
ACF stands for Advanced Custom Fields and has become an essential plugin for me in WordPress. (therefor ACF has become a normal verb in my dictionary:)
Forum: Hacks
In reply to: run function after wordpress native saveGrazie,
i fiddled around with it like a year ago or something to move data to xml, to relieve the database, and i got the idea is was triggered lateron.
I can see in the ACF code (that uses add_action save_post as well, didn`t think of that before either) this rule:
add_action('acf/save_post', array($this, 'save_post_lock'), 0); add_action('acf/save_post', array($this, 'save_post'),10); add_action('acf/save_post', array($this, 'save_post_unlock'), 999);
so i
ll just hook in at at least 1000 and i
ll be fine. Thanks for your wisdom, really appreciate it!Forum: Hacks
In reply to: run function after wordpress native saveThank you very much,
however this is still triggering it before the native WordPress save right?
i
ve "build" an ACF repeater field with 1 date field and four checkboxes, people fill in about 100 rows, that
s why i wanted wordpress to do it`s thing first, and after that i can just use the ACF repeater field to put it in an easy usable array (instead of the ACF backend $_POST array)the idea that got to me just now, is figuring out how i can prioritize my save_post hook in that way, that it
s get
s executed after the ACF save is done, in that way i can use it in my preferred way.thanks for the solution and the insight!
Forum: Themes and Templates
In reply to: Hook a function to run after save post is finished runningI have the same problem, but didn`t quite get the solution.
the save_post hook runs before wordpress does its native save right? I have an acf repeater field with lots of post data i don`t want to work through, just want to get the saved postmeta and put it in a seperate table (for rseraching it more efficiently on the frontend.
So does i run after the wordpress native save, and if so can you show me the code on how to do it (didne`t get clear to me on the save_post page)
Forum: Networking WordPress
In reply to: Multisite Reversed proxy folder rewriteI also can`t reach the wp-admin of a sub site, it says it ends up in an infinity rewrite loop. wp-admin of root site is working fine. If i delete the permalinkstructure for the subsite, i get a 404 on the page instead of the loop. There is no network setting for permalinks right (i have to set it individually for all sites)?
Forum: Hacks
In reply to: Auto create settings page for each custom post typeThis is the script to auto create the CPTypes, might be uselfull for someone:
[51 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Forum: Networking WordPress
In reply to: Network install with 1 site as a repositorytoughest issue remains, I think not only the display lights up the front end side, but to edit the backend side (and then also per site).
I am also thinking about a trick with child themes and plug a customized domain so I have a blog, not even a network install, which is to collect as several sites using domain names.
If anyone have any ideas / suggestions are very welcome!