[OzzModz] Increase Various Title Lengths

[OzzModz] Increase Various Title Lengths [Paid] 2.0.1

No permission to buy ($10.00)

Ozzy47

Well-known member
Ozzy47 submitted a new resource:

[OzzModz] Increase Various Title Lengths - Increase the character limit for various titles in XenForo

Requirements:
XenForo 2.2+

Description:
This addon will give you the ability to set the title lengths of conversation/dm, thread title on forum display, mod log, nodes, notices, thread titles and user custom titles.

By default XF has these values:
Conversation:
150 characters
Thread titles: on forum display: 150 characters
Mod log: content title: 150 characters
Node titles: 50 characters
Notice titles: 150 characters
Thread titles:...

Read more about this resource...
 
Uninstalling the addon:
If you remove this add-on it will reset the length of all affected columns back to their default character count.
If you have longer titles set, they will be truncated at their original value XF set. This is irreversible!
Why not leave existing long titles alone? This makes it really risky to install this addon. There could be many reasons for someone to want to uninstall this addon without truncating all existing titles back to the default length.
 
Why not leave existing long titles alone? This makes it really risky to install this addon. There could be many reasons for someone to want to uninstall this addon without truncating all existing titles back to the default length.

Because the DB changes would conflict with the longer than expected characters.
 
If we want to avoid truncating titles when uninstalling the addon, we can just remove this section from Setup.php right?

Code:
    public function uninstall(array $stepParams = [])
    {
 
No, you shouldn't remove anything fro the uninstall steps, there is no telling the repercussions from that.
 
An update for user banner text, perhaps? Would fulfill my suggestion.

But, I have concerns about this. Is it changing the database? And, if, let's say you extend titles to 500 characters and there is a thread with 500 characters, but you run an upgrade of XF, will it error out because the title shouldn't be that long, or do XF upgrades check the database changes like that?

 
Yes it makes DB changes otherwise you would not be able to have loner titles. No XF won’t error out when you upgrade.
 
  • Like
Reactions: frm
Yes it makes DB changes otherwise you would not be able to have loner titles. No XF won’t error out when you upgrade.
Ok, cool, that was my only worry to have to disable this and/or revert back to a smaller value, because XF would see it and go "NOPE!".

If you could as so kindly put in user banner titles, that would be great (there's an ACP template edit to adjust the max size too as it's fixed in the textbox).

I would use this one on multiple forums, so I suppose I would need to purchase a multi-site license to do that or throw you another $tenner?
 
No, if you already have an account upgrade ( on Snog’s), you can use the addon on as many sites as needed.

Shoot me a PM what you did with banners and I’ll look into adding it into the addon.
 
No, if you already have an account upgrade ( on Snog’s), you can use the addon on as many sites as needed.
Will send another $10 if implemented just to make up for those that are passing your stuff around as if you don't need the money for the hard work and effort you put into XF development anyway.

PM sent.
 
1740446921282.webp

Works perfectly so you can direct membership banners to their /help pages or threads on how to become a member without having to use a link shortener. Plus, you can use the native XF title attribute for the pop up to describe what it is as well.

Thanks for implementing this, @Ozzy47 !
 
Back
Top Bottom