[In-Orbit][Script] Newspart

10/20/2014 19:57 UND3RW0RLD#1
If you use the In-Orbit CMS you maybe want to have a workings newsletter.

Everything is working well and you can add news by inserting rows to db

requirements: version of in-orbit

SQL

add this to init.php (\KERNEL-DOCMS\)
PHP Code:
require_once 'Class.news.php'
create this file in the same directory (Class.news.php)

go to \KERNEL-DOCMS\Files\en_US\INDEXINTERNAL\internalStart_Body .php
and find
Code:
<div id="homeNewsContent">
replace the whole container with this


that's it
10/20/2014 20:39 sveratus#2
heheh very nice tutorials , are you gonna release other cool tutos?
10/22/2014 22:26 steppdroid#3
To fix this error?:

Quote:
Notice: Undefined index: DB in C:\Program Files (x86)\xampp\htdocs\KERNEL-DOCMS\Class.news.php on line 14

Fatal error: Call to a member function prepare() on a non-object in C:\Program Files (x86)\xampp\htdocs\KERNEL-DOCMS\Class.news.php on line 18
image: [Only registered and activated users can see links. Click Here To Register...]
10/23/2014 05:14 UND3RW0RLD#4
Quote:
Originally Posted by steppdroid View Post
To fix this error?:

image: [Only registered and activated users can see links. Click Here To Register...]
obviously you do not use the pdo-db-class. prepare() is a method of this class.

Copy this to init.php

create this file (Class.db.php) in the same folder (\KERNEL-DOCMS\) (Change connection-settings)
10/23/2014 12:02 steppdroid#5
Quote:
Originally Posted by ǝnd1ǝss-ɯonǝʎ View Post
obviously you do not use the pdo-db-class. prepare() is a method of this class.

Copy this to init.php

create this file (Class.db.php) in the same folder (\KERNEL-DOCMS\) (Change connection-settings)
Now Work! Thanks! Do you know how fix also hall of fame ?
10/23/2014 21:00 Luffa#6
I love my PDO class :i<3
10/24/2014 02:10 Sues1de#7
Parse error: syntax error, unexpected '[' in /home/u723079466/public_html/KERNEL-DOCMS/Init.php on line 16
10/24/2014 07:35 Luffa#8
Quote:
Originally Posted by Sues1de View Post
Parse error: syntax error, unexpected '[' in /home/u723079466/public_html/KERNEL-DOCMS/Init.php on line 16
Use PHP version 5.4 or higher.
Best regards bau
10/24/2014 08:24 UND3RW0RLD#9
Basicly the globalspart is obsolete bc it's singleton
10/24/2014 13:02 DarkSkiesDO#10
Very nice tutorial, I look forward to seeing many more releases/tutorials from you in the future.
To Bau, nice CMS release, it's a very good one, I love your work, you're my idol, I don't mean that in any weird way either xD

Best Regards,
DarkSkiesDO