Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Sheepy on November 12, 2005, 02:50:02 AM

Title: Assorted Tags
Post by: Sheepy on November 12, 2005, 02:50:02 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=221)

A set of little tags I created



Enhanced Move Tag -> [ move ] with more control

Fly Tag -> Like [ move ], but bouncing

Invisible Tag -> Completely hidden text that will be copied to clipboard

More HTML Tag -> Add more (safe) HTML tags to allowed HTML tag list

Username Tag -> Tag replaced with viewer's display name



See readme in individual packages for details (shown before install in package manager)

Except more HTML Tags, all comes with button.

Username and Inivisble Text has options to hide button.
Title: Re: Username Tag
Post by: codenaught on November 12, 2005, 09:50:48 AM
Nice mod. I'll install it on my forums. :)
Title: Re: Username Tag
Post by: Viking Chief on November 12, 2005, 06:14:14 PM
Thanks - great Mod  :D
Title: Re: Username Tag
Post by: Elmacik on November 13, 2005, 10:37:35 AM
Hehe really nice and creative ;)
Thanks.
Title: Re: Username Tag
Post by: jerm on November 14, 2005, 06:38:31 PM
would be nice if it could work with the topic title as well :)
Title: Re: Username Tag
Post by: Sheepy on November 14, 2005, 09:10:16 PM
Quote from: electrohome88 on November 14, 2005, 06:38:31 PM
would be nice if it could work with the topic title as well :)
If you make it so that BBCode does, then no further modification is necessary for that.  I believe that's a simple trick actually. ^^'
Title: Re: Username Tag
Post by: jerm on November 17, 2005, 08:38:25 PM
lol, its all good now
i like the mod, but my users caught on way to quick
they would do [username] sucks, etc.. and would be flaming everybody
people got pissed fast lol
Title: Re: Username Tag
Post by: Sheepy on November 18, 2005, 05:17:15 AM
Well, then it's time to use yourkarma, moderators and word filters. It's what they are for. ^^'
Title: Re: Username Tag
Post by: Wounded Knee on November 21, 2005, 12:33:55 PM
it's possible that "username" tag display in bold modo?

thks
Title: Re: Username Tag
Post by: Sheepy on November 21, 2005, 02:30:19 PM
Try [b ][username][ /b].  To make it bold would reduces it flexibility, and if you want to make it stand out so people can't flame everyone, people will soon starts to bold everything...

Let me make an option to show/hide the username button in next version.  This way the admin can use them without the users knowing its existance.
Title: Re: Username Tag
Post by: Wounded Knee on November 22, 2005, 02:15:06 PM
i agree.

and put the bbc image before and after?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg442.imageshack.us%2Fimg442%2F9308%2Fusername5lw.jpg&hash=8286bd00276c41ee39a36d737a4b3bcdec732bcd)

i tried it in subs.php but my php it's worse

array(
'tag' => 'username',
'type' => 'closed',
'content' => empty($ID_MEMBER) ? $txt[28] : $user_settings['realName'],


any help?

cheers
Title: Re: Username Tag
Post by: Sheepy on November 23, 2005, 05:56:35 AM
That's right it's (almost) where all the code is.  I think there's a before and after section that you can add to the array.  Then you can add <b > and  </ b>, or images.  Check how other tags do it. (Busy fixing my forum.  Somehow attachment is broken...)
Title: Re: Username Tag
Post by: Sheepy on November 26, 2005, 01:53:53 AM
Updated.  Now there's an option at bottom of Bulletin Board Code Settings that allow admins to hide the tag icon in editor, leaving no hints to user without disabling the code.
Title: Re: Assorted Tags
Post by: Sheepy on November 27, 2005, 11:57:27 AM
Did a few more tags out of request.  Don't want to over expand the mod list, so using this to place all of them.
Title: Re: Assorted Tags
Post by: Sheepy on November 29, 2005, 10:47:41 PM
Updated colour mod, fixed so it should not work in printing now.
Title: Re: Assorted Tags
Post by: Sheepy on January 21, 2006, 05:50:11 PM
Updated to 1.1 RC 2 (by Leaf)
Title: Re: Assorted Tags
Post by: URPG on February 07, 2006, 01:23:21 AM
Installed them in SMF1.1RC2 with MKP1.1 and it's working just fine :)
Title: Re: Assorted Tags
Post by: balzizras on March 21, 2006, 12:22:28 AM
Username Tag 1.2 installed fine for me, but the button wont show up properly. Any idea how to fix it?

Heres a pic of what it looks like:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1.tinypic.com%2Frvhmc0.jpg&hash=13cfaefc556d64cd664954414c3c1e2ba81703ba)

EDIT: Nevermind it didn't install the pic for some reason.
Title: Re: Assorted Tags
Post by: Sheepy on March 30, 2006, 12:21:44 PM
Looks horriable. @_@ I'll take a look.  Meanwhile, you can try to hide the icon.  ^^'  In BBC config IIRC.
Title: Re: Assorted Tags
Post by: URPG on September 10, 2006, 08:02:09 AM
Had the same trouble with it's look, uninstalled it again on RC2...

Are those working on RC3? Did you fix the appearance problem?
Title: Re: Assorted Tags
Post by: URPG on November 01, 2006, 04:50:40 AM
*bump*
Title: Re: Assorted Tags
Post by: perplexed on February 06, 2007, 02:56:25 PM
I have in installed in RC3 no problems

I am about to upgrade though so will it work on 1.1.1?

~thanks
Title: Re: Assorted Tags
Post by: Apllicmz on December 25, 2011, 02:45:10 PM
When Update
dont forget portuguese

    </file>
    <file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
$txt['bbc_username'] = "Inserir nome do visualizador de exibi&ccedil;&atilde;o";
$txt['showBbcUsername'] = "Mostrar ícone de marca no nome editor do utilizador ";
]]></add>
        </operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
$txt['bbc_username'] = "Inserir nome do visualizador de exibi&ccedil;&atilde;o";
$txt['showBbcUsername'] = "Mostrar ícone de marca no nome editor do utilizador ";
]]></add>
        </operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
$txt['bbc_username'] = "Inserir nome do visualizador de exibi&ccedil;&atilde;o";
$txt['showBbcUsername'] = "Mostrar ícone de marca no nome editor do utilizador ";
]]></add>
        </operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end"></search>
            <add><![CDATA[
$txt['bbc_username'] = "Inserir nome do visualizador de exibi&ccedil;&atilde;o";
$txt['showBbcUsername'] = "Mostrar ícone de marca no nome editor do utilizador ";
]]></add>
        </operation>
    </file>