Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [----Better Capcodes for Kusaba X----]
- Just do as it tells you and it will work.
- They look like: Anonymous ## Admin, with css colour, letter border and shade effects applied to both the name and capcode.
- Check 34pchan.org to see it in action.
- 1. CSS:
- Make a new file called global.css in your css folder.
- Paste into it:
- /*new capcodes*/
- #y {
- color: #c3f;
- font-weight:bold;
- text-shadow: 0 -1px #000, 1px 0 #000, 0 1px #000, -1px 0 #000, 0 3px 5px #c3f;
- font-family:tahoma,arial,helvetica,sans-serif;
- }
- #ymd {
- color: #d03;
- font-weight:bold;
- text-shadow: 0 -1px #000, 1px 0 #000, 0 1px #000, -1px 0 #000, 0 3px 5px #d03;
- font-family:tahoma,arial,helvetica,sans-serif;
- }
- /*new capcodes*/
- Then, paste into /dwoo/templates/global_board_header.tpl:
- <link rel="stylesheet" type="text/css" href="{$cwebpath}/css/global.css">
- 2. img_board_page.tpl and img_thread.tpl:
- These files both have the two bits you need to change twice each.
- So open /dwoo/templates/image_board_page.tpl and /dwoo/templates/image_thread.tpl and find:
- <span class="postername">
- and replace it with:
- <!--capcode stylings on names-->
- {strip}
- {if $post.posterauthority eq 1}
- <span id="y" class="postername">
- {elseif $post.posterauthority eq 2}
- <span id="ymd" class="postername">
- {elseif $post.posterauthority eq 4}
- <span id="ymd" class="postername">
- {else}
- <span class="postername">
- {/if}
- {/strip}
- <!--capcode stylings on names-->
- twice in each file.
- Then, find:
- {if $post.posterauthority eq 1}
- <span class="admin">
- ## {t}Admin{/t} ##
- </span>
- {elseif $post.posterauthority eq 4}
- <span class="mod">
- ## {t}Super Mod{/t} ##
- </span>
- {elseif $post.posterauthority eq 2}
- <span class="mod">
- ## {t}Mod{/t} ##
- </span>
- {/if}
- and replace it with:
- <!--capcode stylings on capcodes-->
- {if $post.posterauthority eq 1}
- <span class="admin" id="y">
- ## {t}Admin{/t}
- </span>
- {elseif $post.posterauthority eq 4}
- <span class="mod" id="ymd">
- ## {t}Super Mod{/t}
- </span>
- {elseif $post.posterauthority eq 2}
- <span class="mod" id="ymd">
- ## {t}Mod{/t}
- </span>
- {/if}
- <!--capcode stylings on capcodes-->
- twice in each file.
- And that's it! If you use other board types repeat step 2 with the relative template files.
- Let me know if you have any problems at mail@34pchan.org, or find me lurking kusabax.culnet.net/sup/ or 34pchan.org/s/ as either (=^・ェ・^=)!p3l2W3bRxk!!HmZQR2Lwyu or (=^・ェ・^=)!KinuB0nt8M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement