ColdForged
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: author page and ht access problemsI have to tell you, this code right here:
$authname = strpos(get_query_var('author_name'), 0, 1);
$offset = strpos(get_query_var('author_name'), '_');
$authname .= strpos(get_query_var('author_name'), $offset++, 1);Is a total mystery to me.
strpos()
returns the integer index within the first parameter of the second parameter. Assigning an integer to$authname
is just… wrong. Perhaps you meant to usesubstr()
?Forum: Fixing WordPress
In reply to: referral spam from random wordpress blogs4. They all send the same user-agent [ “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)” ]
Thanks for that track-down, whoami. I’ve gotten a slew of these over the past couple of days, all illegitimate.
Forum: Fixing WordPress
In reply to: Search broken when permalink structure changedHard to tell, I don’t know which theme you’re using :). Likely either
searchform.php
orsidebar.php
or evensingle.php
depending on how your theme is laid out. It looks like a Kubrick-based theme, so my guess issearchform.php
.Copy everything out of that theme and paste it at a pastebin, then post the link here, please.
Forum: Fixing WordPress
In reply to: Search broken when permalink structure changedWhat does the searchform in your template look like. The problem is on your individual pages the
action
field of your form has incorrect information. Your searchform isn’t populating it correctly.Forum: Fixing WordPress
In reply to: Comments in Pages?Forum: Fixing WordPress
In reply to: IE not calling up stylesheetSeems like it’s having a problem with the format you’ve put in to your blog address or WordPress address under “Options”. Here’s what stylesheet it’s attempting to pull up:
https://70.84.65.106/~notmeme/wp-content/themes/wuhan/style-ie.css
instead of the expected:
https://notmemberdat.com/wp-content/themes...
Forum: Fixing WordPress
In reply to: Comment form closed?Either it’s an error in your template or you’ve disabled comments in the particular post, or you’ve disabled comments overall. Go to “Options => Discussion” and make sure the options look correct.
Forum: Fixing WordPress
In reply to: Other blogsYes, that’s either a trackback or pingback. See here for more information.
Forum: Plugins
In reply to: Plugin on specific page onlySince you failed to mention which plugins, I’ll just simplify the answer to “no.” There’s no way to generically have plugins only run on certain pages.
Forum: Fixing WordPress
In reply to: Marked comment as spam, but it’s still under comments in sidebar…Nope, I haven’t. Then again, how do you define “recent reply display”?
Forum: Fixing WordPress
In reply to: Marked comment as spam, but it’s still under comments in sidebar…No, it does a whole lot of nothing right now. They’re stored for the possibility that some future code — either core code or a plugin — will come along and do “something” with them to improve detection of future spams.
Forum: Plugins
In reply to: array_rand helpGreat news, glad you got it sorted out.
Forum: Fixing WordPress
In reply to: Marked comment as spam, but it’s still under comments in sidebar…There’s no magic to it… the
comment_approved
field has 3 values: 1, 0, or spam. Any database query that doesn’t have aWHERE
clause that explicitly checks for a 1 in thecomment_approved
field will pull out spam comments, be it from naive plugins or naive themes. Removing the spam comments from the database will obviously make them not appear, but they’re not “special” in any way.Forum: Installing WordPress
In reply to: Automatically changes of .htaccessEverything between the
#BEGIN WordPress
and#END WordPress
are subject to deletion. Put your custom stuff outside of those directives and you should be fine.Forum: Fixing WordPress
In reply to: category in title on post pagesTrue. There’s apparently no function to just print names of categories. You’ll need to create a function, perhaps in a plugin.