Golden Sun Hacking Community
April 20, 2018, 02:30:20 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 [2] 3   Go Down
  Print  
Author Topic: Custom BBCode Commands  (Read 14384 times)
0 Members and 1 Guest are viewing this topic.
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #15 on: September 10, 2010, 03:01:31 AM »

Basically the tags are supposed to be nested so that the table tag is on the outside, row tags are inside it, and column tags are inside the row tags.  It ends up looking something like this:

Code:
[table]
     [tr]
          [td]One[/td]
          [td]Two[/td]
     [/tr]
     [tr]
          [td]Three[/td]
          [td]Four[/td]
     [/tr]
[/table]

Which gives us this:

OneTwo
ThreeFour


As you can see the table itself is invisible, but it does align the contents properly.  You can even get more advanced, and do stuff like this:

Spoiler for One:
One
Code:
Two
Quote
Three
Four

As for actually making the table borders visible...  That's probably something I'll have to edit in the php code for the command.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #16 on: September 11, 2010, 06:56:34 AM »

Awww, that sucks.  It's gonna make me do ASCII tables for the summons list?


F you, forums.  F you.
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #17 on: September 11, 2010, 07:07:02 AM »

Fixed
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #18 on: September 11, 2010, 12:59:54 PM »

Thank you.  Thank you SO much.  Now I can actually make these things readable, AND have them be viewable in lower resolutions.  Fixed width fonts can be kind of... width restricting.
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #19 on: September 12, 2010, 12:51:31 AM »

I would like the BBCode for scrollboxes... (You know, like what was done with the sig... ) Edit: Hopefully it is possible to make one (box with attribute for height.)

(Atleast then, we won't have to worry about long spoilers taking up so much room....)
« Last Edit: September 12, 2010, 12:57:51 AM by charleysdrpepper » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #20 on: September 12, 2010, 02:36:51 AM »







[heightmax=# in pixels] Content [/heightmax]

The scroll bar only appears if necessary on compatible browsers so don't count on it to actually work for everyone.  In fact, Internet Explorer doesn't even support the tags necessary for it to work.
« Last Edit: January 11, 2015, 05:12:54 PM by Atrius » Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #21 on: September 12, 2010, 04:30:21 AM »

If you still use IE, you deserve the crap you get.  Firefox/Chrome FTW!

Also, I wish they'd finish making that OP.  Ending it halfway is kinda... eh...
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #22 on: September 12, 2010, 12:14:52 PM »

I usually use Internet Explorer. (Though, for GBATEK, I use Firefox, due to a strange error I get there somehow..)

Thanks for the bbcode.. I'll just test it right here....

Quote
Height 1




Height 1

Height 1




Height 1
Height 2




Height 2
^No horrizontal scrollbar in IE, {yet, it is in firefox, and google chrome... (checked as guest)}

Height 1




Height 1


Spoiler for test:
Height 1




Height 1

v
Height 1, just testing

^ And we can do heightmax=0 for hiding our post stuff. (Not from HTML view, however..)

Quote from: Atrius
In fact, Internet Explorer doesn't even support the tags necessary for it to work.
Hold on, the scrollbars are appearing for me...
« Last Edit: September 12, 2010, 01:12:19 PM by charleysdrpepper » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #23 on: September 12, 2010, 01:22:49 PM »

Huh... I guess newer versions do.  Older ones definitely didn't.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #24 on: September 28, 2010, 03:48:02 PM »

Is there an Image Left and Image Right tag?  One to let images be in line with text?
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #25 on: September 28, 2010, 03:52:59 PM »

The left & right align tags for text work for images as well.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #26 on: September 28, 2010, 09:26:42 PM »

I meant to make them in-line with text.  Image Left tags cause images to show up on the left, while the text works around it.  Likewise, Image Right allows it to be in-line with text, but on the right side
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1758

« Reply #27 on: September 28, 2010, 11:11:47 PM »


M'kay let's test these out, and see if they work then.
So this is more what you want?
[imgleft]image url[/imgleft]
[imgright]image url[/imgright]
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #28 on: September 29, 2010, 03:54:17 AM »

Yup, that's what I was going for.  Being able to put images in line with text can make things much more aesthetically appealing, especially in a lot of the types of posts I make.
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #29 on: September 29, 2010, 11:58:49 PM »

I have, yet, another idea... Pretty much like a table, but instead, with all the cells over-lapping...


[tabbox=height][tab=Title of Tab 1]Content of Tab 1[/tab][tab=Title of Tab 2]Content of Tab 2[/tab]...[/tabbox]

(EDIT: Where height could be optional, with out it, it extends to the last line of the longest tab.)


Helpful for quick access to categories.. (For example, if you wanted to explain each section of the editor in separate tabs.)

EDIT: With Browsers that don't support this, you could probably do detection, and turn the tab titles into URLs of #tabname, to make it skip down to the appropriate section? Kinda like the CONTENTS section on Wiki.

Though, either way, the CONTENTS BBCode is more-ly recommended, if tabbing is a problem. (Since it's perfect for linking from other pages... to a specific location in a post.) (I forget, but I think it was the <a name=NAME>Content</a> and <a href=#NAME>Link Title</a> in HTML.?


As for that imgleft/right code, sounds good, I'll try it out sometime...? Though, I would have thought [alignleft]content[/alignleft] and [alignright]Content[/alignright] would have been even more useful.
« Last Edit: September 30, 2010, 03:35:35 AM by charleysdrpepper » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Cbox
Yesterday at 11:29:46 PM
Atrius: @Fox, I tried, but for some reason Mario Golf won't boot, and Mario Tennis crashes when you patch out the text compression, and I'm not sure why...  The normal text loading functions in them are basically the same as the ones in the Golden Sun games.
April 16, 2018, 07:44:36 AM
Drake baku: So it took about halve a hour of letting my lap stay off for it to suddenly work again
April 16, 2018, 07:31:28 AM
Drake baku: All of a sudden fox his editor gets errors. When trying to start it, thing worked fine yesterday...
April 14, 2018, 01:04:37 PM
Fox: @Mario Golf/text editing = Nope... And it may be awhile yet. I think I looked into it before... (at least for GS1)... but usually is the case when I come across a particular problem, that it can delay a solution for an extremely long time.
April 12, 2018, 04:27:14 PM
KyleRunner: Gee... never used discord...
April 12, 2018, 06:03:23 AM
Drake baku: I take it back, found it
April 12, 2018, 06:02:01 AM
Drake baku: But there is no discord link to be found
April 12, 2018, 06:01:44 AM
Drake baku: Everyone is on discord
April 11, 2018, 09:44:06 PM
KyleRunner: Fox, what about that tool for editing text in Mario Golf? Didi you finish it? If not, can you make a version of gstoolkit compatible with it?
April 11, 2018, 07:41:25 AM
Drake baku: Mauw
March 30, 2018, 07:26:11 PM
Salanewt: Hi!
March 29, 2018, 07:37:45 PM
ThanatosTheDark: YYEEEOOOOOO
March 12, 2018, 02:21:06 AM
Fox: say*
March 12, 2018, 02:20:53 AM
Fox: I saw we need an event this April Fools/Easter... because two holidays are in one, why would we not want to miss having something special? (Unfortunately, there's no one here to make an event be successful.)
March 12, 2018, 02:18:17 AM
Fox: And since that's the case...  I have thought of another fun experiment idea. - What if we had an auction on who should run this site, and waited for 10 people to bid and also for a bare minimum of 24 hours. Who would bid the highest, and how much would that bid be? - The idea is more for lulz (Maybe for April Fools?), and a theory to get an idea of how much the site might be worth as well.
March 11, 2018, 03:02:31 AM
Fox: Creepy, isn't it?
March 10, 2018, 02:19:04 AM
Fox: It's frog legs now.. It's something that's dead, but somehow still manages to wiggle.
March 09, 2018, 04:12:17 AM
JamietheFlameUser: I think this place is still dead.
March 02, 2018, 09:43:18 AM
Pkmn-Master: Lol I haven't been here in like 6 years. How is everyone?
February 26, 2018, 06:15:34 AM
Salanewt: Heads up: I finally finished the Wisp animation hack, and it has been posted in the downloads section.

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.082 seconds with 22 queries.