abyssknight
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Subdirectory and RewriteEngine issues…“RewriteEngine off”, which does not work for some reason, is what I was using to turn it off.
Thanks for the reply, by the way.
Forum: Plugins
In reply to: Parsing the_content for custom tags, and other html tags for a new pluginWhat you would do in that case is run that same code again, but only on the part of the string after the </slideshow> of the first one (you got this with stripos). You could essentially run that until stripos returns false.
Forum: Plugins
In reply to: Parsing the_content for custom tags, and other html tags for a new pluginYou could do the horribly brute force way, which I would probably do it because I have no clue about regex. First, stripos for <slideshow> then stripos for </slideshow> and pull the string between them using substring. Then, explode on <img to get an array of strings of the format src=”https://www.yes.com/0.jpg” alt=”This is the first image” /> then str_replace the things you want to get rid of (the end of the tag, src=”” and alt=”” etc.), and ta da you have data. ??
Forum: Plugins
In reply to: Need to filter or hook just after body tag…Anyways, I went ahead and just had it filter the_content and add it to the front as the last filter. Works for me. ??
Forum: Plugins
In reply to: Need to filter or hook just after body tag…Well, its the MyBlogLog script tag. Their site says that for best performance it needs to be right after the begin body tag. You can have the script anywhere on the page, but because of the way it parses links via the DOM it works best at the beginning of the page. ??
Forum: Plugins
In reply to: Need to filter or hook just after body tag…I’ve heard of this, I may need to look into it. I certainly don’t want to conflict with anything WordPress is already doing… Thanks for the idea!
Forum: Plugins
In reply to: Need to filter or hook just after body tag…I’d like to make it work for any theme. Basically, I am integrating a web-service into WordPress. It’d be great to just find the body tag and replace it on the fly. I want to make this easy to use, so all users can easily install and use it right out of the box.