 | |  | | | General Discussion General use discussion forum for PhotoPost products. |
June 29th, 2004, 10:09 AM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| How to stop new comments from changing order of pics in Categories?
We haven't used the comments feature much because we use the forums for discussion.
As a result, I have just noticed that when a comment is made, that it changes the order of the pictures in a category.
This is a major problem, because we go to great effort to post photos in sequence so we can link to a series of pics for example, the first of a series of pics, where the member can then press next.
Is the only option I have to turn off coments?
Mark
|
| |
June 29th, 2004, 10:11 AM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Well, the default Sort Order of "Most Active" uses comments to change the order. You can change the default sort order to "Most Recent" to avoid that.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
June 29th, 2004, 04:22 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
OK I can see where to do this for each category.
As we want the whole gallery's default sort order to be most recent, is there another way to change them all at once.
How would I (that is, Carole) do this?
Also I would like to remove the most active button completely.
I have decided not to use the comments function in this gallery, so therefore most active is not relevent. (correct?)
And this is the only one that functions with comments, is this right?.
So how would Carole remove Most Active completly?,
so that`Latest' shows up instead?
Most appreciate your help.
Mark
|
| |
June 29th, 2004, 05:06 PM
|
#4 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
...and when I click on `last day' it is not showing in order of latest (most recent) but most active (comments are screwing it up)
I deleted the comment but it did not return the pic to it's upload time.
So mainly i need to get rid of the most active(comments) function
Mark
|
| |
June 29th, 2004, 07:51 PM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
hmm even though I have comments turned off in admin options, comments and posts info are showing in each members profile.
Are we going to have to do a bunch of mods to eliminate the comments feature?
Mark
|
| |
June 29th, 2004, 09:04 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2002
Posts: 42
|
Well, I looked at the source code.
Find showgallery.php and look at line 110
You will find following. Code: Content visible to verified customers only.
And from photopost database, you have this, Quote:
2 Latest ORDER BY disporder,date DESC
3 Most Views ORDER BY disporder,views DESC
1 Most Active ORDER BY disporder,lastpost DESC
4 Most Popular ORDER BY disporder,rating DESC, views DESC
6 Random ORDER BY disporder,RAND()
5 Least Popular ORDER BY disporder,rating,views
7 Image Name ORDER BY disporder,bigimage
8 Title ORDER BY disporder,title
| Replace ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 1 ) with the sort # you want.
For an example, in my case, I wanted "Image name" to be default.
So, my code was, Code: Content visible to verified customers only.
Not a complete solution for you, but it may help somewhat.
Last edited by klisis; June 29th, 2004 at 09:06 PM.
|
| |
June 29th, 2004, 11:26 PM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
Thanks klisis for your help! I'll pass this on to my partner who has to do the work!
This thread has evolved from ` How to stop new comments from changing order of pics in Categories?'
(which Michael showed me how to change sort order as per category)
...to my decision not to use the comments feature at all...
...and Q's on how to remove all things in the Gallery that associate with comments
- change default sort order from most active to `latest' (most recent)
- remove `active comments' button from the drop menu
- make it so last day(s) buttons show `most recent'
- remove comments/posts view from members profile
Perhaps I, or Carole should start a new thread about this...
The comments feature may be all and well for some folks (we are considering buying another PP for our site which may enable commenting, but in the current gallery, the app looks much cleaner and professional looking with out the comments.
Iwas hoping that it might be as easy as checking some boxes and clicking on a button... oh well...
Mark
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:27 PM. | |