PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 25th, 2005, 05:52 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 22
Hiding/showing categories

Hi, hope all these reports don't get me banned or something! My site has all the vb3 integration options turned on. When viewing the home page the user has the option to hide/show categories by clicking the + or - image to the far right of the category name. However, this returns a "error 404 not found" message. I've not investigated this bug as I took the easy route and removed the button from the template, but thought you might like to know. All the other options work so I can assume my system is configured correctly. I can revert the template if you need more info about this problem.
mawby is offline   Reply With Quote
Old June 25th, 2005, 08:03 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
LOL no these will not get you banned.

Well I think we would need to see a link to your install as I do not show any issues with this and I have visited about 5 vb3 classifieds installs to check.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 26th, 2005, 03:42 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 22
The link is http://www.mkivsupra.net/pp-classifieds. As stated I have removed the button from the template, but I can put it back in if needed.
mawby is offline   Reply With Quote
Old June 26th, 2005, 04:18 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
I would need unmodified files placed back to assist and see whats going on
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 27th, 2005, 06:30 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 22
OK, having placed the original files back in I can the problem. The collapse/expand does work, however it is when it tries to reload the page afters that it goes wrong because it redirects the user to...

http://www.mkivsupra.net/pp-classifieds/misc.php.php

Note the double .php at the end. Taking one of those off loads the page correctly with the category expanded or collapse as expected. You can test this using the logins I've PM'd you for the permissions problem.
mawby is offline   Reply With Quote
Old June 27th, 2005, 08:28 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
Here is the link

http://www.mkivsupra.net/pp-classifi...4&script=index

In pp-inc.php replace in bold on the lines 839-842

Code:
Content visible to verified customers only.
it should be catopts.php not misc.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 27th, 2005, 08:57 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 22
Thumbs up

Yep that change works perfectly.

Last edited by mawby; June 27th, 2005 at 09:20 AM.
mawby is offline   Reply With Quote
Old July 18th, 2005, 12:47 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
I encounter the same problem.

But after I change the code in pp-inc.php from misc.php to catopts.php it still shows a 404 error.

I scanned the source files and I can't find any files by the name of catopts.php.

Please help ....................

http://www.singaporeexpats.com/classifieds/index.php
prodigy is offline   Reply With Quote
Old July 18th, 2005, 01:02 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
That would be because in the current download Michael has moved catopts into the misc.php file

I suggest you make sure you download and update your files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 18th, 2005, 03:19 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Updated the files, and it is now pointing to:

Expand:
http://www.singaporeexpats.com/class...0&script=index

Implode:
http://www.singaporeexpats.com/class...1&script=index

Still shows 404 error ..........

Found this inside misc.php, can you check for me?

if ( $action == "catopts" ) {
// Lets check the need to expand/collapse categories
if ( isset($expand) || isset($implode) ) {
if ( is_numeric($expand) ) {
if ( $expand > 0 && strstr($cpcollapse, ",$expand,") ) {
$cpcollapse = str_replace( ",$expand,", "", $cpcollapse );
setcookie( "cpcollapse", $cpcollapse, time()+2592000 );
}
}

if ( is_numeric($implode) ) {
if ( $implode > 0 && !strstr($cpcollapse, ",$implode,") ) {
$cpcollapse .= ",$implode,";
setcookie( "cpcollapse", $cpcollapse, time()+2592000 );
}
}
}

$more = ( isset($cat) ? "?cat=$cat" : "" );
header( "Location: $script.php$more" );

Please help ..............
}
prodigy is offline   Reply With Quote
Old July 18th, 2005, 04:55 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
In misc.php add in bold

typecast($_REQUEST, array('script' => STRING,'do' => STRING, 'action' => STRING, 'product' => INT, 'cat' => STRING, 'report' => INT,
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 20th, 2005, 12:59 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Great! That works

One more question, howcome I can't implode/collapse all categories ?

For example: ALL the categories in the index page will always expanded except one and when I collaspe one of them, the original one will expand. That means no matter what I click (collapse or expand), there will be only ONE cat collapsed and ALL the rest expanded.

Is this a bug ? ...... Please advice
prodigy is offline   Reply With Quote
Old July 20th, 2005, 01:23 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
I suggest you download and update your files. any bugs reported and fixed have been updated in the build
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 20th, 2005, 04:27 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Updated to the latest.

Same problem, there is only ONE category that can be collapsed at ONE TIME and ALL the rest will be expanded if another category is collapsed.

Can take a look ??

Last edited by prodigy; July 20th, 2005 at 04:30 AM.
prodigy is offline   Reply With Quote
Old July 20th, 2005, 09:20 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
I will try to do more testing but I cant replicate this issue using the latest code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 20th, 2005, 01:05 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Hi Omegatron,

Maybe you can take a look at my site:
http://classifieds.singaporeexpats.com

Then perhaps you can know where the problem lies ...

All the files in the root dir are new, all the files in the template dir are new too of cos except the editproduct, showcat, showproduct and uploadproduct.

Thanks!
prodigy is offline   Reply With Quote
Old July 20th, 2005, 01:58 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Is this code working for mine ???

if ( $action == "catopts" ) {
// Lets check the need to expand/collapse categories
if ( isset($expand) || isset($implode) ) {
if ( is_numeric($expand) ) {
if ( $expand > 0 && strstr($cpcollapse, ",$expand,") ) {
$cpcollapse = str_replace( ",$expand,", "", $cpcollapse );
setcookie( "cpcollapse", $cpcollapse, time()+2592000 );
}
}

if ( is_numeric($implode) ) {
if ( $implode > 0 && !strstr($cpcollapse, ",$implode,") ) {
$cpcollapse .= ",$implode,";
setcookie( "cpcollapse", $cpcollapse, time()+2592000 );
}
}
}

$more = ( isset($cat) ? "?cat=$cat" : "" );
header( "Location: $script.php$more" );
}
prodigy is offline   Reply With Quote
Old August 5th, 2005, 07:07 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Location: New York
Posts: 15
Talking Catagory Imploding not working

Can someone show me how to disable the expand feature?
Just like yours: http://classifieds.singaporeexpats.com/


I have the same problem with the PhotoPost Classifieds 2.41 product.
/misc.php?action=catopts&implode=3&script=index has some strange active content and wont work under ie 6.0. When you click back to the page it's imploded but it must be caching the page or session somehow ..
and you cant re-implode it afterwards:

My site is here: http://www.jersey-auctions.com/auction/

But my code for /pp-inc.php is located on line 864.

Code:
Content visible to verified customers only.

Is this what im suppose to change? also there is one under: /languages/english/pp-inc.php but i't does not have any of those varibles.

Thanks in advance if anyone can help.

Last edited by tcroft2683; August 5th, 2005 at 07:15 PM.
tcroft2683 is offline   Reply With Quote
Old August 6th, 2005, 07:10 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,660
this thread should help disable it

How to disable collapse / expand feature?

Sounds to me like a cookie issue. I am still unable to replicate
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 6th, 2005, 04:43 PM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Location: New York
Posts: 15
Thanks

that worked like a charm.
tcroft2683 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are my Categories names not showing up? lem ReviewPost Installation & Upgrades 7 September 30th, 2005 01:15 PM
Hiding Categories...? Base4 Photopost Pro How Do I...? 4 July 26th, 2005 01:43 PM
Problem With Categories Showing All Products graphicw ReviewPost Bug Reports 15 March 24th, 2005 03:05 PM
Closing / Hiding categories in PP NSXTC General Discussion 1 December 15th, 2004 03:28 PM


All times are GMT -5. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0