itissue
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsI’m thinking you need to use $content but that just returns the text “Arrays”, so there’s more to it?
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsDoes anyone have any idea how this could work?
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesI came up with a solution, well sort of. What I did was created an index page that had this in it:
<?php header( 'Location: http://suefeng.com' ) ; ?>and put that into the folders I don’t want people to view such as wp-content, wp-content/themes, wp-content/plugins, etc. It doesn’t use .htaccess or the 404 page, but it still works.
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesMaybe I wasn’t clear enough on what I am looking for. An example site of this in action would be http://little-wonder.net. Try typing the following extentions after the url to see the results:
wp-config.php,wp-content,wp-admin. You can also try other extensions, even ones you know don’t exist likeasdf.Forum: Fixing WordPress
In reply to: Make index appear in other directoriesI still have no luck with this issue. Can anyone help me?
Forum: Everything else WordPress
In reply to: How to create a custom 403-forbidden?Wouldn’t they show the error document’s url if you use this method though? How can you make it so the url stays the same as whatever someone entered?
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesSo I tried both ways, and I got an Internal Server Error for all pages in my web site.
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesDo you put it in like this?
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Option -Indexes # END WordPressor like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Option -Indexes </IfModule> # END WordPressor something else entirely?
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesWell, wp-content still showed the files under that directory, but when I typed an invalid URL, the 404 page had an error:
Warning: Cannot modify header information, so I reverted back to my original 404 page.Forum: Fixing WordPress
In reply to: Make index appear in other directoriesSorry this didn’t work. Thanks though.
Forum: Fixing WordPress
In reply to: Make index appear in other directoriesCould you tell me what I need to write? I have no clue.
Forum: Fixing WordPress
In reply to: Disable automatic p and br tags in HTML editorAny sort of help will be much appreciated.
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsI’m guessing I’ll have to find a variable other than $description, but I don’t know what to use. Here’s an update on what the page looks like. Also, some entries don’t have dates showing under the titles. I’m unsure why.
Thanks for your time!
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsNevermind about wp-feedreader. I got the date stamp to work on my feeds page. Here’s the modified code:
<?php require_once (ABSPATH . WPINC . '/rss-functions.php'); $url = 'http://x.nuwen.com/feed/'; $rss = fetch_rss( $url ); if ( $rss ) { echo "<h4>" . $rss->channel['title'] . "</h4>"; $i = 1; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; $pubdate = $item['pubdate']; $description = $item['description']; echo "<span style=\"font-size:16px\"><a href=\"$href\">$title</a></span><b>$pubdate</b><div style=\"padding:0 20px 0 20px\">$description</div>"; if ($i == 1 ) break; $i = $i + 1; }}?>Now the only thing I really really want is for the entire entries to show up instead of just a few lines of text. Is there a variable in rss.php that I can use or anywhere?
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsI tried the wp-feedreader plugin. It’s great in that it takes feeds from your blogroll, and also creates a page under dashboard to view all the entries your friends have posted. You can also search for terms in the entries. The problem is, this plugin is outdated and I got three database errors. I was wondering if anyone could help me with that, since I don’t know much about MySQL. Here’s my error message:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ wp_linkfeeds WHERE wp_links.link_id = wp_linkfeeds.link_id A]
SELECT wp_links.*, link_name, link_url, cat_id, cat_name, link_favicon FROM wp_links, , wp_linkfeeds WHERE wp_links.link_id = wp_linkfeeds.link_id AND wp_links.link_category = .cat_id AND item_read = 0 AND wp_links.link_category = 0 ORDER BY item_date DESCWordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ .cat_name, wp_links.link_id, link_name, count(*) as num_unr]
SELECT SQL_BIG_RESULT .cat_id, .cat_name, wp_links.link_id, link_name, count(*) as num_unread FROM wp_links, wp_linkfeeds, WHERE wp_links.link_id = wp_linkfeeds.link_id AND wp_links.link_category = .cat_id AND item_read=0 GROUP BY cat_name, link_nameWordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ .cat_name, wp_links.link_id, link_name, link_url, link_favic]
SELECT SQL_BIG_RESULT .cat_id, .cat_name, wp_links.link_id, link_name, link_url, link_favicon, link_rss FROM wp_links, WHERE wp_links.link_category = .cat_id GROUP BY cat_name, link_name;