RobotHero
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Thumb resize stuck?I’ve found my problem.
I had assumed the Thumb-in-Post plugin would just display the image, not change the size of the thumbnail.Forum: Fixing WordPress
In reply to: The admin disabled this functionWell, I’ve solved that problem, though I don’t really understand what caused it in the first place. Now, back to my original problem.
Forum: Fixing WordPress
In reply to: The admin disabled this functionHmm. I misinterpreted the meaning of the line:
if (strstr($_SERVER['REQUEST_URI'], 'install.php'))
at line 303 in functions.php.
But I don’t need install.php after I’m installed, so no harm done.
The upload folder is chmod 777, and I’m pretty sure I’d get a different error message if that were the problem.Forum: Fixing WordPress
In reply to: The admin disabled this functionI have ‘Allow File Uploads’ checked under Miscellanious Options. use_fileupload has a value of 1.
I hadn’t deleted install.php, so that could have been the problem. But I have now deleted it, and the problem continues.Forum: Plugins
In reply to: Most commented hack questionPut this:
<?php get_most_commented(); ?>
in blog2.php instead of index.php.Forum: Everything else WordPress
In reply to: Good opensource php for magazine?I might need to pick one that can be modified into what I want. That’s why I said I’m looking for a .php-based system.
And most of the articles have only a title and subtitle. I was picking the worst-case scenario I’ve encountered.Forum: Plugins
In reply to: Built-in custom fieldWell, my host says they are using version 4.3.7, and $_POST was introduced in version 4.1.0. Plus, some of the WordPress core files use $_POST, and it hasn’t caused me trouble before. So that’s shouldn’t be the problem.
Forum: Plugins
In reply to: Built-in custom fieldOkay. I’ve narrowed down the problem to this:
$_POST is returning nothing. This could be because the version of PHP I’m running predates the introduction of $_POST.
I’ve contacted my host to see if they are interested in updating it, and if not, I will try re-writing your plugin to use $HTTP_POST_VARS.Forum: Plugins
In reply to: Built-in custom fieldIf I could get it to work, it would be. I activated LJ Extras, LJ Mood Icons, and LJ Music, and then I tried a couple of test posts. It wasn’t displaying anything, so I printed out the results of
get_post_custom()
Array
(
[unt_lj_entry] => Array
(
[0] =>
)
[unt_lj_journal] => Array
(
[0] =>
)
[unt_lj_mood] => Array
(
[0] =>
)
[unt_lj_moodid] => Array
(
[0] =>
)
[unt_lj_music] => Array
(
[0] =>
)
[unt_lj_synch] => Array
(
[0] =>
)
)
So, while it is creating the keys, it isn’t correctly assigning them a value.Forum: Plugins
In reply to: WP/phpBB2 integrationI’m thinking of trying to make something like this. Though if I do it, I’ll probably change some core files.
I had been thinking of creating a relational table of corresponding post/topic pairs. When posting, WP would create a new topic and the
There would also be a table of category/forum pairs. The category of the post would determine which forum it appears in.
The comments link on the blog page proper would then link to the corresponding topic, and the BB viewtopic template would grab the contents of the blog post and display it in special formatting at the top of the topic.
Any advice or suggestions would be welcome.Forum: Fixing WordPress
In reply to: ignore categoryAnd now that I’ve got 1.2, that was pointless. (Other than the practice)
Forum: Plugins
In reply to: Displaying Photos in BlogHere’s a pop-up window that resizes (via JS) to match the dimensions of the image:
https://www.sitepoint.com/article/1022Forum: Plugins
In reply to: Displaying Photos in BlogI’ve been doing a server-side version of this.
I kind of mashed the post page together with the upload page, producing this:
https://www.horriblepain.com/blogmods/postimage.phps
It doesn’t do much more than save you the trouble of copying and pasting the code from upload.php. You upload the file, and it then brings up the edit form with the image code already typed in.
I’m planning on getting it to produce the thumbnail code or something.Forum: Plugins
In reply to: Posts sorted by categories?https://www.horriblepain.com/blogmods/postsbycat.phps
This is my attempt at combining that code with the standard display template.Forum: Plugins
In reply to: Posts sorted by categories?That might work.
I’ve got to change the formatting a little, and include the_content for each post. But it’s pretty close to what I was looking for.