10 More Discussions You Might Find Interesting
1. Web Development
I changed the CSS and Javascript in the "Advanced Editor" to clean it up. This is also the editor seen in "New Thread" and "New Reply". Basically I got rid of the mouseover style changes which were messed up due to vB legacy JS code from a decade ago.
While doing this change, I then completed... (8 Replies)
Discussion started by: Neo
8 Replies
2. Web Development
Added some Bootstrap to our lists (first draft subject to change) with PHP changes to the functions_bbcode.php:
if ($listtype)
{
$outstuff = '<ol class="list-group" style="list-style-type: ' . $listtype . '">' . $output . '</ol>';
... (0 Replies)
Discussion started by: Neo
0 Replies
3. War Stories
YAY!
Finally, seems like forever, I added this CSS to the posts (postbit) for table columns and scrollbars work still do not work for code tags and text inside posts.
<style>
td {
max-width:200px;
overflow: auto;
white-space: nowrap;
}
</style>
YAY...
Now scollbars... (3 Replies)
Discussion started by: Neo
3 Replies
4. What is on Your Mind?
See attached screen movie that demos the revised tooltips which includes thread previews, or double click on the YT video below to go to YT and view in full screen mode, etc:
HkObCAYg6LI (0 Replies)
Discussion started by: Neo
0 Replies
5. What is on Your Mind?
Hi,
Well, I changed the descriptions for threads to use Bootstrap's UI and here is the results (make sure you set your YT setting for 1080 HD):
New Tooltip for UNIX.COM Using Bootstrap - YouTube
Here is the simple CSS I'm using for the fonts and colors:
.tooltip-inner {
... (0 Replies)
Discussion started by: Neo
0 Replies
6. UNIX for Advanced & Expert Users
hi!
my computer is...
system: Digital Personal Workstation 433a
Processor: Digital Alpha 21164, 433 MHz
Memory: 64 MB
Operating System: Digital Unix Console(SRM), Digital Unix V4.0D
That computer is used for radar display. Application run on Unix. I have a problem now. I can't boot dkc0... (2 Replies)
Discussion started by: akz
2 Replies
7. Solaris
Exactly how can I redirect bootstrap data generated by Networker to a file? The company's policy is to have this electronically saved remotely. The idea is to have the bootstrap info saved to a file and then use rsync to move that file to a remote server. So instead of sending it to a printer... (0 Replies)
Discussion started by: Jshwon
0 Replies
8. Shell Programming and Scripting
I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated.
Input:
test_data_1
1 2 90%
4 3 91%
5 4 90%
6 5 90%
9 6 90%
test_data_2
3 5 92%
5 4 92%
7 3 93%
9 2 92%
1 1 92%
...
Output:... (7 Replies)
Discussion started by: justthisguy
7 Replies
9. Shell Programming and Scripting
Hi !
Anyone can tell me how to controll two listboxes with only one scrollbar in TCL? I have tried the following but it didn't work:
listbox .listw.list -width 25 -height 25 -yscrollcommand {.listw.scroll set}
listbox .listw.list2 -width 25 -height 25 -yscrollcommand {.listw.scroll set}... (0 Replies)
Discussion started by: cordobapab
0 Replies
10. AIX
I'm trying to build gcc-3.4.4 on AIX 5.3, and I get the following error in phase 2. I suspect that the problem is related to AIX's "as" assembler somehow, but from what I understand, the binutils assembler is not useable on AIX 5.1 or later. Any ideas?
checking for powl declaration... yes... (2 Replies)
Discussion started by: Duggerdee
2 Replies
YAF_PLUGIN_ABSTRACT(3) 1 YAF_PLUGIN_ABSTRACT(3)
The Yaf_Plugin_Abstract class
INTRODUCTION
Plugins allow for easy extensibility and customization of the framework.
Plugins are classes. The actual class definition will vary based on the component -- you may need to implement this interface, but the
fact remains that the plugin is itself a class.
A plugin could be loaded into Yaf by using Yaf_Dispatcher::registerPlugin, after registerd, All the methods which the plugin implemented
according to this interface, will be called at the proper time.
EXAMPLES
Example #1
Plugin example
<?php
/* bootstrap class should be defined under ./application/Bootstrap.php */
class Bootstrap extends Yaf_Bootstrap_Abstract {
public function _initPlugin(Yaf_Dispatcher $dispatcher) {
/* register a plugin */
$dispatcher->registerPlugin(new TestPlugin());
}
}
/* plugin class should be placed under ./application/plugins/ */
class TestPlugin extends Yaf_Plugin_Abstract {
public function routerStartup(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
/* before router
in this hook, user can do some url rewrite */
var_dump("routerStartup");
}
public function routerShutdown(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
/* router complete
in this hook, user can do login check */
var_dump("routerShutdown");
}
public function dispatchLoopStartup(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
var_dump("dispatchLoopStartup");
}
public function preDispatch(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
var_dump("preDispatch");
}
public function postDispatch(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
var_dump("postDispatch");
}
public function dispatchLoopShutdown(Yaf_Request_Abstract $request, Yaf_Response_Abstract $response) {
/* final hoook
in this hook user can do loging or implement layout */
var_dump("dispatchLoopShutdown");
}
}
Class IndexController extends Yaf_Controller_Abstract {
public function indexAction() {
return FALSE; //prevent rendering
}
}
$config = array(
"application" => array(
"directory" => dirname(__FILE__) . "/application/",
),
);
$app = new Yaf_Application($config);
$app->bootstrap()->run();
?>
The above example will output something similar to:
string(13) "routerStartup"
string(14) "routerShutdown"
string(19) "dispatchLoopStartup"
string(11) "preDispatch"
string(12) "postDispatch"
string(20) "dispatchLoopShutdown"
CLASS SYNOPSIS
Yaf_Plugin_Abstract
Yaf_Plugin_Abstract
Methods
o public void Yaf_Plugin_Abstract::dispatchLoopShutdown (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::dispatchLoopStartup (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::postDispatch (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::preDispatch (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::preResponse (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::routerShutdown (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
o public void Yaf_Plugin_Abstract::routerStartup (Yaf_Request_Abstract $request, Yaf_Response_Abstract $response)
PHP Documentation Group YAF_PLUGIN_ABSTRACT(3)