Overview: This deviation lets you use pasties, in your journal. They are automatically updated when someone submits a new deviation, and can also be used to show daily deviations, favourites and much more. Click Download to get the source!
--
If you haven't done so already, have a read of the "Getting the most out of your CSS Journal" series . This is the resource from part three, which enables Pastie-like images in your journal.
Instructions for use:
1) Open up myfav.php in something like Notepad.
2) You should see two lines:
$username = 'YOUR USERNAME';
Insert your username (case doesn't matter) into where "YOUR USERNAME" is.
3) Save, and upload to your website
4) In your journal, enter:
0 = Show the latest deviation uploaded to deviantART
1 = Show a Staff Pick (ie. Daily Deviation)
2 = Shows your featured deviation
3 = Shows your most recent deviation
4 = Show the last piece you fave'd.
And when you view your journal, you should have a dynamic image that changes (almost) every time you view it.
Feedback is encouraged, as are code-fixes. I'm not the greatest PHP programmer in the world, so if you can clean up / speed up this code, do so, and let me know
Please note, that dA (I think) is blacklisting sites that use these too much. It's considered theft of bandwidth, even if it's to be used for dA only. I present these files for learning purposes only. They aren't meant for every day use. They are only to show what GD and PHP can do for your journal. I do not condone use of dA's bandwidth, unless it's browsing of the site in your browser
Copyright information:
This code was written by David "Grayda" Gray. You are permitted to change this code to suit your needs, but you are not allowed to redistribute the changed code without prior permission. Redistribution of the original code is also not allowed, without permission. Linking to this deviation is strongly encouraged. Please respect copyright and don't steal. Thankyou
It surprises me that you haven't got a CSS Journal. I would have thought that some kind gentleman (or avid lady fan ) would have designed one for you by now.. Not to worry however. I'm sure you'll have one up soonish..
No worries! I most certainly hope dA isn't blacklisting sites that host this file. If they do, I'll kindly suggest they make special :thumb: codes that do the same thing..
Oh well, if you want one done, you have my MSN and my dA username