PDA

View Full Version : Disable sign in wanted forums


VBDev
11 Jan 2004, 22:51
This hack lets you choose when you add or edit a forum in the admincp, if you want the signature to be shown or not.



Ce hack vous permet lors de la création ou l'édition d'un forum de choisir si les signatures des users sont affichées ou non.


Installation time : 5 min
Files to modify : 3

This was an original request by boofo and it was quite easy to do.
Grog6 now you must respect me :devious:

Thanks to eXtremeTim who has fixed a bug :)

:devious:

This hack has been released by VBulletinDev's team : http://www.vbulletindev.net

Ce hack a ete realisé par la team de VBulletinDev et est telechargeable en FR sur http://www.vbulletindev.net

Boofo
11 Jan 2004, 23:44
Thank you, sir. :)

And it's Boofo, not Bofoo. ;)

VBDev
11 Jan 2004, 23:48
sorry for the nickname ;) corrected :)

FleaBag
12 Jan 2004, 00:47
Nice work, will come in handy for sure.

Boofo
12 Jan 2004, 12:09
With a tweak (to turn sigs on by default for new forums), it works great! What query do I need to run to turn sigs on for all forums that are already there? They are all off now.

NTLDR
12 Jan 2004, 12:55
OK I think the following should do it, updating bitfields isn't as straight forward as a single coloumn ;)



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Boofo
12 Jan 2004, 13:11
I just ran it and the checkbox on a forum that was already there before the hack still says no. ;)

Boofo
12 Jan 2004, 15:28
This also killed sigs in my pm messages. How do I fix that?

VBDev
12 Jan 2004, 18:09
I am sorry I can't help you cose I don't understand the modification of NTDLR

Boofo
12 Jan 2004, 18:27
I am sorry I can't help you cose I don't understand the modification of NTDLR
No, I meant the hack killed the sigs in the pms. ;)

VBDev
12 Jan 2004, 23:43
in the mps ??? yu sure ?

I'll take a look but this is strange

VBDev
12 Jan 2004, 23:48
oh yes you were right:

in includes/functions_showthread.php

Search



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace by



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Zip updated !!!

Boofo
13 Jan 2004, 00:13
That almost works. Except now you can't stop the sig from showing when you uncheck the Show your signature checkbox. It shows no matter what.

VBDev
13 Jan 2004, 06:08
Hummmm I'll check that tonight cose now I must go to the uni

edit:

do you mean that it shows in the mps even if you uncheck ?

Boofo
14 Jan 2004, 11:56
Yes. It shows in the pms, no matter what, checked or unchecked.

VBDev
14 Jan 2004, 15:28
As I have no mean to test, could you try that:

Delete the last modifications so that now you just have



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



instead of



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And before



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



But I still find it strange so I hope this will fix :)

eXtremeTim
14 Jan 2004, 16:07
I changed the way this works. It now is for hide signature in a forum not show. This method works 100% with pms and users options to hide sigs and will be defualt show sigs in all forums. I hope this helps all of you that were having problems with how it was working before.

VBDev
14 Jan 2004, 17:47
lol extremtim you made the things in the other way good idea it's lot more simple to think this way :)

I'll attach your attachment file in the first post thx :)

Boofo
14 Jan 2004, 18:24
And it solved the prtoblem. :)

I am attaching another update that will allow you to turn of the signature checkboxes if that forum doesn't allow signatures. No sense in having a checkbox if sigs aren't allowed in that forum, anyway. Check the code, though. I changed showsign to showsigs throughout the code. Made more sense to me. )

eXtremeTim
14 Jan 2004, 19:11
lol extremtim you made the things in the other way good idea it's lot more simple to think this way :)

I'll attach your attachment file in the first post thx :)
Im glad to help. :)

Nice little addon boofo.

Boofo
14 Jan 2004, 19:29
Than you, sir, and also thank you for the fix. ;)

eXtremeTim
14 Jan 2004, 19:36
No problem thats what im here for :)

VBDev
15 Jan 2004, 00:18
good addon boofo thx :)

Boofo
15 Jan 2004, 00:27
Your very welcome, sir. ;) But all I did was make an already great hack a little more complete. You did all of the hard work. ;)

VBDev
24 Mar 2004, 22:39
Our team has opened its support forum.

Now we will make support on our forum

So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/

There are not a lot of hacks for the moment but it will come.

Cya soon on our forum :)

kuwaityvip
14 Sep 2004, 20:06
I try to install in VB3.0.3 not work

any idea to install it in 3.0.3 ?