News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

BBC In Custom Titles

Started by Sorck, October 09, 2009, 04:19:01 PM

Previous topic - Next topic

Sorck

Link to Mod

This modification allows members to add BBCode into their custom titles.

Please make sure that you have uninstalled any previous versions before continuing.

If you require support please use the SMF Community Forums support thread.

Copyright (c) James Robson, 2012
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



Changes

  • Should install in a greater variety of custom themes. 26/01/2014
  • Custom titles in PM's are now being processed. 26/01/2014
  • Support for all but the SMF 2.0.x series has been dropped. - 12/07/2012
  • Modification XML is now more likely to continue working... - 12/07/2012
  • Support for SMF Curve included and updated. - 12/07/2012

I will gladly answer any questions about this modification,
Sorck

minos

a screenshot please or a demo site


Sorck

Quote from: minos on October 10, 2009, 03:48:24 AM
a screenshot please or a demo site

http://turtlesonline.grimdarkness.net/forum/index.php?topic=46.0
The above link shows a topic in which my Custom Title has been put in Bold and Coloured Green ;)

meko me

please kindly update for 2.0RC

thanx

LHW

Quote from: Colonel Sorck on October 10, 2009, 03:21:40 PM
http://turtlesonline.grimdarkness.net/forum/index.php?topic=46.0
The above link shows a topic in which my Custom Title has been put in Bold and Coloured Green ;)

Under FF 3.6.8, it gets displayed as:

[b][green]The Lone Wanderer[/green][/b]

Any chance of this being updated for RC3??

Thanks!


Sorck

Quote from: Lord High Warlock on August 18, 2010, 07:07:28 AM
Quote from: Colonel Sorck on October 10, 2009, 03:21:40 PM
http://turtlesonline.grimdarkness.net/forum/index.php?topic=46.0
The above link shows a topic in which my Custom Title has been put in Bold and Coloured Green ;)

Under FF 3.6.8, it gets displayed as:

[b][green]The Lone Wanderer[/green][/b]

Any chance of this being updated for RC3??

Thanks!
I always forget to update things. :P

I'll get it fixed up ASAP. :)

Oskarlover

Quote from: Sorck on August 18, 2010, 06:23:20 PM
Quote from: Lord High Warlock on August 18, 2010, 07:07:28 AM
Quote from: Colonel Sorck on October 10, 2009, 03:21:40 PM
http://turtlesonline.grimdarkness.net/forum/index.php?topic=46.0
The above link shows a topic in which my Custom Title has been put in Bold and Coloured Green ;)

Under FF 3.6.8, it gets displayed as:

[b][green]The Lone Wanderer[/green][/b]

Any chance of this being updated for RC3??

Thanks!
I always forget to update things. :P

I'll get it fixed up ASAP. :)

Please update!

Sorck

I know it's been a while but it now works with SMF 2 Gold (and versions up to and including SMF 2.0.2 but should continue to work throughout the entire SMF 2.0.x life span). :)

supersasho

Hm, does not seem to work afterall. :( The topic name is unformated:

[b]test[/b]

EDIT: I have 2.0.2, mod installed without any errors.

Sorck

This is for BBCode in Custom Titles, not Topic Titles.

supersasho


Srinib

Sorry. But i fail to understand what exactly this MOD does.
Will it give the ability to utilize the BBC Code for the subject line of the message?

Sorck

Quote from: Srinib on September 14, 2012, 03:59:27 PM
Sorry. But i fail to understand what exactly this MOD does.
Will it give the ability to utilize the BBC Code for the subject line of the message?
No. This mod applies only to custom titles.

Custom titles, if enabled, appear below the users name.

See http://wiki.simplemachines.org/smf/Profile_features for more information about custom titles.

mikedijital

I think the idea behind this mod is ok, but I got 2 major complaints

1. It doesn't work in Firefox

2. You have to manually uninstall it, and while its only 2 lines of code, for a first time SMF user this stuff is hard.

My opinion is this mod need to be unapproved for download, and reworked .. just my .02 cents

Sorck

Quote from: mikedijital on December 16, 2012, 02:45:16 PM
I think the idea behind this mod is ok, but I got 2 major complaints

1. It doesn't work in Firefox

2. You have to manually uninstall it, and while its only 2 lines of code, for a first time SMF user this stuff is hard.

My opinion is this mod need to be unapproved for download, and reworked .. just my .02 cents
I've just tested under a fresh SMF 2.03 install and it installed with no problems. My custom title rendered it's BBCode correctly. I then uninstalled through package manager with no problems, (Was testing under PHP 5.4, and using Firefox 16)

I cannot replicate your problem without manually installing in the first place.

Sorck

The mod has received an update today with the following changes:
* Should work in a greater number of custom themes (I've stripped down the code that it finds and replaces on)
* Custom titles weren't being parsed in PM's for some reason but that has now been fixed

It is fully compatible with SMF 2.0.7. It should remain compatible on all of the 2.0.x line without issue. :)

Arantor

Why not just edit Load.php where it's defined in the first place?
Holder of controversial views, all of which my own.

Melons

Works like a charm, thanks for the update Sorck!  ;D

Advertisement: