Closed (fixed)
Project:
Guestbook
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
16 Dec 2006 at 17:15 UTC
Updated:
2 Aug 2017 at 07:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Jeremye77 commentedI do not see why you could not implement a similar feature utilizing views and CCK. Just create a custom content type of, say, guest book entry. Set appropriate access permissions. Then create a view to mimic the guestbook behaviours. Simply utilize view to output both a block (and a page if you want a view more link). Set the filter to node type of Guest book entry. for the header information of the block (in views) you could just copy the code for the form generated by your custom content type.
It is not like this module provides any type of magical ajax thing or anything else. This would also make your guest book entries be nodes...I see that was a request further down the issues log.
Seem pretty straightforward. I do not have time tonight. I will implement this tommorow and provide you with details. Don't be afraid to experiment though.
Comment #2
Jeremye77 commentedYou would end up with a view that looks like this. You will, of course, have to modify this for your local site. Make sure your content type of guest book has a TITLE, TO USER, MESSAGE. This is an export of my view. oh...you may also want to make the TO USER a hidden field that pulls the username that the guestbook is to from the page or some variable.
It looks sloppy in here but if you import it into views it will populate the form with the information that I used. Once again this is not just a plug in solution you will have to customize the arguements more than likely. Once this is setup you may invoke the block anywhere you see fit. Any problems with this would probably be better suited in the forums...they can assist you with any customizations you may need....I should think.
Comment #3
filiptc commentedThis module needs to be ported to Drupal 5, independently of which other modules can be tuned to do the job.
Comment #4
KMNL commentedWhats the timeline for this module in 5.0?
Comment #5
hba commentedI'm afraid I haven't too much spare time these days. I'd be more than happy if anyone have time to do the porting job.
I am also considering giving the responsibility of this guestbook to a developer who can devote more time to this. Anyone interested, please send me a message.
Comment #6
JumpingJack@drupalcenter.de commentedI'm working at a Drupal 5 Version.
It works already for me, but i need a few days (one/two weeks) to fix some little problems. If someone could help me (testing, coding) you're welcome
ciao
Comment #7
filiptc commentedAttach it so we can take a look.
Comment #8
JumpingJack@drupalcenter.de commentedO.K.
Here is my very first version, i think there are a few (minor?) bugs to be fixed...
This version works with 5.0 and has two enhancements:
- E-Mail-Notification for new guestbooks entries (you have to put the e-mail-adress to be notificated in the settings)
- Communication with the spam-module (guestbook-entries with defined words from the custom-filters in spam-module will not be saved and logged in watch-dog)
I'll attach the guestbook.info file here in this issue and the guestbook.module in the next one.
Sorry i don't know how to work with this version-system here. Maybe another one could put this in cvs - thanks
Comment #9
JumpingJack@drupalcenter.de commentedattached is the guestbook.module working with 5.0
see the previos issue
Comment #10
hba commentedGreat work! I'll look into your code and submit it to CVS if it seems OK.
Comment #11
filiptc commentedThree things:
Comment #12
filiptc commentedAnd 4.
...is shown to other users / anonymous users on the guestbook header.
Comment #13
filiptc commentedPoint 2. only seems to be the case for guestbook owners.
Comment #14
JumpingJack@drupalcenter.de commentedThanx hba,
gracias filip_tc
@filip_tc
1. What are you doing with the .info file. I can't reproduce this behavior.
2. Nearly the same as in 4.7. Guestbook owners cannot post in it's own guestbook. Could be changed.
3. fixed with this uploaded version
4. fixed with this uploaded version
Comment #15
filiptc commented@ 1. Might be me but I get
@ 2. I think not letting owners post on their own guestbooks is sensible... I just didn't expect it... =D
Great work, RTBC
Comment #16
mynameisbrian commentedHave plans for porting to Drupal 5.x been trashed? No update in 2 weeks.
Comment #17
smk-ka commentedDid some more work:
t().PS. Rename to .module!
Comment #18
nahhe commentedHi, I renamed, and downloaded also the .info archive, but it still does not appear in the module listing. what I´m doing wrong? thanks :)
Comment #19
JumpingJack@drupalcenter.de commentedYou don't need to rename the guestbook.info file it is not a archive. Just copy it into your guestbook directory. Then guestbook will appear in module listing.
Comment #20
nahhe commentedsorry! i wasn´t renaming the info file, just the module file. But anyway I think the problem was that I was trying to make it work with the 4.6.x download, now with 4.7.x everything is fine! thanks! :)
Comment #21
hba commentedI just added JumpingJack's code (thanks a lot!) into the 5.x branch. It will be available on the release page some time during the next 24 hours, when Drupal's daily tarballer runs. I haven't had the opportunity to test it myself, please give me feedback if anything doesn't work as it should.
Comment #22
hba commentedAh, and thanks to smk-ka as well!
Comment #23
hba commentedComment #24
(not verified) commentedComment #25
gurukripa commentedcan u make the guestbook appear on the core profile page..without a template override..thanks
Comment #27
birthdaycakesname.com commentedThis module needs to be ported to Drupal 5, independently of which other modules can be tuned to do the job.
zonginternetpackages.pk
birthdaycakesname
forexpops
trustemo