Hi, I've writen a new module. Please check it out :)
signature.module (tested with Drupal 4.6.2)
Description
-----------
1. Makes user signatures dynamical, that is, if user change his signature in his profile, after each of his/her posts will be new a new one signature.
2. Shows signatures not only after comments, but also after nodes.
3. Allows define content types (and at once comments for them) where signatures should be seen and where not.
4. Usability benefits - 'cause each time user adds a comment, he/she don't have to pull down signature to the end of his/her comment.
5. Comments are styled another way than the post itself, and it's customizable from 'administer->settings->signature'.
Since function of displaying signatures is hardcoded into comment.module, that module needs to ba patched, to pull out this functionality to external module. There is a file with explanations how to patch, and already patched 'comment.module' from Drupal 4.6.3.
If you're intrested - you can get it here: www.ultraboy.by.ru/signature-4.6.0.zip .
It's seems to work good, but inside not everything is nice - I'm working on fixing that.
Your feedback is appreciated.
Comments
another link:
another link: http://drupal.org/files/issues/signature-4.6.0.zip
(yeah, I finaly managed to upload it to drupal.org! LOL)
Great addition to the
Great addition to the Modules, Ultraboy!!
I have tested it and it works great, a really good path towards a better user comments addition.
I have tested it out with images also.. i'll have to test it with normal user images, to see if it works out ;)
Thanks again!
You rocks!
Haha... :D
You rocks!
It is just what I want.
Millions of thanks.
And you are also thoughtful enough to make the patched version of comments.module, saving our time & headaches to patch by ourselves.
Excellent!
Keep up your good work!
thank you guys, but almost 3
thank you guys, but almost 3 days passed and seems that not much people require this feature. I don't think that they will patch the core merely for us 3. :(
You may not get your patch
You may not get your patch in this time around, but there is always next time. Also have you posted an issue/feature request with a patch per the contrbutors guide for others to review? If you do, then it is more likely that others will see and review it.
Understand, if you make a convincing argument and get peer review and testing of your patch, keep it in sync with the current CVS, then you are more likely to be successful in getting it in.
Good luck.
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Ok, thanks for information.
Ok, thanks for information. I'd also like to see how many people have downloaded it...
Thank you, thank you.
Thank you, thank you.
This is a huge step in bringing Drupal forums up to par.
Installed & works great.
Include standard patch format.
You should also include standard patch format so it is easy to patch comments.module. Then if that fails for some reason, then they could use your howto to figure out what needs to be done (even though diff -u output is usually easy enough to read)
I'm running windows...
I'm running windows...
http://gnuwin32.sourceforge.net/packages/diffutils.htm
diff -u comment.module comment.module.modified>comment.module.patch
or something like that should do. If you look around you could probably find a GNU Diff compatible visual diff tool...
Great hack... thanks, will
Great hack... thanks, will give it a try.
Just wondering, does this module add an additional query to the user table, just for signatures ?
Marcel
http://drupalhacks.com
phptemplate
hi!
how can i make this module function with phptemplate?
thanks
As far as I remember, there
As far as I remember, there no any differences which template engine to use. Why do you think it isn't working?
eh.. because it doenst work
eh.. because it doesn't work for me? maybe i am just too stupid, sry
I wish...
I wish there were a way to turn it on for ALL comments everywhere and then pick a select few nodes on which to display signatures. This is a big step in the right direction for Drupal. Keep up the good work!
You mean, some _node types_
Thank you. You mean, some _node types_ ? Or, nevertheless, nodes?
Anyway, both variants can be implemented, it's not a rocket science. But unfortunately, I don't see much interest of the community to this module. Maybe, when I'll start my own site, I'll do add more features, and there will be more people who will show some interest.
I meant node types. Sorry
I meant node types. Sorry!
I really need that feature. Like, badly. Could you at least point me in the right direction? I'm not that experienced with MySQL or PHP, but it would be better for me to at least try than to leave it as is.
Thank you.
Nevermind.
I solved it on my own.
Nice work. It's a lot
Nice work. It's a lot easier when the signature isn't pre-stuck into the text area :)
works at bekandloz | plays at technonaturalist
Will you make a version for
Will you make a version for the drupal cvs version ?
Thanks
Well, yes - if somebody
Well, yes - if somebody needs it. :) (may be in a week or two)
And, it would be great if anybody could send me distributive of a good patching tool for windows... I can give my e-mail then.
For Windows, I use Eclipse
For Windows, I use Eclipse 3.1 CVS system and phpeclipse. It can download the CVS distros from drupal for instance, and it can create and apply patch too.
That is the only easy tool for patchs I found. Many windows users use cygwin to be able to use the linux tool patchs.
And yes, I need the signature module for drupal cvs :)
Perhaps you could try having your module somewhere in the drupal module cvs system, so we could post issues about it there
Well, I'd like to have it in
Well, I'd like to have it in CVS, but unfortunately, I don't have access there.
Also, I have Eclipse; I'll try using it for patches thanx for info. For this module I need to make a patch-file, and I beleive it should be UNIX-compatible.
CSV-version is still
CSV-version is still delayed... The reason is I'm very busy right now. I beleive I'll have some free time and do the work in next two weeks.
Signature module!
Nice work. This is exactly what I was looking for! Thanks!
Mike of Sighing Sage
My Vote
+1 for this in drupal core.
One problem I see is that, older comments on sites will have double signatures, if the signature was there before. Not a huge problem though.
--
Bradlis7.com | Churchofchristnet
does this work with Drupal
does this work with Drupal 4.7?
Not yet. Coming soon.
Not yet. Coming soon.
I'd be interested in this as
I'd be interested in this as well. I just upgraded my drupal install to 4.7 and really like this mod.
//---------
3to1 Studios, LLC | http://3to1studios.com
Are we there yet? Are we
Are we there yet? Are we there yet? Are we there yet? Are we there yet?
;)
Yeah, you're right. Well,
Yeah, you're right. Well, tomorrow you'll get it. I promise.
________________________________________
It's a longtail.
It's ready. Get it here:
It's ready. Get it here: http://drupal.org/node/64670
A problem with signatures
Hi,
I think there is a problem with this wonderful module. The signature is always in html format. So if I write an article with an other input format, such as bbcode, with html disabled, the signature modules put the br tag at the end of everyline, even if I have no br in my signature.
Perhaps the module should take the signature as it is, and should not try to change it to add new lines char?
Or perhaps I'm wrong, I don't know how works the module...
Noo, it shouldn't be so! Did
Noo, it shouldn't be so! Did you remove br's from the template? under "administer/signature"
But the module still needs some work, input formats should be connected somehow.
________________________________________
It's a longtail.
Yes I removed the br from
Yes I removed the br from the template, but it adds br even when there are not. In fact a every new line in my signature it adds the br tag.