PHP Classes

Comfor PHP Discussion Forum Latest: Displays the latest messages from "Comfor" forum

Recommend this page to a friend!
  Info   View files Example   View files View files (44)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2024-03-12 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 9 All time: 11,315 This week: 524Up
Version License PHP version Categories
comfor-latest 1.0.1Custom (specified...8.2Content management, Forums, PHP 8
Description 

Author

This package can display the latest messages from the "Comfor" forum.

It provides a block extension for the ASCOOS CMS that can display a list of the latest messages from "Comfor" forum on the website.

The contents can be displayed in the current site language or other languages for which translation texts are available.

Picture of ASCOOS CMS
  Performance   Level  
Name: ASCOOS CMS <contact>
Classes: 11 packages by
Country: Greece Greece
Age: ???
All time rank: 409825 in Greece Greece
Week rank: 305 Up4 in Greece Greece Up
Innovation award
Innovation award
Nominee: 7x

Instructions

To understand how it works, read the file tutorial.html in the help folder of this package.

This tutorial provides extensive references to the features of the package.

It is also an essential user guide for all similar (blocks) components of Ascoos CMS.

Example

<?php
/**
 * __ _ ___ ___ ___ ___ ___ ____ _ __ ___ ___
 * / _` |/ / / __/ _ \ / _ \ / / / __/| '_ ` _ \ / /
 * | (_| |\ \| (_| (_) | (_) |\ \ | (__ | | | | | |\ \
 * \__,_|/__/ \___\___/ \___/ /__/ \___\|_| |_| |_|/__/
 *
 *
 ************************************************************************************
 * @ASCOOS-NAME : ASCOOS CMS 24' *
 * @ASCOOS-VERSION : 24.0.0 *
 * @ASCOOS-CATEGORY : Block (Frontend and Administrator Side) *
 * @ASCOOS-CREATOR : Drogidis Christos *
 * @ASCOOS-SITE : www.ascoos.com *
 * @ASCOOS-LICENSE : [Commercial] http://docs.ascoos.com/lics/ascoos/AGL.html *
 * @ASCOOS-COPYRIGHT : Copyright (c) 2007 - 2024, AlexSoft Software. *
 ************************************************************************************
 *
 * @package : Comfor Latest Discussion
 * @subpackage : installation file
 * @source : /[BLOCKS PATH]/comfor-latest/install.php
 * @fileNo :
 * @version : 1.0.1
 * @created : 2012-07-01 20:00:00 UTC+3
 * @updated : 2024-03-12 07:00:00 UTC+3
 * @author : Drogidis Christos
 * @authorSite : www.alexsoft.gr
 * @license : AGL-F
 *
 * @since PHP 8.2.0
 */


defined ("ALEXSOFT_RUN_CMS") or die("Prohibition of Access.");

global
$objInstaller;

// Adjust the installer to work at BLOCK and give the block that will handle
$objInstaller->setExtension('comfor_latest', INS_BLOCK);

// We adjust the installer so that after installation, to take us or not part of the Block configuration.
$objInstaller->afterSetParams(false);

// If the block is not installed then run the installation.
if (!$objInstaller->isInstalled()) {
   
// We create the path of the Block.
   
$objInstaller->createPath();
   
   
// If the installation files on the Server is successful
   
if ( $objInstaller->extractPackage() )
    {
       
// We export themes in internal path "fronts". !!!! Not Change for Blocks. !!!!
       
$objInstaller->extractThemes('fronts');
       
       
// We take the position id, show called "NOTHING".
       
$block_pos = $objInstaller->getPosition('NOTHING');

       
// We take the sort that will apply to the position.
       
$block_order = $objInstaller->getOrderPosition('NOTHING');
   
       
// Place the Block in the database.
       
$objInstaller->addSQL("INSERT INTO #__blocks VALUES(NULL, '".$objInstaller->name."', '".$objInstaller->name."', '0', '0', '{\"en\":\"Comfor Latest Messages\",\"el\":\"????????? ???????? ??? forum\"}', '', '', '', '', ".$block_pos.", ".$block_order.", '', '0', '0', '0', '0', '{\"count\":\"10\",\"all_lang\":\"0\",\"frontpage\":\"fullpage\",\"theme\":\"gen24\",\"board_ids\":\"\",\"except_board_ids\":\"\"}');");
       
       
// pour the settings from the installer.
       
$objInstaller->clear();
       
    } else {
       
// else otherwise cancel the installation and pour the settings from the installer.
       
$objInstaller->cancelInstallation();
    }
} else {
// else pour the settings from the installer.
   
$objInstaller->clear();
}
?>


Details

<p align="center"><img src="https://dl.ascoos.com/images/ascoos.png" /></p>

<hr />

Ascoos Cms Block | comfor-latest

Description

This block displays a list of the latest messages from Comfor forum on the website.

The contents can be displayed in the current or in all languages where texts are available.

In the image we see the appearance using the gen24 theme.

<p align="center"><img src="help/scr-theme-gen24-1280.png" alt="latest comfor messages" /></p>

What is Comfor

Comfor is a discussion program integrated into Ascoos Cms and enables discussions with multilingual messages.

Also, like all the programs in Ascoos Cms, it has the ability to: - change appearance through themes. - display in the user's current language. - Up to "personalized" access rights.

And much more.

In the image below we see a view of the Comfor default theme.

<p align="center"><img src="help/scr-comfor-en-1280.png" /></p>

*

Management

The block is managed through the ASCOOS Explorer program

<p align="center"><img src="help/scr-block-comfor_latest-admin-0000-1280.png" /></p>

<br>

We can configure its contents from the parameters

<p align="center"><img src="help/scr-block-comfor_latest-admin-0002-basic-settings-1280.png" /></p>

*

<br>

Documentation

You can find more information about the block on the documentation page of Ascoos CMS - BLOCKS - Comfor Latest Message Documantation

<br>

Feedback

Please send any feedback or suggestions to @ascoos (Twitter) or create an issue on GitHub.

<br>

License

ASCOOS General License (Free Use) - AGL-F

<br>

*

<br>

Download


  Files folder image Files  
File Role Description
Files folder imagehelp (22 files)
Files folder imagelanguages (4 files)
Files folder imagethemes (1 file, 2 directories)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file install.php Example Example script
Accessible without login Plain text file LICENSE_AGL-F.md Lic. License text
Accessible without login Plain text file params.json Data Auxiliary data
Accessible without login Plain text file params.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  help  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Image file scr-ascoos-explorer-000.png Icon Icon image
  Accessible without login Image file scr-block-comfor_l...admin-0000-1280.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...c-settings-1280.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...003-params-1280.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...ings-block-name.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...ngs-block-title.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...lock-properties.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...ck-view-options.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...-block-comments.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...-config-options.png Data Auxiliary data
  Accessible without login Image file scr-block-comfor_l...egories-options.png Icon Icon image
  Accessible without login Image file scr-comfor-en-1280.png Data Auxiliary data
  Accessible without login Image file scr-installer-000.png Icon Icon image
  Accessible without login Image file scr-installer-001-1280.png Data Auxiliary data
  Accessible without login Image file scr-installer-002-1280.png Data Auxiliary data
  Accessible without login Image file scr-installer-003-1280.png Data Auxiliary data
  Accessible without login Image file scr-theme-default-1280.png Data Auxiliary data
  Accessible without login Image file scr-theme-gen24-1280.png Data Auxiliary data
  Accessible without login Plain text file tutorial.el.md Data Auxiliary data
  Accessible without login Plain text file tutorial.en.md Data Auxiliary data
  Accessible without login HTML file tutorial.html Doc. Documentation

  Files folder image Files  /  languages  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file el.php Class Class source
  Plain text file en.php Class Class source
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  themes  
File Role Description
Files folder imagedefault (4 files)
Files folder imagegen24 (5 files)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  themes  /  default  
File Role Description
  Accessible without login Image file comfor_latest_icons.png Icon Icon image
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Image file scr-theme-default.png Data Auxiliary data
  Accessible without login Plain text file theme.css Data Auxiliary data

  Files folder image Files  /  themes  /  gen24  
File Role Description
  Accessible without login Plain text file comment.svg Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file refresh.svg Data Auxiliary data
  Accessible without login Image file scr-theme-gen24.png Data Auxiliary data
  Accessible without login Plain text file theme.css Data Auxiliary data

Downloadcomfor-latest-2024-03-12.zip 2995KB
Downloadcomfor-latest-2024-03-12.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP Backwards Compatibility Library Download .zip .tar.gz This library included on kernel of Ascoos Cms Optional
 Version Control Unique User Downloads Download Rankings  
 100%
Total:9
This week:0
All time:11,315
This week:524Up