Disable Signature in Post

Started by Rohan_, July 10, 2009, 04:34:51 PM

Previous topic - Next topic

Rohan_

hi .. i want a option of disable signature in this post .. for not to show the user signature in the post when the option was selected by the users
Proud To Be An Indian

kat

It's in your profile, under "Look and Layout Preferences".

Or, do you mean only in certain places?

If so, I'd imagine that'd need coding and I doubt it'd be too easy.

Rohan_

ya i want it disable for the post that user selects in . like in additional options when we post :) like dont use smileys in additional options .. i want a option dont use signature in additional options :)
Proud To Be An Indian

kat

Might be best to post in the coding board, then.  :)

babjusi


Rohan_

no no babjusi that not ok .. i want a option in additional options or in quick reply of disable signature in this post ...i want this option given to all the users that have signature permission .... example : don't use smileys in our additional options when we post :D
Proud To Be An Indian

babjusi

Quote from: Rohan_ on July 11, 2009, 05:19:39 AM
no no babjusi that not ok .. i want a option in additional options or in quick reply of disable signature in this post ...i want this option given to all the users that have signature permission .... example : don't use smileys in our additional options when we post :D

Ah I see. Something like that would require some tweaking. As Kat said above, try to post at the coding board.

Rohan_

hi .. i want a option of disable signature in this post .. for not to show the user signature in the post when the option was selected by the users ........

i want a option in additional options or in quick reply of disable signature in this post ...i want this option given to all the users that have signature permission .... example : don't use smileys in our additional options when we post
Proud To Be An Indian

Rohan_

Proud To Be An Indian

babjusi

Quote from: Rohan_ on July 11, 2009, 08:23:15 AM
can u do something ??

Atm my free time is very limited Rohan_, sorry.

Rohan_

can anyone help me ?? i dont think its hard to do for you ..
Proud To Be An Indian

Arantor

Like several of the modifications you've requested, this is not a simple or quick modification, requiring database schema changes, changes to the core sources and theme modifications.

As and when people can get round to this, someone will for you.
Holder of controversial views, all of which my own.


Rohan_

Proud To Be An Indian

catfished

#13
Well, I sure hope someone figures it out. It's standard with VBulletin and MyBB for sure. Could be in other forum software as well, not sure.

Here's how it looks in MyBB:
You use and like this forum software? Then show your appreciation and support by becoming a Charter Member.



CatfishEd.com

Rohan_

ya its in vb .. i ask coz i also have a vb site
Proud To Be An Indian

SoLoGHoST

I'm busy working on another MOD at the moment, but despite what others may say, this is a fairly simple edit...  Create a variable that says true or false in Post.php where the post gets created, believe it is in the Post function, set it in the Post2 function, and call this variable in Display.php, then in Display.template.php, output the signature based on whether it is set to true or false...

Well, like I said, currently busy, but those are the steps.  Will hopefully get around to this if I ever finish this other MOD I'm currently working on.

Arantor

And where is that value stored for others to see/not see it? Yes, it's in the Post2 function that it would be stored - but it has to be stored somewhere so that Display.template.php can know not to do it.

So while it isn't a huge mod - you still have to store that value somewhere, which means you have to either attach it to the end of the post somehow, or you modify the schema to add a 'do not add signature to this post' flag.
Holder of controversial views, all of which my own.


Windy

I wouldn't see this as being too difficult either, the easiest thing imo would just be to duplicate the don't use smilies code and just make sure to pass the value to the output array.
All unsolicited PM's will be ignored.  Any support requests should go in their topics.

My Mods


Image Zoom Tag
Image Quote Removal
Color Picker
Additional Polls
Simple Awards System

Mods are only updated to the latest same major version of smf on request.

Arantor

So you have to modify the structure of smf_messages to do that - just as there is a column for smileysEnabled.
Holder of controversial views, all of which my own.


Kays


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Advertisement: