NATION

PASSWORD

Custom BBCodes for the new forum

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Mon Aug 24, 2009 3:28 pm

Glen-Rhodes wrote:I don't know if this has been addressed or not, but perhaps an image BBCode that allows you set the dimensions of the image?

Unfortunately, the Image tag isn't one I can get at from the admin panel; and from what I can tell, BBCode isn't too good with multiple variable tags, such as the height/width of an image... But I'll poke around and see if I can BS together an alternative like I did for the Blocktext tag :lol:
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
[violet]
Executive Director
 
Posts: 16207
Founded: Antiquity

Re: Custom BBCodes for the new forum

Postby [violet] » Wed Aug 26, 2009 5:19 pm

People should just size their images properly. Otherwise we get embedded pics that look tiny but are huge downloads.

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Wed Aug 26, 2009 5:21 pm

[violet] wrote:People should just size their images properly. Otherwise we get embedded pics that look tiny but are huge downloads.

You know, I wonder if that would work as a loophole or if the forum's image size limiter would be able to read that the image is actually over the limit and not allow it.

But there ya go folks, one of the bosses says no-go on it :P
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
Stoklomolvi
Minister
 
Posts: 2369
Founded: May 02, 2007
New York Times Democracy

Re: Custom BBCodes for the new forum

Postby Stoklomolvi » Tue Sep 01, 2009 6:30 pm

I was thinking about factbooks here, and factbooks on a wiki, and I decided that the primary difference was the lack of anchor points. On a wikipedia page, I could go to, say, "Russia#Politics," but here, it needs to belong in a new post. Thus is my suggestion.

Code: Select all
[ANAME=#{TEXT}]{TEXT}[/ANAME]
<a name=#TEXT>TEXT</a>
[AHREF=#{TEXT}]{TEXT}[/ANAME]
<a href=#TEXT>TEXT</a>


On an unrelated note, could fonts be added if there was a tacit agreement as to what fonts could or could not be used? Say, the font "Calibri" is allowed while "AUTOREALM glyph2429 etc" is not?
Demonym: Stoklomolvi
Stoklomolvi Liaoist Federation
Factbook -- Interpol -- Liaoism (old) -- News Agency (old) -- Commerce Comissariat -- Minyang
Defensive Preparedness: 1 | 2 | 3 | 4 | 5 | 6
Nuclear Launch Protocol: А | Б | В | Г | Д
Leader: Commissar Vladimir Mikhailovich Stuyonovich

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Tue Sep 01, 2009 6:35 pm

Font require [violet] to do some finangling with the backend, so I can't really help there.

However I'll poke at that anchor tag idea when I'm not quite so horribly sleep deprived (probably tomorrow or Thursday =p)
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
[violet]
Executive Director
 
Posts: 16207
Founded: Antiquity

Re: Custom BBCodes for the new forum

Postby [violet] » Tue Sep 01, 2009 9:34 pm

Fonts are not supplied by web sites; there's no finagling I can do there.

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Pythagosaurus » Wed Sep 02, 2009 2:42 pm

Stoklomolvi wrote:I was thinking about factbooks here, and factbooks on a wiki, and I decided that the primary difference was the lack of anchor points. On a wikipedia page, I could go to, say, "Russia#Politics," but here, it needs to belong in a new post. Thus is my suggestion.

Code: Select all
[ANAME=#{TEXT}]{TEXT}[/ANAME]
<a name=#TEXT>TEXT</a>


On an unrelated note, could fonts be added if there was a tacit agreement as to what fonts could or could not be used? Say, the font "Calibri" is allowed while "AUTOREALM glyph2429 etc" is not?

Now implemented as:
Code: Select all
[anchor={IDENTIFIER}]{TEXT}[/anchor]

We will not give you direct access to the href, as you could circumvent javascript prevention.
Last edited by Pythagosaurus on Wed Sep 02, 2009 2:44 pm, edited 1 time in total.

User avatar
Erastide
Retired Moderator
 
Posts: 1299
Founded: Antiquity
Democratic Socialists

Re: Custom BBCodes for the new forum

Postby Erastide » Thu Sep 03, 2009 1:18 pm

Pythagosaurus wrote:Now implemented as:
Code: Select all
[anchor={IDENTIFIER}]{TEXT}[/anchor]

We will not give you direct access to the href, as you could circumvent javascript prevention.

So how it really works is...
You put [anchor= ][/anchor] in front of what you want to get to, and fill in the blank after anchor= with some text.

Then to link to it, you put viewtopic.php?f=15&t=55#sometext as your url.

That took me a long while to figure out >_>

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Pythagosaurus » Thu Sep 03, 2009 2:04 pm

Erastide wrote:So how it really works is...
You put [anchor= ][/anchor] in front of what you want to get to, and fill in the blank after anchor= with some text.

Then to link to it, you put viewtopic.php?f=15&t=55#sometext as your url.

That took me a long while to figure out >_>

You can put it around what you want to get to, it just has a small side effect when you link to it (actually, it doesn't matter if you link to it).
Last edited by Pythagosaurus on Thu Sep 03, 2009 2:07 pm, edited 2 times in total.

User avatar
Stoklomolvi
Minister
 
Posts: 2369
Founded: May 02, 2007
New York Times Democracy

Re: Custom BBCodes for the new forum

Postby Stoklomolvi » Fri Sep 04, 2009 1:04 am

I thought BBCodes couldn't change java unless the privilege was enabled...that's how it worked when I adminned forums, but hey, hail the admins! Thank you for this addition.
Demonym: Stoklomolvi
Stoklomolvi Liaoist Federation
Factbook -- Interpol -- Liaoism (old) -- News Agency (old) -- Commerce Comissariat -- Minyang
Defensive Preparedness: 1 | 2 | 3 | 4 | 5 | 6
Nuclear Launch Protocol: А | Б | В | Г | Д
Leader: Commissar Vladimir Mikhailovich Stuyonovich

User avatar
The Tofu Islands
Minister
 
Posts: 2872
Founded: Mar 24, 2009
Ex-Nation

Postby The Tofu Islands » Wed Sep 30, 2009 10:56 am

Would it be possible (and not too much trouble) to alias [colour] to [color] for those of use east of the pond? I instinctively type the former, which causes minor problems. It's not really necessary, but it would be nice...
In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread.

User avatar
Uiri
Diplomat
 
Posts: 875
Founded: Mar 14, 2007
Ex-Nation

Postby Uiri » Thu Oct 01, 2009 9:10 am

The Tofu Islands wrote:Would it be possible (and not too much trouble) to alias [colour] to [color] for those of use east of the pond? I instinctively type the former, which causes minor problems. It's not really necessary, but it would be nice...


And those of us east of the pond and north of the border who type colour get no representation? I think colour is more widespread ...
SH*T HAPPENS
<Franberry> a WA condemnation is more useless than an irl UN sanction

User avatar
Stash Kroh
Envoy
 
Posts: 209
Founded: Jun 25, 2008
Ex-Nation

Postby Stash Kroh » Thu Oct 01, 2009 5:53 pm

Uiri wrote:
The Tofu Islands wrote:Would it be possible (and not too much trouble) to alias [colour] to [color] for those of use east of the pond? I instinctively type the former, which causes minor problems. It's not really necessary, but it would be nice...


And those of us east of the pond and north of the border who type colour get no representation? I think colour is more widespread ...


A tag could be used called [color] with all of the same effects as [colour], except there would be no button for it on the interface.

So when Americans type "[color]" they don't look like idiots -- atleast not because of any formatting issues. ;)

[/Canadian]
Ambassador Adelinda Gliemann
The Clockwork Forge of Stash Kroh
WA Security Council Liaison

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Postby Reploid Productions » Wed Nov 04, 2009 11:18 pm

Got nothing on the color/colour thing, but we do have a shiny new highlighter!
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
The Emmerian Unions
Minister
 
Posts: 2407
Founded: Jan 02, 2009
Ex-Nation

Postby The Emmerian Unions » Wed Nov 04, 2009 11:20 pm

Reploid Productions wrote:Got nothing on the color/colour thing, but we do have a shiny new highlighter!


Nice tool for modly stuff. Huh?
The Cake is a lie!
<<Peace through Fear and Superior Firepower>>

STOP AMERICAN IMPERIALISM? America is ANTI-IMPERIAL!
Ifreann wrote:"And in world news, the United States has recently elected Bill Gates as God Emperor For All Time. Foreign commentators believe that Gates' personal fortune may have played a role in his victory, but criticism from the United States of Gates(as it is now known) has been sparse and brief."
For good Russian Rock Radio, go here.
Please note, I rarely go into NSG. If I post there, please do not expect a response from me.
ALL HAIL THE GODDESS REPLOID PRODUCTIONS!

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Postby Reploid Productions » Tue Dec 22, 2009 4:53 pm

And after [p=1176497]it was pointed out in the Sig Workshop[/p] as a potentially handy tool, now you can use the [ p ] tag to link directly to a post in the forums with just the post's ID number rather than having to finagle around with the full link and the url tag. ;) Good for link-heavy sigs that need to conserve characters!
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Postby Pythagosaurus » Wed Dec 23, 2009 2:03 pm

"p" is kind of a bad name.

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Postby Reploid Productions » Wed Dec 23, 2009 2:34 pm

Well you're more than welcome to change it ;) Only reason I went with it was apparently that's what the old code on Jolt used for the post tag! ;)
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
Charlotte Ryberg
The Muse of the Westcountry
 
Posts: 15007
Founded: Mar 14, 2007
Civil Rights Lovefest

Postby Charlotte Ryberg » Thu Dec 24, 2009 9:31 am

FYI, "p" is actually a phpBB switch when finding the post id (e.g. example.com/forum.php?&p=123). I would personally prefer the following syntax for user interface improvements:

Code: Select all
[post="1234"]topic post[/post]

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Postby Pythagosaurus » Thu Dec 24, 2009 2:38 pm

"post" it is!

User avatar
Mikertaz Kein
Diplomat
 
Posts: 568
Founded: Jun 07, 2009
Ex-Nation

Custom BBCodes for the new forum

Postby Mikertaz Kein » Fri Jan 29, 2010 12:19 pm

Just wondering, would it be possible to include [align] tags for the WFE? I really hate the look when all of the text is squished to the left.

User avatar
Mikertaz Kein
Diplomat
 
Posts: 568
Founded: Jun 07, 2009
Ex-Nation

Postby Mikertaz Kein » Sat Jan 30, 2010 4:13 pm

So, would it be possible?

User avatar
Reploid Productions
Director of Moderation
 
Posts: 30513
Founded: Antiquity
Democratic Socialists

Postby Reploid Productions » Sat Jan 30, 2010 10:02 pm

I can't tweak up stuff for the game-side codes, but I can poke the purple dino and see if it might be doable ;)
Forum mod since May 8, 2003 -- Game mod since May 19, 2003 -- Nation turned 20 on March 23, 2023!
Sunset's DoGA FAQ - For those using DoGA to make their NS military and such.
One Stop Rules Shop -- Reppy's Sig Workshop -- Getting Help Page
[violet] wrote:Maybe we could power our new search engine from the sexual tension between you two.
Char Aznable/Giant Meteor 2024! - Forcing humanity to move into space and progress whether we goddamn want to or not!

User avatar
Pythagosaurus
Cute Purple Dinosaur
 
Posts: 549
Founded: Nov 24, 2004
Ex-Nation

Postby Pythagosaurus » Sat Jan 30, 2010 10:52 pm

It is possible, and it's not going to happen.

User avatar
The Republic of Lanos
Post Marshal
 
Posts: 17727
Founded: Apr 17, 2009
Ex-Nation

Postby The Republic of Lanos » Sat Jan 30, 2010 10:55 pm

Why can't it happen?

PreviousNext

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Diarcesia, San Pellegrino Romana

Advertisement

Remove ads