Advertisement:

Author Topic: Custom BBCodes Manager  (Read 77245 times)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Custom BBCodes Manager
« Reply #220 on: May 13, 2018, 02:06:16 AM »
oh, i just remembered, attached is the "hover" gif for the editor:
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Custom BBCodes Manager
« Reply #221 on: June 28, 2018, 04:04:43 PM »
@dougiefresh, a tiny bug causing many SMF "invalid index for vfunc" & "foreach() ..." errors as the field $tag was in fact empty on occasion ...
 
in Subs-CustomBBCodes.php, remove the "!" symbol in
Code: [Select]
if (!empty($tag['vfunc'])) 

The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Custom BBCodes Manager
« Reply #222 on: July 25, 2018, 06:41:47 AM »
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';
« Last Edit: July 25, 2018, 06:53:00 AM by aegersz »
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Custom BBCodes Manager
« Reply #223 on: October 11, 2018, 09:12:17 PM »
Uploaded v2.8 - October 11th, 2018
o No functionality change.
o Updated documentation to point to new website.

Offline gorbi

  • Jr. Member
  • **
  • Posts: 169
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Custom BBCodes Manager
« Reply #224 on: June 13, 2020, 07:11:16 AM »
How to add buttons to an additional theme?

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,779
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Custom BBCodes Manager
« Reply #225 on: June 13, 2020, 07:12:26 PM »
How to add buttons to an additional theme?

You have to add the modifications manually in the custom theme you are using. You can do that by looking at the parse where it explains that it should be modified.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!