 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
July 12th, 2004, 10:37 PM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| 4.8d without comments feature
Carole will be installing an additional 4.8d PPPro at our site shortly, of which we don't want to use the comments feature.
We also want our other 4.8 currently on the site to not show comments features references.
I'll list here what I can see needs changing, with your assistance or otherwise...
1) Most active button - isn't this one for comments? Need removed, with `latest' (most recent) as the default.
2) At pic upload..
"Want to be notified by email when users post replies?"
- This still shows - Not applicable - needs removing
3) The Members Gallery List has a comments column which needs removing
4) Username Profile has comments line
(We want to use the vB3 Username Profile instead, but haven't worked out how to replace the PP one with the vB3 profile.
5)I think the subscription feature also has reference to comments?
We've not used it and want to disable it.
6) The move/delete pic button says `Submit Post'
- We'll need to change this to `Move/Delete'
That's all for now folks!
Mark
(passes baton to Carole)
|
| |
July 13th, 2004, 12:07 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
| Quote: |
Originally Posted by mjm 1) Most active button - isn't this one for comments? Need removed, with `latest' (most recent) as the default. | DELETE THE SORT FROM THE SORT TABLE VIA PHPMYADMIN Quote: |
Originally Posted by mjm 2) At pic upload..
"Want to be notified by email when users post replies?"
- This still shows - Not applicable - needs removing | TURN OFF USER NOTIFICATION Quote: |
Originally Posted by mjm 3) The Members Gallery List has a comments column which needs removing | DELTE LINES 10 AND 24 OF SHOWMLIST.TMPL Quote: |
Originally Posted by mjm 4) Username Profile has comments line
(We want to use the vB3 Username Profile instead, but haven't worked out how to replace the PP one with the vB3 profile. | LINE 1571 OF PP-INC.PHP CHANGE THIS
$menu .= " | <a href=\"{$Globals['maindir']}/member.php?uid={$User['userid']}\">{$Globals['pp_lang']['profile']}</a>";
TO THIS:
$menu .= " | <a href=\"{$Globals['vbulletin']}/member.php?u={$User['userid']}\">{$Globals['pp_lang']['profile']}</a>"; Quote: |
Originally Posted by mjm 5)I think the subscription feature also has reference to comments?
We've not used it and want to disable it. | Not to my knowledge as it is a subscription to notify of new uploads in a category. You can remove it by removing lines 207-209 in showgallery.tmpl Quote: |
Originally Posted by mjm 6) The move/delete pic button says `Submit Post'
- We'll need to change this to `Move/Delete' | EDIT THE LANGUAGE FILE FOR THAT SCRIPT
|
| |
July 13th, 2004, 12:23 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
Thanks Omegatron!
2) At pic upload..
"Want to be notified by email when users post replies?"
- This still shows - Not applicable - needs removing
TURN OFF USER NOTIFICATION
!!Worked like a charm!!
--------------------------
Leaving rest up to Carole
Mark
|
| |
July 13th, 2004, 11:50 PM
|
#4 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| Delete The Sort From The Sort Table
Carole was able to delete the sort table, but now I'm seeing that `latest' doesn't mean `most recent', because when you click on `all images
it starts off from the first photo uploaded into the gallery.
Essentially we need the top button to be `most recent'.
most recent - last day, most recent - last 7 days, most recent- all images
Is there any way we can tweak `latest' to do this? www.bamboocraft.net/gallery
Mark
Quote:
Originally Posted by mjm
1) Most active button - isn't this one for comments? Need removed, with `latest' (most recent) as the default.
DELETE THE SORT FROM THE SORT TABLE VIA PHPMYADMIN
|
| |
July 14th, 2004, 07:21 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Well no one told you to delete the sort table
She was suppose to just delete the sort she wanted gone. In your case the most active entry. You can add them back by running this in phpmyadmin. Replace if you have a different prefix
INSERT INTO pp_sort VALUES (2,'Latest','ORDER BY disporder,date DESC');
INSERT INTO pp_sort VALUES (3,'Most Views','ORDER BY disporder,views DESC');
INSERT INTO pp_sort VALUES (4,'Most Popular','ORDER BY disporder,rating DESC, views DESC');
INSERT INTO pp_sort VALUES (6, 'Random', 'ORDER BY disporder,RAND()');
INSERT INTO pp_sort VALUES (5, 'Least Popular', 'ORDER BY disporder,rating,views');
INSERT INTO pp_sort VALUES (7, 'Image Name', 'ORDER BY disporder,bigimage');
INSERT INTO pp_sort VALUES (8, 'Title', 'ORDER BY disporder,title');
|
| |
July 14th, 2004, 11:10 AM
|
#6 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| Quote: |
Originally Posted by omegatron Well no one told you to delete the sort table | My incorrect use of words. She did that right, only deleting `most active'.
However we see now that `latest' does not mean `most recent'. It means that the oldest picture is at the top.
What we really need is `most recent' button
so that when you click on last day, last 7 days, and all images, pics will show in the order of most recent first going back.
What do you suggest?
Anyway we can reverse order for `latest' so that latest pic means most recent, not oldest pic.
And now for the latest news! The big bang just happened and the universe is expanding!
Mark
|
| |
July 14th, 2004, 11:16 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Not from what I see. If I select latest on my gallery sort the latest photo is indeed the first and they decend down
|
| |
July 14th, 2004, 12:09 PM
|
#8 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| www.bamboocraft.net/gallery (with `most active' sort removed)
If you click on last 14 days you will see top left pic is July 1, bottom is July 5th.
If you click on `all images,' the top left image is the first pic we uploaded to the gallery.
Perhaps this is what PP defines as `latest'.
However we need `most recent' as the default sort order, with the most recent pic to begin at top left when viewing last day,last 14 days, all images.
We have not made any changes to Cat sort orders. It's always been the PP default.
Mark
|
| |
July 14th, 2004, 01:46 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You can define each category sort codes in the cat editor
At any rate most everything your doing here is modification to exisint Photopost code. You can ask modification questions over on the hack site http://www.photopostdev.com |
| |
July 14th, 2004, 02:37 PM
|
#10 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
"You can define each category sort codes in the cat editor"
The default sort order is set to `latest'.
How do I make the cat sort order to most recent, with newest thumbnnail at top left, just as most `recent pics are viewed in the index ?
With the exception of the vB Profile opt (which used to be in prev. PP vers.),
All we're seeking in this thread is to be able to use PPPro without post commenting enabled or viewable anywhere on the site.
PP4.8 has the main on/off switches installed, but as shown listed above, does not remove all traces of commenting from the board.
True, we are looking at `uncommenting' an existing board here, trying to sync all the functions, and when we sort this out, Carole will install our new PPPro purchase, also to be without commenting.
Carole took on the scariest task first, going into the PHPMyAdmin.
That turned out to be straight forward, with an easy to see delete button to remove `most active' sort. The main reason for needing it removed as the defaultsort for our current gallery is that we closed down commenting there but it continues to show pics in the order of most active comments.
It seems that PP doesn't have a `most recent' sort order, whereas most recent thumbnail shows at the top right, without using `most active'
Mark
|
| |
July 14th, 2004, 02:50 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Check out the category editor as I stated
|
| |
July 14th, 2004, 05:37 PM
|
#12 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
Yeah I haven't touched the cat edit default sort order because it's already set at `latest'
Edit Categories > Default sort order >
Latest
Most views
Most Popular
Random
Least Popular
Image Name
Title Here's the problem I have noticed
If you click on `last 14 days' the top left thumbnail shows the oldest thumbnail, with the more recent ones below.
Now,... if you click to another sort option, then click back to `latest', the pics are properly displayed as we want them, most recent at top left, older descending.
I hope this might shed some light on the prob.
As I said before, I've never used the sort options in edit cat, so now that we've removed sort `most active' ,they are all set to `latest' by default.
Mark
|
| |
July 14th, 2004, 06:07 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Well we are far outside the norms of Photopost support. I suggest you post any further code modification requests on the hack site. http://www.photopostdev.com
You can try this in showgallery.php
find this
if ( empty($sort) ) $sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 1 );
change it to this
if ( empty($sort) ) $sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 2 );
|
| |
July 14th, 2004, 09:13 PM
|
#14 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
Thanks Chuck! Carole's gonna try it when she gets back from work.
We'll be happy to provide reasonable additional support fees here and there, as PP support really does give us our money's worth ($39per/yr X 3 installs).
After we paid for our first install, Carole's done all the installs and upgrades (bless her heart!) and she's learned a lot of what she knows about PHP from PhotoPost support.
I would hope that `most' things we're asking for in this thread could improve, correct, or like #2, be something we overlooked withPHPPro's umcommenting option. (BTW our third install will have commenting)
We are hoping that sometime in the future PHPPro can be installed from the admin with a truly comments free interface that could setin the Admin option interface. (without having to do this over again at each upgrade).
The reason that PHPPro is a remarkable product isn't just because it has a lot of options, but that it can be customized from the admin panel.
Let's face it, using every PHPPro option would be overkill, especially for our site, and removing commenting is going to give us a `GMS' version but with member participation in pic upload and `accompanying derscription/article publication.
The way I see it is that that we're just tying up some loose ends here so we can get on our way, and if there's a reasonable fee here and there we'll be happy to chip in.
Mark
|
| |
July 14th, 2004, 10:06 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Jul 2003
Posts: 193
|
Hi Omegatron!
We are actually still using version 4.8c (not 4.8d)
Would that make a difference in what you suggested we try?
I followed the directions below changing the 1 to a 2 in the showgallery.php
Although the 8 recent photos on the home page showed, when we looked anywhere else we got a blank screen, so I put back the original showgallery.php file.
Any other suggestions?
We really do appreciate your help.
Carolem and mjm
I did the following and we the Quote: |
Originally Posted by omegatron Well we are far outside the norms of Photopost support. I suggest you post any further code modification requests on the hack site. http://www.photopostdev.com
You can try this in showgallery.php
find this
if ( empty($sort) ) $sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 1 );
change it to this
if ( empty($sort) ) $sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 2 ); |
Last edited by Carolem; July 14th, 2004 at 10:13 PM.
|
| |
July 14th, 2004, 10:25 PM
|
#16 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
|
BTW Deleting Most Active reversed the order of all the category views, so it must have a strong connection to `most recent'.
Could another option be to put `most active' back and tweak it to act as `most recent', (and maybe delete latest)?
Mark
We had plans to actually remove all but 3 sort options, and hope that it won't be too problematic.
|
| |
July 14th, 2004, 10:29 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
try this in phpmyadmin
INSERT INTO pp_sort VALUES (1,'Newest Pics','ORDER BY disporder,date DESC');
make sure you replace the prefix with yours
|
| |
July 15th, 2004, 06:22 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jul 2003
Posts: 193
|
Since I really have very little experience using phpmyadmin, but would love to learn more (as it will be helpful for our cyber future), I would like to test out this new suggestion first and gain some confidence using phpmyadmin.
We do not have a 'test site' installed for this license. My new question is:
If I install a test site - does it go on the same database as our current gallery - or do I put it in a new database?
I could install a 'test site' load up a few pictures - remove the `most active' in phpmyadmin and then Quote:
try this in phpmyadmin
INSERT INTO pp_sort VALUES (1,'Newest Pics','ORDER BY disporder,date DESC');
make sure you replace the prefix with yours
| Carolem
Last edited by Carolem; July 15th, 2004 at 06:46 AM.
|
| |
July 16th, 2004, 12:08 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Jul 2003
Posts: 193
| Success!
Hi Omegetron
Just want to let you know that I got my courage up and explored phpmyadmin and I was able to add the row that you suggested back into the sort table and now we have our gallery back in the order that we want it!
I was also able to delete a few options in the drop down menu that we did not want.
Thank you verrrrrrrrrrry much for all your assistance!
We really appreciate it!
Carolem and MJM
|
| |
July 22nd, 2004, 07:46 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jul 2003
Posts: 193
|
How do I edit the language file? Where do I find the file?
Quote:
Originally Posted by mjm
6) The move/delete pic button says `Submit Post'
- We'll need to change this to `Move/Delete'
EDIT THE LANGUAGE FILE FOR THAT SCRIPT
|
| | |
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 01:19 AM. | |