Topic: nesting UBB code? Pages that link to <a href="https://ozoneasylum.com/backlink?for=28806" title="Pages that link to Topic: nesting UBB code?" rel="nofollow" >Topic: nesting UBB code?\

 
Author Thread
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 01-08-2007 22:39 Edit Quote

when using the code tag, can it be possible to use the bold tag?

code:
[b]$var = myVar();[/b]



That way the suggested change or what not could be bolded in some code

Later,

C:\

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 01-09-2007 00:10 Edit Quote

For that reason I'd actually like to see the [ins] and [del] tags implemented.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 01-09-2007 15:22 Edit Quote

ubb code is explicitly not parsed in code tags so we can actually talk about the verbatim ubb code and don't loose brackets to slimies.

I could introduce another styledCode tag or something, though.

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 01-09-2007 19:12 Edit Quote

Couldn't it be set to only parse particular strings as ubb code though?

Such as the [ins] and [del] that poi suggested?

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 01-10-2007 08:56 Edit Quote

Sure, just not in a 15-minute-kind-of-hack

Let me finish up this diploma thesis here real quick*...

So long,
->Tyberius Prime

* - means half a year...

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 01-10-2007 13:14 Edit Quote
quote:

Tyberius Prime said:

Let me finish up this diploma thesis here real quick*...



1/2 a year!!??!! Now I can't wait that long on my ubb code not being parsed...

Hope you have more fun with yours than I did with mine!

Later,

C:\

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 01-10-2007 16:10 Edit Quote
quote:

Tyberius Prime said:

Sure, just not in a 15-minute-kind-of-hack Let me finish up this diploma thesis here real quick*...So long,->Tyberius Prime* - means half a year...



alright, well get crackin'

twItch^
Maniac (V) Mad Scientist

From: Denver, CO, USA
Insane since: Aug 2000

IP logged posted posted 01-12-2007 16:47 Edit Quote

Arright, I'll be the dumb outsider.



wtf should [ins] and [del] do?

-svd

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 01-12-2007 18:07 Edit Quote

[ins] will indicate code that has been inserted into a snippet.
[del] will indicate code that has been removed.

Stylings would be something along the lines of - strikethrough for [del], bold for [ins] I would say. Though they could be represented any way that was seen as fitting. The color scheme here leaves fewer options than other sites would have...

twItch^
Maniac (V) Mad Scientist

From: Denver, CO, USA
Insane since: Aug 2000

IP logged posted posted 01-12-2007 21:47 Edit Quote

sounds like a simple case of preg_replace and a bit of freetime. Of course, I don't even know what language the Asylum is written in anymore. So don't look at me.





seriously, stop looking at me.

-svd

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 01-12-2007 21:57 Edit Quote
quote:

twItch^ said:

seriously, stop looking at me.



Yeah right.
Like you've ever wanted people to stop looking at you

Yes, it should simple enough, and there are things in place that could be modifed easily enough - should someone have the time to spend, what would it take to for such a person to have access to the right stuff to put this into place, TP?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu