Advertisement
Kinu-chan

Fixes and Mods for Kusaba X Post Subjects

Jan 1st, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. [-------Fixes and Mods for Kusaba X Post Subjects-------]
  2. This fixes subject being removed on forced anon boards, and also removes subjects and the subject form from the post box in reply mode, so subjects are only available for new threads.
  3. Check 34pchan.org to see it in action.
  4.  
  5. 1. In board.php, find:
  6.  
  7. $post_subject = '';
  8.  
  9. And replace it with:
  10.  
  11. if ($post_isreply) {
  12. $post_subject = '';
  13. }
  14. else {}
  15.  
  16. 2. In img_post_box.tpl, highlight everything BETWEEN:
  17.  
  18. <input type="text" name="em" size="28" maxlength="75" accesskey="e" />
  19.  
  20. and
  21.  
  22. &nbsp;<input type="submit" value=" {if %KU_QUICKREPLY && $replythread eq 0} {t}Submit{/t}" accesskey="z" />
  23.  
  24. And replace with:
  25.  
  26. {strip}{if %KU_QUICKREPLY && $replythread eq 0} </td> </tr> <tr> <td class="postblock"> {t}Subject{/t} </td> <td> <input type="text" name="subject" size="35" maxlength="75" accesskey="s" /> {elseif %KU_QUICKREPLY && $replythread neq 0} {/if} {/strip}{strip}
  27.  
  28. And that's it~
  29. 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