Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Dec 2010, 13:19
symptome symptome is offline
 
Join Date: Aug 2005
Real name: Marcel
Check Titles - automatically correct

I've got the problem, that many people use titles with plenty of !!!!!?????-Signs.
I always edit those titles to delete those signs.
Another typical faults is, that after a comma there is no space.

Isn't there a possibility that creation of a thread corrects those things in titles automatically?

Thanks!
Reply With Quote
  #2  
Old 20 Dec 2010, 16:38
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I put together a quick plugin that will tell a user to fix a mistake (not fix it for them) if they enter more than one ! or ? or a combination of ?! in a row...

So:
This! Is! OK!
But
This is NOT OK!!!

Also it should stop commas with no space after them...

Good:
this is a good, comma usage!
Bad:
this will not,be allowed!

Go to your Admin CP -> Plugin Manager -> Add a New Plugin

Product: vBulletin
Hook: newthread_post_start
Title: Thread Title Punctuation Check
Code"

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

Set ACTIVE to YES
and SAVE.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 20 Dec 2010, 18:37
symptome symptome is offline
 
Join Date: Aug 2005
Real name: Marcel
Simply brillant!
Thanks a lot!

I believe, I will add some more
Like the 2 or 3 usual smileys ...
Or "..."
Reply With Quote
  #4  
Old 22 Dec 2010, 05:09
symptome symptome is offline
 
Join Date: Aug 2005
Real name: Marcel
Or would it be possible to write the above to be executed automatically without showing any error to the member?
Reply With Quote
  #5  
Old 22 Dec 2010, 05:25
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Not that I can do... you might find someone else willing and able.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #6  
Old 22 Dec 2010, 14:07
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Something like this might work for you:


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

(This allows ?! or !?, but you could change it to disallow that if you want).
Reply With Quote
Reply



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 15:08.

Layout Options | Width: Wide Color: