09-15-2019
Hi if you wrap forums like operating systems, top forums inside bootstrap panels ( card class in bootstrap 4 ) would look even better.
This User Gave Thanks to Akshay Hegde For This Post:
4 More Discussions You Might Find Interesting
1. What is on Your Mind?
Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users.
No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars).
xevV3_iZ8-s
For full screen use the link below and set your YT resolution to 1080p60 HD
https://youtu.be/xevV3_iZ8-s
Here is... (1 Reply)
Discussion started by: Neo
1 Replies
3. Web Development
Wrote some PHP code today to make the Who Is Online (WOL) in the forums work properly with the new home page:
Wrote this global plugin to add the location to both the user table (for members) and session table (for guests + registered users)
<?php
if (THIS_SCRIPT != 'misc' and... (0 Replies)
Discussion started by: Neo
0 Replies
4. What is on Your Mind?
This page still needs work (complete redesign), but in the meantime, I quickly added some Bootstrap classes to "pretty it up":
https://www.unix.com/staff.php
https://www.unix.com/staff.php (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT PHP
yaf_bootstrap_abstract
YAF_BOOTSTRAP_ABSTRACT(3) 1 YAF_BOOTSTRAP_ABSTRACT(3)
The Yaf_Bootstrap_Abstract class
INTRODUCTION
Bootstrap is a mechanism used to do some intial config before a Application run.
User may define their own Bootstrap class by inheriting Yaf_Bootstrap_Abstract
Any method declared in Bootstrap class with leading "_init", will be called by Yaf_Application::bootstrap one by one according to their
defined order.
EXAMPLES
Example #1
Bootstrap example
<?php
/* bootstrap class should be defined under ./application/Bootstrap.php */
class Bootstrap extends Yaf_Bootstrap_Abstract {
public function _initConfig(Yaf_Dispatcher $dispatcher) {
var_dump(__METHOD__);
}
public function _initPlugin(Yaf_Dispatcher $dispatcher) {
var_dump(__METHOD__);
}
}
$config = array(
"application" => array(
"directory" => dirname(__FILE__) . "/application/",
),
);
$app = new Yaf_Application($config);
$app->bootstrap();
?>
The above example will output something similar to:
string(22) "Bootstrap::_initConfig"
string(22) "Bootstrap::_initPlugin"
CLASS SYNOPSIS
Yaf_Bootstrap_Abstract
abstract
Yaf_Bootstrap_Abstract
Properties
Methods
PHP Documentation Group YAF_BOOTSTRAP_ABSTRACT(3)