Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Jun 2019, 18:14
azmoon's Avatar
azmoon azmoon is offline
 
Join Date: Oct 2011
Capitalizing all letters in thread title

Hello,
I want all the letters be capitalized in thread titles, including the current threads and the new ones.
I have disabled "Prevent Shouting" setting in Admin CP -> vBulletin Options -> Message Posting and Editing Options, but the new threads have not been affected.
Could you help me what should I do to capitalize all thread titles letters?
Reply With Quote
  #2  
Old 08 Jun 2019, 01:57
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
You're going to have to run a database query to convert all existing thread titles, and you're going to have to write a plugin to force all future thread titles to be all uppercase before being written to the database.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 08 Jun 2019, 15:22
azmoon's Avatar
azmoon azmoon is offline
 
Join Date: Oct 2011
Originally Posted by MarkFL View Post
You're going to have to run a database query to convert all existing thread titles, and you're going to have to write a plugin to force all future thread titles to be all uppercase before being written to the database.
Hello,
Thanks for the reply.
Running query is easy but I should think more about the plugin.

Beside, then what do the values of Prevent Shouting option do?
I think it's default value is 3 (or at least mine was 3).
Zero disables it, then what do the other numbers do in this option?
Reply With Quote
  #4  
Old 08 Jun 2019, 17:03
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
For the plugins you will need one hooked at "threaddata_presave" with the code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will still allow anyone who can administrate threads to edit the thread and give an unaltered title.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove thread title in navbits if you have large thread title installed VietSoil vBulletin 2.x Full Releases 17 30 Oct 2002 02:07



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:20.

Layout Options | Width: Wide Color: