dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Custom BBCodes Manager  (Read 8398 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Custom BBCodes Manager
« on: September 27, 2016, 10:00:04 PM »
http://custom.simplemachines.org/mods/index.php?mod=3699

Introduction
This modification adds the ability to create custom Bulletin Board Code (bbcode) for your forum.

Admin Settings
The settings are found in SMF 2.0.x at:
o Admin -> Forum -> Posts and Topics -> Custom BBcode without SMF 2.1-Style Admin Menu mod installed.
o Admin -> Configuration -> Features and Options -> Custom BBcode with SMF 2.1-Style Admin Menu mod installed.

The settings are found in SMF 2.1 at:
o Admin -> Configuration -> Features and Options -> Custom BBcode

To add a custom tag, click the "Create New Tag".  You submit both the tag and upload a button for your new tag.

Installed and tested.

re. the "blink" BBCode > http://www.simplemachines.org/community/index.php?topic=527734.msg3892832#msg3892832

« Last Edit: September 29, 2016, 05:03:54 AM by chipper »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Custom BBCodes Manager
« Reply #1 on: September 29, 2016, 05:14:03 AM »
some custom ones can also be found at > https://www.phpbb.com/community/viewforum.php?f=438
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Custom BBCodes Manager
« Reply #2 on: June 29, 2018, 04:00:23 AM »
ee +88 /var/www/html/Sources/Subs-CustomBBCodes.php

!a hard mistake to make (one for @dougiefresh)

from:
Code: [Select]
        if (!empty($tag['vfunc']))
to:
Code: [Select]
        if (empty($tag['vfunc']))
« Last Edit: August 01, 2018, 02:11:47 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Custom BBCodes Manager
« Reply #3 on: July 25, 2018, 06:42:21 PM »
another bug in Sources/Subs-CustomBBCodes.php that caused me 12 errors at a time because $data is an array.

I disabled the code as i didn't really see the need for it but you may want it and be able to come up with a better solution of course.

I needed to clear the file cache (Admin > Maintenance/Forum Maintenance > Routine > Empty the file cache) after the patch.

locate:
Code: [Select]
                        if (!empty($row['accept_urls']))
                                $row['vfunc'][] = 'CustomBBCodes_URL';

change to:
Code: [Select]
// disabled bug fix     if (!empty($row['accept_urls']))
// disabled bug fix             $row['vfunc'][] = 'CustomBBCodes_URL';

NOTE: the GitHub repo version is untested but should be identical to this
« Last Edit: October 14, 2018, 01:34:07 AM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Epeee

  • Newbie
  • Join Date: May 2018
  • Location:
  • Posts: 4
  • Reputation Power: 2
  • Epeee is new on the scene.
  • Last Login:October 11, 2018, 04:35:30 PM
  • ?
Re: Custom BBCodes Manager
« Reply #4 on: July 31, 2018, 04:13:17 PM »
Knowledge for others very much. Thanks for the knowledge, it is very helpful to me.











เกร็ดความงาม
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Custom BBCodes Manager
« Reply #5 on: August 01, 2018, 01:59:18 PM »
@Epeee, if you want to know anything about our software configuration and code then PM me anytime.

i have been configuring/programming our forum for over 3 years and it runs quite well, relatively bug free too.
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6777
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 10:36:18 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Custom BBCodes Manager
« Reply #6 on: April 16, 2021, 12:54:51 AM »
Terrace Sexy House Mix



boogie shoes


content



Using my own BBCode here:

[blink]blinking[/blink]

blinking
« Last Edit: April 20, 2021, 07:35:47 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal