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
Allech-Atreus
Attaché
 
Posts: 91
Founded: Apr 01, 2004
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Allech-Atreus » Sat May 16, 2009 8:18 pm

[violet] wrote:I've (just) added [nation] and [region] tags, but they're basic only -- they make links with no flags or long titles.


Thank you; and I think it's best we don't have the extra bits. Takes up space, y'know.
Ideological Bulwark #68

User avatar
Naivetry
Ambassador
 
Posts: 1294
Founded: Aug 02, 2006
Left-wing Utopia

Re: Custom BBCodes for the new forum

Postby Naivetry » Sat May 16, 2009 9:59 pm

Merci beaucoup.

The media department of Naivetry thanks you. :D

User avatar
Shazbotdom
Postmaster-General
 
Posts: 11131
Founded: Sep 28, 2004
Anarchy

Re: Custom BBCodes for the new forum

Postby Shazbotdom » Mon May 18, 2009 12:53 am

Hey Reploid
What's the HTML Replacement code that you used for the Blocktext? I can't seem to figure it out and I wanted to use it on a phpBB3 board that I have set up.
ShazWeb || IIWiki || Discord: shazbertbot || 1 x NFL Picks League Champion (2021)
CosmoCast || SISA || CCD || CrawDaddy || SCIA || COPEC || Boudreaux's || CLS || SNC || ShazAir || BHC || TWO
NHL: NYR 2 - 0 WSH | COL 1 - 1 WPG | VGK 2 - 0 DAL || NBA: NOLA (8) 0 - 2 OKC (1)
NCAA MBB: Tulane 22-19 | LSU 26-16 || NCAA WSB: LSU 35-11

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

Re: Custom BBCodes for the new forum

Postby Uiri » Mon May 18, 2009 6:26 am

SH*T HAPPENS
<Franberry> a WA condemnation is more useless than an irl UN sanction

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Mon May 18, 2009 11:14 pm

Shazbotdom wrote:Hey Reploid
What's the HTML Replacement code that you used for the Blocktext? I can't seem to figure it out and I wanted to use it on a phpBB3 board that I have set up.

Heh, it certainly gave me the biggest headache, since I think the quote BBCode already ganks use of the HTML <blocktext> tag. I ended up BSing the same effect using inline CSS. Here's what I came up with for it:
Code: Select all
<div style="margin-left:75px; margin-right:75px; margin-bottom:5px; margin-top:5px">{TEXT}</div>

Obviously you can change out the numbers to adjust the margins as desired. CSS saves the day again! :mrgreen:
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
Angels World
Lobbyist
 
Posts: 23
Founded: Dec 10, 2006
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Angels World » Thu May 21, 2009 2:58 pm

Cool! Thanks for all the work you do, Reployed Productions and NS Team. :)

User avatar
The Macabees
Senator
 
Posts: 3924
Founded: Antiquity
Anarchy

Re: Custom BBCodes for the new forum

Postby The Macabees » Sun May 31, 2009 8:57 pm

Is there a code for superscript?
Former Sr. II Roleplaying Mentor | Factbook

The Macabees' Guides to Roleplaying, Worldbuilding, and Other Stuff (please upvote if you like them!)

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Mon Jun 01, 2009 12:08 am

The Macabees wrote:Is there a code for superscript?

... Not at the moment, however I do think I ought to look into it!
There is now! And one for subscript, too.
Last edited by Reploid Productions on Mon Jun 01, 2009 12:15 am, edited 1 time in total.
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
Spartzerina
Envoy
 
Posts: 276
Founded: May 26, 2008
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Spartzerina » Mon Jun 01, 2009 12:30 am

Very nice! Keep up the good work!
The Council of Narnia - Our Forums
CoN Vice Chancellor
FRA Vice Chancellor
A male of the species Homo sapiens

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

Re: Custom BBCodes for the new forum

Postby Erastide » Mon Jun 01, 2009 7:14 am

Reploid Productions wrote:
The Macabees wrote:Is there a code for superscript?

... Not at the moment, however I do think I ought to look into it!
There is now! And one for subscript, too.

OMG I could do chemistry on this board.... If I wanted to merge work and play.

User avatar
The Macabees
Senator
 
Posts: 3924
Founded: Antiquity
Anarchy

Re: Custom BBCodes for the new forum

Postby The Macabees » Mon Jun 01, 2009 7:38 am

Thank you! It's mostly because I source my tech and whatnot.
Former Sr. II Roleplaying Mentor | Factbook

The Macabees' Guides to Roleplaying, Worldbuilding, and Other Stuff (please upvote if you like them!)

User avatar
The Macabees
Senator
 
Posts: 3924
Founded: Antiquity
Anarchy

Re: Custom BBCodes for the new forum

Postby The Macabees » Tue Jun 02, 2009 3:44 pm

I am currently writing a post for a role-play, and I was thinking about the use of images. Images, generally, make walls of text easier to bare. But, currently, images break up the text, making it look less appealing and harder to read. Is it possible to somehow have the text flow around images?
Former Sr. II Roleplaying Mentor | Factbook

The Macabees' Guides to Roleplaying, Worldbuilding, and Other Stuff (please upvote if you like them!)

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Tue Jun 02, 2009 4:36 pm

The Macabees wrote:I am currently writing a post for a role-play, and I was thinking about the use of images. Images, generally, make walls of text easier to bare. But, currently, images break up the text, making it look less appealing and harder to read. Is it possible to somehow have the text flow around images?

I can poke around, but I suspect that may be too far beyond the capabilities of the HTML > BBCode dohickey in the admin panel.
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 Macabees
Senator
 
Posts: 3924
Founded: Antiquity
Anarchy

Re: Custom BBCodes for the new forum

Postby The Macabees » Tue Jun 02, 2009 9:33 pm

True enough. Thanks for trying, though! Yea, I've never seen it before on a forum. I wonder how they code it in WordPress.
Former Sr. II Roleplaying Mentor | Factbook

The Macabees' Guides to Roleplaying, Worldbuilding, and Other Stuff (please upvote if you like them!)

User avatar
North Mack
Ambassador
 
Posts: 1213
Founded: Apr 27, 2005
Scandinavian Liberal Paradise

Re: Custom BBCodes for the new forum

Postby North Mack » Fri Jun 05, 2009 11:36 am

Reploid Productions wrote:
The Macabees wrote:I am currently writing a post for a role-play, and I was thinking about the use of images. Images, generally, make walls of text easier to bare. But, currently, images break up the text, making it look less appealing and harder to read. Is it possible to somehow have the text flow around images?

I can poke around, but I suspect that may be too far beyond the capabilities of the HTML > BBCode dohickey in the admin panel.



earlier you said you could use inline CSS for the blockquote? If that's true you could do some kind of tag sort of like the [url] tag in that it can have 2 params...
Code: Select all
[img=left]http://example.com/image.jpg[/img]


would be

Code: Select all
<div style="float:left"><img src="http://example.com/image.jpg"></div>


or something. I don't know how the custom BBCode stuff works, just an idea :?


EDIT: I just did some testing of my own on another phpBB board, and I figured it out. :)

Code: Select all
[image={SIMPLETEXT}]{URL}[/image]

becomes

<div style="float:{SIMPLETEXT};"><img src="{URL}"></div>


worked for me at least. Custom CSS on here may throw things off but its a starting point.
Last edited by North Mack on Fri Jun 05, 2009 11:48 am, edited 2 times in total.
T H E S T E L L A R R E P U B L I C O F N O R T H M A C K
Forged in Fire, Reforged in Blood
[ DeviantArt | NS FT Discord | The Local Cluster | FT Advice and Assistance Thread | The State of the Galaxy ]

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Fri Jun 05, 2009 12:25 pm

Hrm... I'll have to tool around with that when I get home from work. I'd almost forgotten the float thingie XD
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
Quintessence of Dust
Ambassador
 
Posts: 1986
Founded: Nov 21, 2006
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Quintessence of Dust » Fri Jun 05, 2009 8:20 pm

Hey, this is like the tiniest thing imaginable, but the alt text for the [Table] button reads
[tr] amd [td]
Last edited by Quintessence of Dust on Fri Jun 05, 2009 8:21 pm, edited 1 time in total.
The fight is long and tough, but together, we can make it. -- José Carlos Mariátegui

Two kinds of pork in one soup? Bring it on. -- Christina Hendricks

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Sun Jun 07, 2009 12:32 pm

Whoops! Fixed the typo! :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
Reploid Productions
Director of Moderation
 
Posts: 30511
Founded: Antiquity
Democratic Socialists

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Mon Jun 08, 2009 4:24 pm

And many thanks to North Mack for the help, we now have the Float tag to wrap text around images on the [float=right]Image[/float] left/right side of a post ^_~ And for those wondering about the image, that's a really old Chrono Trigger sprite edit my sister did forever ago of IRL me :lol: I figured a little bitty image would be a bit easier to wrap around than the 3-D sig pic thingies I used in the Wall of Text demo in the first post of the thread! Gasp and such, IRL-style Rep Prod the Ninja Mod Admin ... armed with a paper airplane!
Last edited by Reploid Productions on Mon Jun 15, 2009 3:07 pm, edited 1 time in total.
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

Re: Custom BBCodes for the new forum

Postby Charlotte Ryberg » Thu Jun 11, 2009 10:52 am

In Jolt, I was able to click on a link in a quote, which took me to the original post in which it was replied to. Is it possible to replicate this feature here?

Thanks.

User avatar
Naivetry
Ambassador
 
Posts: 1294
Founded: Aug 02, 2006
Left-wing Utopia

Re: Custom BBCodes for the new forum

Postby Naivetry » Thu Jun 11, 2009 11:38 pm

Charlotte Ryberg wrote:In Jolt, I was able to click on a link in a quote, which took me to the original post in which it was replied to. Is it possible to replicate this feature here?

Thanks.

Seconded - this would be really useful. Right now, we have to add the link to the relevant post manually, and when these debates stretch into 500+ word posts across 10 pages, you start losing track of who said what where...

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Thu Jun 11, 2009 11:52 pm

Well, that's more one for the general improvements discussion than the BBCode tags; I can't make that work with the BBCodes! :(
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
Parthenon
Senator
 
Posts: 3512
Founded: Antiquity
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Parthenon » Sat Jun 13, 2009 4:12 am

Edit: Figured it out, nevermind.
Last edited by Parthenon on Sat Jun 13, 2009 4:19 am, edited 1 time in total.
The Parthenese Confederation
Parthenon
Intergallactic Hell
The Bleeding Roses
West Parthenon
Former GDODAD/Metus Member

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

Re: Custom BBCodes for the new forum

Postby Reploid Productions » Sat Jun 13, 2009 3:42 pm

And because some people can't follow the "No images in sigs" thing just because of a technical workaround, the float tag has been (hopefully temporarily) disabled.
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
Glen-Rhodes
Powerbroker
 
Posts: 9027
Founded: Jun 25, 2008
Ex-Nation

Re: Custom BBCodes for the new forum

Postby Glen-Rhodes » Sun Jun 14, 2009 5:52 pm

Reploid Productions wrote:And because some people can't follow the "No images in sigs" thing just because of a technical workaround, the float tag has been (hopefully temporarily) disabled.

I'm assuming the old BBCode was something like this:

Code: Select all
<div style="float: right;"><img src="{TEXT}" /></div>

You've probably already thought of it, but why not just do this, instead?

Code: Select all
<div style="float: {TEXT1};">{TEXT2}</div>
Last edited by Glen-Rhodes on Mon Jun 15, 2009 8:17 am, edited 1 time in total.

PreviousNext

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: PurDunamis, Shenny, The Italian Socialist Union

Advertisement

Remove ads