|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
Smileys aren't broken anymore. The LARGE smiley images are missing though. Did you guys move/empty the fb_files folder?
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
Trying again.
[code:1]===============================================================================
Metaobjects is the metadata plugin on steroids
...............................................................................
Copyright 2007 / Andrea Ercolino
-------------------------------------------------------------------------------
LICENSE: http://www.opensource.org/licenses/mit-license.php
WEBSITE: http://noteslog.com/metaobjects/
===============================================================================
*/
( function($) {
$.metaobjects = function( options ) {
options = $.extend( {
context: document
, clean: true
, selector: 'object.metaobject'
}, options );
function jsValue( value ) {
eval( 'value = ' + value + ";" );
return value;
}
return $( options.selector, options.context )
.each( function() {
var settings = { target: this.parentNode };
$( '> param[@name=metaparam]', this )
.each( function() {
$.extend( settings, jsValue( this.value ) );
} );
$( '> param', this )
.not( '[@name=metaparam]' )
.each( function() {
var name = this.name, value = jsValue( this.value );
$( settings.target )
.each( function() {
this[ name ] = value;
} );
} );
if( options.clean ) {
$( this ).remove();
}
} );
};
} ) ( jQuery );[/code:1]
|
|
|
Logged
|
|
|
Last Edit: 2007/12/01 19:37 By grumblemarc.
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
[code:1]/*
extracted from "Advanced MySQL user variable techniques"
(http://www.xaprb.com/blog/2006/12/15/advanced-mysql-user-variable-techniques/)
*/
CREATE TABLE fruits (
`type` varchar(10) NOT NULL,
variety varchar(20) NOT NULL,
price decimal(5,2) NOT NULL default 0,
PRIMARY KEY (`type`,variety)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
insert into fruits(`type`, variety, price) values
('apple', 'gala', 2.79),
('apple', 'fuji', 0.24),
('apple', 'limbertwig', 2.87),
('orange', 'valencia', 3.59),
('orange', 'navel', 9.36),
('pear', 'bradford', 6.05),
('pear', 'bartlett', 2.14),
('cherry', 'bing', 2.55),
('cherry', 'chelan', 6.33);
set @num := 0, @type := '';
select `type`, variety, price, @num
from fruits
where 2 >= greatest(
@num := if(@type = `type`, @num + 1, 1),
least(0, length(@type := `type`))); [/code:1]
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
[code:1] function Enzymes() {
//basic expressions
$this->e = array(
'post' => 'd*'
, 'quoted' => $this->quote.'[^'.$this->quote.'\\]*'
.'(?:\\.[^'.$this->quote.'\\]*)*'.$this->quote
, 'oneword' => '[w-]+'
, 'star' => '*'
, 'template' => '(??P/|\\)(?P(?:[^|])+))'
, 'comment' => '(?P/*.*?*/)'
, 'rest' => '(?:|(?P.+))'
, 'before' => '(?P.*?)'
, 'statement' => '{[(?P.*?)]}'
, 'after' => '(?P.*)'
); [/code:1]
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
Well it works!
Don't know if they have the HTML bug licked yet.
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
no change
it is the same
i thought that it will be like tinymce as grumblemarc said in another topic
|
|
manhag (User)
Junior Boarder
Posts: 83
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
I wish the cursor stays between brackets when I use the bbcode icons 
|
|
|
Logged
|
|
|
"As a discussion over the net grows longer, the probability of a comparison involving Nazis or Hitler approaches one." - Godwin Law
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
|
manhag wrote:
no change
it is the same
i thought that it will be like tinymce as grumblemarc said in another topic
Where did I say that?
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:Testing the new parser engine 11 Months, 3 Weeks ago
|
|
grumblemarc wrote:
manhag wrote:
no change
it is the same
i thought that it will be like tinymce as grumblemarc said in another topic
Where did I say that?
why did u reply at that topic then
www.bestofjoomla.com/component/option,co...id,3/id,32873/#32685
i think that it was for wysiwyg HTML instead of BBCode
not for new parser
i really hate a fireboard moderator
|
|
manhag (User)
Junior Boarder
Posts: 83
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|