adeydas4
Forum Replies Created
-
Forum: Your WordPress
In reply to: theProjecTech — New & ImprovedForum: Fixing WordPress
In reply to: How do I upgrade?Forum: Fixing WordPress
In reply to: Can’t comment! What have I done?Put this code in place of what you’ve put:
<div class="feedback">
<?php wp_link_pages(); ?>
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
</div>
<!--
<?php trackback_rdf(); ?>
-->
<?php include(ABSPATH . 'wp-comments.php'); ?>
You just missed the last part which calls wp-comments.php for the comments and trackbacks.
–Abhishek.Forum: Fixing WordPress
In reply to: Upload to sub-folders…There is something called a mkdir() command in PHP but to use it, you have to be the owner of files, that is, you cannot use it on a shared server or when PHP is running in safe mode. Hence, its better to use PHP’s FTP function to create the directory and then move the file uploaded there using FTP (because PHP’s move property will not work in safe mode or on a shared server). The code is as follows:
<?php
// create directory through FTP connection
function FtpMkdir($path, $newDir) {
$server='ftp.yourserver.com'; // ftp server
$connection = ftp_connect($server); // connection// login to ftp server
$user = "me";
$pass = "password";
$result = ftp_login($connection, $user, $pass);
// check if connection was made
if ((!$connection) || (!$result)) {
return false;
exit();
} else {
ftp_chdir($connection, $path); // go to destination dir
if(ftp_mkdir($connection,$newDir)) { // create directory
return $newDir;
} else {
return false;
}
ftp_close($conn_id); // close connection
}
}
?>
A similar code can be written for moving the uploaded file though some values are needed from upload.php to do so. I guess, hacking upload.php would be the best option. May be somebody will do the dirty work or I may do it sometime late next month (since I am down with school work now)…
–Abhishek.Forum: Themes and Templates
In reply to: Charleen in Firefox1.0 RC1You may provide an absolute position instead of floating it right or decrease the width of the main content div. And like you said, it doesn’t happen in 1.0 PR.
Anyways, I must insist that RC 1.0 is not an ‘official downloadable for all’ release, so its better to wait for the next release, most probably the bug will be fixed there.Forum: Fixing WordPress
In reply to: url error paging thru categoryWorking fine here. Maybe the server developed some errors then.
Forum: Installing WordPress
In reply to: Stunningwelcome to WP… ??
Forum: Fixing WordPress
In reply to: Error establishing a database connection!It cannot connect to the database. Did you change wp-config.php??? Here’s the error, its is giving:
Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
* Are you sure you have the correct user/password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
WordPress Support ForumsForum: Requests and Feedback
In reply to: Lost my admin password cannot login on my own siteAs an addition to the new release of WP, a ‘send my password’ feature would be handy.
Forum: Everything else WordPress
In reply to: How Many Blogs do you own?3 here: 2 WP and 1 MT (which will be shortly deleted).
Forum: Your WordPress
In reply to: JavaJive – an American in Asia – Critique Please!You just changed the image, I don’t find any other changes…
Forum: Your WordPress
In reply to: What do you think?The menu is fixed now. I got it towards the center. Any more suggestions?
Forum: Installing WordPress
In reply to: Is WP right for me or my photoblog?Or you may try out Coppermine. Its written in PHP too and there are some WP plugins to inegrate it into the blog. You will get it if you search the forums.
Forum: Fixing WordPress
In reply to: WordPress address (URI) problemYou mean the URL changed all by itself???
Forum: Themes and Templates
In reply to: Template fault!!After posting the comment, it is redirecting you to the permalink of the post. The CSS is also not working. You may try using the absolute path.