GithubHelp home page GithubHelp logo

sedteam / seditio Goto Github PK

View Code? Open in Web Editor NEW
14.0 8.0 6.0 13.07 MB

Seditio CMS Source

Home Page: https://seditio.org

License: BSD 3-Clause "New" or "Revised" License

PHP 58.39% JavaScript 3.36% CSS 12.65% HTML 12.83% Smarty 12.78%
cms php seditio cmf javascript tpl css3 engine framework html5

seditio's Introduction

Seditio

Seditio is a modular content management system and content management framework powered by PHP and MySQL.

The engine distinguishes itself from other content management systems by keeping the HTML code completely separate from the PHP. This allows graphic designers to create skins without having to know much PHP. Seditio can be skinned by editing pre-made skins supplied by the community, or easily making one's own by creating a template, and simply substituting for the TPL tags.

Requirements

To install Seditio you need the following server software pre-installed:

  • WWW Server (Apache, nginx, etc)
  • PHP 5.4.0 or higher
  • MySQL 5.0.7 or higher

Server configuration

You MUST ensure that PHP has been compiled with support for:

  • GD
  • Hash
  • Mbstring
  • MySQL
  • PCRE
  • Sessions

Installation

1. Copy all files of the engine in the root directory or subdirectory

2. Make the following directory and all their subdirectories writable too with CHMOD 777 or CHMOD 775:

  • /datas/avatars
  • /datas/defaultav
  • /datas/photos
  • /datas/thumbs
  • /datas/resized
  • /datas/signatures
  • /datas/users

3. Arrive at http://your_site/install

4. Follow the instructions of the installer.

Copyright

Copyright (c) 2011-2023, Seditio Team
Copyright (c) 2001-2011, Neocrome

All rights reserved.

License

Seditio is free software; you can redistribute it and/or modify it under the terms of the 3-clause BSD License (or New-BSD) as published by Regents of the University of California.

BSD 3-clause License

seditio's People

Contributors

antoinius avatar avego avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

seditio's Issues

php 7.4.2 does not support each

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\sed178\system\install\install.setup.php on line 56
all system files need to be changed

all files give error like this.

while(list($i,$x) = each($langlist))

change

foreach($langlist as $i => $x)

yes.

which is valid

skins\sympfy\admin ? delete please
system\adminskin ?

$tpl_admin_path = SED_ROOT . '/system/adminskin/'.$cfg['adminskin'].'/'.$base.'.tpl';

forums.posts.inc bugs

u.user_extra1, u.user_extra2, u.user_extra3, u.user_extra4, u.user_extra5, u.user_extra6, u.user_extra7, u.user_extra8, u.user_extra9,

they are not in the members table

u.user_extra1, u.user_extra2, u.user_extra3, u.user_extra4, u.user_extra5, u.user_extra6, u.user_extra7, u.user_extra8, u.user_extra9,

install.database

$sql = sed_sql_query("CREATE TABLE ".$cfg['mysqldb']."users (

Page date

page end date 2029 can i extend this like 2050

expects parameter 1 to be array

Warning: reset() expects parameter 1 to be array, null given in C:\xampp\htdocs\sed178\system\core\pfs\pfs.inc.php on line 72

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\sed178\system\core\pfs\pfs.inc.php on line 73

Warning: reset() expects parameter 1 to be array, null given in C:\xampp\htdocs\sed178\system\core\pfs\pfs.inc.php on line 621

Warning: sort() expects parameter 1 to be array, null given in C:\xampp\htdocs\sed178\system\core\pfs\pfs.inc.php on line 622

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\sed178\system\core\pfs\pfs.inc.php on line 624

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\sed178\system\functions.php on line 4293

Upload image.

I noticed a certain peculiarity, if we save 1.jpg to the desktop running Windows 10, we select this image when creating an article, we save the article. Now let's create a new article, and before creating it, delete 1.jpg and save another picture with the same name on the desktop 1.jpg. Select Load image and see the old 1.jpg instead of the new image. After saving the article, there will be an old picture and not a new one, even if you select it through the explorer. As if the old image with the same name is stuck in the cache and until you change the name of the new image, for example 2.jpg, you will not be able to get anything done.

new bugs PHP Notice: Undefined index: qcount

what was the reason

[Thu Dec 09 10:04:15.878499 2021] [php7:notice] [pid 5164:tid 1872] [client ::1:61369] PHP Notice: Undefined index: qcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 221,
[Thu Dec 09 10:04:15.879497 2021] [php7:notice] [pid 5164:tid 1872] [client ::1:61369] PHP Notice: Undefined index: tcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 231
[Thu Dec 09 10:04:15.879497 2021] [php7:notice] [pid 5164:tid 1872] [client ::1:61369] PHP Notice: Undefined index: devmode in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 232,
[Thu Dec 09 10:04:18.397347 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: qcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 221,
[Thu Dec 09 10:04:18.397347 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: tcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 231,
[Thu Dec 09 10:04:18.397347 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: devmode in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 232,
[Thu Dec 09 10:04:19.844146 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: qcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 221,
[Thu Dec 09 10:04:19.844146 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: tcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 231,
[Thu Dec 09 10:04:19.844146 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: devmode in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 232,
[Thu Dec 09 10:04:21.124994 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: qcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 221,
[Thu Dec 09 10:04:21.125993 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: tcount in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 231,
[Thu Dec 09 10:04:21.125993 2021] [php7:notice] [pid 5164:tid 1836] [client ::1:61374] PHP Notice: Undefined index: devmode in C:\xampp\htdocs\satilan1\system\database.mysqli.php on line 232,

Changing the sorting of files in PFS by default - "pfs_date DESC"

I also suggest changing the sorting of files in PFS by default, or output it somewhere in the settings, I change it on each site, it's more convenient when sorting by upload date, and new ones are always on top for quick access

pfs.inc.php
$sql = sed_sql_query("SELECT * FROM $db_pfs WHERE pfs_userid='$userid' AND pfs_folderid='$f' ORDER BY pfs_file ASC");
$sql = sed_sql_query("SELECT * FROM $db_pfs WHERE pfs_userid='$userid' AND pfs_folderid=0 ORDER BY pfs_file ASC");

fix sort to
ORDER BY pfs_date DESC

contact plugin Department partition is not working

After this process, the Department sections you have set from the admin panel will start to work.

Open plugins/contact/contact.php and find the one below.

$fbody .= $sender_name."\n".$L['plu_email_title']." : ".$sender_email."\n".$L['plu_phone_title']." : ".$sender_tel."\n\n";

Replace with below.

$fbody .= $sender_name."\n".$L['plu_email_dep']." : ".$cfg_names[$sender_recip]."\n".$L['plu_email_title']." : ".$sender_email."\n".$L['plu_phone_title']." : ".$sender_tel."\n\n";

Open Plugins/contact/lang/contact.en.lang.php and find the one below.

$L['plu_recipients_title'] = "Alıcı";

Add Below
$L['plu_email_dep'] = "Departman";

https://www.seditiocms.com/contact-eklentisi-hata-cozumu/54

Installation problem in Russian

This only applies if you want to install Seditio with a Russian interface. Everything is in order with the installation in English! Error in file /system/lang/ru/main.lang.php

$sed_translit = array(
//cyr
'А' => 'A', 'Б' => 'B', 'В' => 'V', 'Г' => 'G', 'Ѓ' => 'G',
'Ґ' => 'G', 'Д' => 'D', 'Е' => 'E', 'Ё' => 'YO', 'Є' => 'YE',
'Ж' => 'ZH', 'З' => 'Z', 'Ѕ' => 'Z', 'И' => 'I', 'Й' => 'J',
'Ј' => 'J', 'І' => 'I', 'Ї' => 'YI', 'К' => 'K', 'Ќ' => 'K',
'Л' => 'L', 'Љ' => 'L', 'М' => 'M', 'Н' => 'N', 'Њ' => 'N',
'О' => 'O', 'П' => 'P', 'Р' => 'R', 'С' => 'S', 'Т' => 'T',
'У' => 'U', 'Ў' => 'U', 'Ф' => 'F', 'Х' => 'H', 'Ц' => 'TS',
'Ч' => 'CH', 'Џ' => 'DH', 'Ш' => 'SH', 'Щ' => 'SHH', 'Ъ' => '',
'Ы' => 'Y', 'Ь' => '', 'Э' => 'E', 'Ю' => 'YU', 'Я' => 'YA',
'а' => 'a', 'б' => 'b', 'в' => 'v', 'г' => 'g', 'ѓ' => 'g',
'ґ' => 'g', 'д' => 'd', 'е' => 'e', 'ё' => 'yo', 'є' => 'ye',
'ж' => 'zh', 'з' => 'z', 'ѕ' => 'z', 'и' => 'i', 'й' => 'j',
'ј' => 'j', 'і' => 'i', 'ї' => 'yi', 'к' => 'k', 'ќ' => 'k',
'л' => 'l', 'љ' => 'l', 'м' => 'm', 'н' => 'n', 'њ' => 'n',
'о' => 'o', 'п' => 'p', 'р' => 'r', 'с' => 's', 'т' => 't',
'у' => 'u', 'ў' => 'u', 'ф' => 'f', 'х' => 'h', 'ц' => 'ts',
'ч' => 'ch', 'џ' => 'dh', 'ш' => 'sh', 'щ' => 'shh', 'ъ' => '',
'ы' => 'y', 'ь' => '', 'э' => 'e', 'ю' => 'yu', 'я' => 'ya',
//turk
'Ç' => 'c', 'Ş' => 's', 'Ğ' => 'g', 'Ü' => 'u', 'İ' => 'i',
'Ö' => 'o', 'ç' => 'c', 'ş' => 's', 'ğ' => 'g', 'ü' => 'u',
991 'ö' => 'o', 'ı' => 'i', '+' => 'plus', '#' => 'sharp');
992 );

You need to remove the bracket with a dot and a comma on line 991 or on line 992

Previous and next thread for forums

With previous and next thread and title for forums

I also prepared the previous and next page application on Seditio pages for forums.
This application only pulls the data in the category you are in, as it is on the pages that are valid only for the topics in the category you are in. It is different for each category.

There are two types of application methods in this application.

  1. You can only for Previous and Next forum.
  2. You can do it by pulling the forum threads.

You can do whichever suits you.

https://www.seditiocms.com/forumlar-icin-onceki-ve-sonraki-konu-yapma/16

You can add it to seditio 178

index.php News

News

	<div class="section-menu">
		<ul class="inline-menu">
			<li class="active"><a href="">News category</a></li>         		
			<li><a href="">News category 1</a></li>          		
			<li><a href="">News category 2</a></li>         		        		
		</ul>				
	</div>

The buttons of the news categories stick out strangely and this whole block is located under the menu. If you are on the Home page it doesn't look good. Maybe this can be fixed?

Ckeditor does not work in iPad

Ckeditor works fine in a browser on a computer, but does not work in Safari on an iPad. It won't connect. It won't connect.

function get_magic_quotes_gpc php 7.4 not necessary

if (!function_exists('get_magic_quotes_gpc'))
{
function get_magic_quotes_gpc(&$value)
{
$value = stripslashes($value);
}
$gpc = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
array_walk_recursive($gpc, 'get_magic_quotes_gpc');
}

The block of social networks

The block of social networks does not work correctly, or I cannot figure out how to write values there so that this block starts to be displayed?

Installation fails in step 2 long- database password

After completing Step 2, we are thrown by https: // your site / install.php? M = param with HTTP Error 500. Perhaps this is due to a long password or because of the use of symbols. Here is an example of the database password used TA#Ji~sm2]wv57iD%1#8O

image upload pfs sed 178 php 7.4.2 Warning: imagecreatefromjpeg()

Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x47 0x49 in C:\xampp\htdocs\sed178\system\functions.php on line 1837

Warning: imagecreatefromjpeg(): 'datas/users/1-1639485450-e7b.jpg' is not a valid JPEG file in C:\xampp\htdocs\sed178\system\functions.php on line 1837

Warning: imagesx() expects parameter 1 to be resource, bool given in C:\xampp\htdocs\sed178\system\functions.php on line 1841

Warning: imagesy() expects parameter 1 to be resource, bool given in C:\xampp\htdocs\sed178\system\functions.php on line 1842

Warning: Division by zero in C:\xampp\htdocs\sed178\system\functions.php on line 1852

Warning: imagecreatetruecolor() expects parameter 2 to be int, float given in C:\xampp\htdocs\sed178\system\functions.php on line 1865

Warning: imagealphablending() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1867

Warning: imagesavealpha() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1868

Warning: imagecolorallocate() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1870

Warning: imagefilledrectangle() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1871

Warning: imagecopyresampled() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1876

Warning: imagejpeg() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1912

Warning: imagedestroy() expects parameter 1 to be resource, null given in C:\xampp\htdocs\sed178\system\functions.php on line 1916

Warning: imagedestroy() expects parameter 1 to be resource, bool given in C:\xampp\htdocs\sed178\system\functions.php on line 1917

New seo url

let's do it like this please

function seoLink($str){
$preg = array('Ç', 'Ş', 'Ğ', 'Ü', 'İ', 'Ö', 'ç', 'ş', 'ğ', 'ü', 'ö', 'ı', '+', '#', '.');
$match = array('c', 's', 'g', 'u', 'i', 'o', 'c', 's', 'g', 'u', 'o', 'i', 'plus', 'sharp', '');
$perma = strtolower(str_replace($preg, $match, $str));
$perma = preg_replace("@[^A-Za-z0-9\-_\.\+]@i", ' ', $perma);
$perma = trim(preg_replace('/\s+/', ' ', $perma));
$perma = str_replace(' ', '-', $perma);
return $perma;
}

$pag['page_pageurl'] = (empty($pag['page_alias'])) ? seoLink($pag['page_title'])."/".$pag['page_id'] : sed_url("page", "al=".$pag['page_alias']);

output
https://www.seditiocms.com/seditio-175-turkce-php-7x/69 page_ id

Everyone uses mobile devices nowadays, can you make the themes mobile-friendly?

The problem with editing the menu through the admin panel

In header.tpl we have {PHP.sed_menu.1.childrens} and in the admin panel we pass menu parameters to {PHP.cfg.menu1} but there is no such parameter in the skin. Maybe I'm wrong, but using the admin panel we cannot set menu items.
Obviously, this release added a new menu editor, the old one is still a bit confusing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.