dagon-design
Forum Replies Created
-
Forum: Plugins
In reply to: Starting stats totalI just searched and found a few previous posts where people stated that this cannot be done.
If you want the same type of stats on your self-hosted WP install, here is the plugin to do it:
Forum: Plugins
In reply to: [Plugin: Permalink Converter] Doesn’t WordPress do this already?Yes, WP will redirect the user to the permalink.
I looked at the code for that plugin – basically it is for people who have non-permalinks scattered around their old posts/pages, but are now using permalinks, and want the old links to look nice.
Even though it will still take visitors to the same place, it just makes them look nicer, and it is easier than going through the old posts manually to change them.
Forum: Plugins
In reply to: Category Count in a titleWhat is the code currently being used to generate that list?
Forum: Themes and Templates
In reply to: Run php script from theme backendDoes it act like it is going to upload, but stop? Does it give an error?
Perhaps it is giving an error/warning, but not showing it. You could add this to the top of the file:
error_reporting(E_ALL);Forum: Plugins
In reply to: image widgetDepending on your situation, my form mailer plugin may work for you. It supports file uploads.
That will work if you simply want the images sent to you. If you are looking to have them immediately shown on the site, another method would be needed.
Forum: Plugins
In reply to: Please help me fix this regexThe problem is that in the first grouping (for the ‘hello’), you are including a space in the list of possible characters. That means it will grab the space after the ‘hello’.
You cannot use trim like that, as all you are doing is trimming the string ‘\1’ and not what it will be replaced with.
Change the line to this:
$content = ereg_replace("\[([0-9a-zA-Z\(\)\'\"\?]*)[ ]*\-\>[ ]*([0-9a-zA-Z:/\.\_\-\'\(\)\?\=]*)\]", '<a href="\2">\1</a>', $content);And it will work, since it will no longer allow spaces in the first group. It will be handled by the [ ]* instead.
Forum: Fixing WordPress
In reply to: index.php prompts me to save or downloadSounds like PHP is not processing the files – it may not be configured correctly.
Can you create a test file to see if it works? Like this:
<?php echo 'test!'; ?>Are you set on using IIS? If not, there are some nice packages you can download which include Apache, MySQL, PHP, etc.. all pre-configured. All you do is install and everything works out of the box.
I sometimes use this one:
Forum: Themes and Templates
In reply to: Pictures are warppedI checked again – I primarily use Firefox, and that shows absolutely no images (except your background image). Internet Explorer _does_ show images, but messed up the way you mentioned.
Forum: Fixing WordPress
In reply to: Post 2.8 upgrade, links to monthly ARCHIVE don’t workYou don’t need to change them, just click ‘Save Changes’ again.
Forum: Installing WordPress
In reply to: Missing PostDid you delete the post, and re-create it?
WordPress does not reuse post/page IDs. So if you have 10 posts, delete them all, and create a new one, it will be number 11.
If you enable permalinks, those numbers will not be shown anyway.
Forum: Fixing WordPress
In reply to: Need a non-hacky creative solution re: Posts and PagesI would certainly use posts instead of pages.
The theme files could easily be modified to not list them.
Are you also going to have actual blog posts? so some posts would be on the index?
If not, you could simply use a static page for the index.
If you are, you could have an extra category for items, and just exclude that category in the ‘blog’ listings.
Lots of options 🙂
Forum: Fixing WordPress
In reply to: Post 2.8 upgrade, links to monthly ARCHIVE don’t workI would try re-building the permalink structure in your admin panel. It may just need to re-generate the links.
Forum: Fixing WordPress
In reply to: Background Image in Page or PostYou can do a simple conditional statement to see if it is a certain page, and if so, add extra css, etc..
<?php if (is_page(1) || is_page(2) || is_page(3)) { // add extra css here }That will be triggered if the page ID being viewed is 1 2 or 3
Forum: Fixing WordPress
In reply to: navigation tags?Not really, you can just add a normal html link to your home page in your theme’s footer.php file:
<a href="http://yoursite.com">Home</a>Forum: Plugins
In reply to: RSS feed to make blog posts