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 18th, 2004, 01:45 AM   #1 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Another Extra field bug between "wanted" and "help wanted" templates.

OK I asked a question here: http://www.photopost.com/members/for...01#post1074401

But I think I found my own answer. Hopefully somebody can verify this for me and if it is a bug, hopefully give a fix.

In my "help wanted" template I have specific text in my extra fields. In my "wanted" template I have different words in the extra fields. However, when I try to ad a job ad into the category that SHOULD use the "wanted" template extra field text, instead it uses the extra field text for the "help wanted" template.

I checked if the fields were correct when editing a job ad and it had the correct extra field wording, but the when uploading a new job ad, it appears to have a problem.

Can somebody help me fix this?
Johnny Doomo is offline   Reply With Quote
Old June 18th, 2004, 07:21 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Johnny, in the past few weeks I've learned that 1.1 had a flaw in my thought process as it relates to the extra fields. Last night I posted a fix and an update for the 1.8 release.

One of the problems I had was that if a type of ad had different extra fields for various categories, we wouldn't know which ones to pick up because we didnt ask them which category to upload to first.

The latest build is a three step process (if you have multi ad types, otherwise two):

1. pick your ad type (this is skipped if you only have one ad type)
2. pick you category
3. fill out your ad

If you use different extra fields within the same ad type, you're going to need to get the latest update so your users are always prompted for the same ad information.

The issue with submiting ads from the non-category areas was also resolved by forcing people to pick an ad type.

The change we offered from before which changed the query to get extra fields using the template number should cause you to pick up the proper fields if they are always the same for an ad type; you'll need to make sure this is the care (type printing out the query in uploadproduct.php (print $query to see what you are getting and then execute the query in a MySQL to see what results you get.

I seem to recall you were using 1.1 and not wanting to upgrade; so fixing it to the 1.8 standards would require you to make the mods yourself.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 18th, 2004, 10:42 PM   #3 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I'm not using different fields in the same ad type.

I have 2 ad types.

1 for companies seeking employees

1 for individuals seeking jobs

for all categories in the companies job ads I have:
Position Title
Type of Job
Job Duration
Minimum Experience
Minimum Education
Job Location

for all categories in the individual job ads I have:
Position I Seek
Type of Job
Job Duration
My Experience
My Education
Preferred Job Location

So if I use it this way can I still use 1.1? I don't know any heavy mysql programming, but if it was possible to get this working with 1.1 I would really rather do that, as I didn't want my site to worked on for longer than it already has. I was hoping to launch it soon and it seems that an upgrade before the site has even launched is a little much.

Is what I mentioned above possible with 1.1 while getting ride of the templates with image fields popping in? If it is I would really appreciate some help to get them to work.

Please let me know. Thanks!

BTW I never did find out why I nor the registered usergroup can post comments. Was this a bug in 1.1? Why am I having so much difficulty getting comments to work on job ads? They never worked, yet everything in the admin CP points to allowing the usergroups to post comments.
Johnny Doomo is offline   Reply With Quote
Old June 19th, 2004, 08:38 AM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Comments were first introduced with the 1.1 update as they weren't part of the original design. Did you search this forum for comments to see if there was a fix posted?

As for the extra fields, I believe the issue is that you have to force people to choose an ad type in every instance. Change line 73 of uploadproduct.php to:

if ( !isset($template) ) {

so that it is always prompted for.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 19th, 2004, 11:38 AM   #5 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
I did a search for the comments thing and I only found this post: http://www.photopost.com/members/for...d.php?t=107648

Which appears to be the initial discussion that got it into the full product.

As far as that code that you just posted, you gave it to me in another thread too. I guess I am hesitant because I wanted to bug my users as little as possible.

Is there a way so it doesn't ask which template to use everytime, but just when they aren't already in a category? The problem with loading up the template with image fields only happens when the "Place An Ad" link is click when users come from the following pages:

My Watch List
last day
last 7 days
last 14 days
all ads

Is it possible to only ask which template when people are clicking the link from those pages? Everything else about loading the right template seems to work just fine. The strage thing is, I even tested clicking the "Place An Ad" link from the profile page and it works fine and asks which template to use. Can something like that be done for the pages mentioned above?

Do you have any ideas on why my comment system has never worked? Would it help if I PMed the admin and/or a test user account info to you?

You guys have me thinking now though. How long does it take to upgrade from 1.1 to 1.8 if I was using the trail version of beyond and compare? After all, I guess I am spending enough time toubleshooting 1.1 problems here, that time could be spent to remove all problems if I just went to 1.8... the question is, what type of bugs will I find in 1.8 that could delay the launch of my site even longer?
Johnny Doomo is offline   Reply With Quote
Old June 21st, 2004, 08:27 AM   #6 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You could add some kind of conditional that said something like !is_numeric($cat) to the line above which might allow it to only be asked when in those categories.

If you'd like to PM me an Admin account, I'll take a quick look.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old June 21st, 2004, 08:39 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Johnny

1.8 takes care of all bugs found to date. I have not submitted anything in the past week on classifieds. Go ahead take that plunge and upgrade. I personally thing you are going to cause yourself more problems trying to code things in yourself from 1.8 and cause even more bugs than you have now with that 1.1 install.
__________________
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, 2004, 04:56 PM   #8 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Well after spending a good hour on seeing what it would take to go from 1.1 to 1.8 I have decided to stay with 1.1. Moving to 1.8 is just too time consuming. I had one question for both of you that hopefully you could help me with. I asked this question over at Photopostdev.com, but it just isn't getting answered (http://www.photopostdev.com/showthread.php?t=735)

Can one of you give me instructions on how to remove the redirectional pages from Photopost classifieds 1.1? I would really appreciate it.

Omegatron, how's that RSS feed info coming? Do you know what it's going to take yet?

If you guys could get back to me on these I would really appreciate it. Thanks for all the help so far too!

EDIT: Also I found that when I click on "edit users", "Click to list all 3 users", and then click to reset a users password I get this error:

"Fatal error: Call to undefined function: gen_password() in /home/virtual/directory/member.php on line 30"

Can you also help me fix this problem? Thanks!

Last edited by Johnny Doomo; June 26th, 2004 at 05:12 PM.
Johnny Doomo is offline   Reply With Quote
Old June 26th, 2004, 05:32 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Johnny,

You can deal with any custom stuff through the email associated at the bottom of the post here.

I dont rightly know what you mean by the redirectional pages. If you talking about the forward pages. Would you just want to upload an ad and then crap out to a white page. The forward functions serve an important function. Maybe someone will answer your post there but from a support aspect I can assist you in hacking your code.

In classifieds the pp-inc.php file seems to be missing the function gen_password

Add this to the bottom of pp-inc.php before the closing ?>

function gen_password() {
$consts='bcdgklmnprst';
$vowels='aeiou';

for ($x=0; $x < 6; $x++) {
mt_srand ((double) microtime() * 1000000);
$const[$x] = substr($consts,mt_rand(0,strlen($consts)-1),1);
$vow[$x] = substr($vowels,mt_rand(0,strlen($vowels)-1),1);
}
$newpass = $const[0] . $vow[0] .$const[2] . $const[1] . $vow[1] . $const[3] . $vow[3] . $const[4];

return( $newpass );
}
__________________
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 29th, 2004, 06:58 AM   #10 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
The redirection pages I was talking about are the pages that have nothing more than a box saying "Your job ad was uploaded successfully" or something close to that nature. I know it only appears very fast, but I am hoping to remove them throughout my site. I did it with Photopost and as long as it doesn't cause any other problems I would like to do it with Classifieds as well.

If I remember correctly, with Photopost it was something about taking out the code for the redirection pages and changing the refresh page time to 0 so that it instantly took the user to the proper page without showing them a middle page...(or more to the point, it shows a middle page, but because it's refresh is 0 it instantly sends them to the right page without bugging them with the message)

Can you tell what code I need to remove to get rid/hide of these pages?

Thanks!
Johnny Doomo is offline   Reply With Quote
Old June 29th, 2004, 08:11 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Johnny

Code Hacking can be discussed on the hack site Photopostdev.com.
__________________
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 29th, 2004, 08:39 PM   #12 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Tell that to my thread that was started over there on June 8th about this and doesn't have a single reply.
Johnny Doomo is offline   Reply With Quote
Old June 29th, 2004, 08:55 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Johnny

Photopostdev is not part of Photopost. Support people do not generally reply over there. We refer you there because we will not as a support site answer code hacking questions. We support problems with the regular working of the program and installation issues. That site is there in the hopes users will help each other.

I am sorry but I try and limit myself to support issues. I get asked to solve peoples hack issues all the time there and I generally try and stay out of such things.
__________________
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 30th, 2004, 12:46 AM   #14 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
Well that sucks. OK here's one to take back to your masters. Remove the redirection pages from the next actual release of Classifieds. Nobody likes redirection pages, nobody ever has liked them. From the 1.0 days of VB to today and through the history of time, nobody understands them and nobody wants them.

Thank you and hopefully when I update and Classifieds 5.0 is out and I finally decide to upgrade this post will have helped my future self in a way... Because it's unlikely Photpostdev.com will be around by that time at this rate.

Thanks anyways, but I understand your position too. Are you still working on finding out about RSS feeds for classifieds? I am would be interested in a quote of how much you would charge to create something that could do RSS feeds for my Classifieds 1.1 version that I could add and remove the id #s of which categories I want it to include as well as having multiple versions available for different options.

Thanks Omegatron
Johnny Doomo is offline   Reply With Quote
Old June 30th, 2004, 08:08 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Johnny

As long as people want to hack I think there will be hack sites around.

Now as far as any suggestions you have you can post them in the suggestion forum. You keep appending hack needs etc and everything else to this old bug thread which has been fixed forever. I know you do not like redirection pages but they serve a huge purpose in code and every program whether it is VB UBBThreads phpBB Photopost etc uses them and will continue to use them at least thats my opinion on it personally
__________________
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 30th, 2004, 07:29 PM   #16 (permalink)
Senior Member
Verified Customer
 
Johnny Doomo's Avatar
 
Join Date: Mar 2003
Posts: 877
RSS feeds?
Johnny Doomo is offline   Reply With Quote
Old June 30th, 2004, 07:41 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I beleive I told you a couple days ago I was looking into this. You can contact me by normal means of my email posted here.
__________________
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
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
User permission set to "YES" - but database field shows "0" skippy Classifieds Bug Reports 3 November 11th, 2005 02:45 PM
"Wanted" Type brings blank drop down Step 2... robferrari Classifieds Bug Reports 3 October 2nd, 2005 04:13 PM
"I cannot see your phpBB2 "phpbb_groups" table."(NOT A BUG) Scimitar1 Photopost Pro Bug Reports 2 August 5th, 2005 01:58 PM
"Wanted" doesn't give categories as option in Step 2... robferrari Classifieds Bug Reports 8 March 8th, 2005 12:20 AM
Help with "wanted" Template jazz74 Classifieds Installation & Upgrades 4 February 20th, 2005 11:38 AM


All times are GMT -5. The time now is 04:14 PM.

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