| | |
|
|
html to phpBB3
#638601 - Tue Oct 21 2008 10:37 AM
|
|
|
Another coding question for you clever cloggs out there.
I've been converting some of the html functions I use in my NCD profile over to phpBB3 for another forum. Buuuuut, I've hit a snag. The [DD] coding, which indents my lines here on the NCD won't seem to change straight into phpBB3. The same code works fine, but phpBB3 won't. I tried searching for it on Google but I just get reams of doing with random points of [DD] being featured within layers of other codes.
Does anyone else on here use phpBB3 at all?
*note that that [ are obviously meant to be <. :)
--------------------

By TheBritt
-----------
Gleaming multitude
Britt's avatars cover shores
Maybe even worlds
He can't not comment
OOC, opinion shows
Followed by XD - Luthorne
|
|
|
|
|
|
Do you mean
or
?
Anything using square brackets is UBB code which gets translated into HTML by the forum software and won't necessarily work elsewhere.
|
|
|
|
|
|
No no, I meant the second. I don't know how you got that code to work though. Is that some kind of html thing too? I can't just type it raw because it starts formatting text, naturally.
--------------------

By TheBritt
-----------
Gleaming multitude
Britt's avatars cover shores
Maybe even worlds
He can't not comment
OOC, opinion shows
Followed by XD - Luthorne
|
|
|
|
|
|
Here on MZDM, the [code] tag provides for what Nullcast did, while the [nohtml] tag would allow you to implement a <dd> mid-text. I can put in a [noubb] prior to some text in order to insert raw UBB without it being turned into HTML by the forum. There's a few other tags that do stranger stuff, yes, but... they can be buggy.
And you'll learn right-quick that I haven't fixed a bug with nesting [noubb] tags.
I'll reply to your original post when I have the time to read it through.
|
|
|
|
|
|
Okay, now for the O.T.
My biggest question is: Is HTML enabled in their profiles? If not, you're... well, SOL as it's called. If you're unfamiliar with the acronym, just know that the second two letters stand for "Outta Luck" and be done with it.
|
|
|
|
|
|
Also I'd guess that many forums only allow a limited set of HTML tags in posts and filter out the rest to prevent abuse. It wouldn't be so much that they decided <dd> is dangerous as they decided to only allow the tags they knew weren't dangerous.
|
|
|
|
|
|
Well, at least I learnt the 'code' function for UBB .
And no. The problem is is that the forum has been made in phpBB3, because that's the service we've purchased. We can allow html, but, apparantly, this leaves our sites seriously open to hackers. I'm not certain how this all works, exactly, but suffice to say this isn't just one person commenting on this, a thread that asked about enabling html on the phpBB3 sites basically had many responses that advised against it.
So. I'm stuck with trying to figure out how to convert html into phpBB3. As I say, I'm converted a fair few things, such as the hr bar, including how to make it varying sizes. I just can't get the DD to work. Bloody thing. Why can't things just be simple, eh? 
Thanks all the same guys.
--------------------

By TheBritt
-----------
Gleaming multitude
Britt's avatars cover shores
Maybe even worlds
He can't not comment
OOC, opinion shows
Followed by XD - Luthorne
|
|
|
|
|
|
Oh man, Brit
I can tell you /stories/ of what you can do with unfettered HTML in a forum.
|
|
|
|
|
|
Thalamasa said:
Oh man, Brit
I can tell you /stories/ of what you can do with unfettered HTML in a forum.
No, really?
And, well, there's worse too.
|
|
|
|
|
|
Argharghargh
I'd forgotten that profile! I swear it's gotten worse!
... It just reminded me of another project I need to work on, though, related to web code. So at least there's a plus.
|
|
|
|
|
|
Thalamasa said:
Oh man, Brit
I can tell you /stories/ of what you can do with unfettered HTML in a forum.
You know, I think I remember seeing this a long time ago o_o;;;. Horriffic . Who made it, if you know?
--------------------

By TheBritt
-----------
Gleaming multitude
Britt's avatars cover shores
Maybe even worlds
He can't not comment
OOC, opinion shows
Followed by XD - Luthorne
|
|
|
| | |