Logo
View unanswered posts | View active topics It is currently Wed Apr 08, 2020 2:24 pm



Reply to topic  [ 18 posts ] 
Trouble using the BBC code?? WIth firefox?? 
Author Message
Renegade Reaver
User avatar

Joined: Mon Jan 09, 2006 1:21 pm
Posts: 1612
Location: Regina,Saskatchewan,Canada
I have a darn hard time trying to get the HTML codes to work with my armylists.....

Has anyone else experienced this?

Any reason why it isn't as simple as highlighting my text and then choosing the tags from the above menu that I can see right now but doens't seem to work...

Is it's purpose just to show me how to type the codes??

I am also using a Firefox Web Browser......

_________________
The Ark of Exile-Lord Katan's Renegade Reavers 2k


Last edited by Prince of arnheim on Mon Aug 14, 2006 1:24 pm, edited 1 time in total.



Mon Aug 14, 2006 11:06 am
Profile
Loremaster
User avatar

Joined: Tue Oct 12, 2004 8:22 am
Posts: 2806
Location: Australia
Post 
HTML codes? Er... things like the quote tags and the italics tags most commonly used are phpBB coding, not HTML, AFAIK - they use the [] brackets instead of the <> ones.

_________________
"I live in hope and fear. Hope that once more the Lords of Caledor will ride on the backs of Dragons. Fear that if we do, when we do, it will be our last ride." ~Imrik, High Prince

Initiative Leader - Editors


Mon Aug 14, 2006 12:30 pm
Profile WWW
Cabal without a cause
User avatar

Joined: Mon Sep 15, 2003 12:49 am
Posts: 1798
Location: Hamburg, Germany
Post 
Plus the tags are really simple.

To use them, you have two options. Either click the respective button, then the opening tag will appear in your text box and you can type the text you want it applied to behind it, then put the text cursor behind the text and click the button again, that will automatically put a closing tag at the point where the text cursor was.

Or you can type them in manually.

A list of the most important ones, use them without the space after the first bracket each:

[ quote="Name of the quoted person"]quote text [ /quote]
[ i]italics[ /i]
[ b]bold[ /b]
[ u]underlined[ /u]
[ color=yellow]text colour(use any of the listed colours from the drop down menu instead of yellow)[ /color]

_________________
It´s nice to be important, but it´s more important to be nice.


Mon Aug 14, 2006 12:45 pm
Profile ICQ
Highborn
User avatar

Joined: Thu Jun 05, 2003 12:46 pm
Posts: 754
Location: Hameln, Germany
Prince of Arnheim wrote:
Is it's purpose just to show me how to type the codes??

I am also using a Firefox Web Browser......

Supposing you are talking about the BBCode to format your posts. You have to either type in the tags manually or you can click once on a specific tag to open the format then write your stuff and click the same tag again to close the format.
It is not that hard.

Anyway, this is the suggestion area.
Are you suggesting that it should work with highlight and click?

In that case I say it worked for years now, so why fix it if it is not broken? ;)

_________________
It's a conspiracy...


Mon Aug 14, 2006 12:53 pm
Profile
Morathi's Best Friend
Morathi's Best Friend
User avatar

Joined: Tue Oct 04, 2005 5:06 pm
Posts: 1203
Location: Flanders, Belgium
Post 
When you reply, there is an options list in the lower left corner of the screen. Currently, it says that:
  • HTML is off
  • BBCode is on
  • Smilies are on

This is the choice of the site administrator. Allowing HTML would incur all manner of trouble, starting with layout and not even ending with security risks. It may not make the website standards compliant, but it makes it easier to manage.

So HTML tags don't work here. Suppose, for instance, that I would type the following, perfectly legal, HTML code:
Code:
<div style="position: fixed; left: 2ex; top: 0; width: 20em; height: 100%; z-index: 1; background: black; border: 1px solid silver; font-family: monospace">
  This is an annoying little git that could be coded to be even worse.
</div>

This would put a window up over the identity of other posters. Admittedly, in this case, the code is purposefully obtrusive, but all manners of trouble breaks loose when you allow HTML code to go rampant on a server.

Most of your formatting needs are catered to with BBCode. If you want more tags, feel free to contact the site admin, since that's not me. :lol:

_________________
SAU XV: Pawn of the Dead | SAU XVII: The Frosty Dozen | SAU XIX: On the Brink of Madministration | Running fiction: House Arhakuyl


Mon Aug 14, 2006 1:05 pm
Profile
Renegade Reaver
User avatar

Joined: Mon Jan 09, 2006 1:21 pm
Posts: 1612
Location: Regina,Saskatchewan,Canada
Post 
OK

I am talking about the BBC code......it doesn't work for me....in the highlight and click manner that should make it nice and convenient to use......

_________________
The Ark of Exile-Lord Katan's Renegade Reavers 2k


Mon Aug 14, 2006 1:24 pm
Profile
Loremaster
User avatar

Joined: Tue Oct 12, 2004 8:22 am
Posts: 2806
Location: Australia
Post 
Are you using any Firefox extensions?

_________________
"I live in hope and fear. Hope that once more the Lords of Caledor will ride on the backs of Dragons. Fear that if we do, when we do, it will be our last ride." ~Imrik, High Prince

Initiative Leader - Editors


Mon Aug 14, 2006 1:32 pm
Profile WWW
Hard, but Fair
User avatar

Joined: Mon Dec 29, 2003 4:01 pm
Posts: 3754
Location: Southern Netherlands
Post 
http://www.bbc.co.uk should answer your questions.

Seriously, though, I have the same problem with my firefox, and I don't use any extensions. Whenever I highlight a piece of text and press one of the quick tag buttons, the pair of tags is placed at the end of the post.

_________________
Count them:

Painted in 2013: 500
Painted in 2014: 600
Painted in 2015: 854


Mon Aug 14, 2006 1:36 pm
Profile WWW
M-A-D
User avatar

Joined: Thu Jul 17, 2003 9:52 am
Posts: 5178
Location: Melbourne Oz
Post 
Aye I have the same problem, but its Mac problem for me I believe. Either that or Safari. Doesn't bother me though. I just type 'em.

_________________
Pleased to be back


Mon Aug 14, 2006 2:15 pm
Profile WWW
Cabal without a cause
User avatar

Joined: Mon Sep 15, 2003 12:49 am
Posts: 1798
Location: Hamburg, Germany
Post 
I´m using opera, so I can´t say wether it is Firefox that stops this method from working, but I never used it anyway, I just type in the commands - after a few days it comes to you as easily as typing the actual text.

_________________
It´s nice to be important, but it´s more important to be nice.


Mon Aug 14, 2006 2:24 pm
Profile ICQ
Loremaster
User avatar

Joined: Tue Oct 12, 2004 8:22 am
Posts: 2806
Location: Australia
Post 
Quote:
I just type 'em.

I type in the quote, bold, italics, code tags et all as well - I always have, actually, since it isn't all that difficult to do.

_________________
"I live in hope and fear. Hope that once more the Lords of Caledor will ride on the backs of Dragons. Fear that if we do, when we do, it will be our last ride." ~Imrik, High Prince

Initiative Leader - Editors


Mon Aug 14, 2006 3:35 pm
Profile WWW
Follower of Malal
User avatar

Joined: Wed Jun 30, 2004 6:37 pm
Posts: 2726
Location: Colchester, Essex (UK).
Post 
It's not the BBC codes, it's phpBB codes. Learn the talk. :roll:

That said, yes, highlighting + tags doesn't work with Firefox, but only on this site as far as I know. I has nothing much to do with FF, rather a problem with this site's code - just like the fact that this leaves a space where there shouldn't be one.

_________________
General Kala wrote:
Cenyu wrote:
Hail to the King, baby.
All my eloquence fails to express it as well as this.


Mon Aug 14, 2006 6:16 pm
Profile
Morathi's Best Friend
Morathi's Best Friend
User avatar

Joined: Tue Oct 04, 2005 5:06 pm
Posts: 1203
Location: Flanders, Belgium
Post 
And here's our culprit:
Code:
if ((clientVer >= 4) && is_ie && is_win) {
This first line shows that the selection trick is designed only to work with IE v4 for Windows. The following code works for Mozilla 1.7, Firefox 1.5 and Opera 9.
Code:
var start, end;
var str;
var textarea = document.post.message;

start = textarea.selectionStart;
end   = textarea.selectionEnd;
str   = textarea.value;

textarea.value = str.substring(0, start) + bbtags[bbnumber]
                   + str.substring(start, end) + bbtags[bbnumber+1]
                   + str.substring(end, str.length);

If there is a selection, tags are inserted just before and after; if not, both start and end tags are inserted at the caret.

The code gets funky in IE 6, however, so maybe we could put this in the "else"-section?

Setting Opera to mask as IE works as a charm, so seemingly, the test is probably obsolete as well. Funny how the world goes around. ;)

_________________
SAU XV: Pawn of the Dead | SAU XVII: The Frosty Dozen | SAU XIX: On the Brink of Madministration | Running fiction: House Arhakuyl


Mon Aug 14, 2006 6:58 pm
Profile
Lord of Khorne
Lord of Khorne
User avatar

Joined: Fri Nov 22, 2002 1:29 pm
Posts: 8432
Location: Leading the revolution (and in the chat).
Post 
Get the BBcode extension for firefox. I find that works very well.

_________________
Image

"Rork.. a wonderful guy :)" - Linda Lobsta Defenda

+++ Team Mulligans +++


Mon Aug 14, 2006 9:40 pm
Profile
Witch Elf
Witch Elf
User avatar

Joined: Sun Jun 09, 2002 11:31 pm
Posts: 8090
Location: Toms River, NJ, USA
Post 
moved to off topic as it isnt a suggestion but a browser thingie discussion.. the technical details are to much for my blonde brain

_________________
General FAQ:
http://www.druchii.net/viewtopic.php?t=2504

FAQ about rules:
http://www.druchii.net/viewtopic.php?p=547809


Mon Aug 14, 2006 9:57 pm
Profile
Morathi's Best Friend
Morathi's Best Friend
User avatar

Joined: Tue Oct 04, 2005 5:06 pm
Posts: 1203
Location: Flanders, Belgium
Post 
Then can I make the suggestion (wink, wink) to implement the above code? :)

_________________
SAU XV: Pawn of the Dead | SAU XVII: The Frosty Dozen | SAU XIX: On the Brink of Madministration | Running fiction: House Arhakuyl


Mon Aug 14, 2006 10:13 pm
Profile
Lord of Khorne
Lord of Khorne
User avatar

Joined: Fri Nov 22, 2002 1:29 pm
Posts: 8432
Location: Leading the revolution (and in the chat).
Post 
Tarbo wrote:
Then can I make the suggestion (wink, wink) to implement the above code? :)


That be webmaster territory. You'll have to see if Kala or Langmann can use their mighty powers as a force for change...(rather than their usual generic Eeeeeevil ;) ).

_________________
Image

"Rork.. a wonderful guy :)" - Linda Lobsta Defenda

+++ Team Mulligans +++


Mon Aug 14, 2006 11:06 pm
Profile
Malekith's Tastetester & Physician
Malekith's Tastetester & Physician
User avatar

Joined: Thu Oct 10, 2002 9:41 pm
Posts: 5170
Location: Putting needles into people.
Post 
Tarbo wrote:
Then can I make the suggestion (wink, wink) to implement the above code? :)


pm me.

_________________
While running a million dollar company, singing at weddings, and his frequent jetting to Spain Elton Jon style, Dark Alliance found the time to stand on the doorstep of Games Workshop like Moses and the Pharoah and calmly state, "Let my people go."


Tue Aug 15, 2006 5:25 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software