1. Read
  2. Vote
  3. Old
  4. New
  5. Hot
  6. Reply

Localhost SIDU ssh connect remote site localhost

The following line is a handy tip to allow SIDU from localhost to ssh connect remote site's localhost, when remote database is not allowed connection from a remote IP:

Open a terminal and input the following line:

# ssh -fCTMNS /tmp/sidu_tunnel -p 22 user@remote.ip -L 3307:localhost:3306
Cat: SIDU | Read: 18674 | Msg: 12 | 2019-01-01  11

How to install databases

You need to check official websites as howto. Here is a quick guide for ubuntu users as howto install Apache2+PHP5, MySQL, PostgreSQL, SQLite, CUBRID, MSSQL

A. Install apache2+php5: windows xampp; ubuntu:
sudo apt-get
Cat: SIDU | Read: 889632 | Msg: 3 | 2013-01-01  2

Blog Docs 4 - Admin staff users

Use your existing user table, and only import user_id in to blog_cat.cat = 1001 eg

REPLACE INTO blog_cat(cat,name,info) VALUES
(1001,'blog_staff','{"1":[1,2],"181130":[102,108]}');

staff user id is a json of: catetory and user ids, above means:

cat = 1 (all categories i.e. Admin staff)
user_id = 1, 2

cat = 181130 (i.e. staff or moderators for cat = 181130)
user_id = 102, 108 etc
Cat: Blog | Read: 21277 | 2019-01-25  3

Blog Docs 6 - Themes

Default blog will use Topnew MVC and it is using /css/2018.css, 2019.js

However you can overwrite via /blog/blog.css, blog.js

And you can also change view files at: /var/www/app/View/Blog/cat.blade.php, home.blade.php etc

OR you can even make it look totally different via: /blog/index.php:
Cat: Blog | Read: 14195 | 2019-02-02  1

Blog Docs 5 - Category

This table holds all category id (cat) and category name (name or url) and category info (displayed as text)

eg name = news-media
if info = '', info will auto displayed as News Media. So if you want to display something else, you need input here.

cat id 1 .. 99 is reserved for system uses.
Cat: Blog | Read: 31594 | 2019-01-28

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. »

Category