HOWTO: Run an Imageboard (e.g. 4Chan, 711Chan)

phazzedout

New Member
Messages
230
Reaction score
3
Points
0
Before I begin to explain how to run an Imageboard like 4Chan or 711Chan, I would like to make emphasis on the risks on running an imageboard.

For starters: Unless you or someone is always moderating the imageboard it is completely risky to run one on x10Hosting due to the TOS

vigge_sWe said:
Only if there is no illegal stuff, no porn, no nudity, no copyright infringement and all of the other stuff 4chan has that breaks the x10 ToS ;)

File Storage: Accounts are not to be used for file storage, your account will be permenantly suspended if found to be breaking this rule. Downloads are only allowed on your x10Hosting account if they have to do directly with your website. e.g. you developed custom software and are selling it or giving it away. Accounts may not be used for mirrors, game file hosting, or any other type of file hosting not specified here.
So those are the risks. Now to running the Imageboard.

This tutorial is the PHP version which is technically obsolete to the perl version. If someone could direct me to how to run Perl on x10hosting I will post how to run the updated version.

1. Download the .rar file from here: http://bit.ly/62o8aX

2. Extract it to the desired directory.

3. Edit config.php to your desired settings with your favorite editor, I use Notepad++. ADMIN_PASS and SQL settings must be changed; others are optional.
Change the red words (except localhost):
PHP:
define(TITLE, 'Futallaby-powered image board');        //Name of this image board
define(SQLLOG, 'CHANGEME');        //Table (NOT DATABASE) used by image board
define(SQLHOST, 'localhost');        //MySQL server address, usually localhost
define(SQLUSER, 'CHANGEME');        //MySQL user (must be changed)
define(SQLPASS, 'CHANGEME');        //MySQL user's password (must be changed)
define(SQLDB, 'CHANGEME');        //Database used by image board
define(ADMIN_PASS, 'CHANGEME');    //Janitor password  (CHANGE THIS YO)
+ if you do not know what to change, go to cPanel>>MySQL Databases; it should be pretty self-explanatory from there. If there here is what I would put from my own MySQL database.

PHP:
define(TITLE, 'PhazzedOut IMGboard');        //Name of this image board
define(SQLLOG, '1ac1');        //Table (NOT DATABASE) used by image board
define(SQLHOST, 'localhost');        //MySQL server address, usually localhost
define(SQLUSER, 'phazzedo_Phazzed');        //MySQL user (must be changed)
define(SQLPASS, 'password123');        //MySQL user's password (must be changed)
define(SQLDB, 'phazzedo_1ac1');        //Database used by image board
define(ADMIN_PASS, 'thispassworderaseseverything');    //Janitor password  (CHANGE THIS YO)
4. Create a directory on the web server for the image board and set permission to 755. Mine is 1ac1, and I set that folder to 755, just the folder not the files that we will put in it.

5. Create an src and thumbs directory. Set those to 755 permission as well so people could upload images to your server (not for hosting remember).

6. Unless you want your imageboard to be japanese erase strings_j.php it is pointless.

7. Upload all the files.

This is what your directory should look like:

/public_html/
|
|-- /1ac1/ (755)**
|||
|||-- imgboard.php (644)
|||
|||-- config.php (644)
|||
|||-- futaba.css (644)
|||
|||-- strings_e.php (644)
|||
|||-- /src/ (755)
|||
|||-- /thumb/ (755)

**You can change yours to whatever you wish it to be as long as you change the table on config.php


If you want it to be pictureforum change this following line (line #2)
define(SQLLOG, 'pictureforum')

8. Finally, if done correctly then it should work correctly. Go to http://example.com/imgboard.htm.*

*Change it to what your url maybe. To some it may be, imgboard.x10hosting.com/imgboard.htm [or] imageboard.co.cc/1ac1/imageboard.htm

TADA! If any of you have a problem post it here. I should be able to help you.
 
Last edited by a moderator:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
awesome! Thanks for the amazing tutorial...
 

phazzedout

New Member
Messages
230
Reaction score
3
Points
0
awesome! Thanks for the amazing tutorial...

Thank you. ;)

It should come out like there. Here is mine.

http://discussion.phazzedout.tk/

If you do not like the /imgboard.htm you can easily change it by changing a line on /config.php

PHP:
define(PHP_SELF2, 'imgboard.htm');

Change this line to:

PHP:
define(PHP_SELF2, 'index.htm');

This should come out like how mine came out without typing the whole /imgboard.htm

I made my imageboard not functional for now. Yours in any case should function if you follow the steps. My imageboard is just so people can see how it looks like.
 
Last edited:

ninnyninja

New Member
Messages
1
Reaction score
0
Points
0
Can someone please help me with this ? i dont know what to put on that
"define(SQLLOG, '1ac1'); //Table (NOT DATABASE) used by image board"
PLEASE HELP ME !
 

bewtsx

New Member
Messages
1
Reaction score
0
Points
0
How can I allow people to reply with images? it doesn't seem to allow that in config.php or any other file I've looked through
 

jouluntuoppi46

New Member
Messages
1
Reaction score
0
Points
0
so what kind of mysql table you need to create for SQLLOG ????????????????? I see you can make them tables from PhpMyAdmin but how many columns etc? i get errors when i try to post
 

omegajesus

New Member
Messages
1
Reaction score
0
Points
0
I run an imageboard and want to set it so the images posted on a certain board don't show up on the front page. I have no idea how to do this and have no experience with and type of coding.
 

Colt

New Member
Messages
1
Reaction score
0
Points
0
I am having problems with the define(SQLLOG,... and define(SQLDB,... I have never used mysql or myphpadmin. So can someone please help me with phpmyadmin? I made a database called imageboard, and a table inside the database. When creating the table it needs a lot of information to fill in. What am I supposed to do there? Step by step instructions would be appreciated.
 

3N3RG1A

New Member
Messages
1
Reaction score
0
Points
1
Complete noob here, i can understand the config.php part but i don't get it from step 4 to 7, i have a web domain already, please help
 
Top