« Acro-Link Plugin for v240-RC2Random YouTubes »

5 comments

I had a play with this, for a giggle try the following ( fresh install )

Crack open inc/files/_files.ctrl.php and change the following 2 lines :
approx 778 :

// $edited_Item->set( 'status', $item_status );
$edited_Item->set( 'status', 'draft' );


and approx 814 :

// header_redirect( 'admin.php?ctrl=items&blog='.$blog ); // Will save $Messages
header_redirect( 'admin.php?ctrl=items&action=edit&p='.$edited_Item->ID ); // Will save $Messages


The result "should" be, you click "make a post with my groovy image" and it'll make a draft post and then take you to the post edit screen for the groovy draft post you just posted

Still not found a way to do this with a plugin :p

¥

03/12/08 @ 03:40
Comment from: EdB [Member]
Not bad my friend! In fact, pretty damned good - especially when I go one up on you and change line 814 to

header_redirect( 'admin.php?ctrl=items&p='.$edited_Item->ID );

That way it goes to the post with the "Publish Now" button available instead of straight into edit mode. That would be for those who do all the cool stuff up front yah?

Dude we totally fuckin' rock!
03/15/08 @ 07:15
Ahhh mate, you delude yourself, I have a far better visiglyph than you ..... nobody cares about code ;)

¥
03/15/08 @ 11:43
Comment from: gupik [Visitor]
Hi there;

Just it's a pitty that this plugin cannot make a draft with multiple images linked... There should be two buttons: "Make posts with images" and "Make post with images". :)

Anyway, it's very useful :) Thanks!
04/13/08 @ 09:49
Comment from: EdB [Member]
Yeah that'd be neat. I'll have to see how possible that is. Meanwhile if you make a post with one image you can link other images to the post before publishing. Not the best in the world but better than nothing yah?
04/14/08 @ 06:06

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
:!: :?: :idea: :) :D :p B) ;) :> :roll: :oops: :| :-/ :( :'( :DD :o 8| >:-[ |-| :lalala: :crazy: >:XX :tits: :ass: :wave: :dick:
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
Can you type 'green' in the box below?
antispam test

[Contact] Powered by b2evolution v2.4.2