vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=233914

Thread management in quick reply
by Sador
23 Jan 2010 02:50

1 Attachment(s)
Thread management in quick reply
I've used this on my vBulletin 3.x forum for quite some time, but unfortunately it didn't work in vBulletin 4 anymore. I noticed there wasn't anyone making this mod, so I decided to make it myself and share it with you guys.

Description:
This is a pretty small mod that will add 2 checkboxes in your quick reply for those that have permissions to use it. With those checkboxes you'll be able to open, close, stick and unstick the thread you're in when you submit a message using the quick reply.

You don't need to set any special permissions or anything, if a user has the permissions to open, close, stick or unstick threads in the forum they're in they will automatically be able to use this. If not, they won't even see it, of course.

Now for the actual mod:

Go to your Admin CP, to Styles & Templates, Style manager, edit templates.

Now, in SHOWTHREAD find:


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

after add:


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

Now you need to edit the showthread.php file.

Find:


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

After add:


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

All done.

There are two small disadvantages:
- You need to edit showthread.php, so you might have to do the edit again when you overwrite the file (for example when upgrading vBulletin).
- You need to do the template edit for every style you want it in.

I don't know if it's even possible to do this mod another way so you won't have those problems, but it's not in my capabilities anyway. Support will probably be limited, sorry for that.

Also, thanks to Lynne for helping me getting this to work.

Have fun with this mod and please mark as installed if you decide to use it.

carrlos 23 Jan 2010 02:58

First! :D

Hornstar 23 Jan 2010 05:23

In 3.8 there is a mod that does this without file edits.
http://www.vbulletin.org/forum/showthread.php?t=100492

so it is possible. Even tho it might be past your capabilities like you said, thought I would point it out to you.

CvP 06 May 2010 17:59

I hope someone makes it a product.


All times are GMT. The time now is 02:17.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.