jmyeom

red sage text

Jan 14th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. this is the new revision, the one where its about 100% shorter and better then the old one i dont have a fucking clue why i did not just do this in the first place!
  2. (for a start, this way is shorter and easier, and secandly, this way it will apply to previous sage's, not just new ones...)
  3.  
  4. this is used to display a red "SAGE!" text if a poster saged or not...
  5.  
  6. you need you "dwoo/templates" folder for this :)
  7.  
  8. the following needs to be changed in all these files, the line numbers change, but the string you need to look for does not!
  9.  
  10. oek_thread.tpl
  11. img_thread.tpl
  12. img_board_page.tpl
  13. oek_board_page.tpl
  14.  
  15.  
  16. (where im telling you to put it can be changed, but this i find is the best place to put it.... feel free to change it!)
  17.  
  18. find this:
  19. <span class="extrabtns">
  20.  
  21. under it put this:
  22. {if lower($post.email) eq "sage"}<span class="mod">SAGE!</span>{/if}
  23.  
  24.  
  25. do that for all the files
  26. (note: see where it has span class=mod? mod just makes it red, and some other stuff, feel free to change it, but you would need to know css for that :O)
  27.  
  28. when its done for all files, everyone that has and will sage, will get red sage text!
Advertisement
Add Comment
Please, Sign In to add comment