[DEV] Username BBCode

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 834
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[DEV] Username BBCode

Post by dmzx »

Extension Name: Username BBCode
Author: dmzx

Extension Description:

Username BBCode with Group Colours.
Based on the code of 4seven.

Image Image

Image
Add class

Screenshots:
Select Username:
Image

Selected:
Image

Output:
Image

Extension Download:
http://www.dmzx-web.net/downloadsystemdownload?id=116

Installation:
  1. 1. Download the latest release.
    2. Unzip the downloaded release, and change the name of the folder to `username`.
    3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
    4. Copy the `username` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/username/composer.json
    5. Navigate in the ACP to `Customise -> Manage extensions`
    6. Look for `Username BBCode` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Sun Feb 28, 2016 9:14 am, edited 1 time in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com
Willeos
Registered User
Posts: 35
Joined: Fri Feb 27, 2015 11:26 pm

Re: [DEV] Username BBCode

Post by Willeos »

Wow thank you again dmzx for the extension!
Holger
Registered User
Posts: 1844
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Username BBCode

Post by Holger »

PR for Swedish translation sent.

Thank you for the ext!
User avatar
donsenilo
Registered User
Posts: 306
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [DEV] Username BBCode

Post by donsenilo »

Very nice :D

but it does not show up if Advanced BBCode Box is installed :cry:
brunoais
Registered User
Posts: 440
Joined: Wed Jun 18, 2008 10:50 am

Re: [DEV] Username BBCode

Post by brunoais »

Isn't this easily abusable?
User avatar
JoshyPHP
Code Contributor
Posts: 1194
Joined: Mon Jul 11, 2011 12:28 am

Re: [DEV] Username BBCode

Post by JoshyPHP »

@dmzx: the username BBCode won't work in phpBB 3.2 because it doesn't use the traditional BBCode syntax. If you replace the first | with an equal sign =, it will work fine:

Code: Select all

[username={COLOR}|{IDENTIFIER}|{NUMBER}]{TEXT}[/username]
I wrote the thing that does BBCodes in 3.2+.
User avatar
dmzx
Registered User
Posts: 834
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Username BBCode

Post by dmzx »

JoshyPHP wrote:@dmzx: the username BBCode won't work in phpBB 3.2 because it doesn't use the traditional BBCode syntax. If you replace the first | with an equal sign =, it will work fine:

Code: Select all

[username={COLOR}|{IDENTIFIER}|{NUMBER}]{TEXT}[/username]

;) Thanks
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Username BBCode

Post by ac_roma »

great mod ;)
User avatar
tamarin
Registered User
Posts: 120
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [DEV] Username BBCode

Post by tamarin »

Thank you for the extension.
But I can´t select the username.
Can you help me please?
Thank you in advance.

Image
Last edited by tamarin on Tue Apr 28, 2015 12:00 am, edited 1 time in total.
User avatar
tamarin
Registered User
Posts: 120
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [DEV] Username BBCode

Post by tamarin »

.
User avatar
dmzx
Registered User
Posts: 834
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Username BBCode

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com
User avatar
lopoto
Registered User
Posts: 108
Joined: Thu Feb 12, 2015 3:13 pm

Re: [DEV] Username BBCode

Post by lopoto »

donsenilo wrote:Very nice :D

but it does not show up if Advanced BBCode Box is installed :cry:
same for me :?
TWEagle
Registered User
Posts: 304
Joined: Sat Dec 10, 2005 2:50 pm
Contact:

Re: [DEV] Username BBCode

Post by TWEagle »

lopoto wrote:
donsenilo wrote:Very nice :D

but it does not show up if Advanced BBCode Box is installed :cry:
same for me :?
me neither
Image
User avatar
tamarin
Registered User
Posts: 120
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [DEV] Username BBCode

Post by tamarin »

TWEagle wrote:
lopoto wrote:
donsenilo wrote:Very nice :D

but it does not show up if Advanced BBCode Box is installed :cry:
same for me :?
me neither
Go to yourforum/ext/dmzx/username/styles/prosilver/template/event
Rename the

Code: Select all

posting_editor_buttons_custom_tags_before.html
to

Code: Select all

vse_abbc3_posting_editor_buttons_custom_tags_before.html
and clear the cache.

It works!
Post Reply

Return to “Extensions in Development”