Jenny ([info]minty_peach) wrote,
@ 2008-06-30 22:20:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current mood:amused
Entry tags:custom: extra codes

By Popular Demand
Alot of you have asked me for the codes to my special comment page images. Both the ones you see when posting a comment, and the ones when viewing any comments. I have also added the contextual pop-up code here as well.

preview code one
preview code two
preview code three

* fixed Code #2s missing unscreen button as of 8.25.08


CODE #1 (paid account)

Change the old and boring default comment options to new and squeaky clean customizable comment options *.





CODE #2 (paid account)

Change the old and annoying default edit comment options to new and totally freaking hip customizable edit comment options *.




* please note that all tiny images used in the preview images are NOT included in the codes. They are examples. And they are part of the SILK set from famfamfam.com. You can download any of the sets for FREE. Or use any tiny-icons you want.

[the suggested height and width of tiny-icons is 16px]


CODE #3

If you like being able to hover your cursor over anyones userpics or user icons and see their info, but hate the design of the box, then this will be useful for you.

The default design is alright, but wouldn't you rather have a custom design?

Feel free to change it as you'd like:



(Post a new comment)


[info]casettes
2008-07-31 02:41 am UTC (link)
Amazing. Thank you.

(Reply to this)


[info]enkhgerel
2008-07-31 02:59 am UTC (link)
It is amazing. Will use them, thank you.

(Reply to this)


[info]tinyknots
2008-07-31 03:10 am UTC (link)
These are fabulous! And I love your icon, even though it makes my heart drop a little :[

(Reply to this) (Thread)


[info]minty_peach
2008-07-31 03:14 am UTC (link)
Thank you!

And yes, it makes me feel sad too, because Sirius was my favorite, but it makes me feel better to remember him. :D


(Reply to this) (Parent)


[info]death_sanity
2008-07-31 04:16 am UTC (link)
wow. I wish i had a paid account.

(Reply to this)


[info]rosalen_knight
2008-07-31 04:16 am UTC (link)
Thats so koo... Thank you!

(Reply to this)


[info]kujabie
2008-07-31 05:19 am UTC (link)
You're the best!

(Reply to this)


[info]discoglamour
2008-07-31 07:58 am UTC (link)
code 1 thank you! :D

(Reply to this)


[info]ainodeluca
2008-07-31 09:11 am UTC (link)
These are way too cool. Meming and possibly using soon. Thanks!

(Reply to this)


[info]ranielguerrero
2008-07-31 09:53 am UTC (link)
Thanks for sharing these codes ^^ Very helpful.

I was just wondering how you can make comments collapse? That way they don't look weird when you have 20+ responses.

(Reply to this) (Thread)


[info]minty_peach
2008-08-01 02:40 pm UTC (link)
Thank you!

And as for the comments, i have noticed that they only collapse, i believe, after you have at least 50 on a page... At least i think thats how livejournal has it set... and i don't know how to edit it... D:

(Reply to this) (Parent)(Thread)


[info]ranielguerrero
2008-08-01 04:16 pm UTC (link)
Ah I see. Thanks for the response ^^

(Reply to this) (Parent)


[info]wickedground
2008-08-08 08:31 pm UTC (link)
it works in paid accounts when you use a advanced layer for it. I have the code if you need it. My comments collapse after receiving only two right now.

(Reply to this) (Parent)(Thread)


[info]ranielguerrero
2008-08-08 09:06 pm UTC (link)
thanks for the response. is it exclusive to paid accounts? i only have a plus account.

(Reply to this) (Parent)(Thread)


[info]wickedground
2008-08-08 09:36 pm UTC (link)
I don't know if you can replace it in plus accounts. you have to be able to use advanced layers for the code I have. Do you have that option in plus accounts?

(Reply to this) (Parent)(Thread)


[info]ranielguerrero
2008-08-08 11:19 pm UTC (link)
erm, i'm not familiar with advanced layers. so maybe i don't have that option in plus accounts. *sigh*

anyway thanks a lot! ^^

(Reply to this) (Parent)(Thread)


[info]wickedground
2008-08-08 11:31 pm UTC (link)
try to go to http://www.livejournal.com/customize/advanced and see if you can create layers.

(Reply to this) (Parent)(Thread)


[info]ranielguerrero
2008-08-09 03:00 pm UTC (link)
it is a feature exclusive to paid accounts. sadly. thanks a lot.

(Reply to this) (Parent)


[info]wreckful
2009-04-03 02:47 pm UTC (link)
would you mind sharing the code? :)

(Reply to this) (Parent)(Thread)


[info]wickedground
2009-04-03 03:00 pm UTC (link)
for advanced layer. right now comment depth limit is 2.

function EntryPage::print_comments( Comment[] comments ) {
if (size $comments == 0) {
return;
}


var int limit = 2; # set comment depth limit

foreach var Comment c ($comments) {
var int indent = ($c.depth - 1) * 5;
var string partialcomment = $c.full and ($c.depth <= $limit) ? "" : "partial";
var string margin = "";
if ($*userpic_position == "left") {
$margin = "right";
} else {
$margin = "left";
}

"""""";
"""
\n""";
if ($c.full and $c.depth <= $limit) {
$this->print_comment($c);
} else {
$this->print_comment_partial($c);
}
"
";
$this->print_comments($c.replies);
}
}

(Reply to this) (Parent)


[info]erdoz
2008-07-31 10:24 am UTC (link)
i'm using all of them!
thank you!

(Reply to this)


[info]sunrise_sets
2008-07-31 11:50 am UTC (link)
I pretty much love you now.

;)

(Reply to this)


[info]_oluha_
2008-07-31 12:10 pm UTC (link)
I♥YOU.

(Reply to this)


[info]x0serenity0x
2008-07-31 12:44 pm UTC (link)
awesome! will definitely use! thank you!

Edited at 2008-07-31 12:45 pm UTC

(Reply to this)


[info]atomicmagnolia
2008-07-31 07:14 pm UTC (link)
wonderful codes! thanks so much

(Reply to this)


[info]extraobsession
2008-07-31 07:32 pm UTC (link)
Just wanted to let you know that is really useful this post. I will sure credit you for the last code.
Thanks

(Reply to this)


[info]wickedground
2008-08-08 08:32 pm UTC (link)
awesome, I especially like the customized comment options. that's snazzy. The code for the userinfo is missing in the first code btw, you only have open id, anonymus and help. Found the userinfo in the second code. The unscreen button is missing though (http://p-stat.livejournal.com/img/btn_unscr.gif).

Edited at 2008-08-08 09:01 pm UTC

(Reply to this) (Thread)


[info]minty_peach
2008-08-25 08:15 pm UTC (link)
oops, when i tried to separate the codes for posting, i must have forgot some.

Sorry for the confusion... D:

(Reply to this) (Parent)


[info]curiouslinh
2008-08-11 03:27 am UTC (link)
i do not understand how you install this

(Reply to this) (Thread)


[info]minty_peach
2008-08-25 08:14 pm UTC (link)
you add it to the same box that you add your layouts CSS codes to.

here:

http://www.livejournal.com/customize/options.bml?group=customcss

(Reply to this) (Parent)


[info]mikeyrhcp
2008-08-12 02:16 pm UTC (link)
Thanks! Used all three! :D

(Reply to this)


[info]sprachbegabt
2008-08-18 07:10 am UTC (link)
wow, great! thanks! :D

(Reply to this)


[info]swirlylollipop
2008-08-18 04:11 pm UTC (link)
Yay!! You're kinda back. LOL
Thanks!

(Reply to this)


[info]crystalsc
2008-08-23 07:01 pm UTC (link)
wow. you're quite awesome.

(Reply to this)


[info]mosquetera
2008-08-24 09:00 pm UTC (link)
Ohhh my! It's amazing! =)

=D

Quick question: how can I align the default edit comment options to right, like in your example.

thanks!

Edited at 2008-08-31 09:49 pm UTC

(Reply to this)


[info]ladyshina
2008-09-08 02:49 am UTC (link)
This is really awesome, thank you!

(Reply to this)


[info]pensive1
2008-09-10 05:53 pm UTC (link)
EDIT #0243890823: everything works now! Compiler was acting a fool on placement of certain codes.

THANK YOU! ^^

Edited at 2008-09-10 07:37 pm UTC

(Reply to this)


[info]teh_haley
2008-09-11 12:47 am UTC (link)
I'm using the contextual pop-up thingie, I love it. Thanks a lot for sharing. I slightly edited its coloring :)

(Reply to this)


[info]cammyx3
2008-09-14 02:08 am UTC (link)
Thank you heaps for sharing, I will be taking code #2.

(Reply to this)


[info]vanita
2008-09-30 05:55 pm UTC (link)
Thank you for the code and the link to the icons. :D

(Reply to this)


[info]ticklingadragon
2008-10-02 01:57 pm UTC (link)
Awesome! I've not touched css in a while, so I'm not sure what exactly to do. Do I need to replace this code with another? Or just paste this in? I'm using one of your flexible squares layouts.

(Reply to this) (Thread)


[info]minty_peach
2008-10-21 09:23 pm UTC (link)
All you need to do is take the code you want (i use all of them at once) and add them to the bottom of the layout CSS after you have added in the links to your tinypics or whatever.

(Reply to this) (Parent)


[info]marcasite
2008-10-04 02:57 pm UTC (link)
Thank you!!

(Reply to this)


[info]darkgloom
2008-11-05 08:00 am UTC (link)
Thank you. :)

(Reply to this)


[info]oddsilence
2008-11-17 04:22 pm UTC (link)
It's so easy to edit these codes. Thank you. :)

(Reply to this)


[info]doritosaddict
2009-01-27 08:49 pm UTC (link)
Amazing. Currently using, thanks!

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…