Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Jul 2002, 04:00
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Signatures on/off per member

I really need this hack. Anyone else need to restrict signature use on a per member level?

Please!!!
Reply With Quote
  #2  
Old 23 Jul 2002, 11:04
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
wouldn't be such a problem

add a new field to the usertable called isallowedsig default='1'

then just add an editfield in your admin-cp to change it from 0/1
nowhere else, just in admincp.

then in newreply.php find this:

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

and replace it with this:

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

you surely want to add that lines small modificated to editpost.php and newthread.php also.

i haven't tested, but it should work.

it just disables new signatures, signatures in old posts aren't infected
run a query if you want to do it for old posts to

Last edited by Xenon; 23 Jul 2002 at 12:53.
Reply With Quote
  #3  
Old 23 Jul 2002, 11:10
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Smoothie, is you get it all figured out, I'd like to have it. I'm still not sure enough with myself to do the adding of the table or the admin cp.
Reply With Quote
  #4  
Old 23 Jul 2002, 12:27
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Great Xenon!

Satan
Reply With Quote
  #5  
Old 24 Jul 2002, 00:33
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Xenon-

Thanks. What is the exact command to:
"add a new field to the usertable called isallowedsig default='1'

And how do I add an editfield in my admin-cp?
Reply With Quote
  #6  
Old 24 Jul 2002, 01:01
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser

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


open admin/user.php
find in edit section:

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

below it add:

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

then find

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

change it to:

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

should be all
Reply With Quote
  #7  
Old 24 Jul 2002, 01:31
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Xenon, than you for the update. How and what do I change in the editpost.php? I couldn't find anything that even resembled the code I changed for the newthread.php and the newreply.php. And what would I need to add this to the private messages, too?
Reply With Quote
  #8  
Old 24 Jul 2002, 03:02
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
in editpost you have to find this:

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

after that add:

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

for privat messages:
you have to do the same thing as in editpost.php

i think this should be all, test it if it works ok, if not ask more
Reply With Quote
  #9  
Old 24 Jul 2002, 03:10
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Thank you. I will test it out and let you know.
Reply With Quote
  #10  
Old 24 Jul 2002, 05:29
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Xenon-

1 is for yes allow, 0 is for no, right? This just has an affect on img signatures, right?

BTW, anyone know the querie to set all users to no signatures?
Reply With Quote
  #11  
Old 24 Jul 2002, 05:37
Smoothie Smoothie is offline
 
Join Date: Oct 2001
didn't work. img sig shows for a user that isn't allowed, and didn't have one before.
Reply With Quote
  #12  
Old 24 Jul 2002, 12:03
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
the query:

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


no it has an effect on using signatures complete!
you didn't say anything about just disable img use in sigs
Reply With Quote
  #13  
Old 24 Jul 2002, 12:20
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Is there a way to make it not allow ANY signature if enabled, no matter what is in it?

Originally posted by Xenon
the query:

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


no it has an effect on using signatures complete!
you didn't say anything about just disable img use in sigs
Reply With Quote
  #14  
Old 24 Jul 2002, 12:28
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Real name: Stefan Kaeser
that's what i said.
it just enebles or disables signatureuse for users completly

Originally posted by Boofo
Is there a way to make it not allow ANY signature if enabled, no matter what is in it?

Reply With Quote
  #15  
Old 24 Jul 2002, 12:45
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Oh, Ok, I'm sorry. I guess I misunderstood what Smoothie was talking about with the images then. This is what I wanted anyway.

Originally posted by Xenon
that's what i said.
it just enebles or disables signatureuse for users completly

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:24.

Layout Options | Width: Wide Color: