• Anonymous
  • Login
  • Register
Open Notes Picture Database - Feature Request: Image rating


Out of five is good for me. The "top pictures" should stay as is and only count the number of votes. The vote can be displayed as an average as part of the page hit display. Here is some code I found! Could probably be better!

profilename := "Page Usage Count";
docid := @Text(@DocumentUniqueID);
timestamp := @Now;
count := @GetProfileField(profilename; "Count"+docid);
@If(count="";
@Do(@Set("count";1); @SetProfileField(profilename; "TimeStamp"+docid; timestamp));
@Do(@Set("timestamp";@GetProfileField(profilename; "TimeStamp"+docid)); @Set("count"; count+1)));
@SetProfileField(profilename; "Count"+docid; count);
"This page has been accessed " + @Text(count) + " times since " + @Text(timestamp; "D0T1S2")



Taken Actions by Owners



In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.