Fork me on GitHub

*Will Pay for assistance with PN_zClassifieds module  Bottom

  • I am in desperate need of help here. I have to customize PNzClassifieds so that users will be able to PAY for listing their ads....

    I am not a programmer and will definitely screw up the module if I do this. Can somebody help me out with this? Send me a quote for customization and hopefully we can get this thing running as soon as possible.

    :: in over my head, as usual :: :!:
  • Ok, I guess noone is interested in turning this module into a Pay-To-Add module, but if a PHP guru could just change one link for me, I'll gladly pay the price.

    I need to change the top link that points to the add your listing page, to check for permissions. This way, anyone that has made a payment to add to a specific category would be checked (group perms) and if not, be redirected to the form for payment, which I've already created.

    I am anxious to get this site up and running so I can move on, so if anyone has the time to help me out, please send me a PM or post a reply here.

    :: Thanx! ::
  • Did you find a workaround?
  • I had to modify the module on my own (not much knowledge of PHP unfortunately) so ended up changing the link at the top - "Suggest an ad" to repoint to a form with PayPal buttons. After the user completes the payment, they are re-directed to the category they just paid for. Only problem is, I hope everyone reads the message at the top stating that they have to be logged in, or they won't gain access to the category! If that happens, then the administrator is going to get a nasty email, and will have to send the link again. Unfortunately PN_zClassifieds doesn't have any permissions settings in the PHP (at least that work!) so creating a group and adding permissions is out of the question.

    I tried 6 times to contact the developers (Technivore) and even offered to pay for assistance, but never got a response from them...

    I had someone else work on the module, but it wasn't working properly - probably some bug in the original script, but I paid for the assistance anyway since so much time was put into it (thanks to mashdeco.com for the help!)

    Site is already up and running and I'm done with this project. If this problem arises in the future for another site though, I'll be posting here again for that PayPal integration. Thanks for asking though.
  • Looking at your problem I would say that using PostNuke permissions is the right way to go.
    I must add that I didn't use PN-ZClassifieds as I choose ZClassifieds from http://www.pnaddons.com (both modules seem to come from the same ancestor, probably an old PHPNuke module, but when I tried PN-ZClassified module last year it created tables without the right prefix so I thought that I didn't had time to loose with a developper who make such a mistake and deleted it)
    I can see anything that can prevent Postnuke permissions from working even with a non pnAPI compliant module (and PN-ZClassified surely is one) and even with a badly coded module (and PN-ZClassified surely is one or at least badly ported to PostNuke) but maybe I forget something.

    Quote

    had someone else work on the module, but it wasn't working properly - probably some bug in the original script, but I paid for the assistance anyway since so much time was put into it (thanks to mashdeco.com for the help!)

    I don't really know if I qualify as a PHP guru icon_lol but I would be very interested in having a look at what was done and see if I can make it working, of course if you agree !! My only conditions would only be :
    a) that if I succeed the resulting code will be available freely under GPL licence
    b) NOT to be paid because
    - sending money to France is not that easy
    - I prefer to code only for pleasure icon_lol

    --
    Visit my live reef aquarium.

    My Amazon wish list.
  • You'll do much better getting paid help if you post at Rent A Coder. Your request will be exposed to a much larger audience of people capable of accomplishing the changes you want. It's also safer for all concerned. You don't advance any deposit and risk loss or getting jerked around. You pay the agreed on amount into escrow. The progammer has to furnish weekly progress reports (on Fridays) and can have a deadline that you set before bidding on your work.

    The funds don't get released until you get your coding, see it in action, and are satisfied with it.

    Just as the PN site is a poor example of PN, it is also a poor source of PN programmers. You can do much better at RAC.

    ***********************
    NOT an addict and what a stupid and negative term that is (along with pngod
  • A possible avenue for finding PN programmers is to use the web links listing for module developers for hire here on the PN web links site. True, this is more or less for module developers but never know if one of them might be willing do to a custom change like this to a module that is not their own.

    Just a thought to try and provide future resources of help. And I realize this won't always be the one single best answer.
  • Thanks for all the links. Will check these out.
  • You are welcome and I hope you find a resolution to your issue.

    Normally I would offer up to help but at this time I am just embarking on my first venture with Post Nuke programming. Want to learn my way around first before starting to offer services as a PN programmer wink
  • I actually did a very basic paypal integration last night and it was remarkably easy.

    My approach was to allow only registered users to post ads, then once they hit submit rather than getting the "Thank you! Your ad has been submitted awaiting validation!" message. I changed it to something like.
    "Thank you. Your ad is now awaiting validation and receipt of payment. Please click on the button below to complete your purchase".

    This part of the change was done in the lang/eng/global.php I think it's called _THANKYOUADSADDED.

    Then I went to paypal and used the button wizard to create the button that I wanted. In the part on the button wizard where is says "Item ID/Number" just put XXXX at this stage ( you're going to replace it later ).
    Also unfortunately you have to choose "No" for "Encrypt payment button".

    Save the code that is generated to your clipboard.

    Then in the PN_zClassifeds directory edit list.php. Find the section where _THANKYOUADSADDED is called and splice in the button code you saved immediately after it. Find the bit of the button code where you entered XXXX for the item number and replace it with something like "Payment for Ad number $newid" $newid is the ad number for the add that was just posted.

    Then you are pretty much done. When the person clicks on the Paypal button and makes the payment, you get informed that the payment has been made and it indicates which Ad number was paid for.

    You can then go into your classifieds admin and OK the posting.

This list is based on users active over the last 60 minutes.