FB Layers [entries|archive|friends|userinfo]
FB Layers

[ website | advanced customization ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| how to post tags page ]
[affiliated communities| s2layers ]

[theme] - [smoove] - [add link to journal in header] [Feb. 14th, 2006|11:41 am]

kunzite1
[Tags|, ]

cut )
Link4 comments|Leave a comment

[theme] - [positive contact] - [remove other pictures sidebar box] [Jan. 23rd, 2006|05:18 pm]

kunzite1
[Tags|, , ]

cut )
LinkLeave a comment

[theme] - [positive contact] - [add custom css] [Jan. 23rd, 2006|04:12 pm]

kunzite1
[Tags|, , ]

cut )
Link2 comments|Leave a comment

[theme] - [cornered] - [make Page::print() call Page::print_head()] [Dec. 7th, 2005|06:37 pm]

kunzite1
[Tags|, , ]
[Current Music |Rayza - Sonic the Hedgehog 3 IceCap(FrozenKnuckles) OC ReMix]

cut )
LinkLeave a comment

department of redundancy department [Nov. 12th, 2005|10:37 pm]

kunzite1
in the new "positive contact" layout:
function logged_in(string login_text) : string {
  var Page p = get_page();
  if (viewer_logged_in()) {
    if (viewer_is_owner()) {
      return """<a href="$p.manage_account.url">$p.manage_account.caption</a>""";
    }
  }
  return $login_text;
}
umm. if we know that the viewer is the owner, we know that the viewer is logged in. duh.
Link2 comments|Leave a comment

[theme] - [apache] - [apache image downloader] [Oct. 2nd, 2005|01:58 pm]

kunzite1
[Tags|, , ]

cut )
LinkLeave a comment

userpics! [Apr. 14th, 2005|07:22 pm]

kunzite1
check out this gallery and vote on the userpics.
x-posted to: [info]fblayers, and [info]s2layers.
Link16 comments|Leave a comment

[Code snippets for layout layer] - [Parse <lj user=*> tags / make "Add as User Icon" buttons] [Apr. 14th, 2005|04:35 pm]

dgriswold
Two snippets. First, a function to parse strings for <lj user=*> and < comm=*> tags. Also includes a recursive function to find the earliest occurrence of a substring in a larger string using a binary search. These functions are useful for parsing picture or gallery descriptions.
Code )
The second snippet is HTML (encased in strings) for a form button that lets any user add an image's thumbnail as their own LJ user icon, assuming they're logged in. The URL, Keywords, and Comments values assume you're in Gallery View on the Super Simple style (having run $this->load_pict_descriptions()) but it's pretty simple to adapt to any view, just change $i.url, $p.title, and $p.des to the correct values for the image's thumbnail, title, and description respectively.

Code )
I recommend setting properties in your layout for the use of these snippets. You can see an example in my modified Super Simple style, number 14200. This gallery (and each of its subgalleries) is using the style right now, if you want to see an example.
Link5 comments|Leave a comment

[snippet intended for layout layer] - [add to page::print()] - [add lj links to fb layout] [Jan. 7th, 2005|12:16 am]

kunzite1
code )
screenshot )
Link3 comments|Leave a comment

opening house [Jan. 6th, 2005|05:50 pm]

kunzite1
here's what i need:
  • categories for memories
  • ideas for rules about posting
  • responsible people who will not abuse maintainership
  • people who want to sort memories to the agreed upon specifications
  • people who want to take care of flame wars if they arise
  • which layout to use for the journal
  • what to add/change/delete on the userinfo page
  • people who have suggestions to this list

now... discuss!
Link2 comments|Leave a comment

first post [Jan. 6th, 2005|05:46 pm]

kunzite1
how to post
post your layer code under a cut after converting all
& to &amp;
< to &lt;
and
> to &gt;

this can help with the conversion.
if you use the aforementioned tool, change the <code> and </code> to <pre> and </pre> respectively.
if you dont use the aforementioned tool, please wrap your code with <pre> and </pre>.

the subject line should follow the following format:
[layout name] - [layer type] - [mini description of what your code does] - [page number (if applicable)]
layout name - apache, color hover, cornered, framed, porfoloroid, etc.
layer type - layout, user, theme
page number - page #/total pages

if your code is too long to place into a single post:
put a comment in the code saying # part 1 ends here and then in the next post put a comment in the code saying # part 2 starts here ... lather, rinse, repeat.

recommended coloring scheme (not required)
if you have comments in the code, we suggest making it green by doing something like:
<span style="color:green;">comment</span>

variable values: maroon
var string moo = "<span style="color:maroon;">variable</span>";

code that is currently active but can be deactivated by commenting (putting a # in front of it) it out.
active code: blue
"<span style="color:blue;">if($active) { print "make it blue"; }</span>";

code that is currently inactive but can be activated by decommenting (taking # in front of it out) it.
inactive code: pink
"<span style="color:pink;"># if($inactive) { print "make it orange"; }</span>";

screenshot of output
we would also like to have a screenshot available that shows the results of the code.

and finally, select the don't auto-format option. this makes the entry a lot easier to read.
LinkLeave a comment

navigation
[ viewing | most recent entries ]