Alignment MyCode - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Support Forum Information (https://www.supportforums.net/forumdisplay.php?fid=1) +--- Forum: Site News and Feedback (https://www.supportforums.net/forumdisplay.php?fid=2) +--- Thread: Alignment MyCode (/showthread.php?tid=16921) |
Alignment MyCode - Peter L - 03-13-2011 MyBB is the only forum software that uses [align] MyCode rather than the common [left] [center] [right] BbCodes. Can we add support for both? It'll be an easy fix. I haven't tested this code but it looks like it'll work: Regular Expression: Code: \[(left|center|right)\](.*?)\[/\1\] Replacement: Code: <div style="text-align: $1;">$2</div> RE: Alignment MyCode - Fragma - 03-13-2011 It's not something that needs adding, but I agree it would be quite useful. It would make formatting that little bit quicker for me. Good suggestion. RE: Alignment MyCode - Peter L - 03-13-2011 Sometimes I also write a tutorial on another forum then realize it is appropriate here to. Then I have to edit all the bbcodes. It isn't a big deal but will def help new members used to other forum softwares from being confused. RE: Alignment MyCode - Omniscient - 03-13-2011 It's align= for the mycode. I don't see a reason to have both. RE: Alignment MyCode - Peter L - 03-13-2011 Yes to align it is this code:
Code: [align=center]Yes to align it is this code[/align] What I'm saying is, sometimes people post their tutorials in multiple places. Or sometimes a new member is more familiar with the bbcode of phpbb3 or ipb. When they come here (or any MyBB forum) they will be confused. It'd have no cons imo. RE: Alignment MyCode - Nemmyy - 03-13-2011 I like the idea and think it should be added. It annoys me a lot when people don't want to implement something useful just because it isn't 100% needed. It would be a very small addition so it wouldn't have any negative consequences. It's just a nice convenience. RE: Alignment MyCode - Peter L - 03-20-2011 More opinions? |