Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

New Custom Bbcodes For This Board


43 replies to this topic

#1 miCRoSCoPiC^eaRthLinG

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Nakorn Chaisri, Thailand
  • myCENT:69.96

Posted 30 March 2005 - 04:27 PM

HI all,
I'm in the process of introducing a couple of new BBCodes to help us make better posts and make parts of the content stand out. Two such new BBCodes are CONSOLE and NOTE. Out of these, the NOTE BBCode is for use of the Mods & Admins only. Anybody else found using them in their posts will be penalized suitably.

1. CONSOLE
This code is to be used for displaying console input/output in your posts. The text to be shown has to be enclosed within a matching pair of [ CONSOLE ] [ /CONSOLE ] tags.
Example:
CONSOLE

[root@getafix root]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0D:88:39:D2:69
inet addr:10.19.168.5 Bcast:10.19.168.255 Mask:255.255.255.0
inet6 addr: fe80::20d:88ff:fe39:d269/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6587 errors:0 dropped:0 overruns:0 frame:0
TX packets:12936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1650710 (1.5 Mb) TX bytes:2043205 (1.9 Mb)
Interrupt:225 Base address:0xb800


2. NOTE
This BBCode is to be used by the Mods & Admins ONLY. This will make your instructions (when you edit posts) stand out way better. An example:
Notice from microscopic^earthling:
Posted in wrong section. Topic moved.
This code takes your username as an option and dispays it in the header. Thus the format would be, [ NOTE = YourUserName ] Notice Text [ / NOTE ] . Don't include the SPACES that I've put after the [] brackets - that's just to demonstrate the code.


Just now I finished implementing yet a third BBCode - HIGHLIGHT
3. HIGHLIGHT
This will help you highlight certain parts of your post with a desired color. The highlight color is passed on as an option to the BBCode. Format: [b][ HIGHLIGHT = color ] YourText [ / HIGHLIGHT ]. This would give an output like"
This is Yellow Highlighted Text

These are for a starter - more to come. If you have any suggestions for cool BBCodes, don't hesitate to post/add-in to this topic and I'll add them to the board after reviewing.

All the best & Have fun :)

#2 JJBDude

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 93 posts
  • Location:England/Cambridgeshire

Posted 30 March 2005 - 04:37 PM

Nice work there micro, shame not all members can use all the new BB Codes but I understand why we cannot. Have anything else up your sleeves?

#3 odomike

    Core2Q-QX6800

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,095 posts
  • Gender:Male
  • Location:Nigeria
  • Interests:Website designing, Graphics designing, Computer Softwares, networking, computer games (RPGs), Education, making friends.

Posted 30 March 2005 - 04:45 PM

Yea JJBDude. Whats the essence of introducing the new BBCodes if all the members cannot use them?

I dont see any sense in it at all.

#4 JJBDude

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 93 posts
  • Location:England/Cambridgeshire

Posted 30 March 2005 - 04:59 PM

I do see a point in it as it lets admins/mods do more things which is good but I don't see why we had to be told about it. Just makes us membes jealous........... But even if you didn't tell us, I suppose we would find out sooner or later.

#5 miCRoSCoPiC^eaRthLinG

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Nakorn Chaisri, Thailand
  • myCENT:69.96

Posted 30 March 2005 - 05:13 PM

Lol.. hold on dude.. There's plenty more to come. Out of the three I put in today, only ONE is not for use by all - for the rest you dont even have to pay a single penny :) .. Besides that NOTE thing isn't even worth cribbing about. I'll try get in more of such cool one's that you wouldn't even bother touching that NOTE thingy... :)

Have fun !

#6 Wyllt

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 110 posts
  • Location:London, Ontario

Posted 30 March 2005 - 05:32 PM

odomike, on Mar 30 2005, 11:45 AM, said:

Yea JJBDude. Whats the essence of introducing the new BBCodes if all the members cannot use them?

I dont see any sense in it at all.

View Post


Well as it was stated that only one* of the codes are for mods and admins only, and what's the need of the note one unless you are an admin or mod anyways?

*see I just used the highlight and I'm not in trouble (I hope :) ).


microscopic^earthling:
Nice job, I like those BBCodes, very usefull and tres cool. :)

#7 miCRoSCoPiC^eaRthLinG

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Nakorn Chaisri, Thailand
  • myCENT:69.96

Posted 30 March 2005 - 05:39 PM

Thanks :) Here's another (pretty useless one) - unless you want to impress someone with some scrolling text... lol.. It's the BBCode implementation of our good old HTML <MARQUEE> tag. This one takes left & right as options (for now) and scrolls texts accordingly. I've limited the text scroll area width - as it was expanding in a very undesirable way and distorting the page. But I haven't specified any height params, so you can put in as many lines of text as you want and the box will expand to fit it in. Keep in mind that this one takes a little time to start off - I mean the scroll action wouldn't start till the whole page load is completed.

Examples:

[MARQUEE=right]Left to Right Scrolling Text[/MARQUEE]

[MARQUEE=left]
Right to Left Scrolling Text.
With multiple lines of text.
I quite like this one :)
[/MARQUEE]

#8 serverph

    Ancient Enigma

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,952 posts
  • Gender:Male
  • Location:under the stars
  • Interests:http://kapamilyatalk.com<br />http://scq.serverph.uni.cc<br />http://reseller.premium.ws<br /><br />trap17 IP to access cpanel: https://64.69.46.210:2083/<br />alternative to access cpanel: gamma.xisto.com/~cpanelusername<br />Get your T17 banners here: http://www.trap17.com/banners/<br />TRAP17 Forum Search plugin: http://plugins.astahost.com/<br /><br />[url=http://reseller.premium.ws][img]http://img40.echo.cx/img40/2713/resellerfree4rd.png[/img][/url] |
  • myCENT:67.66

Posted 30 March 2005 - 06:00 PM

nice ones, admin micros :) been waiting for that NOTE tag all along. why? because i used to use the CODES tag to include mod notes to erring and edited posts. aside from making other members informed on what pitfall to avoid in their posts also, i didn't want to add more credits to that member who violated forum rules. and the NOTE tag is the way to do it. B)

now i'm a happy mod. :)

#9 miCRoSCoPiC^eaRthLinG

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Nakorn Chaisri, Thailand
  • myCENT:69.96

Posted 30 March 2005 - 06:34 PM

Thanks serverph.. You got some cool avatar :) .. BTW I forgot to mention about another pretty useless BBCode - the Horizontal Rule. Once again, similar to HTML HR tag, this one inserts a page break line - to neatly divide your content into multiple horizontal sections. This one, takes options like "noshade" or null option - and draws the line accordingly. The "noshade" option makes the line thick and solid and devoid of the standard 3D Shading.


Here's another line followed by a "noshade"-ed line.
[hr=noshade][/hr]
This is the last line of text !

#10 beeseven

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 629 posts

Posted 30 March 2005 - 11:24 PM

Maybe a spoiler tag for game boards? I'm not sure if there already is one, but if not it could be like

SPOILER:
Like this, maybe

then when you hover over it it turns normal color. (if you're wondering if it really is a spolier, it just says "Like this, maybe")





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users