themarco
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: using an extra parameter in an URLThanks a lot Otto, this was extremely helpful! In the hope that it will help others here’s my final working solution:
function add_my_var($public_query_vars) { $public_query_vars[] = 'myvar'; return $public_query_vars; } add_filter('query_vars', 'add_my_var'); function do_rewrite() { add_rewrite_rule('mypage/([^/]+)/?$', 'index.php?pagename=mypage&myvar=$matches[1]','top'); } add_action('init', 'do_rewrite');
Forum: Fixing WordPress
In reply to: using an extra parameter in an URLNot sure what you mean here. When I load /mypage/marco, WordPress redirects back to /mypage/. There seems to be no way to have the extra ‘marco’ bit and read it in plugin code. Well that is, there probably is one but I can’t seem to understand the whole rewrite voodoo in WP.
Forum: Fixing WordPress
In reply to: Changing the database prefix: admin rights gone@michaelh I guess there’s several places where it would be handy. I suggest at least to put it here. It’s one of the pages I consulted when looking for answers on what went wrong.
Furthermore, I don’t know if there is a page dealing with this but if there’s a page about what to do when you can’t login as admin anymore it would be good to list changing the database prefix as a potential reason as well, including telling people to check out the options table and change the keys according to the prefix change.
Hope this helps!
Forum: Fixing WordPress
In reply to: Changing the database prefix: admin rights gone@michaelh> That’s gotta be it! I never realized that would screw everything up. It may be worthwhile to mention that somewhere in the docs because I didn’t find it anywhere. I did see the key names when I was fiddling around but I never realized this actually needed to be ‘in sync’ with the prefix.
Forum: Fixing WordPress
In reply to: Changing the database prefix: admin rights gone@whooami I apologize. I overreacted a bit.
Forum: Fixing WordPress
In reply to: Changing the database prefix: admin rights goneThat’s exactly what I did. I let WP create the tables. But I had to migrate a lot of prepared data from the test server to the live server which is why I couldn’t start fresh. There was a database full of posts on server A using wp_ as a prefix which needed to be placed on server B with prefix maghreb_ because wp_ was already in use on that server.
Yes I renamed all tables, Yes they were using the same schema. I took care of the home URL, everything. I’ve done at least 10 custom WP sites so believe me, I know about the basics.
I’m not the retard that you think I am. Or I wouldn’t have posted this story.
Forum: Fixing WordPress
In reply to: Space / linefeeds in RSS -> broken feedsAnyone? ??
Forum: Plugins
In reply to: Taggerati for WordPress?Since I see this thread still quite often results in referrers in my stats:
Taggerati for WordPress can be downloaded HERE.
Forum: Plugins
In reply to: Taggerati for WordPress: feedback please!small bugfix release weird wrong tags were generated in certain occasions. This problem is gone now.
Forum: Requests and Feedback
In reply to: _wp_page_template keeps being resetI’m defining it for a page, not for a post….
It displays weird behaviour. Sometimes it works if you do it the very first time you create the page. Edit it again and it’s set to ‘default’ again. I’ve even seen it create two rows in wp_postmeta.I’m using a custom template for some static pages. Whenever I edit them I have to rush to phpmysqladmin to fix these entries or the pages will be borked ??
Forum: Themes and Templates
In reply to: Static front with full blog in /blog/I tried various plugins that were posted here but what I want appears really impossible to me but I’ve seen people do it. I just want / to be static and /blog/ to be the completely normal wordpress weblog index page. Anyone?
Forum: Plugins
In reply to: Meet Hardened Trackback – spam free trackbacks!Forum: Everything else WordPress
In reply to: WTF! They even spam shoutboxes!!Some tips: Make sure the script can only be called with YOUR SITE as a referrer. Secondly, add the form to the page with javascript document.write() instead of just outputting it. Add some hidden form value with a key to match to the form which is checked before adding the remark to the shoutbox. These modifications should be enough to prevent it from being spammed.
They’re pathetic. People will spam just about EVERYTHING, they’re even spamming my bloody feedback form…
Forum: Plugins
In reply to: SiG::Integrated the trapper keeper of pluginsI love the idea but the plugin’s output still looks very crufty. I’m not a fan of all those tables either. This could grow into something awesome though. How about adding some Ajax as well?
Forum: Plugins
In reply to: Taggerati for WordPress: feedback please!Version 1.1 has been released. More configurable options are available:
– feed-fetcher can be enabled/disabled
– flickr can be enabled/disabled
– amount and size of flickr images can be configured
– size and ordering of lists can be configured
– rss cache now works.