Golden Sun Hacking Community
January 19, 2018, 05:37:32 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 13835 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: 1757

« 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: 1757

« 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: 2403

« 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: 1757

« 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: 2403

« 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: 1757

« 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: 1757

« 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: 1757

« 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: 2403

« 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
January 17, 2018, 04:07:51 PM
KyleRunner: :D
January 16, 2018, 08:44:56 PM
Fox: I must say... life can be complicated..... when you have question(s) (via email) ... and it seems like they sort of get ignored. :D ; Fun, (And sometimes, a person may respond, and completely not answer the question.... so like... 3-person conversation.) Hahahaha!!
January 15, 2018, 07:26:16 PM
Fox: (path) 1 text=(address) char=(address) free=(address) ; << Well, closer to this... but yeah... even if I do choose to have defaults in the code, I could still use this method for overrides.
January 15, 2018, 07:24:28 PM
Fox: So like (path) 0 text=(address) char=(address) len=(number) ; (path) 1 free=(address) ; Or something. But that's just a quick example.
January 15, 2018, 06:59:14 PM
Fox: Hopefully. I was wanting to make it so you could put in the addresses/etc. as one of the arguments in the path. Hm?
January 15, 2018, 03:37:07 PM
KyleRunner: Nice! I hope you'll add compatibility with others games (GS1, Mario Golf and Tennis) soon.
January 14, 2018, 11:40:09 PM
Fox: Okay. Posted (in Downloads section) an initial cutdown version for now, for my text compressor. Basically to separate the code from my Editor for anyone who wants to mess with it. It only supports GS2, because I still didn't add the addresses/etc. for the other games.
January 14, 2018, 05:01:00 PM
Fox: Okay! Going to need to think how I want it to work. Initial thoughts is maybe have a number of arguments in the filepath thing. And have a number of shortcuts (files) to be used as examples. Assuming there are no problems.
January 14, 2018, 10:38:24 AM
KyleRunner: Well... I'm used to editing text ina a text editor, so... yes! Thanks in advance!
January 13, 2018, 11:38:43 PM
Fox: (Text editor = Text Document like notepad.)
January 13, 2018, 11:38:21 PM
Fox: Would you prefer during the text editing in a text editor? (Like what gstoolkit lets you do?) I could probably make a separate tool or something to compress it.
January 13, 2018, 10:10:02 PM
KyleRunner: Ok. Once I finish my Lost Age translation, I'll try a Mario Golf one. Thanks. (But I'll need help).
January 13, 2018, 10:03:17 PM
Fox: If you want to make it "permanent" (part of a hack), then you'd edit code in the ROM that writes to this location of the IDs you'd want to change. (You can find these locations by using a breakpoint debugger like SDL-H or no$gba.)
January 13, 2018, 10:00:11 PM
Fox: Reload/switch = Recommended to be done through Debug mode/warp menu, ofcourse... since doors seem to appear as if they were disabled? ; 03001238:01 and B+Start to get to warp menu.
January 13, 2018, 09:55:39 PM
Fox: @Kyle Runner = It might be, but you'd have to use the correct addresses for Mario Golf, rather than for GS2 as I have it right now. ; @raijinken = Yes. 02000454 = ID of leader. (Change this and reload/switch room you are in, enjoy.)
January 13, 2018, 02:23:29 PM
raijinken: Hey guys, is it possible to somehow change the lead character on the map? Was wondering. I remember there was a cheat to use Jenna, but what if I wanted Isaac, or Piers?
January 13, 2018, 02:10:03 PM
KyleRunner: Hey, Fox *
January 13, 2018, 02:09:37 PM
KyleRunner: Hey, is your text editor compatible with Mario Golf (GBA)?
January 11, 2018, 08:33:13 PM
Fox: But if it isn't an oversight, I still can't imagine it being that useful.
January 11, 2018, 08:28:24 PM
Fox: part, ofcourse.

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.088 seconds with 22 queries.