Home » Blog
 

Blog Docs 7 - Developer: System Tables

CREATE TABLE blog_topic (
tid int NOT NULL PRIMARY KEY,
bid int NOT NULL DEFAULT 0,
cat varchar(8) NOT NULL,
status smallint NOT NULL DEFAULT 1,
hit int NOT NULL DEFAULT 1,
pid int NOT NULL DEFAULT 0,
created timestamp NOT NULL,
updated timestamp NOT NULL,
updated_pid int NOT NULL DEFAULT 0, ...Read
Dept: Blog | Read: 5839 | Reply: 66 | 2013-12-17

Blog Docs 6 - Admin

Actually there are some basic admin tools available with current build. It is intuitive and will be automatically displayed when an admin login. eg an admin can:

Bulk actions for multiple msgs: update cat, status, rank, lock/unlock, mark spam, add/remove alert,

For a single msg: update title, crea ...Read
Dept: Blog | Read: 4999 | Reply: 37 | 2013-11-22

Blog Docs 5 - Themes

Topnew Blog CMS has two parts themes:

1. CMS Themes

Topnew CMS has a list of themes called skin or css, which is controlled by:

$pin['skin']=22;//this is to call global cms theme #22, used by other pages within the server

However Topnew Blog CMS has its own customized CMS themes, s ...Read
Dept: Blog | Read: 21638 | Reply: 13335 | 2013-11-18

Blog Docs 4 - Category

cat 0-19 is reserved. you can only use cat id=20* .. 99*

cat 99* reserved for templates

Level 1 cat: 20 .. 98
Level 2 cat: xx00 .. xx99 - eg 3288 is sub-cat of 32
Level 3 cat: xxyy00 .. xxyy99
Max cat = 21.... (10-digits) and you should not use that deep cat ...Read
Dept: Blog | Read: 11597 | Reply: 386 | 2011-08-31

Blog Docs 3 - Owner, Staff, Friends

When a blog is cloned, at least we have to customize who is the blog owner:

$pin['bid']=153;

PID=153 should have a record in table per_person
PID=153,fname=FirstName,lname=LastName, ...

And table per_user:
PID=153,email=you@email.com,pass=your-pwd, ...

We can add staff into table blog_fan:
bid=153,cat=1001,pid=2013 ...Read
Dept: Blog | Read: 11969 | Reply: 381 | 2011-08-30
  1. «
  2. 1
  3. 2
  4. »

Category

CMS (5)
SIDU (10)
BensonBank (2)
General (3)
PageMaker (2)
Blog (8)


Top Read

» How to install databases
» Godaddy Magic Quotes Problem
» Benson Bank 5.0 Released on 28 Oct 2013
» SIDU 5.1 released on 15 Oct 2013
» Topnew Blog, Forum, Support 4.0
» Optional sidu_fk table
» Topnew CMS 4.0 Released
» Blog Docs 1 - Basic and quick setup
» SMINT menu bar: fixed when scrolling
» SIDU import/export data clean
» A list of PHP functions that I checked
» Page Maker 5.0 Released 2014-01-05
» Howto create a Topnew CMS theme
» Blog Docs 5 - Themes
» Secure PHP login with database js for http sites

New Replies

» SIDU hotkey list
» Blog Docs 4 - Category
» Topnew CMS 5.0 Released - 2013.12.28
» Blog Docs 2 - Advanced Setup: Customize
» Blog Docs 3 - Owner, Staff, Friends
» pinyin
» BensonBank Tutorial 1 - Get started
» SIDU SQL in charts: howto
» Blog Docs 7 - Developer: System Tables
» Login logout and password
» SIDU Support and Help Desk
» SIDU feature request and bug
» Blog Docs 6 - Admin
» Screenfly / Test Your Website at Different Screen Resolutions
» PageMaker Doc 1 - Quick Setup Guide

Archive

» 2014 (1)
Jan (1);
2014-01-05 (1)

» 2013 (18)
Dec (5);
2013-12-29 (1)
2013-12-28 (1)
2013-12-17 (1)
2013-12-11 (1)
2013-12-10 (1)
Nov (2);
2013-11-22 (1)
2013-11-18 (1)
Oct (4);
2013-10-28 (1)
2013-10-26 (1)
2013-10-23 (1)
2013-10-15 (1)
Jan (7);
2013-01-11 (1)
2013-01-08 (1)
2013-01-05 (1)
2013-01-04 (1)
2013-01-03 (1)
2013-01-02 (1)
2013-01-01 (1)

» 2012 (6)
Dec (5);
2012-12-31 (1)
2012-12-30 (1)
2012-12-29 (2)
2012-12-28 (1)
Nov (1);
2012-11-26 (1)

» 2011 (5)
Aug (5);
2011-08-31 (1)
2011-08-30 (2)
2011-08-29 (1)
2011-08-28 (1)

2017-09-23 14:36