Member
Member
boo   2009-03-22, 13:37
#1

Hi, is it possible that you could add a Location field in the comments in your next release, it would be really nice to see where visitors are from and make it more personal.

Many thanks.

Member
Member
sbillard   2009-03-22, 17:54
#2

There will be a custom data field available for comments in the next release. As well, there will be a filter attached to comment posting so that you can create a filter plugin to process a comment posting. That should let you add whatever you wish to the comment handling.

Member
Member
boo   2009-03-22, 19:58
#3

ok great!

Thankyou

Member
Member
boo   2009-04-01, 08:56
#4

Hi, ok I've installed 1.2.4 on my local machine can you tell me the variable name for the comments custom field.

Many thanks.

Member
Member
sbillard   2009-04-01, 14:48
#5

the field in the DB is custom_data

Member
Member
boo   2009-04-02, 14:21
#6

Hi, ok I get undefined error.

Undefined index: custom_data in /var/www/web1/gallery/themes/lis/image.php


Member
Member
sbillard   2009-04-02, 17:27
#7

The $stored array (actually, the result of the getCommentStored() function)saves data from a comment posting. The standard processing of comments does not use the custom data, so it does not preserve that field.

The field will be present in the array $_zp_current_comment array which is set by the next_comment() loop. However, you will have had to create the comment filter as above to process and save the data in this field.

Member
Member
boo   2009-04-03, 08:27
#8

Hi, ok I am not a programmer, can you please give me an example of the code.

Thanks.

Member
Member
boo   2009-04-06, 09:42
#9

Hi, ok I have found 2 bugs in your latest version but I'm not going to tell you what they are until you give me the code for the custom field.

Give me the code!

Member
Member
sbillard   2009-04-06, 15:50
#10

Fat chance. Go use Gallery if you wish to have such an attitude.

Member
Member
boo   2009-04-07, 10:19
#11

Hi, I posted my last comment with a large degree of humor, it was supposed to make you laugh....

Administrator
Administrator
acrylian   2009-04-07, 12:31
#12

Well, then you probably better should have used some emoticons as that was really missunderstandable. I was about to answer in a similar way when sbillard was faster.

Member
Member
sbillard   2009-04-07, 14:49
#13

You think that it is a joke to make hostige references? Perhaps you are not of a Western culture. Here we do not think that funny.

Administrator
Administrator
acrylian   2009-04-07, 15:23
#14

Let's take this issue here too serious now. A little :-) here and there woud have made it sound much differently. It is common that written texts in emails or forums is easily understood completely differently than intended. Of course, boo, you should have known that...

Member
Member
boo   2009-04-07, 21:39
#15

Hi, ok I apologise for not making it more understandable, this is something I need to work on, I do suffer with mental health issues and what seems clear to me at the time in my mind is not always conveyed in text well.

I had also consumed a fair amount of vodka and thought I was being quite witty at the time.

Not sure what you mean about hostige references tho ?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.