theillustratedlife
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin breaks if post or category ID == 0actually, posts and comments both had auto incrementation set to no. I just changed it. Hopefully it will work now. =)
Is there some sort of catchall we can add to the code?
on(saveToDB){
if (ID.auto_increment == false)
ID.auto_increment = true;I realize that isn’t in PHP, but could we do something like it?
Thanks!
Forum: Fixing WordPress
In reply to: Admin breaks if post or category ID == 0Right, but it seems like WordPress should handle this (either by not creating a post with an ID of 0 or by automatically updating the ID of any post it finds that is 0).
Forum: Plugins
In reply to: Need someone to write me custom plugin/codeI’ve not used phpBB, but I’m assuming it uses standard md5 password hashing. If that is the case, you need to merge together your two user tables. Look in your mysql database (FlashMyAdmin) . wp_users is how WP users login. Find the phpBB users table and see how similar they are. Assuming they have more or less the same information, you need to adjust your login scripts so instead of looking in phpBB_users, it looks in wp_users, or vice versa. If there are mutually exclusive fields you need to use, you should be able to add them pretty easily. Click the wp_users table, and hit Insert New Field. Fill in the necessary data, and you should be good.
Hopefully you don’t have too much traffic already. It’s a bit more work to migrate all the old data over (Hint: click Data Maintenance in FlashMySql and play with the Import/Export SQL queries).
Good luck!
BrentonForum: Installing WordPress
In reply to: Is wp-config a security problem?I wonder if that would be a way to make WordPress work with subdomains (I realize there’s mu, but my host doesn’t use Apache). If you named all your includes subdomain.inc you ought to be able to
require('localpath/'.$subdomain.'.inc');
Then, if you had a script that pulled $subdomain from the location bar, you could run multiple copies of WP from one central installation. Of course, the themes and all resources would be affected globally if changed by one user, and you’d still need multiple databases, but it is an interesting pondery nonetheless. . .Forum: Installing WordPress
In reply to: Is wp-config a security problem?I figured but thought I’d check. Thanks.
So how is it that this has your l/p in plain text on a webserver and nobody cares, but the webmonkey guy has you post your l/p locally as an include? Is it possible to get a raw PHP file off of a webserver (w/o FTP of course)?
Thanks,
BrentonForum: Plugins
In reply to: [New Plugin] Extreme Video PluginForum: Plugins
In reply to: [New Plugin] Extreme Video PluginSome slight modifications:
If you are posting HD (16×9) movies and want to get rid of the whitespace in the plugin, make these changes about a third of the way down:
//Function to return a Quick Time embeded Video Object
function gv_returnQTObject(
$url,
$wid,
$hei,
$linkText=QT_DEFAULTLINKTEXT,
$linkClass=QT_DEFAULTLINKCLASS,
$qtHolder=QT_DEFAULTQTHOLDERCLASS,
$qt=QT_DEFAULTQTCLASS,
$useLogo=QT_USEQTLOGO)
{
global $gv_currentVideo;
$gv_currentVideo++;$wid == null ? $wid = “500”
: null;
“297”
$hei == null ? $hei =: null;
If you want a reference image instead of the QT logo, about halfway down the plugin (in the same function as above), remove the highlighted code:
<td align='center' valign='middle'>
<br>
<img src='".QT_IMAGELOGO."' border='0' alt='Quick Time Logo'/>
<b>”.QT_PROXYTEXT.”</b>
</td>
</tr>Finally, about a fifth of the way from the top of the plugin, add a link to a 500×281 image, like so:
//LOGO TO USE INSIDE THE PROXY FOR QUICKTIME
‘https://www.theillustratedlife.com/brentmax.jpg
DEFINE('QT_IMAGELOGO',');
Those are just some quick enhancements I have made. At some point I’ll probably add a way to change reference images on the fly (so you can use different posters for different movies), but I have a paper to write, so that will have to wait. . . Enjoy!
Forum: Fixing WordPress
In reply to: Problem uploading videoWorkaround: https://www.ilfilosofo.com/blog/old-style-upload/
Problem still occurs in 2.0.1 using inline uploader. . .
Max Schneller: This appears below the text box for the new post after I hit the "upload" button: This script was not meant to be called on directly.
Forum: Plugins
In reply to: Shortstat Spam?I just went to post badbehavior and apparantly it is already installed. Myabe I’ll try CG, but it seems like I tried that suite before for Stats, and it didn’t work, so I tried ShortStat (which I still love).
Forum: Fixing WordPress
In reply to: Problem uploading videoI just got the same error editing a post. Something’s fucked.
Forum: Plugins
In reply to: [New Plugin] Extreme Video PluginMy friend Max just put it to good use on his site. It looks sick!
Max: https://max.slipabuck.com
One note: The fullscreen link should be under the video. Looks classier that way.
Thanks much!
BrentonForum: Plugins
In reply to: Plugins not activating in 2.0Sweet, thanks!
I replaced plugins.php with this file as instructed, and it works now. They either need to integrate this hack into the main build or have a separate install for Windows servers that includes this file. . .
Forum: Plugins
In reply to: Shortstat Spam?This is even weirder. I’ve been getting referrals from random robots.txt files and rss feeds.
Any explanations?
Forum: Plugins
In reply to: Shortstat Spam?sweet thanks. thats about what i thought. if it gets bad i suppose ill have to try a plugin. =P
thanks again.
Forum: Fixing WordPress
In reply to: Header image: old version vs newThis sounds Semiologic specific.