BBcode in ranks?

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
andars05
Registered User
Posts: 4
Joined: Sat Sep 30, 2006 10:14 pm

BBcode in ranks?

Post by andars05 »

I searched but can't find a definitive answer. Is it possible to use bbcode within ranks? In phpBB2 I use html in order to add color to ranks, such as:

Code: Select all

<font color="000">Example Rank</font>
I realize that the usage of HTML has been replaced with custom bbcode. However, is there a way to make use of bbcode in ranks so that:

Code: Select all

[color=#000000]Example Rank[/color]
will appear as:

Example Rank

under rank?

Thanks.

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: BBcode in ranks?

Post by Handyman »

andars05 wrote: I searched but can't find a definitive answer. Is it possible to use bbcode within ranks? In phpBB2 I use html in order to add color to ranks, such as:

Code: Select all

<font color="000">Example Rank</font>
I realize that the usage of HTML has been replaced with custom bbcode. However, is there a way to make use of bbcode in ranks so that:

Code: Select all

[color=#000000]Example Rank[/color]
will appear as:

Example Rank

under rank?

Thanks.

Custom profile fields do not currently support bbcode.
Currently you would need a mod to do that... though it would not be difficult.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

andars05
Registered User
Posts: 4
Joined: Sat Sep 30, 2006 10:14 pm

Re: BBcode in ranks?

Post by andars05 »

Is there a are function that translates the bbCode that can be called to be used in the rank field?

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: BBcode in ranks?

Post by Handyman »

andars05 wrote: Is there a are function that translates the bbCode that can be called to be used in the rank field?

There are functions that enable you to program in bbcode functionality... to see how to do it, visit my bbcode tutorial or Nadermans wiki to see how the functions work.
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

andars05
Registered User
Posts: 4
Joined: Sat Sep 30, 2006 10:14 pm

Re: BBcode in ranks?

Post by andars05 »

Okay, I'll look into it. Thanks.

I had one other question, offtopic from my original, but it still has to do with styling.

How do I install another style? I uploaded a style thats supposed to work with phpbb3 (I realize its unsupported). Maybe this is a dumb question, but where in the ACP can I add styles?

Thanks.

Edit:

Ah, I wasn't a founder so the styles tab was not showing up. Oops :P

andars05
Registered User
Posts: 4
Joined: Sat Sep 30, 2006 10:14 pm

Re: BBcode in ranks?

Post by andars05 »

Okay, I now have to where it will store ranks in the database using bbcode bitfields/uids and such. I can also get it to display bbcode when viewing ranks in rank managemnt. What would be the best way to decode it viewtopic.php I see that it grabs the ranks from cache. I don't have a lot of experience with phpbb.

moonlightkisu
Registered User
Posts: 8
Joined: Wed Feb 04, 2009 1:45 am
Location: usa

Re: BBcode in ranks?

Post by moonlightkisu »

I am using the "HTML in ranks" mod on 3.04, and it doesn't work at all.

The ranks show up as unformatted HTML, such as:

<font color="#ffffff">Rank</font>

is it supposed to work?

moonlightkisu
Registered User
Posts: 8
Joined: Wed Feb 04, 2009 1:45 am
Location: usa

Re: BBcode in ranks?

Post by moonlightkisu »

awesome, I get a reply, and it's just spam.

Post Reply