Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Fix [indent] after upgrading?


  • Please log in to reply
8 replies to this topic

#1 Durik

Durik

    Newbie

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • IP.Board Version:IPB 3.2.x
  • First Name:Derrick

Posted 28 December 2011 - 01:36 PM

Hello,
I've recently upgraded my IPB to 3.2 and all my indent tags are now visible. :(
The new indent tag goes by [indent=#] but is there any way to revert this? I've tried playing with BBCodes in the admin CP but I haven't any progress.

Thank you so much in advance! :)

#2 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 28 December 2011 - 10:52 PM

This was an bbcode xml file you imported or a mod? The upgrade shouldn't remove any existing bbcodes.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#3 Durik

Durik

    Newbie

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • IP.Board Version:IPB 3.2.x
  • First Name:Derrick

Posted 29 December 2011 - 02:12 AM

Hi Michael!
Sorry I think I worded my explanation wrong. :x
Pre-3.2 used indent tags like [indent=1]
But 3.2 uses indent tags like [indent=#]

#4 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 29 December 2011 - 03:39 AM

Have you run the rebuild tools after upgrading? I would of thought that this would fix this change with the editor. In Admin CP > System Tab .> Recount & Rebuild > Rebuild Content. See if "Post Content" has been run yet.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#5 Durik

Durik

    Newbie

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • IP.Board Version:IPB 3.2.x
  • First Name:Derrick

Posted 29 December 2011 - 05:05 PM

Mhm, I've ran post content after I upgraded >.<
I appreciate the support Michael!

Edited by Durik, 29 December 2011 - 05:05 PM.


#6 nnunn

nnunn

    Newbie

  • Members
  • Pip
  • 3 posts
  • IP.Board Version:IPB 3.2.x
  • First Name:Nigel

Posted 31 December 2011 - 03:07 PM

View PostMichael, on 29 December 2011 - 03:39 AM, said:

Have you run the rebuild tools after upgrading? I would of thought that this would fix this change with the editor. In Admin CP > System Tab .> Recount & Rebuild > Rebuild Content. See if "Post Content" has been run yet.
Hi Michael,

We have the same issue:  [indent without option] is not getting formatted.

Yesterday our forum was upgraded to the current version (http://urantia.invisionzone.com/, about 18,000 messages), and all looks great except for the "indent" tags being ignored.

Could this have something to do with the WISIWIG "indent" feature of the new editor?

I've also run the ...  Recount & Rebuild > Rebuild Content + [Post Content], and attempted to adjust the BBCode for [indent=1], but no change.

Do we need to try a global replace of [indent=1] with [indent=1] ?  Is that possible?

thanks for any suggestions, and happy 2012  :D
Nigel

#7 Michael

Michael

    Management

  • Management
  • 3,137 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 01 January 2012 - 02:12 AM

Looks like this is actually a confirmed bug, says it was fixed in v3.2.0 beta 1 however. See bug report here.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#8 nnunn

nnunn

    Newbie

  • Members
  • Pip
  • 3 posts
  • IP.Board Version:IPB 3.2.x
  • First Name:Nigel

Posted 01 January 2012 - 02:01 PM

View PostMichael, on 01 January 2012 - 02:12 AM, said:

Looks like this is actually a confirmed bug, says it was fixed in v3.2.0 beta 1 however. See bug report here.

Michael -- thanks for the fix!  I'll ask our main man how to update ../defaults.php

../sources/classes/bbcode/custom/defaults.php

/* Convert old indent tags over */
if ( stristr( $txt, '[indent]' ) ) {
  $txt = str_ireplace( '[indent]', '[indent=1]', $txt );
}

Nigel

#9 nnunn

nnunn

    Newbie

  • Members
  • Pip
  • 3 posts
  • IP.Board Version:IPB 3.2.x
  • First Name:Nigel

Posted 04 January 2012 - 07:53 PM

Good news -- the above fix worked !
Many thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users