bubazoo
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Change in schema for 2.1?I keep getting
Warning: preg_replace() [function.preg-replace]: No ending delimiter ‘:’ found in /wp-install-dir/wp-includes/formatting.php on line 648
when I activate a few of my plugins. I upgraded them all to the latest versions, but yet I’m still getting this error after upgrading to 2.1
so I’m not real sure what this means.. missing delimiter, is that an error in the formatting.php file? or something they took out in version 2.1? I have no idea, haven’t figured it out yet
but am I the only one getting this error in 2.1? because so far I seem to be the only one reporting it, so something must have changed in 2.1, but so far the docs haven’t told me anything pertaining to this, so I haven’t figured it out yet
any ideas though? I could modify the formatting.php file I suppose, but I don’t know what the correct syntax would be, when variable names are in play, so I don’t know what to do about it really
also, I tried to get help from pierre, hoping that the problem was with his plugin, so I simply reported this error to him, and he banned me from his blog for doing so π
so if someone knows how to fix this error, could someone please pass on the information to me?
after the way pierre treated me on his site, I could care less about his plugin anymore, but unfortunately, he is the only one who maintains this plugin, so I’ll have to figure out how to fix it by myself I guess.
if anyone knows how to fix this, I would really appreciate the help π
thanks much
Tom
thanks wilsonke
I am running WordPress 2.1
recently upgraded from version 2.0.4
and this error started after the upgrade was completed, so I did not modify the stock files in any way.
Line 648 says:
$content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
specifically, lines 646-649 say
if ((strlen($content) > 0) && (‘<‘ != $content{0})) { // If it’s not a tag
$content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
}if that helps any, so, what do I do, put
/:.$wp_smiliessearch:/, $wp.smiliesreplace:/, $content);
like that? I am confused.
as I said, this is the stock wordpress 2.1 I did not modify it in any way, so is this a bug I found perhaps?
Forum: Plugins
In reply to: WordPress 2.1 and pierre’s version of AJAX ShoutboxAnyone know how to fix error
Warning: preg_replace() [function.preg-replace]: No ending delimiter ‘:’ found in /blog/wp-includes/formatting.php on line 648
anyone know how to fix that error? I have tried contacting the author, and they said noone else is having this problem with the plugin in 2.1, so it can’t be reproduced.
anyone know how to fix this error in formatting.php? whats causing it?
Forum: Plugins
In reply to: how do I calculate X years X weeks X days ago?or is there a tag or plugin that would do this for me?
its for my entries. thanks
Forum: Plugins
In reply to: plugin for admin functions in blog sidebar?well, I hope so, because I sure can’t seem to figure it out.
That plugin seems to only work for anyone logged in, which isn’t what I was looking for anyway, what I was looking for was a plugin for the sidebar for admin only type functions. or those with post author privileges. On my blog, thats only me. I wanted to hide it for everyone else.
Forum: Plugins
In reply to: plugin for admin functions in blog sidebar?yeah I did, couldn’t get it to work.
I could write my own plugin to do that, if there isn’t one, only thing I don’t know, is how to check if the user is admin or not?
I thought about doing
if (‘admin’ == $user_id) {
something here;
}but what if the admin changes his name? then what?
Forum: Plugins
In reply to: plugin for admin functions in blog sidebar?thanks, so much for the plugin information π but I don’t want to do a quickpost, just a link to the write new post page is fine for that. I thought maybe one of the dashbard plugins would work with the sidebar “shrugs” thanks anyway
Forum: Requests and Feedback
In reply to: Posting from PDA.I can’t either, never did find an option for this..
The main problem I have, is I can’t use my web browser on my pocket PC to make a post, because the screen is 240×320 in portrate mode. I can’t switch it to landscape, because I have Windows Mobile 2003 (not second edition) 2003 SE, and above, allows you to switch your pocketpc into landscape mode, to post in a blog, in a forum, etc etc, but since I am not able to do that without 2003 SE or above, I can’t post to my blog with my pocketpc at all.. haven’t figured out a way around it yet.
Forum: Themes and Templates
In reply to: are the register, login, and profile pages skinnable?thanks guys for those links. That was all I asked for, I didn’t ask for whoami’s commentary, just links to information and plugins thats all I asked.
instead I got lectured, which wasn’t what I asked.
It wasn’t that difficult of a question you know.. I haven’t been blogging for very long with wordpress. I am used to moveable type still, and wordpress is still a bit foreign to me yet. It may be easy for you guys, but not for me, esp when I have so much trouble seeing the codex as it is, because of the white and grey background here. I am visually impaired, so you guys need to give me a little bit of slack here.. White backgrounds are hard for the blind and Vistually impaired to read, so I have a hard time seeing content here, so sue me, all I did was ask for help I didn’t need all this crap..
for your information, I do fairly well considering I can only see 20/200 in my right, and 20/400 in my left. I’d like to see any of YOU blog and web design with poor eyesight like that… The behavior here was just downright rude, and although might be entertaining for some, it shows that you guys don’t care one bit about the visually challenged and disabled, so all I asked for was an answer to my question, some direct links so my eyes don’t have to so much information , these bright white backgrounds damage my optic nerve to begin with and I just don’t appreciate that kind of attitude at all when I’m just asking for a little help.
Forum: Plugins
In reply to: plugin to change blog description based on date?well, it was the only way to get the sidebars to expand/colapse like that, and to move them around by user preference.
and I just thought opening inline images up in a flash window above the blog was kinda neat π
anyway, I tried to put the plugin header above that code, into a .php file, along with that code below it, but I didn’t know what to put in my template file?
I tried
<?php daydesc(); ?> but that didn’t work, broke the blog. plugin activated ok, just isn’t displaying anything where its supposed to. So I give up on it tonight and I’ll work on it more tomorrow when I feel more like learning how to design a plugin.. since odviously I am not able to do it by myself.
Forum: Plugins
In reply to: plugin to change blog description based on date?oh I’m not pulling my hair out over it, its no big deal right now π
I don’t know, I was thinking the problem could be with one of my plugins. I’ve got the lightbox2 thing installed, and that flash image viewer thingy, and I’m thinking one of those could be causing the page to load slowly. I just don’t know if all my plugins will work with widgets or not and am too lazy to mess with it right now π hehe
as for the original question, I’ll work on it more tomorrow, maybe something will come to me in my sleep. lol
thanks
Forum: Plugins
In reply to: plugin to change blog description based on date?besides, not all my plugins come with widget support. the majority of ’em don’t
Forum: Plugins
In reply to: plugin to change blog description based on date?I tried, and it doesn’t work π
and yes widgets do slow things down. so do enough plugins as I’m finding out the hard way π My blog now already takes 22 seconds to do a single page load, thats 20x slower then ordinary PHP files, and 20x slower then my simple machines forum.. alot of it is because I have like 20 plugins installed and it slows the page load time way down, to the point where I have been recieving complaints about it.. I can deal with it now, but I don’t want to add a widget system for that reason, I don’t want even more complaints then I’m already getting π
Forum: Plugins
In reply to: plugin to change blog description based on date?well, I don’t care about widgets, as I don’t have the widget system on my blog anyway (and don’t care to, mainly because I’m scared that it will slow the loading time of my blog down more then it already is)
I just wanted to know how to write a simple plugin to do it is all. with a screen in the options admin menu for it so options can be customized, which is a bit beyond my scope. I’m not a programmer by any means.
I mean, that bit of code at the top there, I don’t even know where it goes, in my theme? a new file under plugins? or what? writing plugins is beyond my scope of understanding, and you shouldn’t have to be a PHP programmer to install a wordpress blog and add in some plugins is my point.