Advertisement:

Author Topic: Custom BBCodes Manager  (Read 71081 times)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,462
  • Gender: Male
  • "mods" junkie
    • dopetalk
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 140+ mods) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,462
  • Gender: Male
  • "mods" junkie
    • dopetalk
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 140+ mods) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,462
  • Gender: Male
  • "mods" junkie
    • dopetalk
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 140+ mods) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,815
  • 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.