BBcodes management

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Avdon
Registered User
Posts: 186
Joined: Tue Jun 02, 2009 4:55 pm
Location: Germany
Name: Danny Alkhaldy

BBcodes management

Post by Avdon »

Hello,
Like here:
Image
How can I :
  1. Arrange BBcodes in the order I want?
  2. Specify an icon for a BBcode?
  3. Make drop-down menus for BBcodes categories?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51596
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: BBcodes management

Post by stevemaury »

1. Rearrange their order in posting_buttons.html
2. Make a new button class in .css and edit that same file to show it.
3. Beyond the scope of this forum. Try Style Writer's Discussion
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

i have two questions: one relates to this topic, and the other relates to word censors + bbcodes

1 - how would you arrange custom bbcodes?

screenshot:
http://i51.tinypic.com/5n6mia.jpg


2
- I tried following the How to change word censor behaviour to work with Code Tags but it seems it didnt work :(

screenshots:
http://i53.tinypic.com/ifscd4.jpg
http://i55.tinypic.com/2qkoztd.jpg

i would like for this smiley " Image " to show up whenever a word censor is trggered. any help would be greatly appreciated, thank you! -David
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

bump?
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

double bump?
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: BBcodes management

Post by Pony99CA »

CrazyDave wrote:how would you arrange custom bbcodes?
You can't (without a MOD). That's something that I've wished for, too. I want the default BBCodes to show up in the BBCodes list (so you can rearrange them or disable them; you obviously wouldn't be able to delete them or edit them) and I want custom BBCodes to allow you to style the BBCode buttons (so a strikethrough code would show up with a line through the tag name).
CrazyDave wrote:I tried following the How to change word censor behaviour to work with Code Tags but it seems it didnt work :(
First, your example wasn't in CODE tags.

Second, the censoring is working just fine -- the text that you entered is appearing in place of that word. Apparently censoring is done after BBCode expansion.
CrazyDave wrote:i would like for this smiley " Image " to show up whenever a word censor is trggered.
Have you defined that icon in the Smilies section? If not, it's technically not a "Smiley".

Regardless, I tried putting the smiley text (like :eek:) in as the censor and I didn't get the smiley, so it seems that smiley processing is done before word censoring, too.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

#1. okay i will post something in the MOD requests forum


#2.
Pony99CA wrote:First, your example wasn't in CODE tags.
ohhhh opps :oops:

yes it was defined as a smilie as seen here:
http://i54.tinypic.com/fnx0nq.jpg

changed the word censoring:
http://i51.tinypic.com/2wqxsmt.jpg

still doesnt work:
http://i52.tinypic.com/9s83gw.jpg

so since neither way worked, do you know of another way to get the smilie " Image " so show up when a word censor is triggered?
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: BBcodes management

Post by Pony99CA »

CrazyDave wrote: changed the word censoring:
http://i51.tinypic.com/2wqxsmt.jpg

still doesnt work:
http://i52.tinypic.com/9s83gw.jpg

so since neither way worked, do you know of another way to get the smilie " Image " so show up when a word censor is triggered?
I already said that even the smiley text wouldn't work, and I just tried using the IMG HTML tags, which didn't work, either. That means you'll probably need another MOD.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

alright, thank you very much for the help Steve :D :D
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: BBcodes management

Post by Pony99CA »

For want of a better solution, perhaps you could use JavaScript. Have all of your word censors map to something like "~~censored~~", then in overall_header.html set up an OnLoad handler to replace that text with <img src="censored.jpg" alt="Censored!" />.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
User avatar
CrazyDave
Registered User
Posts: 72
Joined: Mon Jun 22, 2009 9:15 pm
Location: Las Vegas, NV. USA

Re: BBcodes management

Post by CrazyDave »

only problem i can see with that would be the "script-blockers" like NoScript for firefox :?

dont want to give my members the option/opportunity to turn off word censoring. trying to keep a clean community :P but thanks again, ill just have to wait until a MOD comes out that works right into the smiley/word censor in the ACP :mrgreen:
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: BBcodes management

Post by Pony99CA »

CrazyDave wrote:only problem i can see with that would be the "script-blockers" like NoScript for firefox :?

dont want to give my members the option/opportunity to turn off word censoring. trying to keep a clean community :P
What? Word censoring wouldn't be "turned off" with my suggestion. Even if users turned JavaScript off, they would still see "~~censored~~"; they just wouldn't see your image.

Plus, turning JavaScript off would affect other board functions, too (Quick Reply, BBcode and smiley insertion, font resizing, etc.), so they'd be hurting themselves by doing that.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Locked

Return to “[3.0.x] Support Forum”