Raised This Month: $23 Target: $400
 5% 

View Poll Results: Which feature would you like to see implemented?
Add a "copy to clipboard" or "select all" button for [code], [php], [pawn] and similar tags. 5 83.33%
Add line numbering for [code], [php], [pawn] and similar tags. 4 66.67%
Make the [pawn] tag have a scoll bar like the [code] and [php] ones. 5 83.33%
Add TAB support for [pawn] and [php] tags. 5 83.33%
Make the [tt] tag more noticeable. 3 50.00%
Add an [api] tag that will redirect to the API documentation of the specified function.. 3 50.00%
Multiple Choice Poll. Voters: 6. You may not vote on this poll

Add some new BBCodes and improve old ones


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2020 , 09:17   Add some new BBCodes and improve old ones
Reply With Quote #1

I think it would be refreshing to improve the functionality of some BBCodes and add some simple new ones.

1. Add a "copy to clipboard" or "select all" button for [code], [php], [pawn] and similar tags.
  • This will make it easier to select the code inside these tags, rather than using the mouse and scrolling the entire thing while risking to make a wrong selection.



2. Add line numbering for [code], [php], [pawn] and similar tags.
  • Right now, when people give error logs, you need to copy the entire code and paste it in a text editor just to see which line is causing problems.



3. Make the [pawn] tag have a scroll bar like the [code] and [php] ones.

4. Add TAB support for [pawn] and [php] tags.
  • Right now it translates all tabs to spaces.


5. Make the [tt] tag more noticeable.



=>



HTML code here


6. Add an [api] tag that will redirect to the API documentation of the specified function..
  • E.g.: [api=amxmodx]is_user_alive[/api] will create a noticeable link that redirects to https://www.amxmodx.org/api/amxmodx/is_user_alive.
  • The same can be made for SourceMod.



AMXX HTML code here


SourceMod HTML code here
__________________

Last edited by OciXCrom; 05-24-2020 at 14:02.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 05-24-2020 , 11:57   Re: Add some new BBCodes and improve old ones
Reply With Quote #2

Markdown instead of BBCode
__________________
Gabe Iggy is online now
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-24-2020 , 13:58   Re: Add some new BBCodes and improve old ones
Reply With Quote #3

Maybe off topic, but I'd like a dark-mode option if available.
__________________
Bugsy is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-24-2020 , 17:10   Re: Add some new BBCodes and improve old ones
Reply With Quote #4

Quote:
Originally Posted by Bugsy View Post
Maybe off topic, but I'd like a dark-mode option if available.
There are a number of community-maintained options:
__________________
asherkin is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 05-24-2020 , 21:06   Re: Add some new BBCodes and improve old ones
Reply With Quote #5

Writing very long code will cause the browser to freeze when viewed on the phone.
__________________

Last edited by +ARUKARI-; 05-24-2020 at 21:09.
+ARUKARI- is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-24-2020 , 22:59   Re: Add some new BBCodes and improve old ones
Reply With Quote #6

For now I use a Chrome plugin/add-on that provides dark mode on all sites. I was thinking more along the lines of an option within the forum suite that can be added and then enabled by users.
__________________
Bugsy is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-25-2020 , 14:38   Re: Add some new BBCodes and improve old ones
Reply With Quote #7

Quote:
Originally Posted by Bugsy View Post
For now I use a Chrome plugin/add-on that provides dark mode on all sites. I was thinking more along the lines of an option within the forum suite that can be added and then enabled by users.
Certainly would be a nice feature, but that's extra work for them to do. It would be easier for someone to install one of the themes. Plus if anyone has suggestions they are always welcome to make a PR or raise an issue with the theme for change, such as mine.

Of course as you mentioned, someone could just use Dark Reader or another extension/addon.
__________________
Maxximou5 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-25-2020 , 22:00   Re: Add some new BBCodes and improve old ones
Reply With Quote #8

Dark Reader is nearly perfect, only issue I've noticed so far is I cannot see some of the moderator/plugin-approver buttons unless I disable the dark theme.
__________________
Bugsy is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:58.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode