Please carefully read this guide in order to fully configure this template, and remember to test it on browsers like Chrome, Edge, Safari, or Firefox.
IMPORTANT: The backend of this template is the DBase API.
https://mydomain.com/dbasefiles
- and replace the string of the DATABASE_PATH
variable in the DBase.php
file with your URL:
$DATABASE_PATH = "https://example.com/dbase/";
Users.json
and Posts.json
files
files
folder to your own server via an FTP client app like Filezilla.files
folder and upload them, like this example:main.css
file that handles the CSS layout of this template. You can find it into the css
folder. Open it with your favorite text editor software and check it out.
img
folder, where you can find the category images and other PNG images, including the favicon.png
icon. Replace them as you wish, just don’t change their size and name so you won’t have to edit a single line of code to show them in your own version of this template.
terms-of-service.php
file form the files folder and edit it accordingly to your own Terms of Service and Privacy Policy.
ID_id
value, select that row and click the Delete Row(s) button.ID_id
and delete it – this is in case it appears into some Array type columns.
AR_reportedBy
in the Items tables, and take action for it asap. See if they contain some ID_id of the Users (which means those users have reported the data of that row). You may delete the abusive Users rows from your database forever by selecting a cell and click Delete row(s), but please note that before deleting a user from the Users table you must note its ID_id
and search for it in the other tables.
files
folder.Users.json
and Posts.json
files
$APP_NAME = "Bazaar";
$IOS_APPSTORE_LINK = '';
$GOOGLE_PLAY_LINK = '';
Google OAuth Client ID
(check the Google Sign In paragraph to learn how to create your own OAuth Client ID):
$GOOGLE_SIGNIN_KEY = '';
$SHARE_URL = 'https://yourdomain.com/';
var PRICE_CURRENCY = "USD";
var categoriesList = [
"All Categories", // Mandatory element, it must stay at first position
"Clothes",
"Home",
"Electronics",
"Hobbies",
"Toys",
"Pets",
"Books",
"Music",
"Health",
"Vehicles",
"Properties",
"Other",
// If you'll add new Categories here, remember to add their relative images in the 'img' folder too, all lowercase names
];
var citiesList = [
"All US Cities", // <-- FIRST CATEGORY THAT INCLUDES ALL LOCATIONS - MANDATORY, AND MUST STAY AT FIRST POSITION OF THIS ARRAY
"New York City",
"Chicago, Illinois",
"Charleston, South Carolina",
"Las Vegas, Nevada",
"Seattle, Washington",
"San Francisco, California",
"Washington, D.C.",
"New Orleans, Louisiana",
"Palm Springs, California",
"San Diego, California",
"St. Louis, Missouri",
"Sedona, Arizona",
"Honolulu, Hawaii",
"Miami Beach",
"Branson, Missouri",
"Boston, Massachusetts",
"Savannah, Georgia",
"Orlando, Florida",
"Portland, Oregon",
"Lahaina, Hawaii",
"Saint Augustine, Florida",
"Nashville, Tennessee",
"Los Angeles, California",
"San Antonio, Texas",
"Austin, Texas.",
];
var listingTypes = [
"On sale",
"Looking for"
];
var priceRanges = [
"Any price", // Mandatory element, it must stay at first position
"From 30",
"From 50",
"From 100",
"From 150",
"From 200",
"From 500",
"From 1000",
];
img src="img/ad-leaderboard.png">
img src="img/ad-square.png">
// TABLES & COLUMNS NAMES
$DATABASE_PATH
into the DBase.php
file
https://yourdomain.com
).
Lastly, click the Create button:DBase.php
file $GOOGLE_SIGNIN_KEY = '';
_config.php
file of the DBase backend
DBase.php
file