Raised This Month: $51 Target: $400
 12% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 11:00.


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