diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index 5c70cce41..de1c68fcc 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -25,6 +25,7 @@ - Fixed bug [ 841194 ] denied post security problem - Added a check for malicious mail headers - Fixed bug [ 820144 ] Theme problems under Win32 + - Fixed bug [ 834633 ] View Threaded subscriptions fails 5.5.0 diff --git a/docs/upgrades/upgrade_5.5.0-5.5.1.sql b/docs/upgrades/upgrade_5.5.0-5.5.1.sql index 215417771..e9f501203 100644 --- a/docs/upgrades/upgrade_5.5.0-5.5.1.sql +++ b/docs/upgrades/upgrade_5.5.0-5.5.1.sql @@ -11,4 +11,6 @@ delete from international where languageId=1 and namespace='WebGUI' and internat insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1057,1,'WebGUI','The following template variables are available in forum templates.\r\n
\r\n\r\ncallback.url
\r\nA url that points to the calling object, such as an article or user submission.\r\n
\r\n\r\ncallback.label
\r\nThe default label for callback.url.\r\n
\r\n\r\nuser.isVisitor
\r\nA condition indicating whether the user is a visitor.\r\n
\r\n\r\nthread.new.url
\r\nThe url to start a new thread.\r\n
\r\n\r\nthread.new.label
\r\nThe default label for thread.new.url.\r\n
\r\n\r\nforum.search.label
\r\nThe default label for forum.search.url.\r\n
\r\n\r\nforum.search.url
\r\nThe url to access the forum search engine.\r\n
\r\n\r\n\r\nforum.subscribe.label
\r\nThe default label for forum.subscribe.url.\r\n
\r\n\r\nforum.subscribe.url
\r\nThe url to subscribe to this forum.\r\n
\r\n\r\nforum.unsubscribe.label
\r\nThe default label for forum.subscribe.url.\r\n
\r\n\r\nforum.unsubscribe.url
\r\nThe url to unsubscribe from this forum.\r\n
\r\n\r\nuser.isSubscribed
\r\nA condition indicating whether the current user is subscribed to this forum.\r\n
\r\n\r\nuser.isModerator
\r\nA condition indicating whether the current user is a moderator for this forum.\r\n
\r\n\r\nuser.canPost
\r\nA condition indicating whether the current user has the privileges necessary to post to this forum.\r\n
\r\n\r\nthread.sortby.date.url
\r\nA url that will change the sorting options to be sorted by date.\r\n
\r\n\r\nthread.sortby.lastreply.url
\r\nA url that will change the sorting options to be sorted by the date of the last reply to the thread.\r\n
\r\n\r\nthread.sortby.views.url
\r\nA url that will change the sorting options to be sorted by the number of views each thread has.\r\n
\r\n\r\nthread.sortby.replies.url
\r\nA url that will change the sorting options to be sorted by the number of replies a thread has.\r\n
\r\n\r\nthread.sortby.rating.url
\r\nA url that will change the sorting options to be sorted by the average rating of each thread.\r\n
\r\n\r\nthread.subject.label
\r\nA label for the subject column.\r\n
\r\n\r\nthread.date.label
\r\nA label for the date column.\r\n
\r\n\r\nthread.user.label
\r\nA label for the author column.\r\n
\r\n\r\nthread.views.label
\r\nA label for the views column.\r\n
\r\n\r\nthread.replies.label
\r\nA label for the replies column.\r\n
\r\n\r\nthread.rating.label
\r\nA label for the rating column.\r\n
\r\n\r\nthread.last.label
\r\nA label for the last reply column.\r\n
\r\n\r\nfirstpage
\r\nA link to the first page in a multi-page listing.\r\n
\r\n\r\nlastpage
\r\nA link to the last page in a multi-page listing.\r\n
\r\n\r\nnextpage
\r\nA link to the next page in a multi-page listing.\r\n
\r\n\r\npagelist
\r\nA series of links to every page in a multi-page listing.\r\n
\r\n\r\npreviouspage
\r\nA link to the previous page in a multi-page listing.\r\n
\r\n\r\nmultiplepages
\r\nA condition indicating whether there are multiple pages or not.\r\n
\r\n\r\nnumberOfPages
\r\nThe number of pages in a multiple page listing.\r\n
\r\n\r\npageNumber
\r\nThe number of the current page in a multi-page listing.\r\n
\r\n\r\nthread_loop
\r\nA loop containing all of the thread data.\r\n
\r\n\r\n
\r\n\r\nthread.views\r\n', 1068919452,NULL); delete from international where languageId=1 and namespace='WebGUI' and internationalId=1059; insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (1059,1,'WebGUI','The following are the template variables available in the post template.\r\n
\r\nThe number of views this thread has had.\r\n\r\n\r\nthread.replies
\r\nThe number of replies this thread has had.\r\n\r\n\r\nthread.rating
\r\nThe average rating of all the posts in this thread.\r\n\r\n\r\nthread.rating_loop
\r\n\r\n
\r\nthread.rating_loop.count\r\n\r\nthread.isSticky
\r\nA counter for the rating. This can be used to \"draw\" a rating, such as adding a star for each rating, or some other visual approach.\r\n\r\n
\r\nA condition indicating whether the thread is sticky and hence will appear at the top of the forum listing.\r\n\r\n\r\nthread.isLocked
\r\nA condition indicating whether the thread is locked from new posts.\r\n\r\n\r\nthread.root.subject
\r\nThe subject of the root post in this thread.\r\n\r\n\r\nthread.root.url
\r\nThe url to view the root post.\r\n\r\n\r\nthread.root.epoch
\r\nAn epoch date of the root post.\r\n\r\n\r\nthread.root.date
\r\nA human readable date for the root post.\r\n\r\n\r\nthread.root.time
\r\nA human readable time for the root post.\r\n\r\n\r\nthread.root.user.id
\r\nThe root poster\'s user id.\r\n\r\n\r\nthread.root.user.name
\r\nThe username of the root poster.\r\n\r\n\r\nthread.root.user.profile
\r\nThe url of the root poster\'s profile.\r\n\r\n\r\nthread.root.user.isVisitor
\r\nA condition indicating whether the root poster was a visitor.\r\n\r\n\r\nthread.root.status
\r\nThe status of the root post.\r\n\r\n\r\nthread.last.subject
\r\nThe subject of the last post made to this thread.\r\n\r\n\r\nthread.last.url
\r\nThe url to the last post.\r\n\r\n\r\nthread.last.epoch
\r\nThe post time of the last post represented as an epoch.\r\n\r\n\r\nthread.last.date
\r\nThe human readable date of the last post.\r\n\r\n\r\nthread.last.time
\r\nThe human readable time of the last post.\r\n\r\n\r\nthread.last.user.profile
\r\nThe url of the last posters profile.\r\n\r\n\r\nthread.last.user.id
\r\nThe userId of the last poster.\r\n\r\n\r\nthread.last.user.name
\r\nThe username of the last poster.\r\n\r\n\r\nthread.last.user.isVisitor
\r\nA condition indicating whether the last poster was a visitor.\r\n\r\n\r\nthread.last.status
\r\nThe status of the last post.\r\n\r\n\r\nforum.title
\r\nThe title of this forum as passed by the calling object.\r\n\r\n\r\nforum.description
\r\nThe description of this forum as passed by the calling object.\r\n\r\n\r\n\r\n\r\n
\r\n\r\ncallback.url
\r\nThe url back to the calling object such as an article or user submission.\r\n
\r\n\r\ncallback.label
\r\nThe default label for callback.url.\r\n
\r\n\r\npost.subject.label
\r\nThe default label for post.subject\r\n
\r\n\r\npost.subject
\r\nThe subject of this post.\r\n
\r\n\r\npost.message
\r\nThe message of this post.\r\n
\r\n\r\nuser.canPost
\r\nA condition indicating whether the current user can post a new message.\r\n
\r\n\r\npost.date.value
\r\nA human readable date for this post.\r\n
\r\n\r\npost.date.epoch
\r\nThe epoch date for this post.\r\n
\r\n\r\npost.time.value
\r\nThe human readable time for this post.\r\n
\r\n\r\npost.date.label
\r\nThe default label for post.date.value.\r\n
\r\n\r\npost.rating.value
\r\nThe average rating of this post.\r\n
\r\n\r\npost.rating.label
\r\nThe default label for post.date.value.\r\n
\r\n\r\npost.views.value
\r\nThe number of views for this post.\r\n
\r\n\r\npost.views.label
\r\nThe default label for post.views.value.\r\n
\r\n\r\npost.status.value
\r\nthe status of this post.\r\n
\r\n\r\npost.status.label
\r\nThe default label for post.status.value.\r\n
\r\n\r\npost.isLocked
\r\nA condition indicating whether the thread this post is in is locked.\r\n
\r\n\r\npost.isModerator
\r\nA condition indicating whether the current user is a moderator.\r\n
\r\n\r\npost.canEdit
\r\nA condition indicating whether the current user can edit this post.\r\n
\r\n\r\npost.user.isVisitor
\r\nA condition indicating whether the poster was a visitor.\r\n
\r\n\r\npost.user.id
\r\nThe userId of the poster.\r\n
\r\n\r\npost.user.name
\r\nThe poster\'s username.\r\n
\r\n\r\npost.user.profile
\r\nThe url to the poster\'s profile.\r\n
\r\n\r\npost.url
\r\nThe url to display this post.\r\n
\r\n\r\npost.id
\r\nThe unique id of this post.\r\n
\r\n\r\npost.rate.label
\r\nThe default label for post.rate.url.1.\r\n
\r\n\r\npost.rate.url.1
\r\nThe url to give this post a rating of 1.\r\n
\r\n\r\npost.rate.url.2
\r\nThe url to give this post a rating of 2.\r\n
\r\n\r\n\r\npost.rate.url.3
\r\nThe url to give this post a rating of 3.\r\n
\r\n\r\n\r\npost.rate.url.4
\r\nThe url to give this post a rating of 4.\r\n
\r\n\r\n\r\npost.rate.url.5
\r\nThe url to give this post a rating of 5.\r\n
\r\n\r\npost.hasRated
\r\nA condition indicating whether the current user has already rated this post.\r\n
\r\n\r\npost.reply.label
\r\nThe default label for post.reply.url.\r\n
\r\n\r\npost.reply.url
\r\nThe url to reply to this post.\r\n
\r\n\r\npost.reply.withquote.url
\r\nThe url to reply to this post and quote this post in doing so.\r\n
\r\n\r\npost.edit.label
\r\nThe default label for post.edit.url.\r\n
\r\n\r\npost.edit.url
\r\nThe url to edit this post.\r\n
\r\n\r\npost.delete.url
\r\nThe url to delete this post.\r\n
\r\n\r\npost.delete.label
\r\nThe default label for post.delete.url.\r\n
\r\n\r\npost.approve.label
\r\nThe default label for post.approve.url.\r\n
\r\n\r\npost.approve.url
\r\nThe url to approve this post.\r\n
\r\n\r\npost.deny.url
\r\nThe url to deny this post.\r\n
\r\n\r\npost.deny.label
\r\nThe default label for post.deny.url.\r\n
\r\n\r\npost.full
\r\nThe full post rendered using the post template. This would never be used in the post template directly, but is often used in other templates that embed the post template\'s variables.\r\n
\r\n\r\nforum.title
\r\nThe title of this forum as passed by the calling object.\r\n
\r\n\r\nforum.description
\r\nThe description of this forum as passed by the calling object.\r\n
\r\n\r\n\r\n\r\n', 1068919407,NULL); - +delete from international where namespace='WebGUI' and internationalId=876; +delete from international where namespace='WebGUI' and internationalId=877; +delete from international where namespace='WebGUI' and internationalId=878;