Bitcoin Forum
May 06, 2024, 01:14:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Bitcoin directory script - free download  (Read 81217 times)
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 25, 2013, 09:42:57 AM
Last edit: November 19, 2013, 08:55:55 PM by luke.watson
 #1

View it here : http://cdkey-hut.com/directory/

Github repo : https://github.com/Lukewatson12/bitcoin-directory

If you don't have github download as a ZIP - instructions are the same

The script is rather easy to setup and will allow you to handle taking Bitcoin payments in exchange for listings on your site's directory.

Setup

Your first step is to download the script

Secondly extract the script and open the 'Files' folder, in here is the body for the script.

Navigate to the config.php file which can be found under lib/config.php

You will need to setup all of the Constants found here, it is important you fill them all out and use correct information as they are used all over the site!

Now you'll need to upload the script to your web server. If you have any errors please post them on this forum post for me to take a look at.

Finally run the SQL script that came with the ZIP file (bitcoinDirectory.sql)

Your site should be ready to run!
1714958041
Hero Member
*
Offline Offline

Posts: 1714958041

View Profile Personal Message (Offline)

Ignore
1714958041
Reply with quote  #2

1714958041
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714958041
Hero Member
*
Offline Offline

Posts: 1714958041

View Profile Personal Message (Offline)

Ignore
1714958041
Reply with quote  #2

1714958041
Report to moderator
1714958041
Hero Member
*
Offline Offline

Posts: 1714958041

View Profile Personal Message (Offline)

Ignore
1714958041
Reply with quote  #2

1714958041
Report to moderator
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 26, 2013, 10:43:16 AM
Last edit: November 17, 2013, 10:28:41 PM by luke.watson
 #2

The Free Bitcoin Directory Script

Features

- 3 tiers for listings;
Premium (Shown every 5 standard entries)
Featured (Shown at top of page)
Standard (free)

- Categories and subcategories
Customisable categories, only list what you want to show

- Listing page
Each listing has their own page /w full description and image + link to site

- Contact form (not really a feature)

Progress

Listings

- Premium, Featured and Standard listings to show on homepage
- Menu to drill down into categories and subcategories
- Submit user listing
- Review user listing and pay if required

Admin
- Ability to log in to Admin panel
- Add new and Remove Categories
- Accept/Decline suggested listings
- Refund payment is a listing is declined

https://i.imgur.com/GqOI5fz.png - Admin homepage - Recent Listings
https://i.imgur.com/1dQK51M.png - Admin homepage - New listings (Accept/Decline)
https://i.imgur.com/MdccaZh.png - Admin categories - Filter through available categories [$x] number shows number of sub categories contained

Design
- Responsive!

Notes
- I don't plan forcing signup for the site to submit entries, instead a captcha form will be used to deter spammers and perhaps a small nominal fee for all listings (optional)
- I will try to keep the design as basic as possible so it is easy to change and customise

If you have any suggestions or ideas please let me know I'm open anything

Luke
Mooshire
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
July 27, 2013, 02:37:59 AM
 #3

Seems like a good idea, keep up the work.

luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 31, 2013, 12:36:48 PM
 #4

I have the tiered menu working now - you can navigate through all the menu options

Upgrading the site to bootstrap 3 from 2 so I might be setback a bit with syntax changes
ninjaboon
Legendary
*
Offline Offline

Activity: 2114
Merit: 1002



View Profile WWW
July 31, 2013, 01:00:55 PM
 #5

how do I download this? I don't see any download link.

luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
July 31, 2013, 01:40:28 PM
 #6

how do I download this? I don't see any download link.

Still in a alpha phase - only have the menu and directory listings working still have to do the admin side


And because I just updated to bootstrap 3.0 there is a few design changes that need to be done
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 01, 2013, 03:02:48 PM
 #7

Working approve + decline entries

Icons in right hand corner of each entry will show whether the user has;

- Paid for their entry (Bitcoin)
- Paid for a premium entry (Star)
- Paid for a featured entry (Trophy)

New listings will show the total number of unapproved listings to the right of the tab title

That's pretty much all the updates for today
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
August 01, 2013, 03:09:35 PM
 #8

Pretty nice script man.


luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 01, 2013, 03:26:56 PM
 #9

Pretty nice script man.




Appreciate it, thanks
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 03, 2013, 03:51:31 PM
Last edit: August 05, 2013, 02:43:57 PM by luke.watson
 #10

New features + changes


Homepage

Changed featured listing from 3 separate listings to just one


Listings page

Added listing page

- Enter website info.
    -Website name
    -Website url
    -Website description
-Captcha code to stop spam entries
https://i.imgur.com/BS1qWko.png

Listing page links to review listing page

- Review details from Listing page
https://i.imgur.com/hXyHGJX.jpg
https://i.imgur.com/GdPz6gn.png - Select from standard, premium and featured listings
Cyrus
Ninja
Administrator
Legendary
*
Offline Offline

Activity: 3766
Merit: 2949



View Profile
August 03, 2013, 08:06:24 PM
 #11

Looks good!

I know migrating to Bootstrap 3 can be a bit of a hassle, it's still RC1 and I hope they don't change the syntax even more before a stable version.
You could try adding a custom.css and a do a bit of modifications so it won't be 100% Bootstrap.

Mooshire
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
August 04, 2013, 01:35:30 AM
 #12

Bootstrap is like pressing a button that makes your site instantly 10x sexier. Guaranteed.

defaced
Legendary
*
Offline Offline

Activity: 2184
Merit: 1011


Franko is Freedom


View Profile WWW
August 04, 2013, 02:59:15 PM
 #13

Is this going to be open source?

Fortune Favors the Brave
Borderless CharityEXPANSEEXRAllergy FinderFranko Is Freedom
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 04, 2013, 06:32:09 PM
 #14

@ Cyrus

The site is all bootstrap 3 (RC1) I have fixed all the migration issues, of cause if they change the syntax more as they release newer versions I will update the script as needed

@ defaced

The project will be a free script to which anyone is free to edit and customize. I haven't looked into copyrighting and public licencing but I plan on making a free base script and make plugins which I can sell for a nominal fee to unlock features like google mapping and ratings

This is what I currently plan at least, if you think an open source project would be better, let me know why and I'll see if it would be worth making it open source

Luke
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 05, 2013, 04:28:28 PM
 #15

Would people be interested if I did a prerelease so people can view the code and perhaps make their own customisation?
The script still has a while to go but it is a rather stable release, when I have submissions working I am more than happy to let people have a play with it Smiley
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
August 05, 2013, 05:58:10 PM
 #16

Would people be interested if I did a prerelease so people can view the code and perhaps make their own customisation?
The script still has a while to go but it is a rather stable release, when I have submissions working I am more than happy to let people have a play with it Smiley
Yes Smiley
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 05, 2013, 06:17:07 PM
 #17

Would people be interested if I did a prerelease so people can view the code and perhaps make their own customisation?
The script still has a while to go but it is a rather stable release, when I have submissions working I am more than happy to let people have a play with it Smiley
Yes Smiley

Cool I'll see if I can have it patched up and working (to a degree) and I'll let you know when it's ready to be tested, hopefully later tonight or tomorrow


Btw do you know any good hosting sites I could put the zip file on?

P.S due to the captcha files the total size is > 7MB - without the captcha < 200KB - I will try and find a smaller one for the actual release
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
August 05, 2013, 06:20:44 PM
 #18


Btw do you know any good hosting sites I could put the zip file on?

P.S due to the captcha files the total size is > 7MB - without the captcha < 200KB - I will try and find a smaller one for the actual release
Size is fine mate.

File hosting sites:
http://mega.co.nz/
http://ge.tt/




luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 05, 2013, 06:52:50 PM
Last edit: August 06, 2013, 05:26:39 PM by luke.watson
 #19

* YOU MIGHT GET SQL ERRORS *
I tried to find all sql errors I could ie tables don't exist - I might not have found them all so please let me know if the code breaks

* THIS IS FAR FROM COMPLETION *
This project is a while away from production please only use the script below to test the system


** New download below **

Error : there is an error on place-listing.php file - on line 31 replace $_SESSION['$featured'] with $_SESSION['featured']

There's more than just one error in the script I'm working on a more stable release that should be ready by tonight

Code:
placeListing($_SESSION['siteName'], $_SESSION['siteUrl'], $_SESSION['siteDescription'], $_SESSION['category'], $_SESSION['premium'], $_SESSION['featured']);

Link to the project - sorry about the folder spam

To install you will need to either have online hosting or local host

Import the directory.sql into your phpmyadmin or whatever you use

Copy the directory files to your server/local directory

Load up the webpage - if nothing loads try domain/directory/index.php

Access admin via domain/directory/admin/[index.php]

Please let me know if you find any bugs or if you have any ideas

This is not stable for a live and production site - it is likely full of bugs and exploits so please dont use it in production yet

Luke
luke.watson (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 06, 2013, 01:36:51 PM
Last edit: August 07, 2013, 12:01:08 AM by luke.watson
 #20

Does anyone know any good file upload scripts?

Pages: [1] 2 3 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!