Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:06:41 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Poll
Question: Would you like to the option of including locations (city/country) for ads in AdBaker2?
Yes, being able to filter by location would be great. - 3 (60%)
No, I won't use/offer locations - 1 (20%)
Yes, I plan to use this module and can't or won't be upgradeing anytime soon - 0 (0%)
Doesn't matter to me - 1 (20%)
Total Voters: 5

Pages: [1] 2 3 ... 12   Go Down
Print
Author Topic: AdBaker - Classifieds Module  (Read 27045 times)
mahalleday

Offline Offline

Posts: 188



WWW
« on: March 11, 2009, 05:42:37 AM »

Ad Baker version 1.1 – Stable

This ‘page type’ module for WebsiteBaker 2.8x will allow admins and registered users to post free classified ads in a variety of categories/subcategories in nay type of currency created by the admin and set by the user when the ad is created.

Frontend Features

    • NEW - Unregistered users can post ads if admin permits - NEW version 1.1
    • Registered users can post new ads
    • Registered users can view list of there posted ads to check status, edit or delete the ad
    • Single Image can be uploaded for ad.  Image is automatically re-sized and thumbnail created
    • Ads are previewed after being posted user has option to accept, delete or approve ad
    • Category list shows number of ads in each category and subcategory.   If there are no ads the link disabled
    • English Language File

    Backend Features

      • NEW - Admins can allow unregistered users to post ads - NEW version 1.1
      • Admins see all ads
      • Admins can create unlimited categories, subcategories and currencies
      • Admins can create ads
      • New ads are previewed after posting just like frontend

      Backend Settings Options

      • Site Settings
          • NEW - Allow Registered Users: Set weather or not to allow unregistered users to post ads - NEW version 1.1
          • Front Page View:  Sets the main page for module in front end.  Either Ads or Categories
        • Ad Settings
          • Ads per Page
          • Minimum Description Length
          • Maximum Description Length
          • Admin Verification:  Sets weather or not ads must be approved by admin before being posted on site
          • Ad Renew Limit:  Limit number of time users can renew ads.  Admins can renew unlimited times
          • Ad Duration
             
        • Image Settings
          • Ad Alt Image:  sets image to show if users does not upload image with ad or ‘none’ for none
          • Large image Size
          • Large Thumbnail Size
          • Small Thumbnail Size
          • Allowed File Types
          • Max Image Size
        • Category Settings
          • Categories Per Page
        • Currency Settings
          • Currencies Per Page

        Please find the file for the release below or on the ASAMP site.  Feel free to comment and make suggestions for future updates.

        Cheers,

        Mike
        [/list][/list][/list]
        « Last Edit: August 03, 2011, 08:58:31 PM by mahalleday » Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        SourDough

        Offline Offline

        Posts: 47


        WWW
        « Reply #1 on: March 11, 2009, 02:15:22 PM »

        Hi Michael,

        I haven't had a chance to install this yet, but I looked over the code quickly.  In your install.php, when you populate the mod_ad_baker_curren cies table, your values don't match with the vars you set.  You set $cat_desc on line 127 but use $cur_desc in your SQL query on line 130.  Same on line 133 and 136. 

        Looks like it will be a useful module.  Thanks for the contribution. 

        Nick
        Logged
        erpe

        Offline Offline

        Posts: 2077


        WWW
        « Reply #2 on: March 11, 2009, 02:49:09 PM »

        Hi Mike

        installed the module and got following messages in the backend:
        Quote
        Notice: Undefined variable: user_id in /users/rvb/www/modules/AdBaker/admin/list_ads.php on line 8

        Notice: Undefined index: page in /users/rvb/www/modules/AdBaker/admin/list_ads.php on line 23

        Notice: Undefined index: page in /users/rvb/www/modules/AdBaker/admin/list_ads.php on line 24

        And some tables were not installed:
        Table 'rvb.wbmod_ad_Baker_ currencies' doesn't exist
        Table 'rvb.wbmod_ad_Baker_ categories' doesn't exist

        rgds

        erpe
        « Last Edit: March 11, 2009, 02:51:31 PM by erpe » Logged

        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #3 on: March 11, 2009, 06:18:57 PM »

        Hmm very odd.  I uninstalled it and then reintalled it on my test server before posting ot ensure it worked.  I'll try it again tonight and see if anything pops up.

        I'll also dig through the install filwe to clean up the things SourDough mentioned.

        Thanks for the heads up on these issues.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        macsmet

        Offline Offline

        Posts: 230


        « Reply #4 on: March 11, 2009, 07:35:09 PM »

        The same errors here!
        But I love the module!!!!!!!!!
        Logged
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #5 on: March 12, 2009, 03:47:13 AM »

        Ok I guys I did the whole uninstall - reinstall thing and I get none of the errors you guys get. I'm running the current version on WAMP with php 5.2.6 and mysql 5.0.51b.

        I did however clean up the install file so all tables should be installed and populated correctly. 

        If someone that gets these errors could have a look through my code and see what could be causing the error that would be great.  I'll keep looking for ways to solve this but since I can;t replicate it on my end it's hard to find and fix.

        New version posted above.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #6 on: March 13, 2009, 05:44:28 AM »

        My appologies everyone.  there does appear to be some errors in the last batch of code i put up.  there seems to be something broken about the layout in IE as well. 

        I'll work to get this ironed out please be patient.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        Stefek
        WebsiteBaker Org e.V.

        Offline Offline

        Posts: 4753



        « Reply #7 on: May 29, 2009, 01:48:25 PM »

        Hello Mike.
        Any news on this?

        Regards,
        Stefek
        Logged

        "In a time of universal deceit, telling the truth becomes a revolutionary act."
        - George Orwell, Nineteen eighty-four (1984)
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #8 on: June 02, 2009, 09:32:39 PM »

        Unfortunatley progress has stalled a bit.  Lack of time and lack of knowledge has hindered progess quit a bit.  What I really need is a partner to help with development I had put the request out at the start of this project but no -one seemed interested. 
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #9 on: June 05, 2009, 08:29:24 PM »

        I have re-newed my efforts on this module.  Updates to come.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        Stefek
        WebsiteBaker Org e.V.

        Offline Offline

        Posts: 4753



        « Reply #10 on: June 05, 2009, 08:33:24 PM »

        That's great news.
        Very appreciated.

        Kind Regards,
        Stefek
        Logged

        "In a time of universal deceit, telling the truth becomes a revolutionary act."
        - George Orwell, Nineteen eighty-four (1984)
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #11 on: June 05, 2009, 10:26:33 PM »

        I'm glad to see there is some intereest in this module besides myself.  Gives me reson to move forward with it.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mr-fan

        Offline Offline

        Posts: 1538


        WWW
        « Reply #12 on: June 06, 2009, 06:14:03 PM »

         cool i like this stuff - and give you a additional reason for your move.... cool

        i will test it - soon (baking templates now...)

        if you get a new version - i will spending testtime!

        regards martin - good work!
        Logged

         
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #13 on: June 08, 2009, 04:01:58 PM »

        I have something I might be able to out up tonight.  I have a pretty much fully functional backend and am working on getting the user's backend to work right (place where users can add/edit ads etc).  I do not know how to get thie users backend to display with a the site's template so it looks seamless.  If anyone has instructions on how to do this it would help a lot. 
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mr-fan

        Offline Offline

        Posts: 1538


        WWW
        « Reply #14 on: June 08, 2009, 06:45:38 PM »

        Quote
          I do not know how to get thie users backend to display with a the site's template so it looks seamless.  If anyone has instructions on how to do this it would help a lot.

        if you mean the view of the user (add/manage ads) in the frontend.... i know someone who maybe can help!

        if you take a look at the modul bookings http://www.websitebakers.com/pages/modules/calendar-and-time/bookings.php

        there is a function that users are able to book and add/delete here bookings but not the bookings of the other users!

        i mean this is exactly the same feature for your modul!

        unfortunaly the develloper of this mod (webbird/bianka) is in holidays..! but in july she's is back again!

        until there you could take a look on the bookings and i'm sure she's helping when she's back!

        regards martin
        Logged

         
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #15 on: June 20, 2009, 03:42:15 AM »

        Very close to having something worth putting up for people to have a look at.  Still a little ways away from something useful in an actual production environment but with a bit of testing and bug fixing we sgould be very close, things are looking good.

        Just doing a bit of code refactoring and file organization right now and hope to have something but be weekend of the weekend.

        I iwll try and post some screen shots tonight as in my test environment i have made several ads and categories etc.  the clen in stall only has one ad and a few categories, hopefully the screen shots will give people a bit of an idea as to how this will turn out.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #16 on: June 21, 2009, 08:40:00 PM »

        As promised here are some screen shots from my test environment.  this shows what it will look like with multiple ads and categories etc.  A clean install has very little in  he way and pre-installed ads and categories etc....

        I plan to post the code on install and test later tonight or this afternoon.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #17 on: June 21, 2009, 08:41:29 PM »

        More pics
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #18 on: June 21, 2009, 08:42:19 PM »

        Still more pics
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        erpe

        Offline Offline

        Posts: 2077


        WWW
        « Reply #19 on: June 22, 2009, 09:15:25 AM »

        Hi

        tried to install it again, but the module doesn't work.
        One  problem is :
        Table 'rvb.wbmod_ad_Baker_ currencies' doesn't exist
        Table 'rvb.wbmod_ad_Baker_ categories' doesn't exist

        The frontend upload of new ads doesn't work too.

        I think, a lot of work to be done.

        rgds

        erpe
        Logged

        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #20 on: June 22, 2009, 04:37:57 PM »

        I discovered to problem with makeing ads in the frontend this morning as well.  as for your other issue I have unistalled and reintalled this thing multiple times, each time I all tables and correctly created in the database.

        Can someone else please verify they have the same issue as erpe?
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mr-fan

        Offline Offline

        Posts: 1538


        WWW
        « Reply #21 on: June 22, 2009, 06:02:12 PM »

        ok i've stolen short time for testing - it is the beginning of a real great MOD!!!

        1.  install was ok - no E's

        2.  you've set up a first series of categorys and a ad....that is good for testing and watching how it works.... wink

        3. i deleted all the installed category's & ad's

        4. set up new currencies - first E with saving => look pic 1 (comes by klick on "save" currencie-page)

        5. set up categorys - works like it should

        6. added a ad - next E with saving => look pic 2 (klick on "saving")

        7. in frontend if i click on the picture of a ad i'm getting a 404 see pic 3

        8. in the frontend it will be more userfriendly if the "name" was displayed not the ID? just a suggestion

        i love your work!! this will be a real cool MOD  cool

        EDIT//  i also would suggest that a second (or third) coder will check for securtiy issues because with frontendediting (especialy the pic-upload) there could be more risk than like a "normal" backendmod!!

        testing with a fresh installation of WB Portable 2.7 with php 5.2.6

        if this mod is getting to grow to a RC i will provide the german lang file!

        i wish you a good week!

        regards martin
         
        « Last Edit: June 22, 2009, 06:12:17 PM by mr-fan » Logged

         
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #22 on: June 23, 2009, 03:17:06 PM »

        Went through and tried to re-create the errors.

        • Solved the error creating currencies
        • Solved the error making ads in the front end
        • I do not get the 404 when clicking an ad in the front end
        • As for uploading of images it seems to only like pics that are no bigger than about 640x480 not sure whya s the script is supposed to resize anything large than that, I'll look into this over the next day or so.

        I have uploaded updated code in the post above.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #23 on: July 01, 2009, 05:35:21 AM »

        With this latest update beta_0.2 most the the functionality for this module should be in place.  What is needed now is a thorough review of the code it self for security holes as well and a look for places the the code can become more efficient.

        My plan is to get s stable working and secure release out ASAP so I can begin working on upgrading and adding new features and building on what I have already done.  SO any all all php gurus out please time permitting have a dig thru my code and help out where you can.  Thanks.

        New files posted in first post in this thread.  Please refer to that post from now on for most current files and list of changes and updates.  

        Mike.
        « Last Edit: July 02, 2009, 01:03:09 AM by mahalleday » Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        mahalleday

        Offline Offline

        Posts: 188



        WWW
        « Reply #24 on: July 04, 2009, 07:34:49 PM »

        Bump....

        I am currently working on revising some of the layouts, as well as minor tweaks and bug fixes as they arise.  But what I am really in need of someone besides my self to test this thing especially were security is concerned.

        Mike.
        Logged

        AdBaker2 Project Site: http://code.google.com/p/adbaker/
        Pages: [1] 2 3 ... 12   Go Up
        Print
        Jump to:  

        Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!