259 reputation
1311
bio website
location
age
visits member for 3 years, 8 months
seen Dec 19 at 17:12

Oct
31
comment Import wordpress mysql database to unknown server / domain
Right. I'm saying just make up a domain name and a path and then include customer-specific scripts that rewrite the domain and name to the correct values for that customer.
Oct
31
comment Custom shortcode with dynamic rewrite
Here's a basic plugin I wrote that is unlikely to be helpful: github.com/barrycarter/bcapps/blob/master/BCINFO3/sites/…
Oct
31
comment Import wordpress mysql database to unknown server / domain
Suggestion: pretend the new domain is example.com (or something) and include scripts that update example.com to the users actual installation?
Oct
31
comment Custom shortcode with dynamic rewrite
So you haven't written the function that processes the shortcode? Something like "THIS_PAGE_URL/one" and so on?
Oct
31
comment Custom shortcode with dynamic rewrite
Is it private? If not, could you put it online on github or something? That would even allow people to help you by directly editing your code.
Oct
31
comment Add button in users.php
You mean "0" in the second to last line above, right?
Oct
31
comment Custom shortcode with dynamic rewrite
If your code is open source, could you give us a link? Are you saying you want 'one' and 'two' to be passed as GET parameters to a PHP script or Wordpress document, but the same PHP script/Word document each time? Do you know how to read the GET parameters in a WordPress plugin?
Oct
30
comment two permalinks for the same post
You could always create a redirect page?
Oct
30
comment Import wordpress mysql database to unknown server / domain
If you don't know where you're moving the wordpress installation to, why do you want to migrate it? Give us a little more detail, please?
Oct
29
comment Generate image size, based on the image-orientation
Can you write a plugin that wraps add_image_size() and takes orientation as a parameter? I can't imagine that WP could figure out orientation by itself?
Oct
28
comment Export/Import xml
How do you split the XML into smaller chunks? A section of an XML file is not itself an XML file.
Oct
28
comment Wordpress search not able to find text in url
I agree, but when I search for North Carolina, many pages show up. When I search for "masters in embedded" (no quotes), only one page comes up. Are you seeing different results?
Oct
28
comment Export/Import xml
The special characters in the Spanish language (n tilde, grave/acute accents) might be the issue. You mention using mysqldump (which is the way I'd do it) and "changing all prefixes". What does that last part mean? Why do you need to change prefixes? Do you mean site name prefixes?
Oct
28
comment How can I remove page slug for all pagings?
You could edit the WP database directly (after backing it up) if you can't find a plugin.
Oct
28
comment Generate image size, based on the image-orientation
Do you want to do this automatically in WP, or can you use an external program and then upload the images? If you can use an external program, just determine orientation and convert to just the 4 images you need. You could also convert on the fly, but that might become CPU intensive if you get a lot of traffic.
Oct
27
comment Retrieve password only by login. Users with same email
So you will email someone their password once they type in the username, even if they don't know/remember the email address they used to register?
Oct
27
comment Upgrade local version of WordPress - links point to live site
I just dumped my wordpress db and found my site name in lots of places. Have you checked wp_postmeta? If not, try doing a dump and grep.
Oct
27
comment Relative URL filtering
Urm, add a str_match for your site's URL and return without adding filters if the URL doesn't match?
Oct
27
comment Wordpress search not able to find text in url
My experience has been that most search engines (including WP) find the "most relevant" hits for your search. Searching for North Carolina yields some hits, so the page you reference might simply be considered "not relevant enough" to display. Note that searching for "masters in embedded" (no quotes) DOES work, so the page is being indexed.
Oct
26
comment Featured Images missing on migrated site
Can't you just update the postmeta entries from the old db to the new db?