Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Feb 2008, 10:37
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
[Request] MOD for staff signature

Hi friends
Maybe someone can make a MOD for staff signature
like if we want to use a homogenous staff signature
and each one can add his fields
fields in profile : Name, Moderator of, Note
for example :
Attached Images
File Type: jpg 1.jpg (15.2 KB, 61 views)
Reply With Quote
  #2  
Old 13 Feb 2008, 13:59
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
bump
Reply With Quote
  #3  
Old 13 Feb 2008, 14:27
LT Mote's Avatar
LT Mote LT Mote is offline
 
Join Date: Jul 2006
REAL nice idea dude, very nice in deed... I second this motion. Maybe a coder will do it for a small fee...


Let us know peepz
Reply With Quote
  #4  
Old 13 Feb 2008, 14:29
skrazydogz skrazydogz is offline
 
Join Date: May 2007
yes would be nice if someone can help us.
Reply With Quote
  #5  
Old 13 Feb 2008, 17:34
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Just make a new profile field and do it that way.
Reply With Quote
  #6  
Old 13 Feb 2008, 17:42
skrazydogz skrazydogz is offline
 
Join Date: May 2007
but with which variable für the forums ?
Reply With Quote
  #7  
Old 13 Feb 2008, 17:44
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Where are you going to use it? In posts? Just $post[fieldx] will work there (x being whatever the field number is, of course).
Reply With Quote
  #8  
Old 13 Feb 2008, 18:15
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
Originally Posted by Boofo View Post
Where are you going to use it? In posts? Just $post[fieldx] will work there (x being whatever the field number is, of course).
I can make a new profile field only for the staf ?
and another question... how i get it display in theirs signature ?
Reply With Quote
  #9  
Old 13 Feb 2008, 18:27
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You would put it in the postbit where the signature is.
Reply With Quote
  #10  
Old 13 Feb 2008, 18:54
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Real name: Josh Arcadia
If the problem is solved... what about a Mod who notify you of the next reply in the thread you posted, JUST THE NEXT!
__________________
. █│║▌│█│║▌║│█║▌│║║█║
Reply With Quote
  #11  
Old 13 Feb 2008, 19:23
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I'll let you handle things then.
Reply With Quote
  #12  
Old 13 Feb 2008, 19:34
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
Boofo Man
You can to some MOD for this ?
Reply With Quote
  #13  
Old 15 Feb 2008, 00:05
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
For the "moderator of", that could be built on the fly in a postbit plugin, by walking through something like the $imodcache[] and building a list of all forums the post.userid is a mod of. That way, you wouldn't have the extra overhead of making sure staff members keep their "moderateor of" field up to date - it would automatically change when their moderator memberships changed.

As for the rest of it, Boof is on the right track, it's postbit hacking. You'd use an is_member_of() conditional in the postbit template to process the sig as a special case for mods and admins (or whatever your staff groups are).

[EDIT - just reread your post, realized you are talking about sigs, not postbit ... but there should still should be a hook you could do the same stuff with, and handle staf sigs s a special case. Although in non-forum situations $imodcache might not be there ... but there's always ways round these things!]

You should then be able to build a standard sig image by using a CSS style with a backgroud image of the 'blank' business card looking doohicky, then carefully positioning the various text fields to overlay in the right places. The only issue I'd see would be making sure you set the height of the bg image correctly to account for varying number of "Moderator of" lines.

It'd also be easier if you included the labels as part of the overlayed text rather than as part of the underlying image, especially if you have the variable height Moderator Of in the middle. Also you won't have to be quite as picky about your text positioning, as you won't have to worry about horizontal alignment of label and text.

If nobody else wants to code this up, I might have a go at it. Might make a useful little mod.

-- hugh
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #14  
Old 15 Feb 2008, 00:51
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You've got my vote, go for it. I can test it when you're ready
Reply With Quote
  #15  
Old 15 Feb 2008, 10:07
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
Cheesegrits it will very helper if you do that !!!
Sorry i'm not a coder, but can make the part of the CSS if you need me.

some idea:
  • 3 fields (real name/moderateor of/note) in Additional Information (if theypart of usergroups id)
  • the field of "moderateor of" can be by ID of the forums (for example: 10, 12, 125) and the system take the ID from the field to written instead titel10, titel12, titel125 or free text for the Administrator
  • in the CP of "staff signature" can work if the user is part of usergroups id
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 23:40.

Layout Options | Width: Wide Color: