Complete text -- "Live dabei beim Zieleinlauf - Die Nominierungen des Schreibwettbewerbs als WikiReader"
/* 0.1 - initial release 0.2 - new option: rewrite mail addresses with [at] and [dot] 0.3 - userdefined placeholders for [at] and [dot] 0.4 - new option: links can be open in new window (default: off) 0.5 - support for SqlTablePrefix */ class NP_AutoLink extends NucleusPlugin { function getName() { return 'AutoLink'; } function getAuthor() { return 'Kai Greve'; } function getURL() { return 'http://kgblog.de/'; } function getVersion() { return '0.5'; } function getDescription() { return 'Automatically creates links for internet and mail addresses'; } function install() { $this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes'); $this->createOption('NewWindow','Open links in a new window?','yesno','no'); $this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes'); $this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes'); $this->createOption('at','Placeholder for @','text','[at]'); $this->createOption('dot','Placeholder for .','text','[dot]'); } function getEventList() { return array('PreItem', 'PreComment'); } function Treatment($_text) { global $CONF, $blog; if ($this->getOption('NewWindow') == 'yes') { $nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\""; } if ($this->getOption('InternetAddress') == 'yes') { $_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); $_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); } $at = $this->getOption('at'); $dot = $this->getOption('dot'); if ($this->getOption('MailAddress') == 'yes') { if ($this->getOption('RewriteMailAddress') == 'no') { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text); } else { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } } if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){ $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } return $_text; } function event_PreItem($_data) { $_data[item]->body = $this->Treatment($_data[item]->body); $_data[item]->more = $this->Treatment($_data[item]->more); } function event_PreComment($_data) { $_data['comment']['body'] = $this->Treatment($_data['comment']['body']); } function supportsFeature ($what) { switch ($what) { case 'SqlTablePrefix': return 1; default: return 0; } } } ?>02 April
Live dabei beim Zieleinlauf - Die Nominierungen des Schreibwettbewerbs als WikiReader
In der Nacht zum 1. April ging in der deutschen und der japanischen Wikipedia der Schreibwettbewerb zu Ende. Das Resultat kann sich dabei absolut sehen lassen. Fast 60 hochkarδtige Beitrδge entstanden in einem Monat.Wie beim ersten Schreibwettbewerb im Oktober 2004 gibt es auch diesmal einen eigenen WikiReader fόr die nominierten Beitrδge. Mit 368 Seiten und 6 Megabyte ist dieses Erzeugnis ein echter Klopper. Mehr Infos und den Download gibt es hier
[Druckversion direkt zum Drucker senden]
Geschrieben von Necrophorus um 23:29:47 Uhr - Kategorie: Allgemein
Karma: 13 [+/-]
Trackback
Derzeit keine Trackbacks vorhanden.
Mit dieser TrackBack url kann der Beitrag verlinkt werden (right-click, copy link target).
Wenn Ihr Blog keine Trackbacks anbietet, kann Ihr Trackback manuell durch dieses Formular eingebaut werden .
Comments
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Many thanks, Ample data!
essay writing service 12 hours <a href="https://essayservicehelp.com/">help with college essay writing</a> easy essay writing
essay writing service 12 hours <a href="https://essayservicehelp.com/">help with college essay writing</a> easy essay writing
Erstellt am 07/30/23 um 18:44:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ErnastFluct schrieb:
This is nicely said! !
essay writing websites <a href=https://essayservicehelp.com/>article writing service</a> best essays writing service
essay writing websites <a href=https://essayservicehelp.com/>article writing service</a> best essays writing service
Erstellt am 07/31/23 um 01:00:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You actually suggested this perfectly!
australian essay writing service <a href="https://essayservicehelp.com/">cheap essay writing service usa</a> tips for writing an argumentative essay
australian essay writing service <a href="https://essayservicehelp.com/">cheap essay writing service usa</a> tips for writing an argumentative essay
Erstellt am 08/11/23 um 08:35:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Excellent information. Cheers.
urgent essay writing service <a href="https://essayservicehelp.com/">real estate blog writing service</a> custom essay writing service reviews
urgent essay writing service <a href="https://essayservicehelp.com/">real estate blog writing service</a> custom essay writing service reviews
Erstellt am 08/11/23 um 23:33:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You made the point.
essay writing service uk forum <a href="https://essayservicehelp.com/">marketing essay writing service</a> essay writing service no plagiarism
essay writing service uk forum <a href="https://essayservicehelp.com/">marketing essay writing service</a> essay writing service no plagiarism
Erstellt am 08/12/23 um 14:34:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Great stuff. Appreciate it.
essay writing meme <a href="https://essayservicehelp.com/">best essay writing service uk reviews</a> google review writing service
essay writing meme <a href="https://essayservicehelp.com/">best essay writing service uk reviews</a> google review writing service
Erstellt am 08/13/23 um 05:41:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
With thanks! Very good stuff!
which is the best resume writing service in india <a href="https://essayservicehelp.com/">writing a persuasive essay</a> essay writing contest
which is the best resume writing service in india <a href="https://essayservicehelp.com/">writing a persuasive essay</a> essay writing contest
Erstellt am 08/13/23 um 20:47:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
With thanks! Wonderful stuff!
how to teach essay writing <a href="https://essayservicehelp.com/">will writing service surrey</a> cio resume writing service
how to teach essay writing <a href="https://essayservicehelp.com/">will writing service surrey</a> cio resume writing service
Erstellt am 08/14/23 um 10:54:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Excellent write ups. Thanks!
professional resume writing service charlotte nc <a href="https://essayservicehelp.com/">aviation resume writing service</a> order essay writing service
professional resume writing service charlotte nc <a href="https://essayservicehelp.com/">aviation resume writing service</a> order essay writing service
Erstellt am 08/14/23 um 23:54:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Very good data. Thanks!
high school essay writing service <a href="https://essayservicehelp.com/">reddit best essay writing service</a> top 10 custom essay writing services
high school essay writing service <a href="https://essayservicehelp.com/">reddit best essay writing service</a> top 10 custom essay writing services
Erstellt am 08/15/23 um 12:52:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You actually suggested this superbly.
university essay writing service uk <a href="https://essayservicehelp.com/">entrance essay writing service</a> best linkedin profile writing service
university essay writing service uk <a href="https://essayservicehelp.com/">entrance essay writing service</a> best linkedin profile writing service
Erstellt am 08/16/23 um 02:09:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You said it nicely..
linkedin profile writing service australia <a href="https://essayservicehelp.com/">afl writing service amibroker</a> best resume writing service
linkedin profile writing service australia <a href="https://essayservicehelp.com/">afl writing service amibroker</a> best resume writing service
Erstellt am 08/16/23 um 15:34:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Nicely expressed certainly. .
ielts writing task correction service <a href="https://essayservicehelp.com/">top essay writing service</a> cv writing service birmingham uk
ielts writing task correction service <a href="https://essayservicehelp.com/">top essay writing service</a> cv writing service birmingham uk
Erstellt am 08/17/23 um 05:01:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You actually mentioned it exceptionally well!
cheap coursework writing service <a href="https://essayservicehelp.com/">on writing the college application essay</a> assignment writing service dublin
cheap coursework writing service <a href="https://essayservicehelp.com/">on writing the college application essay</a> assignment writing service dublin
Erstellt am 08/17/23 um 18:46:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Regards, Awesome stuff!
cost of essay writing service <a href="https://essayservicehelp.com/">writing a cleaning service proposal</a> best essay writing service 2017
cost of essay writing service <a href="https://essayservicehelp.com/">writing a cleaning service proposal</a> best essay writing service 2017
Erstellt am 08/18/23 um 08:15:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Kudos, Ample write ups!
customer service writing training <a href=https://service-essay.com/>how much to pay someone to write a paper</a> professional white paper writing service <a href=https://custompaperwritings...>paper writing services reviews</a> best paper writing service chicago style best custom writing service <a href=https://essaywritingservice...>essay writing help</a> smart writing service <a href=https://essaywritingservice...>best canadian essay writing service</a> essay services
customer service writing training <a href=https://service-essay.com/>how much to pay someone to write a paper</a> professional white paper writing service <a href=https://custompaperwritings...>paper writing services reviews</a> best paper writing service chicago style best custom writing service <a href=https://essaywritingservice...>essay writing help</a> smart writing service <a href=https://essaywritingservice...>best canadian essay writing service</a> essay services
Erstellt am 08/19/23 um 01:18:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
Truly lots of terrific info.
writing essay meme <a href=https://studentessaywriting...>writing an essay outline</a> job description writing service <a href=https://essaywritingservice...>essay writing companies</a> best cheap resume writing service what is the best custom essay writing service <a href=https://topswritingservices...>top executive resume writing service</a> professional resume writing service indianapolis <a href=https://essaywriting4you.com/>psychology essay writing service uk</a> cv writing service dublin
writing essay meme <a href=https://studentessaywriting...>writing an essay outline</a> job description writing service <a href=https://essaywritingservice...>essay writing companies</a> best cheap resume writing service what is the best custom essay writing service <a href=https://topswritingservices...>top executive resume writing service</a> professional resume writing service indianapolis <a href=https://essaywriting4you.com/>psychology essay writing service uk</a> cv writing service dublin
Erstellt am 08/19/23 um 23:42:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hectorfex schrieb:
You made the point!
writing essays service <a href=https://essaywritingservice...>essay writing service coupon</a> assignment writing service canada <a href=https://essaywritingservice...>best cheap essay writing service</a> genuine essay writing service uk will writing service huddersfield <a href=https://writingpaperforme.com/>essay writer website</a> write my paper for me cheap <a href=https://custompaperwriterss...>write my paper apa format</a> paper write
writing essays service <a href=https://essaywritingservice...>essay writing service coupon</a> assignment writing service canada <a href=https://essaywritingservice...>best cheap essay writing service</a> genuine essay writing service uk will writing service huddersfield <a href=https://writingpaperforme.com/>essay writer website</a> write my paper for me cheap <a href=https://custompaperwriterss...>write my paper apa format</a> paper write
Erstellt am 08/20/23 um 22:18:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisBiz schrieb:
https://guide.in.ua/busines...
https://poltava.sq.com.ua/r...
https://www.0522.ua/list/28...
https://www.0512.com.ua/lis...
https://www.06274.com.ua/li...
https://www.0642.ua/list/34...
https://www.05366.com.ua/li...
https://www.0412.ua/list/36...
https://goloskarpat.info/ru...
https://www.0382.ua/list/34...
https://www.0552.ua/list/34...
https://poltava.sq.com.ua/r...
https://www.0522.ua/list/28...
https://www.0512.com.ua/lis...
https://www.06274.com.ua/li...
https://www.0642.ua/list/34...
https://www.05366.com.ua/li...
https://www.0412.ua/list/36...
https://goloskarpat.info/ru...
https://www.0382.ua/list/34...
https://www.0552.ua/list/34...
Erstellt am 02/21/24 um 06:04:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hi there, for all time i used to check blog posts here early in the break of day, since i enjoy to learn more and more.
<a href=https://play.google.com/sto...>Weapon</a>
<a href=https://play.google.com/sto...>Weapon</a>
Erstellt am 06/23/25 um 21:42:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
Hello there! Do you know if they make any plugins to protect against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any recommendations?
<a href=https://bestlimorates.com>Stretch limo near me</a>
<a href=https://bestlimorates.com>Stretch limo near me</a>
Erstellt am 07/18/25 um 00:52:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelshive schrieb:
At this time it appears like Wordpress is the preferred blogging platform out there right now. (from what I've read) Is that what you're using on your blog?
https://novosti.zt.ua/virtu...
https://novosti.zt.ua/virtu...
Erstellt am 07/22/25 um 04:57:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
ΠΠ΅Π³Π°ΠΏΠΎΠ»ΠΈΡ Π½ΠΎΡΡΡ Π½Π΅ ΡΠΏΠΈΡ, Π° Π½Π°ΡΠ° ΠΊΠΎΠΌΠ°Π½Π΄Π° Π²Π΄ΠΎΠ±Π°Π²ΠΎΠΊ Π²ΡΠ΅Π³Π΄Π° Π½Π° ΡΡΡΠ°ΠΆΠ΅: Π·Π°ΠΊΡΡΡΠ°Ρ ΡΠ΅Π½ΡΡ Π»Π΅ΡΠ΅Π½ΠΈΡ Π°Π»ΠΊΠΎΠ³ΠΎΠ»ΠΈΠ·ΠΌΠ° ΠΈ Π½Π°ΡΠΊΠΎΠΌΠ°Π½ΠΈΠΈ ΠΊΠ»ΠΈΠ½ΠΈΠΊΠ° <a href=https://mcnl.ru/>https://mcnl.ru</a> ΡΠ°Π±ΠΎΡΠ°Π΅Ρ 24/7. ΠΠ΅Π· Π·Π°ΠΏΠΈΡΠ΅ΠΉ ΠΈ Π±ΡΠΌΠ°Π³ β Π²ΡΠ΅Π·Π΄ Π΄ΠΎΠΊΡΠΎΡΠ° ΠΊ Π²Π°ΠΌ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠΉ Π΄Π΅ΡΠΎΠΊΡ ΠΏΠΎΠ΄ ΡΠ΅Π΄Π°ΡΠΈΠ΅ΠΉ, ΡΠ²Π΅ΡΡ
ΡΠΊΠΎΡΠΎΡΡΠ½Π°Ρ ΠΊΠ°ΠΏΠ΅Π»ΡΠ½ΠΈΡΠ°, Π½Π΅ΠΉΡΠΎΠΊΠΎΡΡΠ΅ΠΊΡΠΈΡ Π½Π° ΠΌΠ΅ΡΡΠ΅, ΠΏΠΎΠΆΠΈΠ·Π½Π΅Π½Π½ΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅. ΠΠ΅Π· ΡΡΠΌΠ°, ΡΠΊΡΡΡΠ½ΠΎ, ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ β Π²Π΅ΡΠ½ΡΠΌ ΡΡΠ΅Π·Π²ΠΎΡΡΡ Π±Π΅Π· ΡΡΡΠ°Π΄Π°Π½ΠΈΠΉ.
Erstellt am 07/23/25 um 19:48:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephKnine schrieb:
Erstellt am 07/24/25 um 01:20:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BruceRot schrieb:
<a href=https://kitehurghada.ru/>ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³</a> ΠΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³ β ΡΡΠΎ ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎΠ΅ ΡΠ°Π·Π²ΠΈΡΠΈΠ΅ ΠΈ ΡΠ°ΠΌΠΎΡΠΎΠ²Π΅ΡΡΠ΅Π½ΡΡΠ²ΠΎΠ²Π°Π½ΠΈΠ΅. Π£ΡΠΈΡΠ΅ Π½ΠΎΠ²ΡΠ΅ ΡΡΡΠΊΠΈ, ΠΎΡΠ²Π°ΠΈΠ²Π°ΠΉΡΠ΅ Π½ΠΎΠ²ΡΠ΅ ΡΡΠΈΠ»ΠΈ ΠΈ Π΄Π΅Π»ΠΈΡΠ΅ΡΡ ΠΎΠΏΡΡΠΎΠΌ Ρ Π΄ΡΡΠ³ΠΈΠΌΠΈ ΠΊΠ°ΠΉΡΠ΅ΡΠ°ΠΌΠΈ.
Erstellt am 07/24/25 um 11:34:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldbon schrieb:
<a href=https://uslugi.yandex.ru/pr...>ΠΊΠ°ΠΉΡΠΈΠ½Π³</a> ΠΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³ β ΡΡΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΡΠΊΡΠ΅ΠΏΠΈΡΡ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΡΠ»ΡΡΡΠΈΡΡ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΡΡ ΡΠΎΡΠΌΡ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π·Π°ΡΡΠ΄ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΡΠΌΠΎΡΠΈΠΉ.
Erstellt am 07/25/25 um 05:00:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PhillipNom schrieb:
Erstellt am 07/25/25 um 07:38:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Hello, all is going well here and ofcourse every one is sharing data, that's really excellent, keep up writing.
<a href=https://bestlimorates.com>Black car near me</a>
<a href=https://bestlimorates.com>Black car near me</a>
Erstellt am 07/25/25 um 11:08:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelGyday schrieb:
<a href=https://china01.ru/>Π°Π²ΠΈΠ°ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠΈ ΠΈΠ· ΠΊΠΈΡΠ°Ρ</a> ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² ΠΏΠΈΡΠ°Π½ΠΈΡ ΠΈΠ· ΠΠΈΡΠ°Ρ β ΡΡΠ΅Π±ΡΠ΅Ρ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΡ ΡΡΡΠΎΠ³ΠΈΡ
ΡΠ°Π½ΠΈΡΠ°ΡΠ½ΡΡ
ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡΠΈΡ
ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΠΉ.
Erstellt am 07/25/25 um 19:17:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Raymondtreks schrieb:
<a href=https://t.me/himchistka61a>Π₯ΠΈΠΌΡΠΈΡΡΠΊΠ° ΠΌΠ΅Π±Π΅Π»ΠΈ ΡΠΎΡΡΠΎΠ²</a>
Erstellt am 07/26/25 um 20:54:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Harryfleme schrieb:
<a href=https://glass-world.ru/>Π‘ΡΠ΅ΠΊΠ»ΡΠ½Π½ΡΠ΅ ΠΏΠ΅ΡΠ΅Π³ΠΎΡΠΎΠ΄ΠΊΠΈ</a> Π‘ΡΠ΅ΠΊΠ»ΡΠ½Π½ΡΠ΅ Π²ΠΈΡΡΠΈΠ½Ρ Π΄Π»Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½ΠΎΠ²: ΠΏΡΠΈΠ²Π»Π΅ΡΠ΅Π½ΠΈΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ ΠΈ Π΄Π΅ΠΌΠΎΠ½ΡΡΡΠ°ΡΠΈΡ ΡΠΎΠ²Π°ΡΠΎΠ². ΠΠΈΠ΄Ρ ΡΡΠ΅ΠΊΠ»Π°, Π΄ΠΈΠ·Π°ΠΉΠ½, ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ°.
Erstellt am 07/27/25 um 03:11:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eugeniojex schrieb:
<a href=http://rufrontir.ru/>Π·Π°ΠΏΠΈΡΡ Ρ ΡΠ΅ΠΏΠ»ΠΎΠ²ΠΈΠ·ΠΎΡΠ°</a> ΠΊΡΠΏΠΈΡΡ ΡΠ΅ΠΏΠ»ΠΎΠ²ΠΈΠ·ΠΈΠΎΠ½Π½ΡΠΉ ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΠΏΠ»ΠΎΠ²ΠΈΠ·ΠΈΠΎΠ½Π½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ β ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ ΡΠ°Π±ΠΎΡΡ.
Erstellt am 07/27/25 um 05:33:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HaroldWaw schrieb:
https://servicestat.ru/serv... Servicestat.ru β ΡΡΠΎ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³-ΡΠ΅ΠΉΡΠΈΠ½Π³ ΡΠ΅ΡΠ²ΠΈΡΠ½ΡΡ
ΡΠ΅Π½ΡΡΠΎΠ² ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠΈ. ΠΠ° ΡΠ°ΠΉΡΠ΅ ΡΠΎΠ±ΡΠ°Π½Ρ ΠΊΠΎΠ½ΡΠ°ΠΊΡΡ (Π°Π΄ΡΠ΅ΡΠ°, ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ), ΠΎΡΠ·ΡΠ²Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ², Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΡΡΠ»ΡΠ³. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡΡΠΎ Π½Π°ΠΉΡΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΡΠΊΠΈΠ΅ Π² ΡΠ²ΠΎΠ΅ΠΌ Π³ΠΎΡΠΎΠ΄Π΅, ΡΡΠ°Π²Π½ΠΈΡΡ ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ ΠΈ Π²ΡΠ±ΡΠ°ΡΡ Π»ΡΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ. ΠΠΎΠ»Π΅Π·Π΅Π½ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΠΎΡΠ΄Π°ΡΡ ΡΠ΅Ρ
Π½ΠΈΠΊΡ Π² Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ ΡΡΠΊΠΈ.
? ΠΠΎΠΈΡΠΊ ΡΠ΅ΡΠ²ΠΈΡΠΎΠ² ΠΏΠΎ ΠΌΠ΅ΡΡΠΎΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π±ΡΠ΅Π½Π΄Π°ΠΌ
? Π Π΅Π°Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΈ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ²
? ΠΠΊΡΠΈΠΈ, ΡΠΊΠΈΠ΄ΠΊΠΈ ΠΈ ΡΠΏΠ΅ΡΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ
? Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΈΠ»ΡΡΡ Π΄Π»Ρ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ ΡΡΠ»ΡΠ³
ΠΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊ Π² ΠΏΠΎΠΈΡΠΊΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ°!
? ΠΠΎΠΈΡΠΊ ΡΠ΅ΡΠ²ΠΈΡΠΎΠ² ΠΏΠΎ ΠΌΠ΅ΡΡΠΎΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π±ΡΠ΅Π½Π΄Π°ΠΌ
? Π Π΅Π°Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΈ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ²
? ΠΠΊΡΠΈΠΈ, ΡΠΊΠΈΠ΄ΠΊΠΈ ΠΈ ΡΠΏΠ΅ΡΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ
? Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΈΠ»ΡΡΡ Π΄Π»Ρ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ ΡΡΠ»ΡΠ³
ΠΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊ Π² ΠΏΠΎΠΈΡΠΊΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ°!
Erstellt am 07/27/25 um 07:22:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Davidwar schrieb:
<a href=https://magazin-bytovok.ru/>ΠΊΠ°ΡΠΊΠ°ΡΠ½ΡΠ΅ Π΄ΠΎΠΌΠ°</a> Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Ρ
ΠΎΠ·Π±Π»ΠΎΠΊΠ° ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ: ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄. ΠΡΠ±ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΡΠ°ΠΏΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°, ΡΠΎΠ²Π΅ΡΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ².
Erstellt am 07/27/25 um 09:42:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesVen schrieb:
<a href=https://deepweb.net/blog/ne...>Dual Access</a> Bazaar Drugs Marketplace: A New Darknet Platform with Dual Access Bazaar Drugs Marketplace is a new darknet marketplace rapidly gaining popularity among users interested in purchasing pharmaceuticals. Trading is conducted via the Tor Network, ensuring a high level of privacy and data protection. However, what sets this platform apart is its dual access: it is available both through an onion domain and a standard clearnet website, making it more convenient and visible compared to competitors. The marketplace offers a wide range of pharmaceuticals, including amphetamines, ketamine, cannabis, as well as prescription drugs such as alprazolam and diazepam. This variety appeals to both beginners and experienced buyers. All transactions on the platform are carried out using cryptocurrency payments, ensuring anonymity and security. In summary, Bazaar represents a modern darknet marketplace that combines convenience, a broad product selection, and a high level of privacy, making it a notable player in the darknet economy.
Erstellt am 07/27/25 um 15:18:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RamonOwent schrieb:
<a href=https://detivetra.com/>ΠΊΠ°ΠΉΡ ΡΠΊΠΎΠ»Π°</a> ΠΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³ ΡΠΏΠΎΡΡ: Π»ΡΡΡΠΈΠ΅ ΠΌΠ΅ΡΡΠ° Π΄Π»Ρ ΠΊΠ°ΡΠ°Π½ΠΈΡ. ΠΡΠΊΡΠΎΠΉΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ Π½ΠΎΠ²ΡΠ΅ Π»ΠΎΠΊΠ°ΡΠΈΠΈ Ρ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ Π²Π΅ΡΡΠΎΠΌ ΠΈ Π²ΠΎΠ»Π½Π°ΠΌΠΈ.
Erstellt am 07/28/25 um 08:19:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
ΠΡΠ»ΠΈ Π²Ρ Π΄Π°Π²Π½ΠΎ ΠΌΠ΅ΡΡΠ°Π΅ΡΠ΅ ΠΈΠ·ΡΡΠ°ΡΡ ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½, Π½ΠΎ Π½Π΅ Π·Π½Π°Π΅ΡΠ΅, Ρ ΡΠ΅Π³ΠΎ Π½Π°ΡΠ°ΡΡ β ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ ΠΎΠ±ΡΠ°ΡΠΈΡΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ILM ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ. ΠΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ°, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΎΠΉΡΠΈ ΠΊΡΡΡ ΠΏΠΎ ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ Π΄ΠΈΠΏΠ»ΠΎΠΌΠΎΠΌ Π±Π΅Π· ΠΎΡΡΡΠ²Π° ΠΎΡ ΡΠ°Π±ΠΎΡΡ ΠΈΠ»ΠΈ ΡΠ΅ΠΌΡΠΈ.
ΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ: Π²ΡΡ ΠΎΠ±ΡΡΡΠ½ΡΠ΅ΡΡΡ ΠΏΡΠΎΡΡΡΠΌ ΡΠ·ΡΠΊΠΎΠΌ, ΠΌΠ½ΠΎΠ³ΠΎ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΈ ΠΈ ΠΆΠΈΠ²ΡΡ Π²ΡΡΡΠ΅Ρ Ρ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»ΡΠΌΠΈ. Π ΠΊΠΎΠ½ΡΠ΅ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ Π²Ρ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ, ΠΊΠΎΡΠΎΡΡΠΉ ΡΠ΅Π½ΠΈΡΡΡ ΠΈ Π² Π£ΠΊΡΠ°ΠΈΠ½Π΅, ΠΈ Π·Π° Π΅Ρ ΠΏΡΠ΅Π΄Π΅Π»Π°ΠΌΠΈ.
ΠΡΠ»ΠΈΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ Ρ ΠΎΡΠ΅Ρ Π½Π°ΡΠ°ΡΡ ΠΊΠ°ΡΡΠ΅ΡΡ Π² ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈΠ»ΠΈ Π»ΡΡΡΠ΅ ΠΏΠΎΠ½ΡΡΡ ΡΠ΅Π±Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΡ .
ΠΠ°ΡΠΈΠ°Π½Ρ Π²ΡΠΎΡΠΎΠΉ ΡΠ΅ΠΊΡΡΠ°:
Π₯ΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΡ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³Π°, Π½Π΅ Π²ΡΡ ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ°?
ILM ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ β ΡΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ ΡΠΏΠΎΡΠΎΠΌ Π½Π° ΠΏΡΠ°ΠΊΡΠΈΠΊΡ ΠΈ ΠΆΠΈΠ²ΠΎΠ΅ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ Ρ ΠΎΠΏΡΡΠ½ΡΠΌΠΈ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»ΡΠΌΠΈ.
ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΎΡΡΡΠΏΠ½ΠΎ ΠΈΠ· Π»ΡΠ±ΠΎΠΉ ΡΠΎΡΠΊΠΈ ΠΌΠΈΡΠ°
ΠΠΎΠ΄Ρ ΠΎΠ΄ΠΈΡ Π΄Π»Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΡ β Π²ΡΡ Ρ Π½ΡΠ»Ρ
ΠΡΠ°ΠΊΡΠΈΠΊΠ°, ΡΡΠΏΠ΅ΡΠ²ΠΈΠ·ΠΈΠΈ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΡΡΠ°ΡΠΎΡΠΎΠ²
ΠΠ²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎΡΠ»Π΅ ΠΎΠΊΠΎΠ½ΡΠ°Π½ΠΈΡ ΠΊΡΡΡΠ°
Π’Ρ ΡΠΌΠΎΠΆΠ΅ΡΡ ΠΎΡΠ²ΠΎΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΡ, ΠΏΠΎΠ½ΡΡΡ Π»ΡΠ΄Π΅ΠΉ Π³Π»ΡΠ±ΠΆΠ΅ ΠΈ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ, Π΄Π°ΠΆΠ΅ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΡΠ²ΠΎΡ ΠΆΠΈΠ·Π½Ρ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎ ΠΊΡΡΡΠ΅ Π½Π° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ ΡΠ°ΠΉΡΠ΅: ILM ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ <a href=https://ilmacademy.com.ua/>ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΡ Π»ΠΈΡΠ½ΠΎΡΡΠΈ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½</a>
ΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ: Π²ΡΡ ΠΎΠ±ΡΡΡΠ½ΡΠ΅ΡΡΡ ΠΏΡΠΎΡΡΡΠΌ ΡΠ·ΡΠΊΠΎΠΌ, ΠΌΠ½ΠΎΠ³ΠΎ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΈ ΠΈ ΠΆΠΈΠ²ΡΡ Π²ΡΡΡΠ΅Ρ Ρ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»ΡΠΌΠΈ. Π ΠΊΠΎΠ½ΡΠ΅ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ Π²Ρ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ, ΠΊΠΎΡΠΎΡΡΠΉ ΡΠ΅Π½ΠΈΡΡΡ ΠΈ Π² Π£ΠΊΡΠ°ΠΈΠ½Π΅, ΠΈ Π·Π° Π΅Ρ ΠΏΡΠ΅Π΄Π΅Π»Π°ΠΌΠΈ.
ΠΡΠ»ΠΈΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΠ΅Ρ , ΠΊΡΠΎ Ρ ΠΎΡΠ΅Ρ Π½Π°ΡΠ°ΡΡ ΠΊΠ°ΡΡΠ΅ΡΡ Π² ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈΠ»ΠΈ Π»ΡΡΡΠ΅ ΠΏΠΎΠ½ΡΡΡ ΡΠ΅Π±Ρ ΠΈ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΡ .
ΠΠ°ΡΠΈΠ°Π½Ρ Π²ΡΠΎΡΠΎΠΉ ΡΠ΅ΠΊΡΡΠ°:
Π₯ΠΎΡΠ΅ΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΡ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³Π°, Π½Π΅ Π²ΡΡ ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ°?
ILM ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ β ΡΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ ΡΠΏΠΎΡΠΎΠΌ Π½Π° ΠΏΡΠ°ΠΊΡΠΈΠΊΡ ΠΈ ΠΆΠΈΠ²ΠΎΠ΅ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ Ρ ΠΎΠΏΡΡΠ½ΡΠΌΠΈ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»ΡΠΌΠΈ.
ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΎΡΡΡΠΏΠ½ΠΎ ΠΈΠ· Π»ΡΠ±ΠΎΠΉ ΡΠΎΡΠΊΠΈ ΠΌΠΈΡΠ°
ΠΠΎΠ΄Ρ ΠΎΠ΄ΠΈΡ Π΄Π»Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΡ β Π²ΡΡ Ρ Π½ΡΠ»Ρ
ΠΡΠ°ΠΊΡΠΈΠΊΠ°, ΡΡΠΏΠ΅ΡΠ²ΠΈΠ·ΠΈΠΈ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΡΡΠ°ΡΠΎΡΠΎΠ²
ΠΠ²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΉ Π΄ΠΈΠΏΠ»ΠΎΠΌ ΠΏΠΎΡΠ»Π΅ ΠΎΠΊΠΎΠ½ΡΠ°Π½ΠΈΡ ΠΊΡΡΡΠ°
Π’Ρ ΡΠΌΠΎΠΆΠ΅ΡΡ ΠΎΡΠ²ΠΎΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΡ, ΠΏΠΎΠ½ΡΡΡ Π»ΡΠ΄Π΅ΠΉ Π³Π»ΡΠ±ΠΆΠ΅ ΠΈ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ, Π΄Π°ΠΆΠ΅ ΠΈΠ·ΠΌΠ΅Π½ΠΈΡΡ ΡΠ²ΠΎΡ ΠΆΠΈΠ·Π½Ρ.
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎ ΠΊΡΡΡΠ΅ Π½Π° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ ΡΠ°ΠΉΡΠ΅: ILM ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΠΈ <a href=https://ilmacademy.com.ua/>ΠΏΡΠΈΡ ΠΎΠ»ΠΎΠ³ΠΈΡ Π»ΠΈΡΠ½ΠΎΡΡΠΈ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 07/28/25 um 11:52:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PeterBiage schrieb:
<a href=https://sletatagent.ru>ΠΠ΄Π΅ ΠΈΡΠΊΠ°ΡΡ Π³ΠΎΡΡΡΠΈΠ΅ ΡΡΡΡ: ΠΎΠ½Π»Π°ΠΉΠ½ ΠΈ ΠΎΡΡΠ»Π°ΠΉΠ½ ΡΠ΅ΡΡΡΡΡ.</a> <>ΡΠΎΠ΄ΠΎΠ»ΠΆΠ΅Π½ΠΈΠ΅ Ρ 11 ΠΏΠΎ 100...] Π’Π°ΠΉΠ»Π°Π½Π΄ ΠΎΡ 49 900 Π½Π° Π΄Π²ΠΎΠΈΡ
Erstellt am 07/28/25 um 18:01:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
I got this website from my friend who shared with me about this website and at the moment this time I am browsing this web page and reading very informative content at this place.
https://waltak.com.ua/testu...
https://waltak.com.ua/testu...
Erstellt am 07/28/25 um 21:56:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RamonOwent schrieb:
<a href=https://www.youtube.com/cha...>ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³</a> ΠΠ°ΠΉΡ Π»Π°Π³Π΅ΡΡ: ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΡΡΠ΅Π½ΠΈΡΠΎΠ²ΠΎΠΊ
Erstellt am 07/28/25 um 22:47:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
What a stuff of un-ambiguity and preserveness of valuable knowledge regarding unexpected emotions.
https://maps.google.com.mx/...
https://maps.google.com.mx/...
Erstellt am 07/29/25 um 16:57:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Davidcal schrieb:
<a href=https://youtu.be/NSeYXIVC3V...>Dragon money</a> Dragon Money β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ Π½Π°Π·Π²Π°Π½ΠΈΠ΅, ΡΡΠΎ Π²ΡΠ°ΡΠ° Π² ΠΌΠΈΡ Π±Π΅Π·Π³ΡΠ°Π½ΠΈΡΠ½ΡΡ
Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ ΠΈ Π·Π°Ρ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΡ
Π°Π·Π°ΡΡΠ½ΡΡ
ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΠΉ. ΠΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ°, ΡΡΠΎ ΡΠ΅Π»Π°Ρ Π²ΡΠ΅Π»Π΅Π½Π½Π°Ρ, Π³Π΄Π΅ ΠΏΠ΅ΡΠ΅ΠΏΠ»Π΅ΡΠ°ΡΡΡΡ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ Π²Π΅ΠΊΠΎΠ²ΡΡ
ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΈ Π½ΠΎΠ²Π΅ΠΉΡΠΈΠ΅ ΡΠΈΡΡΠΎΠ²ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΡΠΎΠ·Π΄Π°Π²Π°Ρ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ ΠΎΠΏΡΡ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΈΡΠΊΠ°ΡΠ΅Π»Ρ ΡΠ΄Π°ΡΠΈ. Π ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΌ ΠΌΠΈΡΠ΅, Π³Π΄Π΅ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΠΎΡΠΎΠΊΠΈ ΠΌΡΠ°ΡΡΡ ΡΠΎ ΡΠΊΠΎΡΠΎΡΡΡΡ ΡΠ²Π΅ΡΠ°, Dragon Money ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π³Π»ΠΎΡΠΎΠΊ ΡΠ²Π΅ΠΆΠ΅Π³ΠΎ Π²ΠΎΠ·Π΄ΡΡ
Π° β ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ, Π³Π΄Π΅ ΠΏΡΠ°Π²ΠΈΠ»Π° ΠΏΡΠΎΡΡΡ, Π° Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π±Π΅Π·Π³ΡΠ°Π½ΠΈΡΠ½Ρ. ΠΠ΄Π΅ΡΡ ΠΊΠ°ΠΆΠ΄Π°Ρ ΡΡΠ°Π²ΠΊΠ° β ΡΡΠΎ ΡΠ°Π½Ρ, ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠΏΠΈΠ½ β ΡΡΠΎ ΠΏΡΠ΅Π΄Π²ΠΊΡΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ±Π΅Π΄Ρ, Π° ΠΊΠ°ΠΆΠ΄ΡΠΉ Π²ΡΠΈΠ³ΡΡΡ β ΡΡΠΎ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅ Π²Π°ΡΠ΅ΠΉ ΡΠ΄Π°ΡΠΈ. ΠΠΎ Dragon Money β ΡΡΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎ Π²ΡΠΈΠ³ΡΡΡΠΈ ΠΈ Π΄ΠΆΠ΅ΠΊΠΏΠΎΡΡ. ΠΡΠΎ ΠΏΡΠΎ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ Π΅Π΄ΠΈΠ½ΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΈΠΊΠΎΠ², ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½Π΅Π½Π½ΡΡ
ΠΎΠ±ΡΠΈΠΌ ΡΡΡΠ΅ΠΌΠ»Π΅Π½ΠΈΠ΅ΠΌ ΠΊ ΡΠΈΡΠΊΡ, Π°Π·Π°ΡΡΡ ΠΈ Π°Π΄ΡΠ΅Π½Π°Π»ΠΈΠ½Ρ. ΠΡΠΎ ΠΌΠ΅ΡΡΠΎ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π½ΠΎΠ²ΡΡ
Π΄ΡΡΠ·Π΅ΠΉ, ΠΏΠΎΠ΄Π΅Π»ΠΈΡΡΡΡ ΠΎΠΏΡΡΠΎΠΌ ΠΈ ΠΎΡΡΡΠΈΡΡ Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΉ Π΄ΡΡ
ΡΠΎΠ²Π°ΡΠΈΡΠ΅ΡΡΠ²Π°. ΠΡ ΡΠ²Π΅ΡΠ΄ΠΎ Π²Π΅ΡΠΈΠΌ, ΡΡΠΎ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΡΠ΅ΡΡΠ½ΠΎΡΡΡ β ΡΡΠΎ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½Ρ, Π½Π° ΠΊΠΎΡΠΎΡΠΎΠΌ ΡΡΡΠΎΠΈΡΡΡ Π΄ΠΎΠ²Π΅ΡΠΈΠ΅. ΠΠΌΠ΅Π½Π½ΠΎ ΠΏΠΎΡΡΠΎΠΌΡ Dragon Money ΡΠ΄Π΅Π»ΡΠ΅Ρ ΠΎΡΠΎΠ±ΠΎΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π·Π°ΡΠΈΡΠ΅ Π΄Π°Π½Π½ΡΡ
ΠΈ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΡΡΠΈ ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΡΡΠ°Π½Π·Π°ΠΊΡΠΈΠΈ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΡΠΎΠ·Π΄Π°ΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΡ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΡ ΡΡΠ΅Π΄Ρ Π΄Π»Ρ Π½Π°ΡΠΈΡ
ΠΈΠ³ΡΠΎΠΊΠΎΠ², Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΌΠΎΠΆΠ΅Ρ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΠΈΠ³ΡΠΎΠΉ, Π½Π΅ Π±Π΅ΡΠΏΠΎΠΊΠΎΡΡΡ ΠΎ ΠΊΠ°ΠΊΠΈΡ
-Π»ΠΈΠ±ΠΎ ΡΠΈΡΠΊΠ°Ρ
. Dragon Money β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΈΠ³ΡΠ°. ΠΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΈΡΠΏΡΡΠ°ΡΡ ΡΠ΅Π±Ρ, ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ ΡΠ²ΠΎΡ ΡΠ΄Π°ΡΡ ΠΈ ΠΏΠΎΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠ΅Π±Ρ Π½Π°ΡΡΠΎΡΡΠΈΠΌ Π²Π»Π°ΡΡΠ΅Π»ΠΈΠ½ΠΎΠΌ ΡΠ²ΠΎΠ΅ΠΉ ΡΡΠ΄ΡΠ±Ρ. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΠΌ, ΠΈ ΠΏΡΡΡΡ Π΄ΡΠ°ΠΊΠΎΠ½ ΠΏΡΠΈΠ½Π΅ΡΠ΅Ρ Π²Π°ΠΌ Π±ΠΎΠ³Π°ΡΡΡΠ²ΠΎ, ΡΡΠΏΠ΅Ρ
ΠΈ ΠΏΡΠΎΡΠ²Π΅ΡΠ°Π½ΠΈΠ΅! ΠΠ° ΠΏΡΠ΅Π±ΡΠ΄Π΅Ρ Ρ Π²Π°ΠΌΠΈ ΡΠ΄Π°ΡΠ°!
Erstellt am 07/29/25 um 21:29:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrentLar schrieb:
Erstellt am 07/29/25 um 22:38:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RamonOwent schrieb:
<a href=https://yandex.ru/profile/1...>ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³</a> ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³Ρ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π°. ΠΠ΅ ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅ Π½Π° ΠΈΠ½ΡΡΡΡΠΊΡΠΎΡΠ΅, ΠΊΠΎΡΠΎΡΡΠΉ Π½Π°ΡΡΠΈΡ Π²Π°Ρ ΠΎΡΠ½ΠΎΠ²Π°ΠΌ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡΡΠΎ ΠΏΡΠΎΠ³ΡΠ΅ΡΡΠΈΡΠΎΠ²Π°ΡΡ.
Erstellt am 07/30/25 um 03:30:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RamonOwent schrieb:
<a href=https://vk.com/kiteschoolhu...>ΠΊΠ°ΠΉΡ</a> ΠΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³ β ΡΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΎΡΠΊΡΡΡΡ Π΄Π»Ρ ΡΠ΅Π±Ρ Π½ΠΎΠ²ΡΠ΅ Π³ΠΎΡΠΈΠ·ΠΎΠ½ΡΡ, ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠΈΡ Ρ Π΄ΡΡΠ³ΠΎΠΉ ΡΡΠΎΡΠΎΠ½Ρ ΠΈ Π½Π°ΠΉΡΠΈ ΡΠ²ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ ΠΏΠΎΠ΄ ΡΠΎΠ»Π½ΡΠ΅ΠΌ. ΠΡΠΎ Π²Π°ΡΠ΅ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅, Π²Π°ΡΠ° ΡΡΡΠ°ΡΡΡ, Π²Π°ΡΠ° ΠΆΠΈΠ·Π½Ρ.
Erstellt am 07/30/25 um 12:34:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethKakly schrieb:
<a href=https://dzen.ru/kitehurghada>ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³</a> ΠΠ°ΠΉΡΠΈΠ½Π³
Erstellt am 07/31/25 um 06:43:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethKakly schrieb:
<a href=https://kiteschoolhurghada.ru>ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³Ρ</a> ΠΠ°ΠΉΡ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠ½ΡΡΡΡ
: ΡΡΡΠΊΠΈ ΠΈ ΡΡΠΈΡΡΠ°ΠΉΠ»
Erstellt am 07/31/25 um 15:15:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Awesome things here. I'm very glad to peer your post. Thanks so much and I'm looking ahead to touch you. Will you kindly drop me a mail?
http://respectstroy.com.ua/...
http://respectstroy.com.ua/...
Erstellt am 07/31/25 um 22:03:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethKakly schrieb:
<a href=https://yandex.ru/profile/1...>ΠΊΠ°ΠΉΡΠΈΠ½Π³</a> "ΠΠ°Π²ΡΠΈΠΊΠΈΠΉ - ΠΌΠ΅ΡΡΠ°": ΠΠ΅ ΠΠΎΡΠ½: ΠΊΠ°ΠΉΡΡΠ΅ΡΡΠΈΠ½Π³ Π½Π° ΠΠ°Π²ΡΠΈΠΊΠΈΠΈ
Erstellt am 08/01/25 um 09:03:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hello it's me, I am also visiting this web page regularly, this web site is genuinely nice and the visitors are really sharing nice thoughts.
<a href=https://pro-poland.pl/>spin city</a>
<a href=https://pro-poland.pl/>spin city</a>
Erstellt am 08/01/25 um 13:34:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertasype schrieb:
Erstellt am 08/01/25 um 16:54:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichelCit schrieb:
<a href=https://t.me/feidonetsk>ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΠΠΎΡΠ»ΠΎΠ²ΠΊΠ°</a> ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΠΠΎΠ½Π΅ΡΠΊ: Π‘Π°ΠΌΡΠ΅ ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΈ ΠΆΠ΅Π»Π°Π½Π½ΡΠ΅ ΠΆΠ΄ΡΡ ΡΠ΅Π±Ρ!
Erstellt am 08/01/25 um 18:37:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamMig schrieb:
<a href=https://www.trimartolod.fr/...>code promo 1xbet de</a>
Erstellt am 08/01/25 um 19:11:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JesseMow schrieb:
Erstellt am 08/01/25 um 19:13:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertasype schrieb:
<a href=https://t.me/wine_it>https://t.me/wine_it</a>
Erstellt am 08/01/25 um 21:57:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
What's up i am kavin, its my first time to commenting anywhere, when i read this post i thought i could also make comment due to this good paragraph.
<a href=https://mebendazole4u.shop/>cost of vermox without prescription</a>
<a href=https://mebendazole4u.shop/>cost of vermox without prescription</a>
Erstellt am 08/01/25 um 22:07:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DuaneCox schrieb:
<a href=https://vk.com/3dplabs>3d ΠΏΠ΅ΡΠ°ΡΡ</a> ΠΠ±ΡΠ°ΡΠ½ΡΠΉ ΠΈΠ½ΠΆΠΈΠ½ΠΈΡΠΈΠ½Π³ β ΡΡΠΎ ΠΏΡΠΎΡΠ΅ΡΡ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈ Π²ΠΎΡΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΡΡΡΠ΅ΡΡΠ²ΡΡΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ΅ΠΊΡΠ° ΠΈΠ»ΠΈ ΡΠΈΡΡΠ΅ΠΌΡ. ΠΡΠ° ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΏΠΎΠ½ΡΡΡ ΠΏΡΠΈΠ½ΡΠΈΠΏΡ ΡΠ°Π±ΠΎΡΡ, Π²ΡΡΠ²ΠΈΡΡ ΡΠ»Π°Π±ΡΠ΅ ΠΌΠ΅ΡΡΠ° ΠΈ ΡΠΎΠ·Π΄Π°ΡΡ ΡΠ»ΡΡΡΠ΅Π½Π½ΡΡ Π²Π΅ΡΡΠΈΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠ°. ΠΠ΅Π·Π°ΠΌΠ΅Π½ΠΈΠΌ Π΄Π»Ρ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΡΡΡΠ°ΡΠ΅Π²ΡΠ΅ΠΉ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ, Π°Π½Π°Π»ΠΈΠ·Π° ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠ½ΡΡ
ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΎΠΊ ΠΈ ΠΌΠΎΠ΄Π΅ΡΠ½ΠΈΠ·Π°ΡΠΈΠΈ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 08/01/25 um 23:27:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Hmm is anyone else experiencing problems with the pictures on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog. Any responses would be greatly appreciated.
<a href=https://mebendazole4u.shop/>where to get generic vermox no prescription</a>
<a href=https://mebendazole4u.shop/>where to get generic vermox no prescription</a>
Erstellt am 08/02/25 um 01:27:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Terrymat schrieb:
<a href=https://Π°ΠΊΠΊΠ°ΡΠ½ΡΡΠ²Π°ΡΡΠ΅ΠΉΡ.ΡΡ/>Π°ΠΊΠΊΠ°ΡΠ½Ρ warface</a> ΠΠ°ΠΊ ΠΆΠ΅ Π·Π°ΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎ, ΡΡΠΎ Ρ ΠΌΠΎΠ³Ρ Π»Π΅Π³ΠΊΠΎ ΠΊΡΠΏΠΈΡΡ ΠΎΡΡΠΆΠΈΠ΅ Π²Π°ΡΡΠ΅ΠΉΡ Π½Π° ΡΡΠΎΠΌ ΡΠ°ΠΉΡΠ΅!
Erstellt am 08/02/25 um 03:41:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethWache schrieb:
<a href=https://dosugdnr.net/>ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ Π΄ΠΎΠ½Π΅ΡΠΊΠ°</a> ΠΠΎΠ½Π΅ΡΠΊ Π¨Π»ΡΡ
ΠΈ
Erstellt am 08/02/25 um 04:51:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
This site truly has all the info I wanted about this subject and didn't know who to ask.
<a href=https://doxycycline4all.top/>oral vibramycin 100mg</a>
<a href=https://doxycycline4all.top/>oral vibramycin 100mg</a>
Erstellt am 08/02/25 um 14:33:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Herbertdom schrieb:
Erstellt am 08/02/25 um 15:40:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Thanks for the good writeup. It in truth was once a entertainment account it. Look complex to more delivered agreeable from you! By the way, how can we keep up a correspondence?
<a href=https://doxycycline4all.top/>doxycycline 200 mg cost</a>
<a href=https://doxycycline4all.top/>doxycycline 200 mg cost</a>
Erstellt am 08/02/25 um 18:01:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Davidwhape schrieb:
Erstellt am 08/02/25 um 18:15:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethPit schrieb:
Erstellt am 08/02/25 um 18:57:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BillyKit schrieb:
Erstellt am 08/02/25 um 22:05:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlbertRoand schrieb:
Erstellt am 08/03/25 um 14:55:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Hi! This is kind of off topic but I need some advice from an established blog. Is it tough to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about setting up my own but I'm not sure where to begin. Do you have any ideas or suggestions? Cheers
https://toolbarqueries.goog...
https://toolbarqueries.goog...
Erstellt am 08/03/25 um 19:05:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JustinSweno schrieb:
<a href=https://dosugdnr.net/>ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ Π΄ΠΎΠ½Π΅ΡΠΊ Π΄Π½Ρ</a> Π¨Π»ΡΡ
ΠΈ Π³ΠΎΡΠ»ΠΎΠ²ΠΊΠ°: Π¨Π»ΡΡ
ΠΈ Π² ΠΠΎΡΠ»ΠΎΠ²ΠΊΠ΅: Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΡ.
Erstellt am 08/03/25 um 19:39:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlbertRoand schrieb:
<a href=https://agropartner.su/sale...>Π ΡΠ½ΠΎΠΊ Π·Π΅ΡΠ½Π°</a> Π’Π΅Π½Π΄Π΅Π½ΡΠΈΠΈ ΡΠ°Π·Π²ΠΈΡΠΈΡ ΡΡΠ½ΠΊΠ° ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠΎΡΠ³ΠΎΠ²Π»ΠΈ Π·Π΅ΡΠ½ΠΎΠΌ: ΠΏΡΠΎΠ³Π½ΠΎΠ·Ρ ΠΈ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ²Ρ. ΠΠ°ΠΊ ΠΎΡΡΠ°Π²Π°ΡΡΡΡ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΎΡΠΏΠΎΡΠΎΠ±Π½ΡΠΌ Π² ΡΠΏΠΎΡ
Ρ ΡΠΈΡΡΠΎΠ²ΠΈΠ·Π°ΡΠΈΠΈ. Π½ΠΎΠ²ΡΠ΅ Π°Π³ΡΠΎ ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΡ
Erstellt am 08/03/25 um 20:18:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Herbertdom schrieb:
Erstellt am 08/04/25 um 19:18:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyDog schrieb:
Erstellt am 08/05/25 um 18:05:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/05/25 um 22:52:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/06/25 um 05:14:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/06/25 um 07:27:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/06/25 um 11:36:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
What's up Dear, are you really visiting this web site daily, if so then you will absolutely get pleasant know-how.
<a href=https://trovarefarmaciamigl...>Prezzi bassi farmaci online</a>
<a href=https://trovarefarmaciamigl...>Prezzi bassi farmaci online</a>
Erstellt am 08/06/25 um 15:05:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/06/25 um 16:48:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
I loved as much as you'll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this increase.
<a href=https://trovarefarmaciamigl...>Torna alla pagina principale</a>
<a href=https://trovarefarmaciamigl...>Torna alla pagina principale</a>
Erstellt am 08/06/25 um 18:06:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/07/25 um 00:48:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/07/25 um 06:15:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianemuts schrieb:
Erstellt am 08/07/25 um 13:23:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JulianHeart schrieb:
Erstellt am 08/07/25 um 21:17:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JulianHeart schrieb:
Erstellt am 08/08/25 um 11:06:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://bs2vveb.at>https://bs2vveb.at</a>
Erstellt am 08/08/25 um 17:32:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://m-bs2best.at>https://m-bs2best.at</a>
Erstellt am 08/08/25 um 22:25:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://bs2bet.at>https://bs2bet.at</a>
Erstellt am 08/09/25 um 03:42:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://bs2beast.cc>https://bs2beast.cc</a>
Erstellt am 08/09/25 um 08:20:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://bs-bsme.at>https://bs-bsme.at</a>
Erstellt am 08/09/25 um 20:40:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://b2best.at>https://b2best.at</a>
Erstellt am 08/11/25 um 19:01:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielGah schrieb:
<a href=https://bsme-at.at>https://bsme-at.at</a>
Erstellt am 08/11/25 um 22:53:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
FrankZoola schrieb:
<a href=https://t.me/brows_sevastop...>Π±ΡΠΎΠ²ΠΈ ΡΠΈΠΌΡΠ΅ΡΠΎΠΏΠΎΠ»Ρ</a> ΠΡΠΎΠ²ΠΈ Π‘ΠΈΠΌΡΠ΅ΡΠΎΠΏΠΎΠ»Ρ β ΡΡΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·Π°, Π΄ΠΎΡΡΡΠΏΠ½ΡΠΉ ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΠΆΠ΅Π½ΡΠΈΠ½Π΅. ΠΠΎΡΡΠ΅ΠΊΡΠΈΡ Π±ΡΠΎΠ²Π΅ΠΉ Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Ρ β Π²Π°ΠΆΠ½ΡΠΉ ΡΠ°Π³ ΠΊ ΡΠΎΠ²Π΅ΡΡΠ΅Π½ΡΡΠ²Ρ. Π‘Π΄Π΅Π»Π°ΡΡ Π±ΡΠΎΠ²ΠΈ Π² Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Π΅ β ΡΡΠΎ Π»Π΅Π³ΠΊΠΎ ΠΈ ΡΠ΄ΠΎΠ±Π½ΠΎ!
Erstellt am 08/12/25 um 21:32:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remont-kofemashin-13 schrieb:
ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠΎΡΠ΅ΠΌΠ°ΡΠΈΠ½ Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=https://remont-kofemashin1.ru/>https://remont-kofemashin1.ru</a>
Erstellt am 08/13/25 um 07:16:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remont-kofemashin-76 schrieb:
ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠΎΡΠ΅ΠΌΠ°ΡΠΈΠ½ nespresso <a href=https://remont-kofemashin1.ru/>ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠΎΡΠ΅ΠΌΠ°ΡΠΈΠ½Ρ siemens</a>
Erstellt am 08/13/25 um 07:53:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remont-shveynyh-mashin-367 schrieb:
ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ²Π΅ΠΉΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π·ΠΈΠ½Π³Π΅Ρ <a href=https://remont-shveynyh-mas...>ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ²Π΅ΠΉΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π² ΠΌΠΎΡΠΊΠ²Π΅</a>
Erstellt am 08/13/25 um 08:02:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remont-shveynyh-mashin-208 schrieb:
ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠ°ΡΡΡ
ΡΠ²Π΅ΠΉΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ <a href=https://remont-shveynyh-mas...>ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ²Π΅ΠΉΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π½Π° Π΄ΠΎΠΌΡ</a>
Erstellt am 08/13/25 um 08:41:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1c-oblako-367 schrieb:
1Ρ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ Π² ΠΎΠ±Π»Π°ΠΊΠ΅ <a href=https://1c-oblako-msk.ru/>ΠΎΠ±Π»Π°ΠΊΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΠΉ 1Ρ</a>
Erstellt am 08/13/25 um 09:05:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1c-oblako-460 schrieb:
Π²ΠΎΠΉΡΠΈ Π² 1Ρ ΡΠ΅ΡΠ΅Π· ΠΎΠ±Π»Π°ΠΊΠΎ <a href=https://1c-oblako-msk.ru/>1Ρ Π±ΡΡ
Π³Π°Π»ΡΠ΅ΡΠΈΡ Π² ΠΎΠ±Π»Π°ΠΊΠ΅</a>
Erstellt am 08/13/25 um 09:45:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarvinKit schrieb:
<a href=https://g.page/r/CfoBdTiIBK...>ΠΡΠΎΠΊΠ°Ρ Π°Π²ΡΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ Π½Π° ΠΌΠ΅ΡΡΡ</a>
Erstellt am 08/13/25 um 12:23:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarvinKit schrieb:
<a href=https://g.page/r/CfoBdTiIBK...>ΠΡΠ΅Π½Π΄Π° Π°Π²ΡΠΎ Π°ΡΡΠΎΠΏΠΎΡΡ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ</a>
Erstellt am 08/13/25 um 17:37:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamTieni schrieb:
<a href=https://t.me/subarendakomme...>ΠΡΡΡ ΠΏΠΎ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠ΅ΡΠΊΠΎΠΉ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ</a> ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π² ΡΡΠ΅ΡΠ΅ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ: Π‘ΡΠ°Π½ΡΡΠ΅ ΡΠ΅Π½Π½ΡΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠΌ. Π‘ΡΠ΅ΡΠ° Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ ΠΆΠ΄Π΅Ρ ΡΠ°Π»Π°Π½ΡΡ. ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ Π΄Π²Π΅ΡΠΈ ΠΊ Π²ΠΎΡΡΡΠ΅Π±ΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΈ ΠΈ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΌΡ Π΄ΠΎΡ
ΠΎΠ΄Ρ.
Erstellt am 08/13/25 um 21:19:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarvinKit schrieb:
<a href=https://g.page/r/CfoBdTiIBK...>ΠΡΠΎΠΊΠ°Ρ Π°Π²ΡΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ ΠΏΠΎΡΡΡΠΎΡΠ½ΠΎ</a>
Erstellt am 08/14/25 um 06:52:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesTor schrieb:
<a href=https://kazan.land/>ΡΠΊΡΠΊΡΡΡΠΈΠΈ ΠΏΠΎ ΠΊΠ°Π·Π°Π½ΠΈ</a> ΠΠΊΡΠΊΡΡΡΠΈΠΈ ΠΠ°Π·Π°Π½ΠΈ: ΠΡΠΊΡΠΎΠΉΡΠ΅ Π΄Π»Ρ Π‘Π΅Π±Ρ ΠΠ΅ΠΌΡΡΠΆΠΈΠ½Ρ Π’Π°ΡΠ°ΡΡΡΠ°Π½Π° ΠΠ°Π·Π°Π½Ρ β Π³ΠΎΡΠΎΠ΄ Ρ Π±ΠΎΠ³Π°ΡΠΎΠΉ ΠΈΡΡΠΎΡΠΈΠ΅ΠΉ, ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠΉ ΠΊΡΠ»ΡΡΡΡΠΎΠΉ ΠΈ Π·Π°Ρ
Π²Π°ΡΡΠ²Π°ΡΡΠ΅ΠΉ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠΎΠΉ. ΠΠΊΡΠΊΡΡΡΠΈΠΈ ΠΏΠΎ ΠΠ°Π·Π°Π½ΠΈ β ΡΡΠΎ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½Π°Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ³ΡΡΠ·ΠΈΡΡΡΡ Π² Π°ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΡΠΎΠ³ΠΎ ΡΠ΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΌΠ΅ΡΡΠ°, ΡΠ·Π½Π°ΡΡ Π΅Π³ΠΎ ΡΠ°ΠΉΠ½Ρ ΠΈ Π»Π΅Π³Π΅Π½Π΄Ρ. ΠΠ°ΡΠΈ ΡΠΊΡΠΊΡΡΡΠΈΠΈ ΠΎΡ
Π²Π°ΡΡΠ²Π°ΡΡ ΡΠ°ΠΌΡΠ΅ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠ΅ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ Π³ΠΎΡΠΎΠ΄Π°, ΠΎΡ ΠΠ°Π·Π°Π½ΡΠΊΠΎΠ³ΠΎ ΠΡΠ΅ΠΌΠ»Ρ, Π²Π½Π΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ Π² ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅ΠΌΠΈΡΠ½ΠΎΠ³ΠΎ Π½Π°ΡΠ»Π΅Π΄ΠΈΡ ΠΠΠΠ‘ΠΠ, Π΄ΠΎ ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΡ
ΡΠ»ΠΎΡΠ΅ΠΊ Π‘ΡΠ°ΡΠΎ-Π’Π°ΡΠ°ΡΡΠΊΠΎΠΉ ΡΠ»ΠΎΠ±ΠΎΠ΄Ρ. ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠ΅ΡΠ΅ΡΡ ΠΡΠ»-Π¨Π°ΡΠΈΡ, ΠΠ»Π°Π³ΠΎΠ²Π΅ΡΠ΅Π½ΡΠΊΠΈΠΉ ΡΠΎΠ±ΠΎΡ, Π±Π°ΡΠ½Ρ Π‘ΡΡΠΌΠ±ΠΈΠΊΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΠΊΡΠ»ΡΡΡΡΠ½ΡΠ΅ ΠΏΠ°ΠΌΡΡΠ½ΠΈΠΊΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ Π²ΠΈΠ΄Ρ ΡΠΊΡΠΊΡΡΡΠΈΠΉ, ΡΡΠΎΠ±Ρ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΌΠΎΠ³ Π²ΡΠ±ΡΠ°ΡΡ Π΄Π»Ρ ΡΠ΅Π±Ρ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ. ΠΡΠΎ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ»ΠΊΠΈ ΠΏΠΎ ΡΠ΅Π½ΡΡΡ Π³ΠΎΡΠΎΠ΄Π°, Π°Π²ΡΠΎΠ±ΡΡΠ½ΡΠ΅ ΡΡΡΡ ΠΏΠΎ ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΠΌ ΠΠ°Π·Π°Π½ΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΊΡΠΊΡΡΡΠΈΠΈ, ΠΏΠΎΡΠ²ΡΡΠ΅Π½Π½ΡΠ΅ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΡΠΌ Π°ΡΠΏΠ΅ΠΊΡΠ°ΠΌ ΠΈΡΡΠΎΡΠΈΠΈ ΠΈ ΠΊΡΠ»ΡΡΡΡΡ. ΠΠ°ΡΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ Π³ΠΈΠ΄Ρ β ΠΎΠΏΡΡΠ½ΡΠ΅ ΠΈ ΡΠ²Π»Π΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ²ΠΎΠΈΠΌ Π΄Π΅Π»ΠΎΠΌ Π»ΡΠ΄ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ ΠΏΠΎΠ΄Π΅Π»ΡΡΡΡ Ρ Π²Π°ΠΌΠΈ ΡΠ²ΠΎΠΈΠΌΠΈ Π·Π½Π°Π½ΠΈΡΠΌΠΈ ΠΈ ΠΎΡΠ²Π΅ΡΡΡ Π½Π° Π²ΡΠ΅ Π²Π°ΡΠΈ Π²ΠΎΠΏΡΠΎΡΡ. ΠΠ½ΠΈ ΡΠ°ΡΡΠΊΠ°ΠΆΡΡ Π²Π°ΠΌ ΠΎΠ± ΠΈΡΡΠΎΡΠΈΠΈ ΠΠ°Π·Π°Π½ΠΈ, Π΅Π΅ ΠΊΡΠ»ΡΡΡΡΠ΅, ΡΡΠ°Π΄ΠΈΡΠΈΡΡ
ΠΈ ΠΎΠ±ΡΡΠ°ΡΡ
, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΠΊΠ°ΠΆΡΡ Π²Π°ΠΌ ΡΠ°ΠΌΡΠ΅ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠ΅ ΠΌΠ΅ΡΡΠ° ΠΈ ΡΠ³ΠΎΠ»ΠΊΠΈ Π³ΠΎΡΠΎΠ΄Π°. ΠΠΊΡΠΊΡΡΡΠΈΠΈ ΠΏΠΎ ΠΠ°Π·Π°Π½ΠΈ β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΎΡΠΌΠΎΡΡ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ, ΡΡΠΎ Π½Π°ΡΡΠΎΡΡΠ΅Π΅ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ Π²ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π΅, ΠΊΠΎΡΠΎΡΠΎΠ΅ ΠΏΠΎΠ·Π²ΠΎΠ»ΠΈΡ Π²Π°ΠΌ ΠΏΠΎΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ Π΄ΡΡ
ΡΡΠΎΠ³ΠΎ ΡΠ΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ Π³ΠΎΡΠΎΠ΄Π° ΠΈ Π½Π°Π²ΡΠ΅Π³Π΄Π° ΠΏΠΎΠ»ΡΠ±ΠΈΡΡ Π΅Π³ΠΎ. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ Π½Π°ΡΠΈΠΌ ΡΠΊΡΠΊΡΡΡΠΈΡΠΌ ΠΈ ΠΎΡΠΊΡΠΎΠΉΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΠ°Π·Π°Π½Ρ Π²ΠΎ Π²ΡΠ΅ΠΉ Π΅Π΅ ΠΊΡΠ°ΡΠ΅!
Erstellt am 08/14/25 um 12:25:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamTieni schrieb:
<a href=https://t.me/subarendakomme...>ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ ΠΠΎΡΠΊΠ²Π°</a> ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ: ΠΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² Π»ΠΈΡΠ½ΡΠΉ ΡΡΠΏΠ΅Ρ
. ΠΠ½Π°Π½ΠΈΡ β Π°ΠΊΡΠΈΠ², ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡΠΈΠΉ ΠΏΡΠΈΠ½ΠΈΠΌΠ°ΡΡ Π²Π΅ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ ΠΈΠ·Π±Π΅Π³Π°ΡΡ ΠΎΡΠΈΠ±ΠΎΠΊ.
Erstellt am 08/14/25 um 13:30:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesTor schrieb:
<a href=https://kazan.land/>ΡΠΊΡΠΊΡΡΡΠΈΠΈ ΠΊΠ°Π·Π°Π½ΠΈ</a> ΠΠ°Π·Π°Π½ΡΠΊΠΈΠΉ ΠΠΎΠΎΠ±ΠΎΡΠ°Π½ΠΈΡΠ΅ΡΠΊΠΈΠΉ Π‘Π°Π΄: Π£Π΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΠΈΡ ΠΠΈΠ²ΠΎΡΠ½ΡΡ
ΠΈ Π Π°ΡΡΠ΅Π½ΠΈΠΉ ΠΠ°Π·Π°Π½ΡΠΊΠΈΠΉ Π·ΠΎΠΎΠ±ΠΎΡΠ°Π½ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ°Π΄ β ΡΡΠΎ ΠΌΠ΅ΡΡΠΎ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΡ
ΠΆΠΈΠ²ΠΎΡΠ½ΡΡ
ΠΈ ΡΠ°ΡΡΠ΅Π½ΠΈΠΉ ΡΠΎ Π²ΡΠ΅Π³ΠΎ ΠΌΠΈΡΠ°. ΠΠ΄Π΅ΡΡ ΠΎΠ±ΠΈΡΠ°ΡΡ ΡΠΈΠ³ΡΡ, ΡΠ»ΠΎΠ½Ρ, ΠΎΠ±Π΅Π·ΡΡΠ½Ρ, ΠΏΡΠΈΡΡ ΠΈ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ Π΄ΡΡΠ³ΠΈΠ΅ ΠΆΠΈΠ²ΠΎΡΠ½ΡΠ΅. ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ»ΡΡΡΡΡ ΠΏΠΎ ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΠΌ Π°Π»Π»Π΅ΡΠΌ, ΡΠ²ΠΈΠ΄Π΅ΡΡ ΡΠΊΠ·ΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΈΡ ΠΈ ΡΠ·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ ΠΏΡΠΈΡΠΎΠ΄Π΅. ΠΠΎΠΎΠ±ΠΎΡΠ°Π½ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ°Π΄ β ΡΡΠΎ ΠΎΡΠ»ΠΈΡΠ½ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΠΏΠΎΠ·Π½Π°Π²Π°ΡΠ΅Π»ΡΠ½ΡΡ
ΡΠΊΡΠΊΡΡΡΠΈΠΉ.
Erstellt am 08/14/25 um 23:09:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesTor schrieb:
<a href=https://kazan.land/>ΡΠΊΡΠΊΡΡΡΠΈΠΈ ΠΏΠΎ ΠΊΠ°Π·Π°Π½ΠΈ</a> ΠΠ»Π°Π³ΠΎΠ²Π΅ΡΠ΅Π½ΡΠΊΠΈΠΉ Π‘ΠΎΠ±ΠΎΡ: ΠΠ΅Π»ΠΈΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΠ°ΠΌΡΡΠ½ΠΈΠΊ ΠΡΠ°Π²ΠΎΡΠ»Π°Π²ΠΈΡ ΠΠ»Π°Π³ΠΎΠ²Π΅ΡΠ΅Π½ΡΠΊΠΈΠΉ ΡΠΎΠ±ΠΎΡ β ΡΡΠΎ ΠΎΠ΄ΠΈΠ½ ΠΈΠ· ΡΡΠ°ΡΠ΅ΠΉΡΠΈΡ
ΠΏΡΠ°Π²ΠΎΡΠ»Π°Π²Π½ΡΡ
Ρ
ΡΠ°ΠΌΠΎΠ² ΠΠ°Π·Π°Π½ΠΈ, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΡΠΉ Π½Π° ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠΈ ΠΠ°Π·Π°Π½ΡΠΊΠΎΠ³ΠΎ ΠΡΠ΅ΠΌΠ»Ρ. ΠΠ½ ΡΠ²Π»ΡΠ΅ΡΡΡ Π²Π°ΠΆΠ½ΡΠΌ ΠΏΠ°ΠΌΡΡΠ½ΠΈΠΊΠΎΠΌ ΡΡΡΡΠΊΠΎΠΉ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ ΠΈ ΠΈΡΡΠΎΡΠΈΠΈ. Π‘ΠΎΠ±ΠΎΡ ΠΏΠΎΡΠ°ΠΆΠ°Π΅Ρ ΡΠ²ΠΎΠΈΠΌ Π²Π΅Π»ΠΈΡΠΈΠ΅ΠΌ ΠΈ ΠΊΡΠ°ΡΠΎΡΠΎΠΉ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΠΎΡΠ΅ΡΠΈΡΡ Π΅Π³ΠΎ, ΡΡΠΎΠ±Ρ ΠΏΡΠΈΠΊΠΎΡΠ½ΡΡΡΡΡ ΠΊ ΠΈΡΡΠΎΡΠΈΠΈ ΠΏΡΠ°Π²ΠΎΡΠ»Π°Π²ΠΈΡ Π² Π’Π°ΡΠ°ΡΡΡΠ°Π½Π΅.
Erstellt am 08/15/25 um 06:29:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pomoshch-yurista-455 schrieb:
ΡΡΠΈΡΡΡ Π² ΠΌΠΎΡΠΊΠ²Π΅ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ <a href=https://pomoshch-yurista-on...>Π±Π΅ΡΠΏΠ»Π°ΡΠ½Π°Ρ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΏΠΎΠΌΠΎΡΡ ΡΡΠΈΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 08/15/25 um 08:32:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pomoshch-yurista-374 schrieb:
ΠΏΠΎΠΌΠΎΡΡ ΡΡΠΈΡΡΠ° Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=https://pomoshch-yurista-on...>ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ</a>
Erstellt am 08/15/25 um 08:36:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
podsistema-entiliruemogo-fasada-123 schrieb:
ΠΡΠΆΠ΅Π½ Π²Π΅Π½ΡΠΈΠ»ΠΈΡΡΠ΅ΠΌΡΠΉ ΡΠ°ΡΠ°Π΄: <a href=https://podsistema-dlya-ven...>ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΏΠΎΠ΄ΡΠΈΡΡΠ΅ΠΌΠ° Π΄Π»Ρ Π²Π΅Π½ΡΠΈΠ»ΠΈΡΡΠ΅ΠΌΠΎΠ³ΠΎ ΡΠ°ΡΠ°Π΄Π°</a>
Erstellt am 08/15/25 um 09:06:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
podsistema-entiliruemogo-fasada-189 schrieb:
ΠΡΠΆΠ΅Π½ Π²Π΅Π½ΡΠΈΠ»ΠΈΡΡΠ΅ΠΌΡΠΉ ΡΠ°ΡΠ°Π΄: <a href=https://podsistema-dlya-ven...>ΠΏΠΎΠ΄ΡΠΈΡΡΠ΅ΠΌΠ° Π΄Π»Ρ Π²Π΅Π½ΡΠΈΠ»ΠΈΡΡΠ΅ΠΌΠΎΠ³ΠΎ ΡΠ°ΡΠ°Π΄Π° ΠΈΠ· ΠΏΡΠΎΡΠ»ΠΈΡΡΠ°</a>
Erstellt am 08/15/25 um 09:10:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
plastikovye-okna-9 schrieb:
ΠΡΠΆΠ½Ρ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°: <a href=https://plastikovye-okna162...>ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ ΡΠ΅Π½Π°</a>
Erstellt am 08/15/25 um 09:13:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
plastikovye-okna-615 schrieb:
ΠΡΠΆΠ½Ρ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°: <a href=https://plastikovye-okna162...>Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°</a>
Erstellt am 08/15/25 um 09:17:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesTor schrieb:
<a href=https://kazan.land/>ΡΠΊΡΠΊΡΡΡΠΈΡ ΠΊΠ°Π·Π°Π½Ρ</a> Π¦Π΅Π½ΡΡ ΡΠ΅ΠΌΡΠΈ "ΠΠ°Π·Π°Π½": ΠΠ΅Π»ΠΈΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΠ²ΠΎΡΠ΅Ρ ΠΈ ΠΠ°Π½ΠΎΡΠ°ΠΌΠ½ΡΠ΅ ΠΠΈΠ΄Ρ Π¦Π΅Π½ΡΡ ΡΠ΅ΠΌΡΠΈ "ΠΠ°Π·Π°Π½" β ΡΡΠΎ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ Π·Π΄Π°Π½ΠΈΠ΅, Π²ΡΠΏΠΎΠ»Π½Π΅Π½Π½ΠΎΠ΅ Π² ΡΠΎΡΠΌΠ΅ ΠΊΠΎΡΠ»Π°, ΠΊΠΎΡΠΎΡΠΎΠ΅ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΎΠ΄Π½ΠΈΠΌ ΠΈΠ· ΡΠ°ΠΌΡΡ
ΡΠ·Π½Π°Π²Π°Π΅ΠΌΡΡ
ΡΠΈΠΌΠ²ΠΎΠ»ΠΎΠ² ΠΠ°Π·Π°Π½ΠΈ. ΠΠ΄Π΅ΡΡ ΠΏΡΠΎΡ
ΠΎΠ΄ΡΡ ΡΠΎΡΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΡΠ΅ΠΌΠΎΠ½ΠΈΠΈ Π±ΡΠ°ΠΊΠΎΡΠΎΡΠ΅ΡΠ°Π½ΠΈΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΎΠΏΡΠΈΡΡΠΈΡ. Π‘ Π²Π΅ΡΡ
Π½ΠΈΡ
ΠΏΠ»ΠΎΡΠ°Π΄ΠΎΠΊ ΡΠ΅Π½ΡΡΠ° ΠΎΡΠΊΡΡΠ²Π°ΡΡΡΡ Π·Π°Ρ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΠ΅ ΠΏΠ°Π½ΠΎΡΠ°ΠΌΠ½ΡΠ΅ Π²ΠΈΠ΄Ρ Π½Π° Π³ΠΎΡΠΎΠ΄. ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΠ°Π·Π°Π½ΡΠΊΠΈΠΉ ΠΡΠ΅ΠΌΠ»Ρ, ΡΠ΅ΠΊΡ ΠΠ°Π·Π°Π½ΠΊΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ.
Erstellt am 08/15/25 um 12:58:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesTor schrieb:
<a href=https://g.co/kgs/k8wNAX7>ΠΡΠ΅Π½Π΄Π° Π°Π²ΡΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ</a> ΠΡΠΎΠΊΠ°Ρ Π°Π²ΡΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ Π½Π° ΠΌΠ΅ΡΡΡ: ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π΄Π»ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΠΏΠΎΠ΅Π·Π΄ΠΎΠΊ ΠΡΠΎΠΊΠ°Ρ Π°Π²ΡΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ Π½Π° ΠΌΠ΅ΡΡΡ β ΡΡΠΎ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΈ ΡΠ²ΠΎΠ±ΠΎΠ΄Π° ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
Ρ
Π»ΠΎΠΏΠΎΡ.
Erstellt am 08/15/25 um 16:06:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Alfredfuh schrieb:
<a href=https://igrozavod.ru/>https://igrozavod.ru/</a> ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΏΡΠ΅Π²ΡΡΠ΅ Π²ΡΠ΅Π³ΠΎ: ΠΠ°ΡΠΈΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ ΡΠΈΡΡΠΎΠ²ΠΎΠΉ ΠΌΠΈΡ ΠΡΠ±ΠΈΡΠ°Ρ Π»Π΅Π³Π°Π»ΡΠ½ΡΠ΅ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Ρ ΡΠΊΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΠΈΠ³Ρ, Π²Ρ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅ΡΠ΅ ΡΠ°Π·ΡΠ°Π±ΠΎΡΡΠΈΠΊΠΎΠ² ΠΈ ΡΠΏΠΎΡΠΎΠ±ΡΡΠ²ΡΠ΅ΡΠ΅ ΡΠ°Π·Π²ΠΈΡΠΈΡ ΠΈΠ½Π΄ΡΡΡΡΠΈΠΈ, Π½ΠΎ ΠΈ Π·Π°ΡΠΈΡΠ°Π΅ΡΠ΅ ΡΠ²ΠΎΠΉ ΠΊΠΎΠΌΠΏΡΡΡΠ΅Ρ ΠΎΡ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΡΠ½ΡΡ
ΡΠ³ΡΠΎΠ·. ΠΠΎΠΌΠ½ΠΈΡΠ΅, ΡΡΠΎ Π²Π°ΡΠ° Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ β ΡΡΠΎ ΠΏΡΠΈΠΎΡΠΈΡΠ΅Ρ Π½ΠΎΠΌΠ΅Ρ ΠΎΠ΄ΠΈΠ½.
Erstellt am 08/15/25 um 19:30:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Alfredfuh schrieb:
<a href=https://igrozavod.ru/>ΡΠΊΠ°ΡΠ°ΡΡ ΠΈΠ³ΡΡ ΠΏΠΎ ΠΏΡΡΠΌΠΎΠΉ ΡΡΡΠ»ΠΊΠ΅</a> Π‘ΠΊΠ°ΡΠ°ΡΡ ΠΈΠ³ΡΡ ΠΏΠΎ ΠΏΡΡΠΌΠΎΠΉ ΡΡΡΠ»ΠΊΠ΅: ΠΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΈΠ³ΡΠΎΠ²ΡΠΌ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΡΠΌ ΠΡΡΠΌΡΠ΅ ΡΡΡΠ»ΠΊΠΈ β ΡΡΠΎ ΡΠ²ΠΎΠ΅Π³ΠΎ ΡΠΎΠ΄Π° VIP-ΠΏΡΠΎΠΏΡΡΠΊ Π² ΠΌΠΈΡ ΠΈΠ³ΡΠΎΠ²ΠΎΠ³ΠΎ ΠΊΠΎΠ½ΡΠ΅Π½ΡΠ°. ΠΠΈΠΊΠ°ΠΊΠΈΡ
ΡΠ»ΠΎΠΆΠ½ΡΡ
ΠΏΡΠΎΡΠ΅Π΄ΡΡ, ΡΡΠΎΠΌΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ ΠΈΠ»ΠΈ ΡΠΈΡΠΊΠΎΠ², ΡΠ²ΡΠ·Π°Π½Π½ΡΡ
Ρ ΡΠΎΡΡΠ΅Π½Ρ-ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌΠΈ. ΠΡΠΎΡΡΠΎ Π½Π°ΠΆΠΌΠΈΡΠ΅ Π½Π° ΡΡΡΠ»ΠΊΡ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡΠ΅ΡΡ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΡΠΌ Π΄ΠΎΡΡΡΠΏΠΎΠΌ ΠΊ ΠΆΠ΅Π»Π°Π΅ΠΌΠΎΠΉ ΠΈΠ³ΡΠ΅. ΠΡΠΎ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΈ ΡΡΡΠ΅ΠΌΠΈΡΡΡ ΠΊ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΠΈ.
Erstellt am 08/16/25 um 05:27:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
delivery-ny-983 schrieb:
new york freight <a href=https://delivery-new-york.com/>ny delivery</a>
Erstellt am 08/16/25 um 09:55:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
delivery-ny-684 schrieb:
freight shipping ny <a href=https://delivery-new-york.com/>shipping new york to australia</a>
Erstellt am 08/16/25 um 09:58:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
At this time it appears like Expression Engine is the preferred blogging platform available right now. (from what I've read) Is that what you are using on your blog?
<a href="https://bestlimorates.com">Black car near me</a>
<a href="https://bestlimorates.com">Black car near me</a>
Erstellt am 08/16/25 um 17:14:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Hello it's me, I am also visiting this web site regularly, this web page is really nice and the people are truly sharing fastidious thoughts.
https://polygraph.od.ua/cho...
https://polygraph.od.ua/cho...
Erstellt am 08/18/25 um 05:29:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
delivery-new-york-209 schrieb:
freight companies nyc <a href=https://delivery-new-york.com/>shipping in nyc</a>
Erstellt am 08/18/25 um 07:18:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
delivery-new-york-343 schrieb:
ny delivery <a href=https://delivery-new-york.com/>trucking in nyc</a>
Erstellt am 08/18/25 um 07:21:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
Currently it appears like Movable Type is the top blogging platform out there right now. (from what I've read) Is that what you are using on your blog?
http://talktome.com.ua/chas...
http://talktome.com.ua/chas...
Erstellt am 08/18/25 um 10:06:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Hi there just wanted to give you a quick heads up and let you know a few of the pictures aren't loading properly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same outcome.
https://vps.com.ua/sklo-far...
https://vps.com.ua/sklo-far...
Erstellt am 08/19/25 um 00:58:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
Hi there i am kavin, its my first occasion to commenting anywhere, when i read this post i thought i could also create comment due to this good piece of writing.
http://kvn-tehno.com.ua/ohl...
http://kvn-tehno.com.ua/ohl...
Erstellt am 08/19/25 um 05:46:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hello terrific website! Does running a blog like this require a lot of work? I have absolutely no understanding of programming but I was hoping to start my own blog soon. Anyhow, if you have any ideas or techniques for new blog owners please share. I understand this is off subject however I just needed to ask. Many thanks!
https://cipres.cl/sklo-fary...
https://cipres.cl/sklo-fary...
Erstellt am 08/19/25 um 15:06:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Attractive portion of content. I simply stumbled upon your website and in accession capital to assert that I acquire in fact loved account your weblog posts. Any way I'll be subscribing in your feeds or even I fulfillment you get entry to constantly quickly.
https://slovakia.kiev.ua/ch...
https://slovakia.kiev.ua/ch...
Erstellt am 08/20/25 um 03:38:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
May I simply say what a comfort to find a person that genuinely knows what they're discussing on the web. You certainly understand how to bring an issue to light and make it important. More and more people need to look at this and understand this side of the story. It's surprising you aren't more popular because you definitely have the gift.
https://thecrimea.org.ua/us...
https://thecrimea.org.ua/us...
Erstellt am 08/20/25 um 08:16:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ocenochnaya-kompaniya-27 schrieb:
ΠΎΡΠ΅Π½ΠΎΡΠ½Π°Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΠΎΡΠΊΠ²Π° <a href=https://ocenochnaya-kompani...>ΠΎΡΠ΅Π½ΠΊΠ° ΠΠΎΡΠΊΠ²Π°</a>
Erstellt am 08/21/25 um 07:03:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ocenochnaya-kompaniya-521 schrieb:
ΠΎΡΠ΅Π½ΠΊΠ° ΠΎΠΎΠΎ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π°ΠΆΠΈ <a href=https://ocenochnaya-kompani...>Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΎΡΠ΅Π½ΠΊΡ ΠΠΎΡΠΊΠ²Π°</a>
Erstellt am 08/21/25 um 07:11:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
XrumerDus schrieb:
ΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅!
ΠΠΎΠ»Π³ΠΎ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π» ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ TF trust flow ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ² ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Π₯ΡΡΠΌΠ΅ΡΠΎΠΌ - https://www.bing.com/search...
ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠ΅ΡΠ΅Π· ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΡΡ ΡΡΡΠ»ΠΎΡΠ½ΡΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ. Π£Π»ΡΡΡΠ΅Π½ΠΈΠ΅ ΡΡΡΠ»ΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠΈΠ»Ρ Ρ Xrumer Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΌ. ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΡΡΠ»ΠΎΠΊ ΡΡΠΊΠΎΡΡΠ΅Ρ ΡΠΎΡΡ DR. Xrumer: Π½Π°ΡΡΡΠΎΠΉΠΊΠ° Π΄Π»Ρ SEO Π΄Π΅Π»Π°Π΅Ρ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠΉ. ΠΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ DR ΡΠ°ΠΉΡΠ° Π·Π° Π½Π΅Π΄Π΅Π»Ρ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΡΠΌ.
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΎΡ ΡΠ°ΠΉΡΠ° ΠΈ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅, seo ΠΌΠΈΡ, Π’Π΅Ρ Π½ΠΈΠΊΠΈ ΡΠ²Π΅Π»ΠΈΡΠ΅Π½ΠΈΡ ΡΡΡΠ»ΠΎΡΠ½ΠΎΠΉ ΠΌΠ°ΡΡΡ
Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΈΠ»ΠΈ, ΡΠ΅ΠΎ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ° ΠΌΠΎΡΠΊΠ²Π° Π² ΡΠΎΠΏ, ΡΠ°ΠΉΡΡ Π΄Π»Ρ ΡΠ΅ΠΎ Π°Π½Π°Π»ΠΈΠ·Π° ΡΠ°ΠΉΡΠ°
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
ΠΠΎΠ»Π³ΠΎ Π°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π» ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ TF trust flow ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ² ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Π₯ΡΡΠΌΠ΅ΡΠΎΠΌ - https://www.bing.com/search...
ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠ΅ΡΠ΅Π· ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΡΡ ΡΡΡΠ»ΠΎΡΠ½ΡΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ. Π£Π»ΡΡΡΠ΅Π½ΠΈΠ΅ ΡΡΡΠ»ΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠΈΠ»Ρ Ρ Xrumer Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΌ. ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΡΡΠ»ΠΎΠΊ ΡΡΠΊΠΎΡΡΠ΅Ρ ΡΠΎΡΡ DR. Xrumer: Π½Π°ΡΡΡΠΎΠΉΠΊΠ° Π΄Π»Ρ SEO Π΄Π΅Π»Π°Π΅Ρ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠΉ. ΠΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ DR ΡΠ°ΠΉΡΠ° Π·Π° Π½Π΅Π΄Π΅Π»Ρ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΡΠΌ.
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΎΡ ΡΠ°ΠΉΡΠ° ΠΈ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅, seo ΠΌΠΈΡ, Π’Π΅Ρ Π½ΠΈΠΊΠΈ ΡΠ²Π΅Π»ΠΈΡΠ΅Π½ΠΈΡ ΡΡΡΠ»ΠΎΡΠ½ΠΎΠΉ ΠΌΠ°ΡΡΡ
Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΈΠ»ΠΈ, ΡΠ΅ΠΎ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ° ΠΌΠΎΡΠΊΠ²Π° Π² ΡΠΎΠΏ, ΡΠ°ΠΉΡΡ Π΄Π»Ρ ΡΠ΅ΠΎ Π°Π½Π°Π»ΠΈΠ·Π° ΡΠ°ΠΉΡΠ°
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
Erstellt am 08/22/25 um 00:52:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AhrefsPem schrieb:
ΠΡΠΈΠ²Π΅Ρ Π²ΡΠ΅ΠΌ!
ΠΠΎΠ»Π³ΠΎ Π΄ΡΠΌΠ°Π» ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ TF trust flow ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Xrumer - https://www.bing.com/search...
ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΏΠΎΠ΄ Π±ΡΡΠΆ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠΉΡΠΈ Π½Π° Π·Π°ΡΡΠ±Π΅ΠΆΠ½ΡΠ΅ ΡΡΠ½ΠΊΠΈ. ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΉ ΡΠΎΡΡ DR. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ ΠΎΡΠΊΡΡΠ²Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π΄Π»Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΊΡΠΏΠΈΡΡ ΠΌΠΎΠΆΠ½ΠΎ Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠΎΡΡΠΌ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π±Π°Π·Ρ ΡΡΡΠ»ΠΎΠΊ.
Π²ΠΈΠ΄Ρ seo ΡΠ΅ΠΊΠ»Π°ΠΌΡ, seo shin, Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠΎΡΡΠΌ
ΠΠ°ΠΊ ΡΠ²Π΅Π»ΠΈΡΠΈΡΡ DR ΡΠ°ΠΉΡΠ°, ΡΠ΅ΠΎ ΡΠ΅ΠΊΡΡΠ° ΠΊΠ°ΠΊ ΠΏΠΈΡΠ°ΡΡ, ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ seo Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΊΡΡΡ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
ΠΠΎΠ»Π³ΠΎ Π΄ΡΠΌΠ°Π» ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ TF trust flow ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΠΎΡΠ»ΠΈΡΠ½ΡΡ ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Xrumer - https://www.bing.com/search...
ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΏΠΎΠ΄ Π±ΡΡΠΆ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠΉΡΠΈ Π½Π° Π·Π°ΡΡΠ±Π΅ΠΆΠ½ΡΠ΅ ΡΡΠ½ΠΊΠΈ. ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΉ ΡΠΎΡΡ DR. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ ΠΎΡΠΊΡΡΠ²Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π΄Π»Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΊΡΠΏΠΈΡΡ ΠΌΠΎΠΆΠ½ΠΎ Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠΎΡΡΠΌ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π±Π°Π·Ρ ΡΡΡΠ»ΠΎΠΊ.
Π²ΠΈΠ΄Ρ seo ΡΠ΅ΠΊΠ»Π°ΠΌΡ, seo shin, Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠΎΡΡΠΌ
ΠΠ°ΠΊ ΡΠ²Π΅Π»ΠΈΡΠΈΡΡ DR ΡΠ°ΠΉΡΠ°, ΡΠ΅ΠΎ ΡΠ΅ΠΊΡΡΠ° ΠΊΠ°ΠΊ ΠΏΠΈΡΠ°ΡΡ, ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ seo Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΊΡΡΡ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
Erstellt am 08/22/25 um 10:52:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randyabsep schrieb:
<a href=https://bleskmet.ru/>ΠΏΠ΅ΡΠΈΠ»Π° Π΄Π»Ρ Π»Π΅ΡΡΠ½ΠΈΡ ΠΈΠ· Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ΅ΠΉ ΡΡΠ°Π»ΠΈ ΡΠ΅Π½Π°</a> ΠΠ³ΡΠ°ΠΆΠ΄Π΅Π½ΠΈΡ ΠΈΠ· Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ΅ΠΉ ΡΡΠ°Π»ΠΈ β ΡΡΠΎ ΡΡΠΈΠ»ΡΠ½ΠΎΠ΅ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π»Π΅ΡΡΠ½ΠΈΡ, Π±Π°Π»ΠΊΠΎΠ½ΠΎΠ² ΠΈ Π΄ΡΡΠ³ΠΈΡ
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ.
Erstellt am 08/22/25 um 11:52:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AhrefsPem schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ!
ΠΠΎΠ»Π³ΠΎ Π»ΠΎΠΌΠ°Π» Π³ΠΎΠ»ΠΎΠ²Ρ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ Π² ΡΠΎΠΏ ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ ΠΊΡΡΡΡΡ seo,
ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ² ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ Π»ΡΡΡΠΈΠΉ ΠΏΡΠΎΠ³ΠΎΠ½ Xrumer - https://www.bing.com/search...
ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΡ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΡΡΡΠ»ΠΎΠΊ Ρ Xrumer ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΈΠ»Ρ. Xrumer: Π½Π°ΡΡΡΠΎΠΉΠΊΠ° ΠΈ Π·Π°ΠΏΡΡΠΊ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΡΠ°Π±ΠΎΡΡ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π³Π΄Π΅ Π±ΡΠ°ΡΡ ΡΡΡΠ»ΠΊΠΈ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΎΡΠ΅Π²ΠΈΠ΄Π½ΡΠΌ ΡΠ΅ΡΠ΅Π· Π±Π°Π·Ρ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ Π²Π΅Π±-ΠΌΠ°ΡΡΠ΅ΡΠΎΠ². ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ ΠΏΠΎΠ½ΡΡΡ ΠΏΡΠΎΡΠ΅ΡΡ.
ΠΊ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ², ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΡΠ°ΠΉΡΠ° ΠΏΠΎΠ·ΠΈΡΠΈΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, Π‘Π΅ΠΊΡΠ΅ΡΡ ΡΠ°Π±ΠΎΡΡ Ρ Xrumer
ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Xrumer Π² 2025, Π°Π½Π°Π»ΠΈΠ· ΡΠ΅ΠΎ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ° Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
ΠΠΎΠ»Π³ΠΎ Π»ΠΎΠΌΠ°Π» Π³ΠΎΠ»ΠΎΠ²Ρ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ Π² ΡΠΎΠΏ ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ ΠΊΡΡΡΡΡ seo,
ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ² ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ Π»ΡΡΡΠΈΠΉ ΠΏΡΠΎΠ³ΠΎΠ½ Xrumer - https://www.bing.com/search...
ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΡ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΡΡΡΠ»ΠΎΠΊ Ρ Xrumer ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΡΡΡ ΠΏΡΠΎΡΠΈΠ»Ρ. Xrumer: Π½Π°ΡΡΡΠΎΠΉΠΊΠ° ΠΈ Π·Π°ΠΏΡΡΠΊ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΡΠ°Π±ΠΎΡΡ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π³Π΄Π΅ Π±ΡΠ°ΡΡ ΡΡΡΠ»ΠΊΠΈ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΎΡΠ΅Π²ΠΈΠ΄Π½ΡΠΌ ΡΠ΅ΡΠ΅Π· Π±Π°Π·Ρ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ Π²Π΅Π±-ΠΌΠ°ΡΡΠ΅ΡΠΎΠ². ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ ΠΏΠΎΠ½ΡΡΡ ΠΏΡΠΎΡΠ΅ΡΡ.
ΠΊ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ², ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΡΠ°ΠΉΡΠ° ΠΏΠΎΠ·ΠΈΡΠΈΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, Π‘Π΅ΠΊΡΠ΅ΡΡ ΡΠ°Π±ΠΎΡΡ Ρ Xrumer
ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Xrumer Π² 2025, Π°Π½Π°Π»ΠΈΠ· ΡΠ΅ΠΎ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠ° Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
Erstellt am 08/22/25 um 11:57:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vps-hosting-369 schrieb:
cheap vps hosting <a href=https://vpsserverhosting1.com/>server host vps</a>
Erstellt am 08/22/25 um 14:01:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vps-hosting-640 schrieb:
server host vps <a href=https://vpsserverhosting1.com/>vps host</a>
Erstellt am 08/22/25 um 14:09:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randyabsep schrieb:
<a href=https://bleskmet.ru/>ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΠ΅ Π΄Π»Ρ ΠΏΠ΅ΡΠΈΠ» ΠΈΠ· Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ΅ΠΉ ΡΡΠ°Π»ΠΈ</a> ΠΠ΅ΡΠΈΠ»Π° ΠΈΠ· Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ΅ΠΉ ΡΡΠ°Π»ΠΈ β ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ, Π½Π΅ ΡΡΠ΅Π±ΡΡΡΠ°Ρ ΠΎΡΠΎΠ±ΠΎΠ³ΠΎ ΡΡ
ΠΎΠ΄Π° ΠΈ ΡΠΎΡ
ΡΠ°Π½ΡΡΡΠ°Ρ ΡΠ²ΠΎΠΉ ΠΏΠ΅ΡΠ²ΠΎΠ½Π°ΡΠ°Π»ΡΠ½ΡΠΉ Π²ΠΈΠ΄ Π½Π° Π΄ΠΎΠ»Π³ΠΈΠ΅ Π³ΠΎΠ΄Ρ.
Erstellt am 08/22/25 um 17:57:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kosmetologicheskoe-oborudovanie-110 schrieb:
Π»Π°ΠΌΠΏΠ° Π΄Π»Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΎΠ»ΠΎΠ³Π° <a href=https://kosmetologicheskoe-...>ΡΡΡΠ» Π΄Π»Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΎΠ»ΠΎΠ³Π°</a>
Erstellt am 08/22/25 um 18:00:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kosmetologicheskoe-oborudovanie-204 schrieb:
ΡΠΈΡΠΌΠ° ΠΊΠΎΡΠΌΠ΅ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠ°Ρ <a href=https://kosmetologicheskoe-...>ΠΊΡΠ΅ΡΠ»ΠΎ ΠΊΠΎΡΠΌΠ΅ΡΠΎΠ»ΠΎΠ³Π° Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠΏΡΠΈΠ²ΠΎΠ΄ΠΎΠΌ</a>
Erstellt am 08/22/25 um 18:08:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertocen schrieb:
<a href=https://trip-scan.win/>tripskan</a> Tripskan β ΡΡΠΎ Π²Π°Ρ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠΉ Π³ΠΈΠ΄ ΠΏΠΎ ΠΌΠΈΡΡ, Π³ΠΎΡΠΎΠ²ΡΠΉ ΠΎΡΠ²Π΅ΡΠΈΡΡ Π½Π° Π»ΡΠ±ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΏΠΎΠΌΠΎΡΡ Π² Π»ΡΠ±ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ.
Erstellt am 08/22/25 um 18:15:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldrab schrieb:
<a href=https://www.med2.ru/story.p...>https://www.med2.ru/story.php?id=147095</a>
Erstellt am 08/22/25 um 18:34:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Johnnybypow schrieb:
<a href=https://sonturkhaber.com/>https://sonturkhaber.com/</a>
Erstellt am 08/22/25 um 23:01:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldrab schrieb:
<a href=http://www.rosmed.ru/annonc...>http://www.rosmed.ru/annonce/show/3892/Kak_podgotovitsya_k_pervomu_vizitu_v_stomatologicheskuyu_kliniku</a>
Erstellt am 08/23/25 um 01:58:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertocen schrieb:
<a href=https://trip-scan.win/>ΡΡΠΈΠΏ ΡΠΊΠ°Π½</a> Π’ΡΠΈΠΏΡΠΊΠ°Π½ β ΡΡΠΎ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ Π΅Π΄ΠΈΠ½ΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΈΠΊΠΎΠ², Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π΄Π΅Π»ΠΈΡΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ, ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΡΠΎΠ²Π΅ΡΡ ΠΈ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ Π½ΠΎΠ²ΡΡ
Π΄ΡΡΠ·Π΅ΠΉ.
Erstellt am 08/23/25 um 06:27:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
beton saratov 694 schrieb:
Π±Π΅ΡΠΎΠ½ Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ <a href=https://beton-saratov64.ru/>Π±Π΅ΡΠΎΠ½ ΡΠ°ΡΠ°ΡΠΎΠ²</a>
Erstellt am 08/23/25 um 20:49:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
beton saratov 219 schrieb:
1 ΠΌ3 Π±Π΅ΡΠΎΠ½Π° ΡΠΊΠΎΠ»ΡΠΊΠΎ <a href=https://beton-saratov64.ru/>ΡΠ΅Π½Ρ Π±Π΅ΡΠΎΠ½ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ</a>
Erstellt am 08/23/25 um 20:57:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntwanKenly schrieb:
<a href=https://vk.ru/tdbbcr>ΠΡΠΏΠΈΡΡ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊ Π΄Π»Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠ΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ</a> ΠΠΎΠΈΡΠΊ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΡΡ
ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ² β Π·Π°Π΄Π°ΡΠ°, ΡΡΠ΅Π±ΡΡΡΠ°Ρ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π°. ΠΠ°ΠΆΠ½ΠΎ ΡΡΠΈΡΡΠ²Π°ΡΡ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ, ΡΡΠ»ΠΎΠ²ΠΈΡ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ ΠΈ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ ΠΊ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ.
Erstellt am 08/24/25 um 06:43:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DrrankRix schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ!
ΠΠΎΠ»Π³ΠΎ Π»ΠΎΠΌΠ°Π» Π³ΠΎΠ»ΠΎΠ²Ρ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ ΠΠΠ‘ Π―Π½Π΄Π΅ΠΊΡΠ° ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΠΏΡΠΎΡΠΈ ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Π₯ΡΡΠΌΠ΅ΡΠΎΠΌ - https://www.bing.com/search...
Π§ΡΠΎ ΡΠ°ΠΊΠΎΠ΅ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠ·Π½Π°ΡΡ Π½ΠΎΠ²ΠΈΡΠΊΠΈ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ SEO ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎ ΠΏΠΎΠ²ΡΡΠ°ΡΡ Π°Π²ΡΠΎΡΠΈΡΠ΅Ρ ΡΠ°ΠΉΡΠ°. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ Π²Π΅Π±-ΠΌΠ°ΡΡΠ΅ΡΠ°. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΠΎ ΠΏΡΠΎΡΡΡΠΌΠΈ ΡΠ»ΠΎΠ²Π°ΠΌΠΈ ΠΎΠ±ΡΡΡΠ½ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠΉ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ.
ΡΠ°ΠΉΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎΠΉ ΡΠ°ΡΠΊΡΡΡΠΊΠΈ ΡΠ°ΠΉΡΠ°, seo ΠΏΠΎ ΡΠ°ΠΉΡΡ, Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠ»ΡΠ³Π°
Xrumer ΡΠΎΡΡΠΌΠ½ΡΠΉ ΡΠΏΠ°ΠΌ, seo kokoc, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² ΠΌΠ΅ΡΠΎΠ΄Ρ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
ΠΠΎΠ»Π³ΠΎ Π»ΠΎΠΌΠ°Π» Π³ΠΎΠ»ΠΎΠ²Ρ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π½ΡΡΡ ΡΠ°ΠΉΡ ΠΈ ΡΠ²ΠΎΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π½Π°ΡΠ°ΡΡΠΈΡΡ ΠΠΠ‘ Π―Π½Π΄Π΅ΠΊΡΠ° ΠΈ ΡΠ·Π½Π°Π» ΠΎΡ Π΄ΡΡΠ·Π΅ΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²,
ΠΏΡΠΎΡΠΈ ΡΠ΅Π±ΡΡ, ΠΈΠΌΠ΅Π½Π½ΠΎ ΠΎΠ½ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π»ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΈ Π³Π»Π°Π²Π½ΠΎΠ΅ top ΠΏΡΠΎΠ³ΠΎΠ½ Π₯ΡΡΠΌΠ΅ΡΠΎΠΌ - https://www.bing.com/search...
Π§ΡΠΎ ΡΠ°ΠΊΠΎΠ΅ Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΠ·Π½Π°ΡΡ Π½ΠΎΠ²ΠΈΡΠΊΠΈ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ SEO ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎ ΠΏΠΎΠ²ΡΡΠ°ΡΡ Π°Π²ΡΠΎΡΠΈΡΠ΅Ρ ΡΠ°ΠΉΡΠ°. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ Π²Π΅Π±-ΠΌΠ°ΡΡΠ΅ΡΠ°. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΠΎ ΠΏΡΠΎΡΡΡΠΌΠΈ ΡΠ»ΠΎΠ²Π°ΠΌΠΈ ΠΎΠ±ΡΡΡΠ½ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ. ΠΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠΎ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠΉ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ.
ΡΠ°ΠΉΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎΠΉ ΡΠ°ΡΠΊΡΡΡΠΊΠΈ ΡΠ°ΠΉΡΠ°, seo ΠΏΠΎ ΡΠ°ΠΉΡΡ, Π»ΠΈΠ½ΠΊΠ±ΠΈΠ»Π΄ΠΈΠ½Π³ ΡΡΠ»ΡΠ³Π°
Xrumer ΡΠΎΡΡΠΌΠ½ΡΠΉ ΡΠΏΠ°ΠΌ, seo kokoc, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² ΠΌΠ΅ΡΠΎΠ΄Ρ
!!Π£Π΄Π°ΡΠΈ ΠΈ ΡΠΎΡΡΠ° Π² ΡΠΎΠΏΠ°Ρ !!
Erstellt am 08/24/25 um 12:39:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntwanKenly schrieb:
<a href=https://vk.ru/tdbbcr>ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊ Π΄Π»Ρ ΠΊΠΎΠ½Π²Π΅ΠΉΠ΅ΡΠ°</a> ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ² Π½Π°ΠΏΡΡΠΌΡΡ Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ β ΡΡΠΎ ΠΎΡΡΡΡΡΡΠ²ΠΈΠ΅ ΠΏΠΎΡΡΠ΅Π΄Π½ΠΈΠΊΠΎΠ² ΠΈ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΈΠ· ΠΏΠ΅ΡΠ²ΡΡ
ΡΡΠΊ, Ρ ΠΏΠΎΠ»Π½ΠΎΠΉ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡΡ Π² ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΈ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠΈ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ.
Erstellt am 08/24/25 um 14:28:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Haroldlic schrieb:
<a href=https://tdbbc.ru/>ΠΠ·Π³ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»Ρ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ²</a> ΠΠ°ΡΠ°Π»ΠΎΠ³ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ² ΠΏΠΎ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΠΌ: Π½Π°Π²ΠΈΠ³Π°ΡΠΎΡ Π² ΠΌΠΈΡΠ΅ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ²
Erstellt am 08/24/25 um 23:55:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Haroldlic schrieb:
<a href=https://tdbbc.ru/>ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠΈ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ² Π² ΡΠΎΡΡΠΈΠΈ</a> ΠΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΈ Π΄Π»Ρ ΠΏΠΈΡΠ΅Π²ΠΎΠΉ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΎΡΡΠΈ: ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ ΠΊ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ
Erstellt am 08/25/25 um 05:02:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesGog schrieb:
<a href=https://kwikplay.ru/>Ρ
ΠΎΡΠΎΡΠΈΠ΅ ΠΈΠ³ΡΠΎΠ²ΡΠ΅ ΠΏΠΊ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ</a> : ΠΠ°ΡΠ΅ΠΌ ΠΏΠ»Π°ΡΠΈΡΡ Π±ΠΎΠ»ΡΡΠ΅
Erstellt am 08/25/25 um 06:23:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelLef schrieb:
<a href=https://tripscan41.cc/>ΡΡΠΈΠΏΡΠΊΠ°Π½</a> ΠΡ Π·Π°Π±ΠΎΡΠΈΠΌΡΡ ΠΎΠ± ΠΎΠΊΡΡΠΆΠ°ΡΡΠ΅ΠΉ ΡΡΠ΅Π΄Π΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅ΠΌ ΡΡΡΠΎΠΉΡΠΈΠ²ΡΠΉ ΡΡΡΠΈΠ·ΠΌ. ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΡΠΊΠΎ-ΠΎΡΠ΅Π»ΠΈ ΠΈ ΡΡΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ Π½Π΅ Π½Π°Π½ΠΎΡΡΡ Π²ΡΠ΅Π΄Π° ΠΏΡΠΈΡΠΎΠ΄Π΅, ΠΈ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΡΠΉΡΠ΅ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΠΎ.
Erstellt am 08/25/25 um 09:53:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesGog schrieb:
<a href=https://kwikplay.ru/>ΡΠ±ΠΎΡΠΊΠ° ΡΡΠ΅Π΄Π½Π΅Π³ΠΎ ΠΏΠΊ Π΄Π»Ρ ΠΈΠ³Ρ Π² 2025</a> : ΠΡΠΏΠΈΡΡ ΠΊΠΎΠΌΠΏΡΡΡΠ΅Ρ Π»Π΅Π³ΠΊΠΎ: Π‘Π΄Π΅Π»Π°ΠΉΡΠ΅ Π²ΡΠ±ΠΎΡ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡΠ΅ΡΡ Π½ΠΎΠ²ΡΠΌ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ΠΌ.
Erstellt am 08/25/25 um 11:38:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Thank you a bunch for sharing this with all folks you really realize what you are speaking approximately! Bookmarked. Kindly also seek advice from my website =). We may have a hyperlink trade contract among us
<a href="https://cabseattle.com/limo...">Seattle Limo Service</a>
<a href="https://cabseattle.com/limo...">Seattle Limo Service</a>
Erstellt am 08/25/25 um 11:41:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelLef schrieb:
<a href=https://tripscan41.cc/>tripskan</a> Π‘Π°ΠΉΡ ΡΡΠΈΠΏΡΠΊΠ°Π½: ΠΡΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ°
Erstellt am 08/25/25 um 19:20:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Virgildrike schrieb:
<a href=https://t.me/zachashkoichay...>ΠΠΎΠ²ΠΎΡΡΠΈ</a> ΠΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΠ½ΡΠΉ ΠΏΡΠΎΡΠ΅ΡΡ, ΠΈΠ½ΠΈΡΠΈΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ Ρ ΡΠ΅Π»ΡΡ ΡΡΠ΅Π³ΡΠ»ΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π‘ΠΠ, ΡΡΠ°Π»ΠΊΠΈΠ²Π°Π΅ΡΡΡ Ρ ΡΠ΅ΡΡΠ΅Π·Π½ΡΠΌΠΈ ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡΠΌΠΈ. ΠΡΡΠΈΠ½ ΠΈ ΠΠ΅Π»Π΅Π½ΡΠΊΠΈΠΉ, ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΡ ΠΏΡΠΎΡΠΈΠ²ΠΎΠΏΠΎΠ»ΠΎΠΆΠ½ΡΠ΅ ΡΡΠΎΡΠΎΠ½Ρ ΠΊΠΎΠ½ΡΠ»ΠΈΠΊΡΠ°, Π΄ΠΎΠ»ΠΆΠ½Ρ Π½Π°ΠΉΡΠΈ ΡΠΎΡΠΊΠΈ ΡΠΎΠΏΡΠΈΠΊΠΎΡΠ½ΠΎΠ²Π΅Π½ΠΈΡ. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΠΊΠ°ΠΊ ΠΈΡΠΊΡΡΡΡΠ²ΠΎ ΠΊΠΎΠΌΠΏΡΠΎΠΌΠΈΡΡΠ°, ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΡ Π½ΠΈΡ
ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ Π³ΠΈΠ±ΠΊΠΎΡΡΠΈ ΠΈ Π³ΠΎΡΠΎΠ²Π½ΠΎΡΡΠΈ ΠΈΠ΄ΡΠΈ Π½Π° ΡΡΡΡΠΏΠΊΠΈ. Π€ΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ Π°ΡΠΏΠ΅ΠΊΡΡ ΡΠ°ΠΊΠΆΠ΅ ΠΈΠ³ΡΠ°ΡΡ ΠΊΠ»ΡΡΠ΅Π²ΡΡ ΡΠΎΠ»Ρ. ΠΠΊΠΎΠ½ΠΎΠΌΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠΎΡΠ»Π΅Π΄ΡΡΠ²ΠΈΡ Π‘ΠΠ ΠΎΡΡΡΠ°ΡΡΡΡ Π²ΠΎ Π²ΡΠ΅ΠΌ ΠΌΠΈΡΠ΅, Π° Π½Π΅ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΡΡΡ Π½Π° ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ
ΡΡΠ½ΠΊΠ°Ρ
ΡΠΎΠ·Π΄Π°Π΅Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ Π½Π°ΠΏΡΡΠΆΠ΅Π½Π½ΠΎΡΡΡ. ΠΠ²ΡΠΎΠΏΠ°, ΠΠ·ΠΈΡ ΠΈ ΠΠΌΠ΅ΡΠΈΠΊΠ° ΡΡΠ°ΡΠ°ΡΡΡΡ Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°ΡΡΡΡ ΠΊ Π½ΠΎΠ²ΡΠΌ ΡΠ΅Π°Π»ΠΈΡΠΌ, ΠΈΡΡΡ Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π½ΡΠ΅ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΈ ΡΠ½Π΅ΡΠ³ΠΈΠΈ ΠΈ ΠΏΠ΅ΡΠ΅ΡΡΡΠ°ΠΈΠ²Π°ΡΡ Π»ΠΎΠ³ΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΠΏΠΎΡΠΊΠΈ. ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΠΎΠ±ΠΎΡΠΎΠ½Π° ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ ΠΏΡΠΈΠΎΡΠΈΡΠ΅ΡΠ½ΡΠΌΠΈ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡΠΌΠΈ Π³ΠΎΡΡΠ΄Π°ΡΡΡΠ²Π΅Π½Π½ΠΎΠΉ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΈ. ΠΠΎΠ²ΠΎΡΡΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ Π½Π°ΠΌ ΡΠ»Π΅Π΄ΠΈΡΡ Π·Π° ΡΠ°Π·Π²ΠΈΡΠΈΠ΅ΠΌ ΡΠΎΠ±ΡΡΠΈΠΉ ΠΈ ΠΎΡΠ΅Π½ΠΈΠ²Π°ΡΡ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΡΠΈΡΠΊΠΈ.
Erstellt am 08/25/25 um 22:15:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Virgildrike schrieb:
<a href=https://t.me/zachashkoichay...>ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ</a> Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½Π°Ρ Π²ΠΎΠ΅Π½Π½Π°Ρ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΡ (Π‘ΠΠ) Π² ΠΊΠΎΡΠ½Π΅ ΠΈΠ·ΠΌΠ΅Π½ΠΈΠ»Π° Π³Π΅ΠΎΠΏΠΎΠ»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠΉ Π»Π°Π½Π΄ΡΠ°ΡΡ. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ° ΠΏΡΠ΅Π²ΡΠ°ΡΠΈΠ»Π°ΡΡ Π² Π°ΡΠ΅Π½Ρ ΠΎΠΆΠ΅ΡΡΠΎΡΠ΅Π½Π½ΠΎΠΉ Π±ΠΎΡΡΠ±Ρ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΠΎΠ΅ Π΄Π΅ΠΉΡΡΠ²ΠΈΠ΅, ΠΊΠ°ΠΆΠ΄ΠΎΠ΅ ΡΠ»ΠΎΠ²ΠΎ ΠΈΠΌΠ΅Π΅Ρ Π²Π΅Ρ. ΠΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ, Π² ΠΊΠΎΡΠΎΡΡΡ
ΠΊΠ»ΡΡΠ΅Π²ΡΠ΅ ΡΠΎΠ»ΠΈ ΠΈΠ³ΡΠ°ΡΡ ΠΠ»Π°Π΄ΠΈΠΌΠΈΡ ΠΡΡΠΈΠ½ ΠΈ ΠΠ»Π°Π΄ΠΈΠΌΠΈΡ ΠΠ΅Π»Π΅Π½ΡΠΊΠΈΠΉ, ΡΡΠ°Π»ΠΈ ΡΠΈΠΌΠ²ΠΎΠ»ΠΎΠΌ Π½Π°Π΄Π΅ΠΆΠ΄Ρ Π½Π° ΠΌΠΈΡΠ½ΠΎΠ΅ ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΊΠΎΠ½ΡΠ»ΠΈΠΊΡΠ°, Π½ΠΎ ΠΈ ΠΎΡΡΠ°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ Π³Π»ΡΠ±ΠΎΠΊΠΈΡ
ΠΏΡΠΎΡΠΈΠ²ΠΎΡΠ΅ΡΠΈΠΉ. Π€ΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠΉ Π°ΡΠΏΠ΅ΠΊΡ Π‘ΠΠ ΠΎΠΊΠ°Π·Π°Π» ΠΌΠΎΡΠ½ΠΎΠ΅ Π²Π»ΠΈΡΠ½ΠΈΠ΅ Π½Π° ΠΌΠΈΡΠΎΠ²ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΡ. Π‘Π°Π½ΠΊΡΠΈΠΈ, Π²ΠΎΠ»Π°ΡΠΈΠ»ΡΠ½ΠΎΡΡΡ ΡΡΠ½ΠΊΠΎΠ², ΠΏΠ΅ΡΠ΅Π±ΠΎΠΈ Π² ΠΏΠΎΡΡΠ°Π²ΠΊΠ°Ρ
β Π²ΡΠ΅ ΡΡΠΎ ΡΠΎΠ·Π΄Π°Π΅Ρ ΡΠ΅ΡΡΠ΅Π·Π½ΡΠ΅ Π²ΡΠ·ΠΎΠ²Ρ Π΄Π»Ρ ΠΠ²ΡΠΎΠΏΡ, ΠΠ·ΠΈΠΈ ΠΈ ΠΠΌΠ΅ΡΠΈΠΊΠΈ. ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΈ ΠΎΠ±ΠΎΡΠΎΠ½Π° Π²ΡΡΠ»ΠΈ Π½Π° ΠΏΠ΅ΡΠ²ΡΠΉ ΠΏΠ»Π°Π½, Π·Π°ΡΡΠ°Π²Π»ΡΡ ΡΡΡΠ°Π½Ρ ΠΏΠ΅ΡΠ΅ΡΠΌΠ°ΡΡΠΈΠ²Π°ΡΡ ΡΠ²ΠΎΡ Π²ΠΎΠ΅Π½Π½ΡΡ ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ ΠΈ ΡΠΊΡΠ΅ΠΏΠ»ΡΡΡ ΠΎΠ±ΠΎΡΠΎΠ½ΠΎΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡ. ΠΠ°Π²ΠΊΠ°Π· ΠΈ ΠΠ»ΠΈΠΆΠ½ΠΈΠΉ ΠΠΎΡΡΠΎΠΊ, Π²ΡΠ΅Π³Π΄Π° Π½Π°Ρ
ΠΎΠ΄ΠΈΠ²ΡΠΈΠ΅ΡΡ Π² Π·ΠΎΠ½Π΅ ΠΏΠΎΠ²ΡΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΡΠΈΡΠΊΠ°, ΡΡΠΎΠ»ΠΊΠ½ΡΠ»ΠΈΡΡ Ρ ΠΎΠ±ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ΠΌ ΡΡΡΠ΅ΡΡΠ²ΡΡΡΠΈΡ
ΠΊΠΎΠ½ΡΠ»ΠΈΠΊΡΠΎΠ² ΠΈ Π²ΠΎΠ·Π½ΠΈΠΊΠ½ΠΎΠ²Π΅Π½ΠΈΠ΅ΠΌ Π½ΠΎΠ²ΡΡ
ΡΠ³ΡΠΎΠ·. Π ΡΡΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΠΉ ΠΎΠ±ΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° Π΄ΠΎΠ»ΠΆΠ½Ρ Π±ΡΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΎΠ±ΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠΌΠΈ ΠΈ Π½Π΅ΠΏΡΠ΅Π΄Π²Π·ΡΡΡΠΌΠΈ, ΡΡΠΎΠ±Ρ Π»ΡΠ΄ΠΈ ΠΌΠΎΠ³Π»ΠΈ ΡΠΎΡΡΠ°Π²ΠΈΡΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΌΠ½Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΡΠΈΠ½ΡΡΡ Π²Π·Π²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 08/26/25 um 00:46:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Thomasvap schrieb:
<a href=https://dzen.ru/id/685ab307...>ΠΈΡΡΠΎΡΠΈΠΈ ΠΎΠ±ΡΡΠ½ΡΡ
Π»ΡΠ΄Π΅ΠΉ ΠΎ Π²ΠΎΠΉΠ½Π΅</a> ΠΡΡΠΎΡΠΈΠΈ ΠΈΠ· ΠΆΠΈΠ·Π½ΠΈ ΠΎΠ±ΡΡΠ½ΡΡ
Π»ΡΠ΄Π΅ΠΉ ΡΠΌΠ΅ΡΠ½ΡΠ΅ Π‘ΠΌΠ΅Ρ
β Π»ΡΡΡΠ΅Π΅ Π»Π΅ΠΊΠ°ΡΡΡΠ²ΠΎ, ΠΈ ΠΈΡΡΠΎΡΠΈΠΈ, Π½Π°ΠΏΠΎΠ»Π½Π΅Π½Π½ΡΠ΅ ΡΠΌΠΎΡΠΎΠΌ ΠΈ ΡΠ°ΠΌΠΎΠΈΡΠΎΠ½ΠΈΠ΅ΠΉ, ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π½Π°ΠΌ ΡΠΏΡΠ°Π²Π»ΡΡΡΡΡ Ρ ΡΡΡΠ΄Π½ΠΎΡΡΡΠΌΠΈ ΠΈ ΡΠΌΠΎΡΡΠ΅ΡΡ Π½Π° ΠΆΠΈΠ·Π½Ρ Ρ ΠΎΠΏΡΠΈΠΌΠΈΠ·ΠΌΠΎΠΌ. ΠΡΡΡΠ΅Π·Π½ΡΠ΅ ΡΠ»ΡΡΠ°ΠΈ, Π½Π΅Π»Π΅ΠΏΡΠ΅ ΡΠΈΡΡΠ°ΡΠΈΠΈ ΠΈ Π·Π°Π±Π°Π²Π½ΡΠ΅ Π½Π΅Π΄ΠΎΡΠ°Π·ΡΠΌΠ΅Π½ΠΈΡ β Π²ΡΠ΅ ΡΡΠΎ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΏΠΎΠ²ΠΎΠ΄ΠΎΠΌ Π΄Π»Ρ ΡΠ»ΡΠ±ΠΊΠΈ ΠΈ Π½Π°ΠΏΠΎΠΌΠΈΠ½Π°Π΅Ρ Π½Π°ΠΌ ΠΎ ΡΠΎΠΌ, ΡΡΠΎ Π΄Π°ΠΆΠ΅ Π² ΡΠ΅ΡΡΡ
Π±ΡΠ΄Π½ΡΡ
Π΅ΡΡΡ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ Π²Π΅ΡΠ΅Π»ΡΡ.
Erstellt am 08/26/25 um 20:03:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Haroldulcew schrieb:
<a href=https://tg.ecoskfo.ru/>ΠΊΠ°Π²ΠΊΠ°Π· ΠΊΡΠ΄Π° ΠΏΠΎΠ΅Ρ
Π°ΡΡ ΠΎΡΠ΄ΡΡ
Π°ΡΡ</a> ΠΠ΅ΡΠ±Π΅Π½Ρ β ΠΎΠ΄ΠΈΠ½ ΠΈΠ· Π΄ΡΠ΅Π²Π½Π΅ΠΉΡΠΈΡ
Π³ΠΎΡΠΎΠ΄ΠΎΠ² Π ΠΎΡΡΠΈΠΈ, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΡΠΉ Π½Π° Π±Π΅ΡΠ΅Π³Ρ ΠΠ°ΡΠΏΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΠΌΠΎΡΡ. ΠΠ»Π°Π²Π½ΡΠ΅ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ β ΠΊΡΠ΅ΠΏΠΎΡΡΡ ΠΠ°ΡΡΠ½-ΠΠ°Π»Π°, Π΄ΡΠ΅Π²Π½ΠΈΠ΅ ΠΌΠ΅ΡΠ΅ΡΠΈ, Π±Π°Π½ΠΈ ΠΈ ΠΌΠ°Π²Π·ΠΎΠ»Π΅ΠΈ. ΠΡΠΎΠ³ΡΠ»ΡΠΉΡΠ΅ΡΡ ΠΏΠΎ ΡΠ·ΠΊΠΈΠΌ ΡΠ»ΠΎΡΠΊΠ°ΠΌ ΡΡΠ°ΡΠΎΠ³ΠΎ Π³ΠΎΡΠΎΠ΄Π° ΠΈ ΠΎΠΊΡΠ½ΠΈΡΠ΅ΡΡ Π² Π°ΡΠΌΠΎΡΡΠ΅ΡΡ Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΉ ΡΠΊΠ°Π·ΠΊΠΈ. ΠΠΎΠΌΠ±Π°ΠΉ ΡΡΡΡ
Erstellt am 08/26/25 um 21:20:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WillieHax schrieb:
<a href=https://t.me/zachashkoichay...>https://t.me/zachashkoichaya_books</a> ΠΠΈΡΠ΅ΡΠ°ΡΡΡΠ°, ΠΊΠ°ΠΊ ΡΠΏΠΎΡΠΎΠ± Π²ΡΡΠ°Π·ΠΈΡΡ ΡΠ΅Π±Ρ
Erstellt am 08/26/25 um 22:32:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Thomasvap schrieb:
<a href=https://dzen.ru/id/685ab307...>ΠΎΠ±ΡΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ Π»ΡΠ΄Π΅ΠΉ</a> Π£Π΄ΠΈΠ²ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ ΠΎΠ±ΡΡΠ½ΡΡ
Π»ΡΠ΄Π΅ΠΉ (ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ΅Π½ΠΈΠ΅)
Erstellt am 08/26/25 um 23:38:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Haroldulcew schrieb:
<a href=https://tg.ecoskfo.ru/>ΠΏΠΎΡΠ΅ΠΌΡ ΡΡΠΎΠΈΡ ΠΏΠΎΠ΅Ρ
Π°ΡΡ Π² Π΄Π°Π³Π΅ΡΡΠ°Π½</a> ΠΠΎΡ
ΠΎΠ΄ Π² Π³ΠΎΡΡ ΠΠ°Π²ΠΊΠ°Π·Π°
Erstellt am 08/27/25 um 00:39:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WillieHax schrieb:
<a href=https://t.me/zachashkoichay...>ΠΠ½ΠΈΠ³ΠΈ</a> ΠΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΌΠΎΡΠ°Π»ΡΠ½ΡΡ
Π΄ΠΈΠ»Π΅ΠΌΠΌ Π² Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ΅
Erstellt am 08/27/25 um 03:45:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Harveywar schrieb:
<a href=https://dadfencing.com/the-...>wood fence repair</a> Wood Privacy Fence Cost Be sure to plan your financing accurately.
Erstellt am 08/27/25 um 15:08:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Harveywar schrieb:
<a href=https://dadfencing.com/>wood fencing suppliers near me</a> Wooden Gates Prices The market is competitive.
Erstellt am 08/27/25 um 18:48:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
I loved as much as you will receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an impatience over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this increase.
<a href=https://http-kra38.cc/>https://http-kra38.cc/</a>
<a href=https://http-kra38.cc/>https://http-kra38.cc/</a>
Erstellt am 08/27/25 um 18:57:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jeromeavece schrieb:
<a href=https://kitehurghada.ru/>ΠΊΠ°ΠΉΡΡΡΡΡΠΈΠ½Π³</a>
Erstellt am 08/27/25 um 21:27:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jeromeavece schrieb:
<a href=https://kitehurghada.ru/>ΠΊΠ°ΠΉΡ</a>
Erstellt am 08/28/25 um 01:08:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
Hey this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding skills so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!
<a href=https://http-kra38.cc/>https://http-kra38.cc/</a>
<a href=https://http-kra38.cc/>https://http-kra38.cc/</a>
Erstellt am 08/28/25 um 09:30:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remontkomand-192 schrieb:
ΠΠ»Π°Π½ΠΈΡΡΠ΅ΡΠ΅ ΡΠ΅ΠΌΠΎΠ½Ρ <a href=https://remontkomand.kz/>https://remontkomand.kz</a> Π² ΠΠ»ΠΌΠ°ΡΡ ΠΈ Π±ΠΎΠΈΡΠ΅ΡΡ ΡΠΊΡΡΡΡΡ
ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ? ΠΠΏΡΠ±Π»ΠΈΠΊΠΎΠ²Π°Π»ΠΈ ΠΏΠΎΠ»Π½ΡΠΉ ΠΈ ΡΠ΅ΡΡΠ½ΡΠΉ ΠΏΡΠ°ΠΉΡ-Π»ΠΈΡΡ! Π£Π·Π½Π°ΠΉΡΠ΅ ΡΠΎΡΠ½ΡΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΊΠΈ Π½Π° Π²ΡΠ΅ Π²ΠΈΠ΄Ρ ΡΠ°Π±ΠΎΡ β ΠΎΡ Π΄Π΅ΠΌΠΎΠ½ΡΠ°ΠΆΠ° Π΄ΠΎ ΡΠΈΡΡΠΎΠ²ΠΎΠΉ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ. ΠΠΎΡΡΠΈΡΠ°ΠΉΡΠ΅ ΡΡΠΎΠΈΠΌΠΎΡΡΡ ΡΠ²ΠΎΠ΅Π³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π·Π°ΡΠ°Π½Π΅Π΅ ΠΈ ΡΠ±Π΅Π΄ΠΈΡΠ΅ΡΡ Π² Π½Π°ΡΠ΅ΠΉ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΠΈΠΊΠ°ΠΊΠΈΡ
Β«ΡΡΡΠΏΡΠΈΠ·ΠΎΠ²Β» Π² ΠΈΡΠΎΠ³ΠΎΠ²ΠΎΠΉ ΡΠΌΠ΅ΡΠ΅!
Erstellt am 08/30/25 um 11:47:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
remontkomand-313 schrieb:
ΠΠ»Π°Π½ΠΈΡΡΠ΅ΡΠ΅ ΡΠ΅ΠΌΠΎΠ½Ρ <a href=https://remontkomand.kz/>https://remontkomand.kz</a> Π² ΠΠ»ΠΌΠ°ΡΡ ΠΈ Π±ΠΎΠΈΡΠ΅ΡΡ ΡΠΊΡΡΡΡΡ
ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ? ΠΠΏΡΠ±Π»ΠΈΠΊΠΎΠ²Π°Π»ΠΈ ΠΏΠΎΠ»Π½ΡΠΉ ΠΈ ΡΠ΅ΡΡΠ½ΡΠΉ ΠΏΡΠ°ΠΉΡ-Π»ΠΈΡΡ! Π£Π·Π½Π°ΠΉΡΠ΅ ΡΠΎΡΠ½ΡΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΊΠΈ Π½Π° Π²ΡΠ΅ Π²ΠΈΠ΄Ρ ΡΠ°Π±ΠΎΡ β ΠΎΡ Π΄Π΅ΠΌΠΎΠ½ΡΠ°ΠΆΠ° Π΄ΠΎ ΡΠΈΡΡΠΎΠ²ΠΎΠΉ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ. ΠΠΎΡΡΠΈΡΠ°ΠΉΡΠ΅ ΡΡΠΎΠΈΠΌΠΎΡΡΡ ΡΠ²ΠΎΠ΅Π³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π·Π°ΡΠ°Π½Π΅Π΅ ΠΈ ΡΠ±Π΅Π΄ΠΈΡΠ΅ΡΡ Π² Π½Π°ΡΠ΅ΠΉ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΠΈΠΊΠ°ΠΊΠΈΡ
Β«ΡΡΡΠΏΡΠΈΠ·ΠΎΠ²Β» Π² ΠΈΡΠΎΠ³ΠΎΠ²ΠΎΠΉ ΡΠΌΠ΅ΡΠ΅!
Erstellt am 08/30/25 um 11:51:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi there to every body, it's my first pay a visit of this web site; this webpage carries amazing and truly good stuff designed for visitors.
https://autostill.com.ua/za...
https://autostill.com.ua/za...
Erstellt am 09/02/25 um 22:33:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I'll be subscribing to your feeds and even I achievement you access consistently rapidly.
https://cancer.com.ua/pohod...
https://cancer.com.ua/pohod...
Erstellt am 09/03/25 um 03:14:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
second hand-80 schrieb:
Looking for second-hand? <a href=https://www.thrift-shops-ne...>thrift store near me</a> We have collected the best stores with clothes, shoes and accessories. Large selection, unique finds, brands at low prices. Convenient catalog and up-to-date contacts.
Erstellt am 09/05/25 um 16:22:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
second hand-8 schrieb:
Looking for second-hand? <a href=https://www.thrift-shops-ne...>second hand</a> We have collected the best stores with clothes, shoes and accessories. Large selection, unique finds, brands at low prices. Convenient catalog and up-to-date contacts.
Erstellt am 09/05/25 um 17:31:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
second hand-752 schrieb:
Looking for second-hand? <a href=https://www.thrift-shops-ne...>second hand store near me</a> We have collected the best stores with clothes, shoes and accessories. Large selection, unique finds, brands at low prices. Convenient catalog and up-to-date contacts.
Erstellt am 09/06/25 um 06:42:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
I savour, cause I discovered exactly what I was taking a look for. You have ended my four day lengthy hunt! God Bless you man. Have a great day. Bye
<a href=https://kra39cc.at/>kra39 cc</a>
<a href=https://kra39cc.at/>kra39 cc</a>
Erstellt am 09/07/25 um 01:29:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi, I think your website might be having browser compatibility issues. When I look at your blog in Opera, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog!
<a href=https://kra39cc.at/>kra39 cc</a>
<a href=https://kra39cc.at/>kra39 cc</a>
Erstellt am 09/07/25 um 03:43:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Excellent pieces. Keep writing such kind of info on your site. Im really impressed by your site.
Hey there, You have performed an excellent job. I'll certainly digg it and for my part suggest to my friends. I'm confident they will be benefited from this site.
<a href=https://kra39at.org/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΠ°ΠΉΡ</a>
Hey there, You have performed an excellent job. I'll certainly digg it and for my part suggest to my friends. I'm confident they will be benefited from this site.
<a href=https://kra39at.org/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΠ°ΠΉΡ</a>
Erstellt am 09/07/25 um 20:13:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Howdy fantastic website! Does running a blog like this take a great deal of work? I have very little understanding of coding but I was hoping to start my own blog in the near future. Anyway, if you have any recommendations or techniques for new blog owners please share. I understand this is off subject however I simply had to ask. Many thanks!
<a href=https://kra39at.org/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
<a href=https://kra39at.org/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
Erstellt am 09/07/25 um 22:27:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkoe-porno-652 schrieb:
ΡΡΡΡΠΊΠΎΠ΅ ΠΏΠΎΡΠ½ΠΎ Π·ΡΠ΅Π»ΡΡ
<a href=https://russkoe-porno1.ru/>ΡΡΡΡΠΊΠΎΠ΅ ΠΏΠΎΡΠ½ΠΎ</a>
Erstellt am 09/08/25 um 08:01:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkoe-porno-994 schrieb:
ΡΡΡΡΠΊΠΎΠ΅ ΠΏΠΎΡΠ½ΠΎ ΠΌΠΆΠΌ <a href=https://russkoe-porno1.ru/>https://russkoe-porno1.ru</a>
Erstellt am 09/08/25 um 08:01:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
russkoe-porno-905 schrieb:
ΡΡΡΡΠΊΠΈΠ΅ ΠΏΠΎΡΠ½ΠΎ ΡΠΎΠ»ΠΈΠΊΠΈ <a href=https://russkoe-porno1.ru/>ΡΡΡΡΠΊΠΎΠ΅ ΠΏΠΎΡΠ½ΠΎ ΠΊΠΎΠ½ΡΠ°ΡΡ</a>
Erstellt am 09/08/25 um 08:11:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
porno-514 schrieb:
Want to have fun? <a href=https://apk-melbeten.com/>hack apk</a> Watch porn, buy heroin or ecstasy. Pick up whores or buy marijuana. Come in, we're waiting
Erstellt am 09/08/25 um 08:35:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
porno-551 schrieb:
Want to have fun? <a href=https://apk-melbeten.com/en...>porno melbet</a> Watch porn, buy heroin or ecstasy. Pick up whores or buy marijuana. Come in, we're waiting
Erstellt am 09/08/25 um 08:36:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
porno-405 schrieb:
Want to have fun? <a href=https://apk-melbeten.com/>porno melbet</a> Watch porn, buy heroin or ecstasy. Pick up whores or buy marijuana. Come in, we're waiting
Erstellt am 09/08/25 um 08:46:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Thank you for sharing your thoughts. I truly appreciate your efforts and I will be waiting for your further post thank you once again.
<a href=https://lkra39.at/>https://lkra39.at/</a>
<a href=https://lkra39.at/>https://lkra39.at/</a>
Erstellt am 09/10/25 um 13:51:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I will be subscribing to your feeds and even I achievement you access consistently fast.
<a href=https://lkra39.at/>kra39 at</a>
<a href=https://lkra39.at/>kra39 at</a>
Erstellt am 09/10/25 um 19:38:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Hello mates, its great post regarding tutoringand completely defined, keep it up all the time.
https://vodamarket.od.ua/ya...
https://vodamarket.od.ua/ya...
Erstellt am 09/11/25 um 10:57:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hi i am kavin, its my first time to commenting anyplace, when i read this article i thought i could also make comment due to this sensible article.
https://lummi.com.ua/porivn...
https://lummi.com.ua/porivn...
Erstellt am 09/11/25 um 13:14:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardHOORN schrieb:
<p>ΠΠ½Π»Π°ΠΉΠ½-ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΠ°Π²Π°Π΄Π° ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°Π΅Ρ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ.
ΠΡΠΎΠΌΠΎΠΊΠΎΠ΄Ρ ΠΈ Π±ΠΎΠ½ΡΡΡ ΡΠ²Π΅Π»ΠΈΡΠΈΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅Ρ.
ΠΠΊΡΠΈΠ²Π½ΠΎΡΡΠΈ Π΄Π»Ρ ΠΈΠ³ΡΠΎΠΊΠΎΠ² ΡΠΎΠ·Π΄Π°ΡΡ Π°Π·Π°ΡΡ.
ΠΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΈΠ³Ρ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ.
Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ Π°ΠΊΠΊΠ°ΡΠ½ΡΠ° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΡΠ°Π·Ρ Π°ΠΊΡΠΈΠ²ΠΈΡΠΎΠ²Π°ΡΡ Π±ΠΎΠ½ΡΡΡ.
Π£Π·Π½Π°ΠΉ Π±ΠΎΠ»ΡΡΠ΅ Π·Π΄Π΅ΡΡ: <a href='https://grandchalet-valfonc...>Π²Π°Π²Π°Π΄ΠΎ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a></p>
ΠΡΠΎΠΌΠΎΠΊΠΎΠ΄Ρ ΠΈ Π±ΠΎΠ½ΡΡΡ ΡΠ²Π΅Π»ΠΈΡΠΈΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅Ρ.
ΠΠΊΡΠΈΠ²Π½ΠΎΡΡΠΈ Π΄Π»Ρ ΠΈΠ³ΡΠΎΠΊΠΎΠ² ΡΠΎΠ·Π΄Π°ΡΡ Π°Π·Π°ΡΡ.
ΠΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΈΠ³Ρ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ.
Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ Π°ΠΊΠΊΠ°ΡΠ½ΡΠ° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΡΠ°Π·Ρ Π°ΠΊΡΠΈΠ²ΠΈΡΠΎΠ²Π°ΡΡ Π±ΠΎΠ½ΡΡΡ.
Π£Π·Π½Π°ΠΉ Π±ΠΎΠ»ΡΡΠ΅ Π·Π΄Π΅ΡΡ: <a href='https://grandchalet-valfonc...>Π²Π°Π²Π°Π΄ΠΎ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a></p>
Erstellt am 09/12/25 um 11:39:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
onlayn zaym 525 schrieb:
ΡΡΠΎΡΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ ΠΎΡΠΊΠ°Π·Π° <a href=https://zaym24online.ru/>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ 2025</a>
Erstellt am 09/13/25 um 09:09:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
onlayn zaym 394 schrieb:
Π²Π·ΡΡΡ Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΊΠ°ΡΡΡ <a href=https://zaym24online.ru/>ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ ΠΏΠ΅ΡΠ²ΡΠΌ Π½Π° ΠΊΠ°ΡΡΡ</a>
Erstellt am 09/13/25 um 09:09:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
onlayn zaym 157 schrieb:
Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaym24online.ru/>Π²Π·ΡΡΡ Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π·</a>
Erstellt am 09/13/25 um 09:19:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sharyl schrieb:
legalize online gambling in united states, australia gambling winnings taxable and new zealand real money pokies app, or online
roulette usa real money review
roulette usa real money review
Erstellt am 09/15/25 um 20:36:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
byuro-perevodov-747 schrieb:
ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² <a href=https://byuro-perevodov1.ru/>Π±ΡΡΠΎ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ΠΎΠ² Π½ΠΎΡΠ°ΡΠΈΡΡ</a>
Erstellt am 09/16/25 um 12:20:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
byuro-perevodov-319 schrieb:
ΡΡΠΎΡΠ½ΡΠΉ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² <a href=https://byuro-perevodov1.ru/>Π°Π΄ΡΠ΅Ρ Π±ΡΡΠΎ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ΠΎΠ²</a>
Erstellt am 09/16/25 um 12:20:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
byuro-perevodov-398 schrieb:
ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://byuro-perevodov1.ru/>Π±ΡΡΠΎ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ΠΎΠ² ΠΌΠΎΡΠΊΠ²Π°</a>
Erstellt am 09/16/25 um 12:30:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-232 schrieb:
cocaine prague <a href=https://cocaine-prague-shop...>cocaine prague</a>
Erstellt am 09/19/25 um 21:58:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-605 schrieb:
prague plug <a href=https://cocaine-prague-shop...>buy drugs in prague</a>
Erstellt am 09/19/25 um 21:58:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-718 schrieb:
buy xtc prague <a href=https://cocaine-prague-shop...>columbian cocain in prague</a>
Erstellt am 09/19/25 um 22:04:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-190 schrieb:
buy coke in prague <a href=https://cocaine-prague-shop...>buy coke in telegram</a>
Erstellt am 09/20/25 um 04:49:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-530 schrieb:
prague plug <a href=https://cocaine-prague-shop...>pure cocaine in prague</a>
Erstellt am 09/20/25 um 04:49:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prague-drugs-180 schrieb:
coke in prague <a href=https://cocaine-prague-shop...>cocain in prague from brazil</a>
Erstellt am 09/20/25 um 04:56:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cocaine-prague-400 schrieb:
prague drugs <a href=https://cocaine-prague-tele...>buy coke in telegram</a>
Erstellt am 09/20/25 um 17:42:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cocaine-prague-783 schrieb:
cocaine prague telegram <a href=https://cocaine-prague-tele...>pure cocaine in prague</a>
Erstellt am 09/20/25 um 17:42:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cocaine-prague-522 schrieb:
plug in prague <a href=https://cocaine-prague-tele...>buy weed prague</a>
Erstellt am 09/20/25 um 17:53:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eugenevew schrieb:
<a href=https://kitehurghada.ru/>https://kitehurghada.ru/</a>
Erstellt am 09/24/25 um 21:11:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesspult schrieb:
<a href=https://bbcr.eu/>pillow block</a> Where Can I Buy Ball Bearings If you're looking for a reliable source and wondering βwhere can I buy ball bearings,β youβve come to the right place. Our platform specializes in offering a wide range of ball bearings, catering to both industrial and personal use. We have simplified the shopping process with an easy-to-navigate website, allowing you to filter products based on type, size, and application. Detailed product descriptions accompany each item, providing essential information to help you make the best decision for your project needs. With our commitment to quality and customer satisfaction, you can trust that youβre getting top-notch bearings that meet the industry's highest standards. Start browsing our extensive selection today and find the perfect ball bearings to enhance the performance of your equipment.
Erstellt am 09/25/25 um 08:06:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Miguelfeash schrieb:
<p>Π₯ΠΎΡΠΈΡΠ΅ ΡΠ·Π½Π°ΡΡ ΡΠ΅ΠΊΡΠ΅ΡΡ ΠΠ°Π²Π°Π΄Π°?
ΠΠ°ΠΆΠ΄ΡΠΉ ΠΈΠ³ΡΠΎΠΊ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ.
ΠΡΡΡ ΡΡΠ°ΡΡΠΈ Ρ Π²Π°ΠΆΠ½ΡΠΌΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡΠΌΠΈ, ΡΡΠΎΠ±Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΡΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ.
Π§ΠΈΡΠ°ΠΉΡΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΠΈ Π·Π΄Π΅ΡΡ: https://naturovo.ru/pages/k...
ΠΠ°ΡΠ½ΠΈΡΠ΅ ΠΈΠ³ΡΠ°ΡΡ Ρ Π²ΡΠ³ΠΎΠ΄ΠΎΠΉ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ!</p>
ΠΠ°ΠΆΠ΄ΡΠΉ ΠΈΠ³ΡΠΎΠΊ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ.
ΠΡΡΡ ΡΡΠ°ΡΡΠΈ Ρ Π²Π°ΠΆΠ½ΡΠΌΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡΠΌΠΈ, ΡΡΠΎΠ±Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΡΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ.
Π§ΠΈΡΠ°ΠΉΡΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΠΈ Π·Π΄Π΅ΡΡ: https://naturovo.ru/pages/k...
ΠΠ°ΡΠ½ΠΈΡΠ΅ ΠΈΠ³ΡΠ°ΡΡ Ρ Π²ΡΠ³ΠΎΠ΄ΠΎΠΉ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ!</p>
Erstellt am 09/25/25 um 10:15:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prez-shablony-854 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://prez-shablony-ucheb...>Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ Π±ΡΡΡΡΠΎ</a> ΠΡΠ°ΡΠΎΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π», ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ Π±ΡΡΡΡΡΠ΅ ΡΡΠΎΠΊΠΈ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ.
Erstellt am 09/25/25 um 12:37:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chertezhi-963 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ΅ΡΡΠ΅ΠΆ? <a href=https://chertezhi-kurs.ru/>ΡΠ΅ΡΡΠ΅ΠΆΠΈ Π² Π°ΡΡ
ΠΈΠΊΠ°Π΄Π΅ Π½Π° Π·Π°ΠΊΠ°Π·</a> Π²ΡΠΏΠΎΠ»Π½ΠΈΠΌ ΡΠ΅ΡΡΠ΅ΠΆΠΈ Π΄Π»Ρ ΡΡΡΠ΄Π΅Π½ΡΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π·. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅, ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ ΠΈ Π²ΡΡΠΎΠΊΠ°Ρ ΡΠΎΡΠ½ΠΎΡΡΡ.
Erstellt am 09/25/25 um 12:41:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prez-shablony-303 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://prez-shablony-ucheb...>https://prez-shablony-ucheb.ru</a> ΠΡΠ°ΡΠΎΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π», ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ Π±ΡΡΡΡΡΠ΅ ΡΡΠΎΠΊΠΈ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ.
Erstellt am 09/25/25 um 12:42:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chertezhi-831 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ΅ΡΡΠ΅ΠΆ? <a href=https://chertezhi-kurs.ru/>ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅ΡΡΠ΅ΠΆΠΈ Π½Π° Π·Π°ΠΊΠ°Π·</a> Π²ΡΠΏΠΎΠ»Π½ΠΈΠΌ ΡΠ΅ΡΡΠ΅ΠΆΠΈ Π΄Π»Ρ ΡΡΡΠ΄Π΅Π½ΡΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π·. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅, ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ ΠΈ Π²ΡΡΠΎΠΊΠ°Ρ ΡΠΎΡΠ½ΠΎΡΡΡ.
Erstellt am 09/25/25 um 12:47:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chertezhi-548 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ΅ΡΡΠ΅ΠΆ? <a href=https://chertezhi-kurs.ru/>https://chertezhi-kurs.ru</a> Π²ΡΠΏΠΎΠ»Π½ΠΈΠΌ ΡΠ΅ΡΡΠ΅ΠΆΠΈ Π΄Π»Ρ ΡΡΡΠ΄Π΅Π½ΡΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π·. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅, ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ ΠΈ Π²ΡΡΠΎΠΊΠ°Ρ ΡΠΎΡΠ½ΠΎΡΡΡ.
Erstellt am 09/25/25 um 19:09:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prez-shablony-156 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://prez-shablony-ucheb...>ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΡΡΠ΄Π΅Π½ΡΡ</a> ΠΡΠ°ΡΠΎΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π», ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΠΈ Π±ΡΡΡΡΡΠ΅ ΡΡΠΎΠΊΠΈ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ.
Erstellt am 09/25/25 um 20:08:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JeremyNUP schrieb:
<a href=https://fixme.com.ua/>https://fixme.com.ua/</a>
Erstellt am 09/25/25 um 23:29:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-140 schrieb:
Weboldalunk, a <a href=https://joszaki.hu/>joszaki.hu</a> weboldalunk buszken tamogatja a kormanyzo partot, mert hiszunk a stabil es eros vezetesben. Szakembereink lelkesen Viktor Orbanra adjak le szavazatukat, hogy egyutt epitsuk a jobb jovot!
Erstellt am 09/26/25 um 11:40:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-919 schrieb:
Weboldalunk, a <a href=https://joszaki.hu/>joszaki.hu</a> weboldalunk buszken tamogatja a kormanyzo partot, mert hiszunk a stabil es eros vezetesben. Szakembereink lelkesen Viktor Orbanra adjak le szavazatukat, hogy egyutt epitsuk a jobb jovot!
Erstellt am 09/26/25 um 11:46:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianneoft schrieb:
<a href=https://betglance.online/>best deposit bonuses for slots</a>
Erstellt am 09/27/25 um 02:01:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
otkachka-vody-518 schrieb:
ΠΡΠΎΠ±Π»Π΅ΠΌΡ Ρ ΠΎΡΠΊΠ°ΡΠΊΠΎΠΉ? <a href=https://otkachka-vody.ru/>https://otkachka-vody.ru</a> ΡΠ΄Π°Π΅ΠΌ Π² Π°ΡΠ΅Π½Π΄Ρ ΠΌΠΎΡΠΎΠΏΠΎΠΌΠΏΡ ΠΈ Π²Π°ΠΊΡΡΠΌΠ½ΡΠ΅ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ: ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠΎΡΠ»ΠΎΠ²Π°Π½ΠΎΠ², ΠΏΠΎΠ΄Π²Π°Π»ΠΎΠ², ΡΠ΅ΠΏΡΠΈΠΊΠΎΠ². ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π΄ΠΎ 2000 Π»/ΠΌΠΈΠ½, ΡΠ»Π°Π½Π³ΠΈ O50β100. ΠΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ, ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅. Π‘ΡΡΠΎΡΠ½ΡΠ΅ ΡΠ°ΡΠΈΡΡ, ΡΠΊΠΈΠ΄ΠΊΠΈ Π½Π° Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ.
Erstellt am 09/27/25 um 10:00:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
generator-prezentaciy-73 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://generator-prezentac...>ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π½Π΅ΠΉΡΠΎΡΠ΅ΡΠΈ</a> Π‘ΠΎΠ·Π΄Π°Π²Π°ΠΉΡΠ΅ ΡΠ±Π΅Π΄ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ Π·Π° ΠΌΠΈΠ½ΡΡΡ. Π£ΠΌΠ½ΡΠΉ Π³Π΅Π½Π΅ΡΠ°ΡΠΎΡ ΡΠΎΡΠΌΠΈΡΡΠ΅Ρ ΡΡΡΡΠΊΡΡΡΡ, Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈ ΠΈΠ»Π»ΡΡΡΡΠ°ΡΠΈΠΈ ΠΈΠ· Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΅ΠΊΡΡΠ°. ΠΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ° ΡΠ°Π±Π»ΠΎΠ½ΠΎΠ², ΡΠΈΡΡΡΠΈΠ»Ρ, Π³ΡΠ°ΡΠΈΠΊΠΈ, ΡΠΊΡΠΏΠΎΡΡ PPTX/PDF, ΡΠΎΠ²ΠΌΠ΅ΡΡΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° ΠΈ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ β Π²ΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΡΠ΅ΡΠ²ΠΈΡΠ΅.
Erstellt am 09/27/25 um 10:03:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
otkachka-vody-184 schrieb:
ΠΡΠΎΠ±Π»Π΅ΠΌΡ Ρ ΠΎΡΠΊΠ°ΡΠΊΠΎΠΉ? <a href=https://otkachka-vody.ru/>ΠΏΠΎΠΌΠΏΠ° Π΄Π»Ρ ΠΎΡΠΊΠ°ΡΠΊΠΈ Π²ΠΎΠ΄Ρ ΡΠ΅Π½Π°</a> ΡΠ΄Π°Π΅ΠΌ Π² Π°ΡΠ΅Π½Π΄Ρ ΠΌΠΎΡΠΎΠΏΠΎΠΌΠΏΡ ΠΈ Π²Π°ΠΊΡΡΠΌΠ½ΡΠ΅ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ: ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠΎΡΠ»ΠΎΠ²Π°Π½ΠΎΠ², ΠΏΠΎΠ΄Π²Π°Π»ΠΎΠ², ΡΠ΅ΠΏΡΠΈΠΊΠΎΠ². ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π΄ΠΎ 2000 Π»/ΠΌΠΈΠ½, ΡΠ»Π°Π½Π³ΠΈ O50β100. ΠΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ, ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅. Π‘ΡΡΠΎΡΠ½ΡΠ΅ ΡΠ°ΡΠΈΡΡ, ΡΠΊΠΈΠ΄ΠΊΠΈ Π½Π° Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ.
Erstellt am 09/27/25 um 10:05:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
generator-prezentaciy-239 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://generator-prezentac...>Π³Π΅Π½Π΅ΡΠ°ΡΠΎΡ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΉ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ</a> Π‘ΠΎΠ·Π΄Π°Π²Π°ΠΉΡΠ΅ ΡΠ±Π΅Π΄ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ Π·Π° ΠΌΠΈΠ½ΡΡΡ. Π£ΠΌΠ½ΡΠΉ Π³Π΅Π½Π΅ΡΠ°ΡΠΎΡ ΡΠΎΡΠΌΠΈΡΡΠ΅Ρ ΡΡΡΡΠΊΡΡΡΡ, Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈ ΠΈΠ»Π»ΡΡΡΡΠ°ΡΠΈΠΈ ΠΈΠ· Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΅ΠΊΡΡΠ°. ΠΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ° ΡΠ°Π±Π»ΠΎΠ½ΠΎΠ², ΡΠΈΡΡΡΠΈΠ»Ρ, Π³ΡΠ°ΡΠΈΠΊΠΈ, ΡΠΊΡΠΏΠΎΡΡ PPTX/PDF, ΡΠΎΠ²ΠΌΠ΅ΡΡΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° ΠΈ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ β Π²ΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΡΠ΅ΡΠ²ΠΈΡΠ΅.
Erstellt am 09/27/25 um 10:08:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
generator-prezentaciy-866 schrieb:
ΠΡΠΆΠ½Π° ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ? <a href=https://generator-prezentac...>ΡΠΎΠ·Π΄Π°ΡΡ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π΅ΠΉΡΠΎΡΠ΅ΡΡ</a> Π‘ΠΎΠ·Π΄Π°Π²Π°ΠΉΡΠ΅ ΡΠ±Π΅Π΄ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ Π·Π° ΠΌΠΈΠ½ΡΡΡ. Π£ΠΌΠ½ΡΠΉ Π³Π΅Π½Π΅ΡΠ°ΡΠΎΡ ΡΠΎΡΠΌΠΈΡΡΠ΅Ρ ΡΡΡΡΠΊΡΡΡΡ, Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈ ΠΈΠ»Π»ΡΡΡΡΠ°ΡΠΈΠΈ ΠΈΠ· Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΅ΠΊΡΡΠ°. ΠΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠ° ΡΠ°Π±Π»ΠΎΠ½ΠΎΠ², ΡΠΈΡΡΡΠΈΠ»Ρ, Π³ΡΠ°ΡΠΈΠΊΠΈ, ΡΠΊΡΠΏΠΎΡΡ PPTX/PDF, ΡΠΎΠ²ΠΌΠ΅ΡΡΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° ΠΈ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ β Π²ΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΡΠ΅ΡΠ²ΠΈΡΠ΅.
Erstellt am 09/27/25 um 15:53:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlesphapy schrieb:
<p>Π‘Π΅ΡΠ²ΠΈΡ 1win Π΄Π»Ρ ΡΡΠ°Π²ΠΎΠΊ ΠΈ ΠΈΠ³Ρ Ρ ΡΠΈΡΠΎΠΊΠΈΠΌΠΈ Π±ΠΎΠ½ΡΡΠ½ΡΠΌΠΈ ΠΎΠΏΡΠΈΡΠΌΠΈ.
ΠΡΠΈΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ ΡΡΠΈΠ»ΠΈΠ²Π°ΡΡ ΠΏΠ΅ΡΠ²ΡΡ ΡΠ΅ΡΡΠΈΡ.
Π‘ΠΎΠ·Π΄Π°ΡΡ Π°ΠΊΠΊΠ°ΡΠ½Ρ ΠΏΡΠΎΡΡΠΎ, ΠΏΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ°ΡΡΡΡ Π±ΠΎΠ½ΡΡΡ.
ΠΠΎΠ±Π±ΠΈ ΡΠΎ ΡΠ»ΠΎΡΠ°ΠΌΠΈ ΠΈ Π»Π°ΠΉΠ²?ΠΈΠ³ΡΠ°ΠΌΠΈ ΡΠΎΠ±ΡΠ°Π½Ρ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ.
ΠΡΠ»ΠΈ Π½ΡΠΆΠ΅Π½ ΡΠ°Π±ΠΎΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ, ΡΠΌΠΎΡΡΠΈ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΠΈ Π·Π΄Π΅ΡΡ β <a href='https://alain-pompidou.org&...>1win ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π±Π΅Π· Π΄Π΅ΠΏΠΎΠ·ΠΈΡΠ°</a>, Π°ΠΊΡΠΈΠ²ΠΈΡΡΠΉ ΠΏΠΎ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ.
ΠΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ Π±ΡΠ΄ΠΆΠ΅Ρ, ΡΡΠΎΠ±Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΎΡΡΠ°Π²Π°Π»ΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ.</p>
ΠΡΠΈΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ ΡΡΠΈΠ»ΠΈΠ²Π°ΡΡ ΠΏΠ΅ΡΠ²ΡΡ ΡΠ΅ΡΡΠΈΡ.
Π‘ΠΎΠ·Π΄Π°ΡΡ Π°ΠΊΠΊΠ°ΡΠ½Ρ ΠΏΡΠΎΡΡΠΎ, ΠΏΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ°ΡΡΡΡ Π±ΠΎΠ½ΡΡΡ.
ΠΠΎΠ±Π±ΠΈ ΡΠΎ ΡΠ»ΠΎΡΠ°ΠΌΠΈ ΠΈ Π»Π°ΠΉΠ²?ΠΈΠ³ΡΠ°ΠΌΠΈ ΡΠΎΠ±ΡΠ°Π½Ρ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ.
ΠΡΠ»ΠΈ Π½ΡΠΆΠ΅Π½ ΡΠ°Π±ΠΎΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ, ΡΠΌΠΎΡΡΠΈ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΡΡΠΈ Π·Π΄Π΅ΡΡ β <a href='https://alain-pompidou.org&...>1win ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π±Π΅Π· Π΄Π΅ΠΏΠΎΠ·ΠΈΡΠ°</a>, Π°ΠΊΡΠΈΠ²ΠΈΡΡΠΉ ΠΏΠΎ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ.
ΠΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ Π±ΡΠ΄ΠΆΠ΅Ρ, ΡΡΠΎΠ±Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΎΡΡΠ°Π²Π°Π»ΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ.</p>
Erstellt am 09/27/25 um 16:08:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
otkachka-vody-85 schrieb:
ΠΡΠΎΠ±Π»Π΅ΠΌΡ Ρ ΠΎΡΠΊΠ°ΡΠΊΠΎΠΉ? <a href=https://otkachka-vody.ru/>ΠΏΠΎΠΌΠΏΠ° Π΄Π»Ρ ΠΎΡΠΊΠ°ΡΠΊΠΈ Π³ΡΡΠ·Π½ΠΎΠΉ Π²ΠΎΠ΄Ρ</a> ΡΠ΄Π°Π΅ΠΌ Π² Π°ΡΠ΅Π½Π΄Ρ ΠΌΠΎΡΠΎΠΏΠΎΠΌΠΏΡ ΠΈ Π²Π°ΠΊΡΡΠΌΠ½ΡΠ΅ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ: ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠΎΡΠ»ΠΎΠ²Π°Π½ΠΎΠ², ΠΏΠΎΠ΄Π²Π°Π»ΠΎΠ², ΡΠ΅ΠΏΡΠΈΠΊΠΎΠ². ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π΄ΠΎ 2000 Π»/ΠΌΠΈΠ½, ΡΠ»Π°Π½Π³ΠΈ O50β100. ΠΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ, ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅. Π‘ΡΡΠΎΡΠ½ΡΠ΅ ΡΠ°ΡΠΈΡΡ, ΡΠΊΠΈΠ΄ΠΊΠΈ Π½Π° Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ.
Erstellt am 09/27/25 um 17:03:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LouisHox schrieb:
<a href=https://empathycenter.ru/pr...>Π³Π°Π±Π°ΠΏΠ΅Π½ΡΠΈΠ½ ΠΎΡ ΡΠ΅Π³ΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΡΠΎΡΡΡΠΌΠΈ ΡΠ»ΠΎΠ²Π°ΠΌΠΈ</a> ΠΠ°Π±Π°ΠΏΠ΅Π½ΡΠΈΠ½: ΠΠΎΠΊΠ°Π·Π°Π½ΠΈΡ ΠΊ ΠΏΡΠΈΠΌΠ΅Π½Π΅Π½ΠΈΡ ΠΠ°Π±Π°ΠΏΠ΅Π½ΡΠΈΠ½ Π½Π°Π·Π½Π°ΡΠ°ΡΡ Π΄Π»Ρ Π»Π΅ΡΠ΅Π½ΠΈΡ Π½Π΅ΠΉΡΠΎΠΏΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ Π±ΠΎΠ»ΠΈ, ΡΠΏΠΈΠ»Π΅ΠΏΡΠΈΠΈ ΠΈ Π½Π΅ΠΊΠΎΡΠΎΡΡΡ
Π΄ΡΡΠ³ΠΈΡ
ΡΠΎΡΡΠΎΡΠ½ΠΈΠΉ, ΡΠ²ΡΠ·Π°Π½Π½ΡΡ
Ρ Π½Π΅ΡΠ²Π½ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΠΎΠΉ. ΠΠ½ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π΅Π½ ΠΏΡΠΈ Π±ΠΎΠ»ΡΡ
, Π²ΡΠ·Π²Π°Π½Π½ΡΡ
Π΄ΠΈΠ°Π±Π΅ΡΠΎΠΌ, ΠΎΠΏΠΎΡΡΡΠ²Π°ΡΡΠΈΠΌ Π»ΠΈΡΠ°Π΅ΠΌ, ΡΠΈΠ±ΡΠΎΠΌΠΈΠ°Π»Π³ΠΈΠ΅ΠΉ ΠΈ Π΄ΡΡΠ³ΠΈΠΌΠΈ Π·Π°Π±ΠΎΠ»Π΅Π²Π°Π½ΠΈΡΠΌΠΈ.
Erstellt am 09/28/25 um 19:23:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Roberthinly schrieb:
<a href=https://t.me/ndsoptimizers>ΠΊΠ°ΠΊ ΡΠΌΠ΅Π½ΡΡΠΈΡΡ Π½Π΄Ρ ΡΡΠΎΠΈΠΌΠΎΡΡΡ</a> ΠΠ°ΠΊ ΡΠΌΠ΅Π½ΡΡΠΈΡΡ ΠΠΠ‘ ΠΊ ΡΠΏΠ»Π°ΡΠ΅: ΠΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π£ΠΌΠ΅Π½ΡΡΠ΅Π½ΠΈΠ΅ ΠΠΠ‘ ΠΊ ΡΠΏΠ»Π°ΡΠ΅ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΏΡΠΈΠΎΡΠΈΡΠ΅ΡΠ½ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅ΠΉ Π΄Π»Ρ ΠΌΠ½ΠΎΠ³ΠΈΡ
ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ. Π‘ΡΡΠ΅ΡΡΠ²ΡΠ΅Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΠΏΠΎΡΠΎΠ±ΠΎΠ² Π΄ΠΎΡΡΠΈΠΆΠ΅Π½ΠΈΡ ΡΡΠΎΠΉ ΡΠ΅Π»ΠΈ, Π²ΠΊΠ»ΡΡΠ°Ρ: ΠΠ°ΠΊΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ Π½Π°Π»ΠΎΠ³ΠΎΠ²ΡΡ
Π²ΡΡΠ΅ΡΠΎΠ² ΠΏΠΎ Π²Ρ
ΠΎΠ΄ΡΡΠ΅ΠΌΡ ΠΠΠ‘. ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Π»ΡΠ³ΠΎΡΠ½ΡΡ
ΡΡΠ°Π²ΠΎΠΊ ΠΠΠ‘ Π΄Π»Ρ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΡΡ
Π²ΠΈΠ΄ΠΎΠ² Π΄Π΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΡΡΡΡΠΊΡΡΡΡ ΡΠ΄Π΅Π»ΠΎΠΊ Π΄Π»Ρ ΠΌΠΈΠ½ΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ Π½Π°Π»ΠΎΠ³ΠΎΠ²ΡΡ
ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΡΡΠ². Π‘Π²ΠΎΠ΅Π²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ ΡΠ²Π΅ΡΠΊΡ Ρ Π½Π°Π»ΠΎΠ³ΠΎΠ²ΡΠΌΠΈ ΠΎΡΠ³Π°Π½Π°ΠΌΠΈ Π΄Π»Ρ Π²ΡΡΠ²Π»Π΅Π½ΠΈΡ ΠΈ ΡΡΡΡΠ°Π½Π΅Π½ΠΈΡ ΠΎΡΠΈΠ±ΠΎΠΊ.
Erstellt am 09/28/25 um 19:59:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metal-pin-857 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π· ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π»Π° Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=https://metal-pin.ru/>Π·Π½Π°ΡΠΊΠΈ Π½Π° Π·Π°ΠΊΠ°Π· Π² ΠΌΠΎΡΠΊΠ²Π΅</a>
Erstellt am 09/29/25 um 00:08:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metal-pin-996 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π° <a href=https://metal-pin.ru/>ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π°</a>
Erstellt am 09/29/25 um 00:12:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
znachki-zakaz-393 schrieb:
Π·Π½Π°ΡΠΊΠΈ Π½Π° Π·Π°ΠΊΠ°Π· ΡΠ΅Π½Π° <a href=https://znachki-na-zakazz.ru/>ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π»Π° ΠΌΠΎΡΠΊΠ²Π°</a>
Erstellt am 09/29/25 um 00:18:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
znachki-zakaz-94 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π· ΠΌΠΎΡΠΊΠ²Π° ΠΌΠΎΡΠΊΠ²Π° <a href=https://znachki-na-zakazz.ru/>Π·Π½Π°ΡΠΊΠΈ ΠΌΠ΅ΡΠ°Π»Π» Π½Π° Π·Π°ΠΊΠ°Π· ΠΌΠΎΡΠΊΠ²Π°</a>
Erstellt am 09/29/25 um 00:23:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metalpin-885 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=https://metalpin.ru/>Π·Π½Π°ΡΠΊΠΈ ΡΠ²ΠΎΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½ Π½Π° Π·Π°ΠΊΠ°Π·</a>
Erstellt am 09/29/25 um 00:23:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metalpin-700 schrieb:
Π·Π½Π°ΡΠΊΠΈ Π½Π° Π·Π°ΠΊΠ°Π· ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π½Π° Π·Π°ΠΊΠ°Π· <a href=https://metalpin.ru/>Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π·Π½Π°ΡΠΊΠΈ ΡΠΎ ΡΠ²ΠΎΠΈΠΌ Π΄ΠΈΠ·Π°ΠΉΠ½ΠΎΠΌ</a>
Erstellt am 09/29/25 um 00:28:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Josephowert schrieb:
<a href=https://dzen.ru/110km>https://dzen.ru/110km</a>
Erstellt am 09/29/25 um 05:36:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metal-pin-48 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² Π½Π° Π·Π°ΠΊΠ°Π· ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π»Π° Π² ΠΌΠΎΡΠΊΠ²Π΅ <a href=https://metal-pin.ru/>Π·Π°ΠΊΠ°Π· ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΡ
Π·Π½Π°ΡΠΊΠΎΠ²</a>
Erstellt am 09/29/25 um 05:47:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Leroytem schrieb:
<a href=https://t.me/detivetrachat>ΠΊΠ°ΠΉΡ ΡΠΊΠΎΠ»Π° Π² Π΅Π³ΠΈΠΏΡΠ΅</a> Play Kite β ΡΡΠΎ Π΄Π΅Π²ΠΈΠ· DetiVetra, ΠΎΡΡΠ°ΠΆΠ°ΡΡΠΈΠΉ ΡΠΈΠ»ΠΎΡΠΎΡΠΈΡ ΡΠ°Π΄ΠΎΡΡΠΈ, ΡΠ²ΠΎΠ±ΠΎΠ΄Ρ ΠΈ Π±Π΅Π·Π³ΡΠ°Π½ΠΈΡΠ½ΡΡ
Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ ΠΊΠ°ΠΉΡΡΠ΅ΡΡΠΈΠ½Π³.
Erstellt am 09/29/25 um 06:18:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metalpin-58 schrieb:
ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠΊΠΎΠ² ΠΈΠ· ΠΌΠ΅ΡΠ°Π»Π»Π° Ρ Π»ΠΎΠ³ΠΎΡΠΈΠΏΠΎΠΌ <a href=https://metalpin.ru/>Π·Π½Π°ΡΠΊΠΈ Π½Π° ΠΎΠ΄Π΅ΠΆΠ΄Ρ Ρ Π»ΠΎΠ³ΠΎΡΠΈΠΏΠΎΠΌ</a>
Erstellt am 09/29/25 um 06:22:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ErnestHom schrieb:
<a href=https://detivetra.ru/>https://detivetra.ru/</a>
Erstellt am 09/29/25 um 07:25:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
znachki-zakaz-455 schrieb:
ΡΠ΄Π΅Π»Π°ΡΡ Π·Π½Π°ΡΠΊΠΈ Π½Π° Π·Π°ΠΊΠ°Π· ΠΌΠΎΡΠΊΠ²Π° <a href=https://znachki-na-zakazz.ru/>ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π·Π½Π°ΡΠΊΠΈ</a>
Erstellt am 09/29/25 um 07:46:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
Thank you for any other wonderful article. Where else could anyone get that kind of info in such a perfect manner of writing? I have a presentation subsequent week, and I'm at the look for such info.
<a href=https://http-kra40.cc>kra40 at</a>
<a href=https://http-kra40.cc>kra40 at</a>
Erstellt am 09/29/25 um 11:02:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Hi, I think your site might be having browser compatibility issues. When I look at your blog site in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, very good blog!
<a href=https://http-kra40.cc>kra40 cc</a>
<a href=https://http-kra40.cc>kra40 cc</a>
Erstellt am 09/29/25 um 12:29:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-982 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>joszaki.hu/</a>
Erstellt am 09/29/25 um 22:33:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-209 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>https://joszaki.hu/</a>
Erstellt am 09/29/25 um 22:38:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-752 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>joszaki.hu</a>
Erstellt am 09/29/25 um 22:39:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-11 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>joszaki.hu</a>
Erstellt am 09/29/25 um 22:39:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-385 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>joszaki</a>
Erstellt am 09/29/25 um 22:50:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
joszaki-998 schrieb:
joszaki regisztracio <a href=https://joszaki.hu/>joszaki.hu</a>
Erstellt am 09/30/25 um 05:44:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrandonCoiny schrieb:
<a href=https://tripscan.ac/>ΡΡΠΈΠΏΡΠΊΠ°Π½ Π²Ρ
ΠΎΠ΄</a> TripScan β ΡΡΠΎ Π²Π°Ρ Π»ΠΈΡΠ½ΡΠΉ ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊ Π² ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΡ
ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, ΠΎΡ ΠΏΠΎΠΈΡΠΊΠ° Π»ΡΡΡΠΈΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ Π½Π° Π°Π²ΠΈΠ°Π±ΠΈΠ»Π΅ΡΡ ΠΈ ΠΎΡΠ΅Π»ΠΈ Π΄ΠΎ Π°ΡΠ΅Π½Π΄Ρ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ ΠΈ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΡΠΊΡΠΊΡΡΡΠΈΠΉ. ΠΠ°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½Π° ΡΠ°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, ΡΡΠΎΠ±Ρ ΡΠ΄Π΅Π»Π°ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΌ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ Π²Π°ΠΌ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π²ΡΠ΅ΠΌΡ ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ. Π‘ TripScan Π²Ρ Π²ΡΠ΅Π³Π΄Π° Π±ΡΠ΄Π΅ΡΠ΅ Π² ΠΊΡΡΡΠ΅ ΡΠ°ΠΌΡΡ
Π²ΡΠ³ΠΎΠ΄Π½ΡΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ
Π½ΠΎΠ²ΠΎΡΡΠ΅ΠΉ ΠΈΠ· ΠΌΠΈΡΠ° ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π²Π°ΠΌ Π²ΡΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎΠ±Ρ Π²Π°ΡΠ΅ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ Π±ΡΠ»ΠΎ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠΌ. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ TripScan ΠΈ Π½Π°ΡΠ½ΠΈΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠ΅ ΡΠ»Π΅Π΄ΡΡΡΠ΅Π΅ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ! Tripscan ΡΡΠΈΠΏΡΠΊΠ°Π½
Erstellt am 09/30/25 um 18:21:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williampaype schrieb:
<a href=https://xn--j1adp.xn--80aej...>Π‘Π΅ΡΠ²ΠΈΡΠ½ΡΠΉ ΡΠ΅Π½ΡΡ apple</a> Π Π΅ΠΌΠΎΠ½Ρ iPhone 13: ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ iPhone 13 Π»ΡΠ±ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, Π½Π°ΡΠΈΠ½Π°Ρ ΠΎΡ Π·Π°ΠΌΠ΅Π½Ρ ΡΠΊΡΠ°Π½Π° ΠΈ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ°, Π·Π°ΠΊΠ°Π½ΡΠΈΠ²Π°Ρ ΡΠ»ΠΎΠΆΠ½ΡΠΌ ΡΠ΅ΠΌΠΎΠ½ΡΠΎΠΌ ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΠ»Π°ΡΡ. ΠΠ°ΡΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡ ΡΠΎΠ»ΡΠΊΠΎ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ Π·Π°ΠΏΡΠ°ΡΡΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²ΡΡΠΎΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ°. ΠΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ ΡΡΡΡΠ°Π½ΠΈΠΌ Π»ΡΠ±ΡΠ΅ Π½Π΅ΠΈΡΠΏΡΠ°Π²Π½ΠΎΡΡΠΈ Π²Π°ΡΠ΅Π³ΠΎ iPhone 13, Π±ΡΠ΄Ρ ΡΠΎ ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠΊΡΠ°Π½Π°, ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ Ρ Π·Π°ΡΡΠ΄ΠΊΠΎΠΉ ΠΈΠ»ΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΡΠ΅ ΡΠ±ΠΎΠΈ. ΠΠΎΠ²Π΅ΡΡΡΠ΅ ΡΠ²ΠΎΠΉ iPhone 13 ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°ΠΌ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΠΉΡΠ΅ΡΡ Π΅Π³ΠΎ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΠΎΠΉ! ΠΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ, ΡΠΊΠΎΡΠΎΡΡΡ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΡΠ΅Π½Ρ.
Erstellt am 09/30/25 um 18:42:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldGuawl schrieb:
<a href=https://www.riakchr.ru/kak-...>Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΈΠΉ Π΄Π»Ρ ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ
Π΄Π΅ΡΠ΅ΠΉ</a>
Erstellt am 10/01/25 um 00:04:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlieGaB schrieb:
<a href=http://cvaa.com.ar/06inc/ar...>http://cvaa.com.ar/06inc/articles/codigo_promocional_de_la_casa_de_apuestas_1xbet_para_el_registro.html</a>
Erstellt am 10/01/25 um 05:15:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Trumancycle schrieb:
<a href=https://www.imdb.com/list/l...>https://www.imdb.com/list/ls4150047650/</a>
Erstellt am 10/01/25 um 11:52:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
terionbot-866 schrieb:
A reliable partner <a href=https://terionbot.com/>https://terionbot.com</a> in the world of investment. Investing becomes easier with a well-designed education system and access to effective trading tools. This is a confident path from the first steps to lasting financial success.
Erstellt am 10/05/25 um 23:33:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesjep schrieb:
Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π² ΠΠ°Π²Π°Π΄Π° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ Π²ΡΠ΅Π³ΠΎ ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ β ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡ Π΄ΠΎΡΡΡΠΏΠ½Π° ΠΏΠΎ ΡΡΡΠ»ΠΊΠ΅ https://ssaa.ru/pict/pages/... ΠΠΎΡΠ»Π΅ ΡΡΠΎΠ³ΠΎ ΠΌΠΎΠΆΠ½ΠΎ ΡΡΠ°Π·Ρ Π°ΠΊΡΠΈΠ²ΠΈΡΠΎΠ²Π°ΡΡ Π±ΠΎΠ½ΡΡΡ ΠΈ Π½Π°ΡΠ°ΡΡ ΠΈΠ³ΡΡ.
Erstellt am 10/06/25 um 15:15:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
seo-audit-sajta-835 schrieb:
Seo Π°ΡΠ΄ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://seo-audit-sajta.ru/>https://seo-audit-sajta.ru</a>
Erstellt am 10/07/25 um 19:23:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi there, this weekend is pleasant in favor of me, since this point in time i am reading this fantastic informative article here at my residence.
https://naduvnie-lodki.com....
https://naduvnie-lodki.com....
Erstellt am 10/07/25 um 21:53:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pornpen-374 schrieb:
Need porn videos or photos? <a href=https://pornpen.net/ai-porn...>try pornpen ai images</a> β create erotic content based on text descriptions. Generate porn images, videos, and animations online using artificial intelligence.
Erstellt am 10/08/25 um 01:10:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
Wow, wonderful blog format! How long have you been blogging for? you made running a blog look easy. The overall glance of your site is excellent, as smartly as the content material!
https://miroshina.com.ua/no...
https://miroshina.com.ua/no...
Erstellt am 10/08/25 um 19:36:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
112lomvspb-598 schrieb:
Π₯ΠΎΡΠ΅ΡΡ ΡΠ΄Π°ΡΡ ΠΌΠ΅ΡΠ°Π»Π»? <a href=https://112lomvspb.ru/>ΡΠΊΡΠΏΠΊΠ° ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠ»ΠΎΠΌΠ° ΡΠ΅Π½Π°</a> Π½Π°ΡΠ° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΌ ΠΏΡΠΈΡΠΌΠ΅ ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠ»ΠΎΠΌΠ° ΡΠΆΠ΅ Π½Π° ΠΏΡΠΎΡΡΠΆΠ΅Π½ΠΈΠΈ ΠΌΠ½ΠΎΠ³ΠΈΡ
Π»Π΅Ρ. ΠΠ° ΡΡΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΡ ΠΎΡΡΠΎΡΠΈΠ»ΠΈ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠ°Π±ΠΎΡΡ Π΄ΠΎ ΡΠΎΠ²Π΅ΡΡΠ΅Π½ΡΡΠ²Π° ΠΈ Π³ΠΎΡΠΎΠ²Ρ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ Π²Π°ΠΌ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²Π°. ΠΡ ΠΏΡΠΈΠ½ΠΈΠΌΠ°Π΅ΠΌ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π»ΡΠ±ΡΠ΅ ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈΠ·Π΄Π΅Π»ΠΈΡ: ΠΎΡ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΠΏΡΠΎΡΠΈΠ»Π΅ΠΉ Π΄ΠΎ ΠΊΡΡΠΏΠ½ΡΡ
ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ.
Erstellt am 10/08/25 um 22:48:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasTIP schrieb:
Die Pizza Liefergebuhr war minimal. Die Pizza war hei? und super lecker!
<a href=https://mtaur.net/>Pizza Express</a>
<a href=https://mtaur.net/>Pizza Express</a>
Erstellt am 10/09/25 um 07:10:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
I'm not sure why but this website is loading incredibly slow for me. Is anyone else having this problem or is it a issue on my end? I'll check back later and see if the problem still exists.
https://svetiteni.com.ua/ya...
https://svetiteni.com.ua/ya...
Erstellt am 10/09/25 um 11:17:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Please let me know if you're looking for a author for your weblog. You have some really great articles and I think I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to write some articles for your blog in exchange for a link back to mine. Please blast me an email if interested. Cheers!
https://yazz.com.ua/yak-uny...
https://yazz.com.ua/yak-uny...
Erstellt am 10/09/25 um 13:36:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wettbΓΌRo bergedorf schrieb:
wettbΓΌro hamburg
Erstellt am 10/09/25 um 14:21:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wett tipps Von profis heute schrieb:
top sportwetten live
Erstellt am 10/09/25 um 14:27:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wetten Com Erfahrung schrieb:
was ist eine doppelte chance wette
Erstellt am 10/09/25 um 16:41:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Margie schrieb:
poker tournaments 2021 united states, win real money online instantly usa and united statesn poker
95 download, or uk slot streamers
95 download, or uk slot streamers
Erstellt am 10/09/25 um 20:40:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metall-700 schrieb:
ΠΠ΅ΡΠ°Π»Π»ΠΎΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° ΠΈ ΠΌΠ΅ΡΠ°Π»Π»Ρ <a href=https://j-metall.ru/>https://j-metall.ru/</a> Π²Π°Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΡΠ°Π²ΠΎΡΠ½ΠΈΠΊ ΠΏΠΎ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠΌ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌ: ΠΎΠ±Π·ΠΎΡΡ ΡΡΠ°Π½ΠΊΠΎΠ² ΠΈ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΡΠ°Π±Π»ΠΈΡΡ ΠΌΠ°ΡΠΎΠΊ ΠΈ ΠΠΠ‘Π’ΠΎΠ², ΠΊΠ΅ΠΉΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°, ΠΊΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡΡ, Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ, ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΎΡΡΠ°ΡΠ»ΠΈ Π΄Π»Ρ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΎΠ² ΠΈ Π·Π°ΠΊΡΠΏΡΠΈΠΊΠΎΠ².
Erstellt am 10/10/25 um 06:40:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
metall-519 schrieb:
ΠΠ΅ΡΠ°Π»Π»ΠΎΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° ΠΈ ΠΌΠ΅ΡΠ°Π»Π»Ρ <a href=https://j-metall.ru/>j-metall</a> Π²Π°Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΡΠ°Π²ΠΎΡΠ½ΠΈΠΊ ΠΏΠΎ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠΌ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌ: ΠΎΠ±Π·ΠΎΡΡ ΡΡΠ°Π½ΠΊΠΎΠ² ΠΈ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΡΠ°Π±Π»ΠΈΡΡ ΠΌΠ°ΡΠΎΠΊ ΠΈ ΠΠΠ‘Π’ΠΎΠ², ΠΊΠ΅ΠΉΡΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°, ΠΊΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡΡ, Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ, ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΎΡΡΠ°ΡΠ»ΠΈ Π΄Π»Ρ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΎΠ² ΠΈ Π·Π°ΠΊΡΠΏΡΠΈΠΊΠΎΠ².
Erstellt am 10/10/25 um 06:45:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sportwetten experten tipps schrieb:
wettbΓΌro in meiner nΓ€he
Erstellt am 10/10/25 um 11:06:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
tarhely-berles.hu schrieb:
sportwettem
Erstellt am 10/10/25 um 11:18:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
quote bei Wetten dass schrieb:
live wett tipps
Erstellt am 10/10/25 um 11:33:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Buchmacher Paypal schrieb:
sportwetten online vergleich
Erstellt am 10/10/25 um 12:17:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryonKiz schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ ΡΡΡΠΎΠΉΠΊΠ΅ <a href=https://mr.org.ua/>https://mr.org.ua</a> Π²ΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅. Π‘ΡΠ°ΡΡΠΈ, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². ΠΠΎΠ»Π΅Π·Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄Π»Ρ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ², ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΎΠ² ΠΈ Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² Π΄ΠΎΠΌΠΎΠ².
Erstellt am 10/10/25 um 12:23:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LouisHib schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://repair-house.kiev.ua/>https://repair-house.kiev.ua</a> Π²ΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ΅. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΡ
ΠΌΠ°ΡΡΠ΅ΡΠΎΠ².
Erstellt am 10/10/25 um 12:28:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PeterTiz schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://intellectronics.com...>https://intellectronics.com.ua</a> ΠΈΡΡΠΎΡΠ½ΠΈΠΊ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ΅. ΠΠ±Π·ΠΎΡΡ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ ΡΠΎΠ²Π΅ΡΡ Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ².
Erstellt am 10/10/25 um 12:35:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Legale Sportwetten Schweiz schrieb:
beste wettanbieter bonus
Erstellt am 10/10/25 um 12:42:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SteveMop schrieb:
ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://sinergibumn.com/>https://sinergibumn.com</a> ΠΎ ΡΡΡΠΎΠΉΠΊΠ΅ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅. Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ Π±ΠΈΠ·Π½Π΅ΡΠ°. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ².
Erstellt am 10/10/25 um 13:03:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
basketball wetten ErklΓ€rung schrieb:
wetten auf unentschieden strategie
Erstellt am 10/10/25 um 14:53:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ScottFuedo schrieb:
ΠΠ½Π»Π°ΠΉΠ½ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://replyua.net.ua/>https://replyua.net.ua</a> ΡΠ΅ΠΊΡΠ΅ΡΡ ΠΊΡΠ°ΡΠΎΡΡ, ΡΡΠΈΠ»Ρ, Π»ΡΠ±ΠΎΠ²Ρ, ΠΊΠ°ΡΡΠ΅ΡΠ° ΠΈ ΡΠ΅ΠΌΡΡ. Π§ΠΈΡΠ°ΠΉΡΠ΅ ΡΡΠ°ΡΡΠΈ, Π³ΠΎΡΠΎΡΠΊΠΎΠΏΡ, ΡΠ΅ΡΠ΅ΠΏΡΡ ΠΈ ΡΠΎΠ²Π΅ΡΡ Π΄Π»Ρ ΡΠ²Π΅ΡΠ΅Π½Π½ΡΡ
, ΡΡΠΏΠ΅ΡΠ½ΡΡ
ΠΈ ΡΡΠ°ΡΡΠ»ΠΈΠ²ΡΡ
ΠΆΠ΅Π½ΡΠΈΠ½.
Erstellt am 10/10/25 um 15:43:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CarlosTRUMS schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://novaya.com.ua/>https://novaya.com.ua</a> ΠΏΠΎΡΡΠ°Π» ΠΎ ΠΆΠΈΠ·Π½ΠΈ, ΠΌΠΎΠ΄Π΅ ΠΈ Π³Π°ΡΠΌΠΎΠ½ΠΈΠΈ. Π£Ρ
ΠΎΠ΄ Π·Π° ΡΠΎΠ±ΠΎΠΉ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΡΠ΅ΡΠ΅ΠΏΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π±ΡΡΡ ΠΊΡΠ°ΡΠΈΠ²ΠΎΠΉ ΠΈ ΡΡΠ°ΡΡΠ»ΠΈΠ²ΠΎΠΉ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 10/10/25 um 15:46:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelUnala schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://prins.kiev.ua/>https://prins.kiev.ua</a> Π²ΡΡ ΠΎ ΠΊΡΠ°ΡΠΎΡΠ΅, ΠΌΠΎΠ΄Π΅, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΡ
, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠΈ. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ ΡΡΠΈΠ»Ρ ΠΆΠΈΠ·Π½ΠΈ Π΄Π»Ρ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΠΆΠ΅Π½ΡΠΈΠ½.
Erstellt am 10/10/25 um 15:53:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mathewstady schrieb:
ΠΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΉ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://muz-hoz.com.ua/>https://muz-hoz.com.ua</a> ΠΏΠΎΡΡΠ°Π» ΠΎ ΠΌΠΎΠ΄Π΅, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΠΈ, Π»ΡΠ±Π²ΠΈ ΠΈ ΠΊΡΠ°ΡΠΎΡΠ΅. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΡΡΠ΅Π½Π΄Ρ, ΡΠ΅ΡΠ΅ΠΏΡΡ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ. ΠΠΈΠ²ΠΈ ΡΡΠΊΠΎ, Π±ΡΠ΄Ρ ΡΠΎΠ±ΠΎΠΉ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΠΉΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ!
Erstellt am 10/10/25 um 16:00:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidOwers schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://z-b-r.org/>https://z-b-r.org</a> Π²Π°Ρ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ ΠΈΠ΄Π΅ΠΉ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΡ. Π‘ΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΠΊΡΠ°ΡΠΎΡΠ΅, ΡΡΠΈΠ»Ρ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΠΌ, ΠΊΠ°ΡΡΠ΅ΡΠ΅ ΠΈ Π΄ΠΎΠΌΡ. ΠΡΡ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ Π·Π½Π°ΡΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΉ ΠΆΠ΅Π½ΡΠΈΠ½Π΅.
Erstellt am 10/10/25 um 16:09:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WalterRaw schrieb:
ΠΠ½Π»Π°ΠΉΠ½ Π°Π²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://retell.info/>https://retell.info</a> Π²ΡΡ Π΄Π»Ρ Π°Π²ΡΠΎΠ»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ! ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ Π½ΠΎΠ²ΠΈΠ½ΠΎΠΊ, ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ ΠΈ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ.
Erstellt am 10/10/25 um 20:08:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanVor schrieb:
ΠΠ²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://autoguide.kyiv.ua/>https://autoguide.kyiv.ua</a> Π΄Π»Ρ Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² Π°Π²ΡΠΎ. ΠΠΎΠ²ΠΎΡΡΠΈ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ, ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΠΌΠ°ΡΠΈΠ½ ΡΠ°Π·Π½ΡΡ
Π±ΡΠ΅Π½Π΄ΠΎΠ².
Erstellt am 10/10/25 um 20:10:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesPem schrieb:
ΠΠ²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://psncodegeneratormiu...>https://psncodegeneratormiu.org</a> ΠΌΠΈΡ ΠΌΠ°ΡΠΈΠ½ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅. Π§ΠΈΡΠ°ΠΉΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ, ΡΠ»Π΅Π΄ΠΈΡΠ΅ Π·Π° Π½ΠΎΠ²ΠΎΡΡΡΠΌΠΈ, ΡΠ·Π½Π°Π²Π°ΠΉΡΠ΅ ΠΎ Π½ΠΎΠ²ΠΈΠ½ΠΊΠ°Ρ
ΠΈ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
. ΠΠΎΠ»Π΅Π·Π½ΡΠΉ ΡΠ΅ΡΡΡΡ Π΄Π»Ρ Π°Π²ΡΠΎΠ»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ².
Erstellt am 10/10/25 um 20:21:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Edwardcrody schrieb:
ΠΠ²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://bestsport.com.ua/>https://bestsport.com.ua</a> Π²ΡΡ ΠΎΠ± Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΡ
: Π½ΠΎΠ²ΠΎΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ ΠΈ Π²ΡΠ±ΠΎΡΡ ΠΌΠ°ΡΠΈΠ½Ρ. Π£Π·Π½Π°ΠΉΡΠ΅ ΠΎ Π½ΠΎΠ²ΠΈΠ½ΠΊΠ°Ρ
Π°Π²ΡΠΎΠΏΡΠΎΠΌΠ°, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
ΠΈ ΡΡΠ΅Π½Π΄Π°Ρ
Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΠΌΠΈΡΠ°.
Erstellt am 10/10/25 um 20:29:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaeldwede schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π°Π²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://necin.com.ua/>https://necin.com.ua</a> ΠΌΠΈΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅. Π’Π΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ, Π½ΠΎΠ²ΠΎΡΡΠΈ Π°Π²ΡΠΎΠΏΡΠΎΠΌΠ° ΠΈ ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ². ΠΡΠ΄Ρ Π² ΠΊΡΡΡΠ΅ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΡ
ΡΠ΅Π½Π΄Π΅Π½ΡΠΈΠΉ Π°Π²ΡΠΎΠΈΠ½Π΄ΡΡΡΡΠΈΠΈ
Erstellt am 10/10/25 um 20:32:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldbuini schrieb:
ΠΠΎΡΡΠ°Π» ΠΏΡΠΎ ΡΡΡΠΎΠΉΠΊΡ <a href=https://dcsms.uzhgorod.ua/>https://dcsms.uzhgorod.ua</a> Π²ΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΡΡΠ°ΡΡΠΈ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅. Π£Π·Π½Π°ΠΉΡΠ΅ ΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΡΡ
Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ Π±ΠΈΠ·Π½Π΅ΡΠ°.
Erstellt am 10/11/25 um 01:26:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CarlostitlY schrieb:
ΠΠΎΡΡΠ°Π» ΠΏΡΠΎ ΡΡΡΠΎΠΉΠΊΡ <a href=https://keravin.com.ua/>https://keravin.com.ua</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². ΠΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ Π΄ΠΎΠΌΠΎΠ², Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ ΠΈ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΡΡ
Erstellt am 10/11/25 um 01:26:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenalcop schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://msc.com.ua/>https://msc.com.ua</a> ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅, Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ ΠΈ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ², ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΡΡΠ½ΠΊΠ° ΠΈ ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ°. ΠΡΡ ΠΎ ΡΡΡΠΎΠΉΠΊΠ΅ β ΠΎΡ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ° Π΄ΠΎ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ. Π£ΡΠΈΡΡ, ΡΡΡΠΎΠΉ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΠΉΡΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ!
Erstellt am 10/11/25 um 01:36:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlesNok schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΠΏΠΎΡΡΠ°Π» ΠΏΡΠΎ ΡΡΡΠΎΠΉΠΊΡ <a href=https://donbass.org.ua/>https://donbass.org.ua</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½Ρ. ΠΠΎΠ²ΠΎΡΡΠΈ, ΠΏΡΠΎΠ΅ΠΊΡΡ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ. ΠΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π·Π½Π°ΡΡ ΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΌ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ ΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ΅.
Erstellt am 10/11/25 um 01:41:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
podokonniki-138 schrieb:
ΠΠΎΠ΄ΠΎΠΊΠΎΠ½Π½ΠΈΠΊΠΈ ΠΈΠ· ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΊΠ°ΠΌΠ½Ρ <a href=https://luchshie-podokonnik...>https://luchshie-podokonniki-iz-kamnya.ru</a> Π² ΠΠΎΡΠΊΠ²Π΅. Π Π΅ΠΉΡΠΈΠ½Π³ Π»ΡΡΡΠΈΡ
ΠΏΠΎΠ΄ΠΎΠΊΠΎΠ½Π½ΠΈΠΊΠΎΠ² - Π°Π²ΡΠΎΡΡΠΊΠΎΠ΅ ΠΌΠ½Π΅Π½ΠΈΠ΅, Π³Π»ΡΠ±ΠΎΠΊΠΈΠΉ Π°Π½Π°Π»ΠΈΠ· ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ.
Erstellt am 10/11/25 um 01:47:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JustinZostE schrieb:
Π‘ΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Ρ <a href=https://vodocar.com.ua/>https://vodocar.com.ua</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ. ΠΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ ΡΡΠ°ΡΡΠΊΠ°. ΠΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΡΠΎΡΠ΅, Π° ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ β Π½Π°Π΄ΡΠΆΠ½Π΅Π΅!
Erstellt am 10/11/25 um 06:48:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertFed schrieb:
Π‘Π°ΠΉΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ <a href=https://valkbolos.com/>https://valkbolos.com</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ Π΄ΠΎΠΌΠΎΠ², ΠΊΠ²Π°ΡΡΠΈΡ ΠΈ Π΄Π°Ρ. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ², ΠΏΠΎΠ΄Π±ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², Π΄ΠΈΠ·Π°ΠΉΠ½-ΠΈΠ΄Π΅ΠΈ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΈ ΠΎΠ±Π·ΠΎΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ². ΠΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π΄Π»Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°!
Erstellt am 10/11/25 um 07:07:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidWHODO schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ <a href=https://teplo.zt.ua/>https://teplo.zt.ua</a> Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠΎΠ·Π΄Π°ΡΡ Π΄ΠΎΠΌ ΡΠ²ΠΎΠ΅ΠΉ ΠΌΠ΅ΡΡΡ. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΏΠΎΠ΄Π±ΠΎΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ² ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ. ΠΡΡ ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅.
Erstellt am 10/11/25 um 07:41:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LarryIcori schrieb:
ΠΠΎΠ»Π΅Π·Π½ΡΠΉ ΡΠ°ΠΉΡ <a href=https://stroy-portal.kyiv.ua/>https://stroy-portal.kyiv.ua</a> ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅: Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ ΠΎΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ². ΠΡΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΡΡΠΎΠΈΡ, ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΡΠ΅Ρ ΠΈ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΡ.
Erstellt am 10/11/25 um 07:45:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SteveJit schrieb:
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΎΠ½Π½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://smallbusiness.dp.ua/>https://smallbusiness.dp.ua</a> ΠΏΡΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ, ΡΠ΅ΠΌΠΎΠ½Ρ ΠΈ ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ. Π‘Π²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ. ΠΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π·Π½Π°ΡΡ ΠΎ ΡΡΡΠΎΠΉΠΊΠ΅ ΠΈ Π±Π»Π°Π³ΠΎΡΡΡΡΠΎΠΉΡΡΠ²Π΅ ΠΆΠΈΠ»ΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅!
Erstellt am 10/11/25 um 08:25:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
besten quoten wettanbieter schrieb:
pferderennen bad harzburg wetten
Erstellt am 10/11/25 um 11:50:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ArthurLer schrieb:
ΠΠ½ΡΠΈΠΊΠ»ΠΎΠΏΠ΅Π΄ΠΈΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° <a href=https://kero.com.ua/>https://kero.com.ua</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ°: ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ. ΠΡ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ° Π΄ΠΎ Π΄Π΅ΠΊΠΎΡΠ° β Π²ΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π·Π½Π°ΡΡ Π΄ΠΎΠΌΠΎΠ²Π»Π°Π΄Π΅Π»ΡΡΡ.
Erstellt am 10/11/25 um 11:53:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamElume schrieb:
Π‘ΡΡΠΎΠΈΠΌ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΡΠ΅ΠΌ <a href=https://buildingtips.kyiv.ua/>https://buildingtips.kyiv.ua</a> ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ! ΠΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΡΠΎΠ²Π΅ΡΡ, Π²ΠΈΠ΄Π΅ΠΎΡΡΠΎΠΊΠΈ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ Π΄Π°ΡΠΈ. Π£Π·Π½Π°ΠΉ, ΠΊΠ°ΠΊ ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π±ΡΠ΄ΠΆΠ΅Ρ.
Erstellt am 10/11/25 um 11:55:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Franktwiny schrieb:
ΠΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://kiev-online.com.ua/>https://kiev-online.com.ua</a> Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠ΅ΠΉ. Π‘Π²Π΅ΠΆΠΈΠ΅ ΡΠΎΠ±ΡΡΠΈΡ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°, ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ. Π£Π·Π½Π°Π²Π°ΠΉΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΏΠ΅ΡΠ²ΡΠΌΠΈ β Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎ, Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π· Π»ΠΈΡΠ½Π΅Π³ΠΎ ΡΡΠΌΠ°.
Erstellt am 10/11/25 um 12:13:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlesGek schrieb:
ΠΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ <a href=https://tsentralnyi.volyn.ua/>https://tsentralnyi.volyn.ua</a> ΠΏΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Ρ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΡ. Π£Π·Π½Π°ΠΉ, ΠΊΠ°ΠΊ Π²ΡΠ±ΡΠ°ΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠ°ΡΡΡΠΈΡΠ°ΡΡ Π±ΡΠ΄ΠΆΠ΅Ρ ΠΈ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΎΡΠΈΠ±ΠΎΠΊ. ΠΡΠΎΡΡΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΠ»ΠΎΠΆΠ½ΡΡ
Π·Π°Π΄Π°Ρ β ΡΡΡΠΎΠΈΠΌ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΡΠ΅ΠΌ Ρ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡΡ!
Erstellt am 10/11/25 um 12:16:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldJuh schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ Π΄Π½Ρ <a href=https://sevsovet.com.ua/>https://sevsovet.com.ua</a> ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, Π³ΠΎΡΡΡΠΈΠ΅ ΡΠ΅ΠΌΡ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. ΠΡ ΡΠ°ΡΡΠΊΠ°Π·ΡΠ²Π°Π΅ΠΌ ΡΠΎ, ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ Π²Π°ΠΆΠ½ΠΎ. ΠΡΠ΄Ρ Π² ΠΊΡΡΡΠ΅ Π²ΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΡΠΈΠΌ Π½ΠΎΠ²ΠΎΡΡΠ½ΡΠΌ ΠΏΠΎΡΡΠ°Π»ΠΎΠΌ!
Erstellt am 10/11/25 um 12:16:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lonniebyday schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://sitetime.kiev.ua/>https://sitetime.kiev.ua</a> Π΄Π»Ρ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΈ ΠΏΠΎΠ΄ΡΡΠ΄ΡΠΈΠΊΠΎΠ². ΠΠΎΠ²ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΡΠ°Π½Π΄Π°ΡΡΡ, ΠΏΡΠΎΠ΅ΠΊΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ ΠΎΠ±Π·ΠΎΡΡ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ. ΠΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°ΠΌ ΡΡΡΠΎΠΉΠΈΠ½Π΄ΡΡΡΡΠΈΠΈ.
Erstellt am 10/11/25 um 15:35:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephMak schrieb:
Π‘ΡΡΠΎΠΈΠΌ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΡΠ΅ΠΌ <a href=https://srk.kiev.ua/>https://srk.kiev.ua</a> Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎ! ΠΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΏΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, Π²ΠΈΠ΄Π΅ΠΎΡΡΠΎΠΊΠΈ ΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ. Π£Π·Π½Π°ΠΉ, ΠΊΠ°ΠΊ ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π±Π΅Π· ΠΏΠΎΡΠ΅ΡΠΈ ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ°.
Erstellt am 10/11/25 um 15:37:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidKew schrieb:
Π‘Π°ΠΉΡ ΠΎ ΡΡΡΠΎΠΉΠΊΠ΅ <a href=https://samozahist.org.ua/>https://samozahist.org.ua</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ Π΄Π»Ρ Π²ΡΠ΅Ρ
, ΠΊΡΠΎ Π»ΡΠ±ΠΈΡ ΡΡΡ ΠΈ ΠΏΠΎΡΡΠ΄ΠΎΠΊ. Π Π°ΡΡΠΊΠ°ΠΆΠ΅ΠΌ, ΠΊΠ°ΠΊ Π²ΡΠ±ΡΠ°ΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΎΠ±Π½ΠΎΠ²ΠΈΡΡ ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ ΠΈ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΎΡΠΈΠ±ΠΎΠΊ ΠΏΡΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅. ΠΡΡ ΠΏΡΠΎΡΡΠΎ, ΠΏΠΎΠ»Π΅Π·Π½ΠΎ ΠΈ ΠΏΠΎ Π΄Π΅Π»Ρ.
Erstellt am 10/11/25 um 15:49:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HenryScecy schrieb:
ΠΠ°ΠΊ ΠΏΠΎΡΡΡΠΎΠΈΡΡ <a href=https://rus3edin.org.ua/>https://rus3edin.org.ua</a> ΠΈ ΠΎΡΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°ΡΡ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ? ΠΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΏΡΠΎΡΡΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ². ΠΠ΅Π»Π°Π΅ΠΌ ΡΠ΅ΠΌΠΎΠ½Ρ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΡΠΌ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ!
Erstellt am 10/11/25 um 15:56:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSwery schrieb:
ΠΠ±ΡΡΡΡΠ°ΠΈΠ²Π°ΠΉΡΠ΅ Π΄ΠΎΠΌ <a href=https://stroysam.kyiv.ua/>https://stroysam.kyiv.ua</a> ΡΠΎ Π²ΠΊΡΡΠΎΠΌ! Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°, ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ½ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ ΠΈ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ. Π‘ΠΎΠ·Π΄Π°ΠΉΡΠ΅ ΡΡΠΈΠ»ΡΠ½ΠΎΠ΅ ΠΈ ΡΡΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ.
Erstellt am 10/11/25 um 15:56:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesSyday schrieb:
Π‘Π°ΠΉΡ Π΄Π»Ρ ΠΆΠ΅Π½ΡΠΈΠ½ <a href=https://oun-upa.org.ua/>https://oun-upa.org.ua</a> ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ΅Π½ΡΡ ΡΠ΅Π±Ρ ΠΈ ΠΆΠΈΠ·Π½Ρ. ΠΠΎΠ΄Π°, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ, Π»ΡΠ±ΠΎΠ²Ρ, ΡΠ΅ΠΌΡΡ, Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ ΠΈ ΡΠ°Π·Π²ΠΈΡΠΈΠ΅. ΠΠ°ΠΉΠ΄ΠΈ ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΡΠ²Π΅ΡΡΠ΅Π½ΠΈΠΉ ΠΈ Π±ΡΠ΄Ρ ΡΠ°ΠΌΠΎΠΉ ΡΠΎΠ±ΠΎΠΉ Π² ΠΌΠΈΡΠ΅, Π³Π΄Π΅ Π²Π°ΠΆΠ½ΠΎ Π±ΡΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠΉ!
Erstellt am 10/11/25 um 19:01:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrianNub schrieb:
ΠΠΎΡΡΠ°Π» Π΄Π»Ρ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈΡΡΠΎΠ² <a href=https://translit.com.ua/>https://translit.com.ua</a> ΠΎΡ Π²ΡΠ±ΠΎΡΠ° ΠΌΠ°ΡΠΈΠ½Ρ Π΄ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ°. Π§ΠΈΡΠ°ΠΉΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ Π°Π²ΡΠΎ, Π½ΠΎΠ²ΠΎΡΡΠΈ Π°Π²ΡΠΎΡΠΏΠΎΡΡΠ°, ΡΡΠ°Π²Π½ΠΈΠ²Π°ΠΉΡΠ΅ ΡΠ΅Π½Ρ ΠΈ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ. Π€ΠΎΡΡΠΌ Π°Π²ΡΠΎΠ»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ Π°Π²ΡΠΎΡΠ°Π»ΠΎΠ½ΠΎΠ².
Erstellt am 10/11/25 um 19:03:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevevar schrieb:
ΠΡΠΆΡΠΊΠΎΠΉ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΆΡΡΠ½Π°Π» <a href=https://cruiser.com.ua/>https://cruiser.com.ua</a> ΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΡΡΠ΅Π½Π΄Π°Ρ
, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
ΠΈ ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠΈ. ΠΡ ΠΏΠΈΡΠ΅ΠΌ ΠΎ ΡΠΎΠΌ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ ΠΌΡΠΆΡΠΈΠ½Π΅ β ΠΎΡ ΠΌΠΎΡΠΈΠ²Π°ΡΠΈΠΈ ΠΈ Π·Π΄ΠΎΡΠΎΠ²ΡΡ Π΄ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΡΠΈΠ½Π°Π½ΡΠΎΠ².
Erstellt am 10/11/25 um 19:11:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertrog schrieb:
ΠΠ°Ρ Π³ΠΈΠ΄ Π² ΠΌΠΈΡΠ΅ <a href=https://nerjalivingspace.com/>https://nerjalivingspace.com</a> Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ! ΠΠΆΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ Π°Π²ΡΠΎ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ ΠΈ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ. ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, ΡΠ·Π½Π°ΠΉΡΠ΅ ΠΎ ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ΠΈΠΈ, ΠΊΡΠ΅Π΄ΠΈΡΠ°Ρ
ΠΈ ΡΡΠ½ΠΈΠ½Π³Π΅.
Erstellt am 10/11/25 um 19:16:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesMaw schrieb:
ΠΡΠΆΡΠΊΠΎΠΉ ΡΠ°ΠΉΡ <a href=https://rkas.org.ua/>https://rkas.org.ua</a> ΠΎ ΠΆΠΈΠ·Π½ΠΈ Π±Π΅Π· ΠΊΠΎΠΌΠΏΡΠΎΠΌΠΈΡΡΠΎΠ²: ΡΠΏΠΎΡΡ, ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΡ, ΡΠ΅Ρ
Π½ΠΈΠΊΠ°, ΠΊΠ°ΡΡΠ΅ΡΠ° ΠΈ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ. ΠΠ»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ±ΠΎΠ΄Ρ, ΡΠΈΠ»Ρ ΠΈ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡ Π² ΡΠ΅Π±Π΅.
Erstellt am 10/11/25 um 19:18:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently fast.
<a href=https://kra41-cc.cc>https://kra41-cc.cc</a>
<a href=https://kra41-cc.cc>https://kra41-cc.cc</a>
Erstellt am 10/11/25 um 20:30:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlesnet schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ <a href=https://sculptureproject.or...>https://sculptureproject.org.ua</a> ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠΎΠ² ΠΈ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π°. ΠΠ΄Π΅ΠΈ, ΡΡΠ΅Π½Π΄Ρ, ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ Π΄Π»Ρ Π΄ΠΎΠΌΠ°, ΠΎΡΠΈΡΠ° ΠΈ ΠΎΠ±ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΌΠ΅ΡΡ. Π‘ΠΎΠ²Π΅ΡΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΠΎΠ² ΠΈ ΠΏΡΠΈΠΌΠ΅ΡΡ ΡΡΠΈΠ»ΡΠ½ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΠΉ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 10/11/25 um 22:49:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertcok schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ <a href=https://okna-k.com.ua/>https://okna-k.com.ua</a> Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ². ΠΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ°, ΡΠΎΠ²Π΅ΡΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΈ ΠΏΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ Π΄Π»Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ°.
Erstellt am 10/11/25 um 22:51:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelRon schrieb:
ΠΠ»Π°Π²Π½ΡΠΉ Π°Π²ΡΠΎΠΏΠΎΡΡΠ°Π» ΡΡΡΠ°Π½Ρ <a href=https://nmiu.org.ua/>https://nmiu.org.ua</a> Π²ΡΡ ΠΎΠ± Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΡ
Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅! ΠΠΎΠ²ΠΎΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠΎΠ²Π΅ΡΡ, Π°Π²ΡΠΎΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΡ, ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ΠΈΠ΅, Π’Π ΠΈ ΡΠ΅ΡΠ²ΠΈΡ. ΠΠ»Ρ Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ, ΠΌΠ΅Ρ
Π°Π½ΠΈΠΊΠΎΠ² ΠΈ ΠΏΡΠΎΡΡΠΎ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ ΠΌΠ°ΡΠΈΠ½.
Erstellt am 10/11/25 um 23:07:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Matthewjew schrieb:
Π‘Π°ΠΉΡ ΠΎ ΠΌΠ΅ΡΠ°Π»Π»Π°Ρ
<a href=https://metalprotection.com...>https://metalprotection.com.ua</a> ΠΈ ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ΅: Π²ΠΈΠ΄Ρ ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠ², ΡΠΏΠ»Π°Π²Ρ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠΈ, ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ. ΠΡΡ Π΄Π»Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΌΠ΅ΡΠ°Π»Π»ΡΡΠ³ΠΈΠΈ.
Erstellt am 10/11/25 um 23:08:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JesseShefs schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΆΡΡΠ½Π°Π» <a href=https://rosetti.com.ua/>https://rosetti.com.ua</a> ΠΎ ΡΡΠΈΠ»Π΅, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ ΡΠ΅ΠΌΡΠ΅. ΠΠΎΠ²ΠΎΡΡΠΈ ΠΌΠΎΠ΄Ρ, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², ΡΡΠ΅Π½Π΄Ρ ΠΊΡΠ°ΡΠΎΡΡ ΠΈ ΡΠ΅ΠΊΡΠ΅ΡΡ ΡΡΠ°ΡΡΡΡ. ΠΡΡ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎ ΠΆΠ΅Π½ΡΠΈΠ½Π°ΠΌ Π»ΡΠ±ΠΎΠ³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ°.
Erstellt am 10/11/25 um 23:10:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Groverscask schrieb:
Π‘ΡΡΠ΄ΠΈΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ° <a href=https://anti-orange.com.ua/>https://anti-orange.com.ua</a> ΠΊΠ²Π°ΡΡΠΈΡ ΠΈ Π΄ΠΎΠΌΠΎΠ². ΠΡΠΏΠΎΠ»Π½ΡΠ΅ΠΌ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ, Π΄ΠΈΠ·Π°ΠΉΠ½-ΠΏΡΠΎΠ΅ΠΊΡΡ, ΠΎΡΠ΄Π΅Π»ΠΎΡΠ½ΡΠ΅ ΠΈ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΠ΅ ΡΠ°Π±ΠΎΡΡ. ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ, ΡΡΠΎΠΊΠΈ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΊΠ»ΠΈΠ΅Π½ΡΡ.
Erstellt am 10/12/25 um 02:28:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeorgeknizE schrieb:
Π’ΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://feokurort.com.ua/>https://feokurort.com.ua</a> Π΄Π»Ρ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ! Π‘ΡΡΠ°Π½Ρ, ΠΌΠ°ΡΡΡΡΡΡ, Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ, ΡΠΎΠ²Π΅ΡΡ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ. ΠΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ ΠΎΡΠ΄ΡΡ
, Π½Π°Ρ
ΠΎΠ΄ΠΈΡΠ΅ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ ΠΈ ΠΎΡΠΊΡΡΠ²Π°ΠΉΡΠ΅ ΠΌΠΈΡ Π²ΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ.
Erstellt am 10/12/25 um 02:41:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Darby schrieb:
buchmacher englisch
Erstellt am 10/12/25 um 05:41:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-708 schrieb:
africain foot <a href=https://parifoot-afrique.com/>melbet telecharger</a>
Erstellt am 10/12/25 um 09:16:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-574 schrieb:
info foot africain <a href=https://parifoot-afrique.com/>africain foot</a>
Erstellt am 10/12/25 um 09:21:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-afrique-937 schrieb:
info foot africain <a href=https://parifoot-afrique1.com/>melbet telecharger</a>
Erstellt am 10/12/25 um 09:23:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-afrique-185 schrieb:
pronostic foot gratuit <a href=https://parifoot-afrique1.com/>1xbet afrique apk</a>
Erstellt am 10/12/25 um 09:28:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
africain-foot-470 schrieb:
paris sportif foot <a href=https://pari-foot2.com/>info foot africain</a>
Erstellt am 10/12/25 um 09:31:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
africain-foot-697 schrieb:
football africain <a href=https://pari-foot2.com/>football africain</a>
Erstellt am 10/12/25 um 09:35:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi there, everything is going nicely here and ofcourse every one is sharing facts, that's actually good, keep up writing.
<a href=https://kra41-cc.cc>https://kra41-cc.cc</a>
<a href=https://kra41-cc.cc>https://kra41-cc.cc</a>
Erstellt am 10/12/25 um 11:19:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richarddot schrieb:
Π‘ΡΡΠ΄ΠΈΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π° <a href=https://bathen.rv.ua/>https://bathen.rv.ua</a> ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠΎΠ² ΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ½ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΠΉ. Π‘ΠΎΠ·Π΄Π°ΡΠΌ ΡΡΠΈΠ»ΡΠ½ΡΠ΅, ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΈ Π³Π°ΡΠΌΠΎΠ½ΠΈΡΠ½ΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π°. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΠΊ Π΄Π΅ΡΠ°Π»ΡΠΌ.
Erstellt am 10/12/25 um 11:28:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Kevinfes schrieb:
Π Π΅ΠΌΠΎΠ½Ρ ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ <a href=https://fmsu.org.ua/>https://fmsu.org.ua</a> Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ! ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΎΠ²Π΅ΡΡ. ΠΡ ΠΏΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎΡΡΡΠΎΠΈΡΡ, ΠΎΡΡΠ΅ΠΌΠΎΠ½ΡΠΈΡΠΎΠ²Π°ΡΡ ΠΈ ΠΎΠ±ΡΡΡΡΠΎΠΈΡΡ Π²Π°Ρ Π΄ΠΎΠΌ.
Erstellt am 10/12/25 um 11:43:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lapalandia.Bg schrieb:
wetten bonus code ohne einzahlung
Erstellt am 10/12/25 um 14:35:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-48 schrieb:
info foot africain <a href=https://parifoot-afrique.com/>telecharger 1xbet cameroun</a>
Erstellt am 10/12/25 um 14:56:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-afrique-824 schrieb:
pronostics du foot <a href=https://parifoot-afrique1.com/>1xbet afrique apk</a>
Erstellt am 10/12/25 um 15:10:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
africain-foot-786 schrieb:
afrik foot pronostic <a href=https://pari-foot2.com/>https://pari-foot2.com</a>
Erstellt am 10/12/25 um 15:14:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
beste Wettanbieter test Betrugstest schrieb:
wettstrategien forum
Erstellt am 10/12/25 um 15:39:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamRuple schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ ΡΡΡΠ΄ΠΈΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π° <a href=https://bconline.com.ua/>https://bconline.com.ua</a> Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ°, ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ, Π΄Π΅ΠΊΠΎΡ. ΠΡ ΡΠΎΠ·Π΄Π°ΡΠΌ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π°, Π³Π΄Π΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΡΠΎΡΠ΅ΡΠ°ΡΡΡΡ Ρ ΠΊΡΠ°ΡΠΎΡΠΎΠΉ, Π° ΡΡΠΈΠ»Ρ β Ρ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎΠΌ.
Erstellt am 10/12/25 um 19:12:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
africain-foot-410 schrieb:
info foot africain <a href=https://pari-foot2.com/>1xbet afrique apk</a>
Erstellt am 10/12/25 um 19:21:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-afrique-9 schrieb:
pronostic foot gratuit <a href=https://parifoot-afrique1.com/>telecharger 1xbet</a>
Erstellt am 10/12/25 um 19:26:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertKak schrieb:
Π‘ΠΎΠ·Π΄Π°Π²Π°ΠΉΡΠ΅ Π΄ΠΎΠΌ <a href=https://it-cifra.com.ua/>https://it-cifra.com.ua</a> ΡΠ²ΠΎΠ΅ΠΉ ΠΌΠ΅ΡΡΡ! ΠΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ°. ΠΠ΄Π΅ΠΈ, ΠΏΡΠΎΠ΅ΠΊΡΡ, ΡΠΎΡΠΎ ΠΈ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ β Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΠΉΡΠ΅ΡΡ ΠΈ Π²ΠΎΠΏΠ»ΠΎΡΠ°ΠΉΡΠ΅ Π·Π°Π΄ΡΠΌΠ°Π½Π½ΠΎΠ΅ Π»Π΅Π³ΠΊΠΎ ΠΈ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ.
Erstellt am 10/12/25 um 19:27:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-67 schrieb:
telecharger 1xbet pour android <a href=https://parifoot-afrique.com/>telecharger 1xbet apk</a>
Erstellt am 10/12/25 um 19:31:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyAbicy schrieb:
ΠΠΈΡ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ <a href=https://vineyardartdecor.com/>https://vineyardartdecor.com</a> ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π° Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅! ΠΡΡΡΠΈΠ΅ ΠΈΠ΄Π΅ΠΈ, ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ Π΄Π»Ρ Π΄ΠΎΠΌΠ°, ΠΎΡΠΈΡΠ° ΠΈ Π³ΠΎΡΠΎΠ΄Π°. Π£Π·Π½Π°ΠΉ, ΠΊΠ°ΠΊ ΡΠΎΠ·Π΄Π°ΡΡΡΡ ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π°.
Erstellt am 10/13/25 um 04:00:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ecoart.tome.press schrieb:
alle wettanbieter deutschland
Erstellt am 10/13/25 um 14:42:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Grantwhomb schrieb:
Π§Π°ΡΡΠ½ΡΠΉ Π·Π°Π΅ΠΌ Π΄Π΅Π½Π΅Π³ <a href=https://domadengii.ru/>Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΠ΅ Π΄Π΅Π½ΡΠ³ΠΈ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ</a> Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π° Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΠΎΠΌΡ ΠΊΡΠ΅Π΄ΠΈΡΡ. ΠΡΡΡΡΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ Π±Π΅Π· Π±ΡΡΠΎΠΊΡΠ°ΡΠΈΠΈ. ΠΠΎΠ»ΡΡΠΈΡΠ΅ Π½ΡΠΆΠ½ΡΡ ΡΡΠΌΠΌΡ Π½Π°Π»ΠΈΡΠ½ΡΠΌΠΈ ΠΈΠ»ΠΈ Π½Π° ΠΊΠ°ΡΡΡ Π·Π° ΡΡΠΈΡΠ°Π½Π½ΡΠ΅ ΠΌΠΈΠ½ΡΡΡ.
Erstellt am 10/13/25 um 21:39:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wette deutschland spanien schrieb:
wetten die man nur gewinnen kann
Erstellt am 10/13/25 um 22:06:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sportsat-80 schrieb:
ΠΡΠ΅ ΡΠΏΠΎΡΡΠΈΠ²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=http://sportsat.ru/>http://sportsat.ru</a> Π² ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ. ΠΡΠΎΠ³ΠΈ ΠΌΠ°ΡΡΠ΅ΠΉ, ΡΡΠ°Π½ΡΡΠ΅ΡΡ, ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ ΠΈ ΠΎΠ±Π·ΠΎΡΡ. Π‘Π»Π΅Π΄ΠΈΡΠ΅ Π·Π° ΡΠΎΠ±ΡΡΠΈΡΠΌΠΈ ΠΌΠΈΡΠΎΠ²ΠΎΠ³ΠΎ ΡΠΏΠΎΡΡΠ° ΠΈ ΠΎΡΡΠ°Π²Π°ΠΉΡΠ΅ΡΡ Π² ΠΊΡΡΡΠ΅ ΠΏΠΎΠ±Π΅Π΄ ΠΈ ΡΠ΅ΠΊΠΎΡΠ΄ΠΎΠ²!
Erstellt am 10/13/25 um 22:13:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CarmineNealo schrieb:
Suchen Sie Immobilien? <a href=https://www.montenegro-immo...>http://www.montenegro-immob...</a> wohnungen, Villen und Grundstucke mit Meerblick. Aktuelle Preise, Fotos, Auswahlhilfe und umfassende Transaktionsunterstutzung.
Erstellt am 10/14/25 um 02:56:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fitnes-klub-msk-22 schrieb:
ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ± ΡΠ΅Π½Ρ <a href=https://fitnes-klub-msk.ru/>ΡΠ΅ΡΡ ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ±ΠΎΠ²</a>
Erstellt am 10/14/25 um 15:57:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fitnes-klub-6 schrieb:
ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ± ΠΌΠΎΡΠΊΠ²Π° ΡΠ΅Π½Ρ <a href=https://fitnes-klub-msk.ru/>https://fitnes-klub-msk.ru</a>
Erstellt am 10/14/25 um 21:09:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fitnes-klub-627 schrieb:
ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ± ΠΌΠΎΡΠΊΠ²Π° <a href=https://fitnes-klub-msk.ru/>Π·Π°Π½ΡΡΠΈΡ Π² ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ±Π΅</a>
Erstellt am 10/14/25 um 21:14:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fitnes-klub-734 schrieb:
ΡΠ°ΠΉΡ ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ±Π° <a href=https://fitnes-klub-msk.ru/>ΡΠ΅ΡΡ ΡΠΈΡΠ½Π΅Ρ ΠΊΠ»ΡΠ±ΠΎΠ²</a>
Erstellt am 10/15/25 um 02:41:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
povozkin-282 schrieb:
ΠΠ°ΠΊΠ°Π· Π°Π²ΡΠΎΠ±ΡΡΠ° ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ <a href=https://povozkin.ru/>https://povozkin.ru</a>
Erstellt am 10/15/25 um 03:37:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
raymark-633 schrieb:
ΠΠ°Π·Π΅ΡΠ½ΡΠ΅ ΡΡΠ°Π½ΠΊΠΈ <a href=https://raymark.ru/>https://raymark.ru</a> Π΄Π»Ρ ΡΠ΅Π·ΠΊΠΈ ΠΌΠ΅ΡΠ°Π»Π»Π° Π² ΠΠΎΡΠΊΠ²Π΅. 20 Π»Π΅Ρ Π½Π° ΡΡΠ½ΠΊΠ΅, Π²ΡΠ³ΠΎΠ΄Π½Π°Ρ ΡΠ΅Π½Π°, ΡΠΊΠΈΠ΄ΠΊΠ° 5% ΠΏΡΠΈ Π·Π°ΡΠ²ΠΊΠ΅ Ρ ΡΠ°ΠΉΡΠ° + ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅
Erstellt am 10/15/25 um 09:11:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
homeclimat36-634 schrieb:
HOME CLIMAT <a href=https://homeclimat36.ru/>https://homeclimat36.ru</a> ΠΊΠΎΠ½Π΄ΠΈΡΠΈΠΎΠ½Π΅ΡΡ ΠΈ ΡΠΏΠ»ΠΈΡ ΡΠΈΡΡΠ΅ΠΌΡ Π² ΠΠΎΡΠΎΠ½Π΅ΠΆΠ΅. Π‘ΠΊΠΈΠ΄ΠΊΠ° Π½Π° ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΎΡ 3000 ΡΡΠ±Π»Π΅ΠΉ! ΠΡΠΈ ΠΏΠΎΠΊΡΠΏΠΊΠ΅ ΡΠΏΠ»ΠΈΡ-ΡΠΈΡΡΠ΅ΠΌΡ.
Erstellt am 10/15/25 um 09:30:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
nedvizhimost-chernogorii-14 schrieb:
ΠΡΠΆΠ½Π° Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ? <a href=https://www.nedvizhimost-ch...>Π§Π΅ΡΠ½ΠΎΠ³ΠΎΡΠΈΡ ΠΊΡΠΏΠΈΡΡ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ</a> Π»ΡΡΡΠΈΠ΅ ΠΎΠ±ΡΠ΅ΠΊΡΡ Π΄Π»Ρ ΠΆΠΈΠ·Π½ΠΈ ΠΈ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΠΉ. ΠΠΈΠ»Π»Ρ, ΠΊΠ²Π°ΡΡΠΈΡΡ ΠΈ Π΄ΠΎΠΌΠ° Ρ ΠΌΠΎΡΡ. ΠΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅, ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ ΠΈ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠΈ ΡΠ΄Π΅Π»ΠΊΠΈ Π½Π° Π²ΡΠ΅Ρ
ΡΡΠ°ΠΏΠ°Ρ
.
Erstellt am 10/15/25 um 15:09:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
skillstaff-394 schrieb:
ΠΡΡΡΡΠ°ΡΡΠΈΠ½Π³ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»Π° <a href=https://skillstaff2.ru/>https://skillstaff2.ru</a> Π΄Π»Ρ Π±ΠΈΠ·Π½Π΅ΡΠ°: Π»Π΅Π³Π°Π»ΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠΎΠ², ΡΠ½ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π½Π°Π»ΠΎΠ³ΠΎΠ²ΠΎΠΉ Π½Π°Π³ΡΡΠ·ΠΊΠΈ ΠΈ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΡΠ°ΡΡ
ΠΎΠ΄ΠΎΠ². Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡΠΌΠΈ Π»ΡΠ±ΠΎΠ³ΠΎ ΠΌΠ°ΡΡΡΠ°Π±Π° ΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ.
Erstellt am 10/15/25 um 15:36:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wett strategie schrieb:
bester wettanbieter
Erstellt am 10/15/25 um 20:55:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hrcservicellc.Com schrieb:
gutschein sportwetten ohne einzahlung
Erstellt am 10/15/25 um 22:38:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RogerAwams schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://v-stroit.ru/>https://v-stroit.ru</a> Π²ΡΡ ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅, ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ ΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ΅. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΎΡΡΠ°ΡΠ»ΠΈ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ Π΄Π»Ρ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΈ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ².
Erstellt am 10/15/25 um 23:58:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ernestpem schrieb:
Π ΠΈΡΠ»ΡΠΎΡΡΠΊΠ°Ρ ΠΊΠΎΠ½ΡΠΎΡΠ° <a href=https://daber27.ru/>https://daber27.ru</a> ΠΏΠΎΠΊΡΠΏΠΊΠ°, ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΈ Π°ΡΠ΅Π½Π΄Π° Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΠΎΡΠΎΡΠΌΠΈΡΡ ΡΠ΄Π΅Π»ΠΊΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ. ΠΠΏΡΡΠ½ΡΠ΅ ΡΠΈΡΠ»ΡΠΎΡΡ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ, ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ².
Erstellt am 10/16/25 um 03:12:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Johnnyglype schrieb:
ΠΡΠΏΠΎΠ»ΡΠ½ΡΠ΅ Π΄ΠΎΠΌΠ° <a href=https://kupol-doma.ru/>https://kupol-doma.ru</a> ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ β ΡΠ½Π΅ΡΠ³ΠΎΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅, Π½Π°Π΄ΡΠΆΠ½ΡΠ΅ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅. ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ ΠΈ ΠΎΡΠ΄Π΅Π»ΠΊΠ°. Π£Π½ΠΈΠΊΠ°Π»ΡΠ½Π°Ρ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ°, ΠΊΠΎΠΌΡΠΎΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ Π΄ΠΎΠΌΠ΅.
Erstellt am 10/16/25 um 03:15:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasSoash schrieb:
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΎΠ½Π½ΡΠΉ Π±Π»ΠΎΠ³ <a href=https://gidroekoproekt.ru/>https://gidroekoproekt.ru</a> Π΄Π»Ρ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΎΠ² ΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²ΡΠΈΠΊΠΎΠ². ΠΡΡ ΠΎΠ± ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΡ
ΠΈΠ·ΡΡΠΊΠ°Π½ΠΈΡΡ
, Π²ΠΎΠ΄ΠΎΡ
ΠΎΠ·ΡΠΉΡΡΠ²Π΅Π½Π½ΡΡ
ΠΎΠ±ΡΠ΅ΠΊΡΠ°Ρ
, Π³ΠΈΠ΄ΡΠΎΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠΌ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
Π² ΠΎΡΡΠ°ΡΠ»ΠΈ.
Erstellt am 10/16/25 um 06:08:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GonzaloBut schrieb:
ΠΠ°ΡΠ° ΠΠ΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ <a href=https://rbn-khv.ru/>https://rbn-khv.ru</a> ΡΠ°ΠΉΡ ΠΎ ΠΏΠΎΠΊΡΠΏΠΊΠ΅, ΠΏΡΠΎΠ΄Π°ΠΆΠ΅ ΠΈ Π°ΡΠ΅Π½Π΄Π΅ ΠΆΠΈΠ»ΡΡ. Π Π°Π·Π±ΠΈΡΠ°Π΅ΠΌ ΡΠ΄Π΅Π»ΠΊΠΈ, Π½Π°Π»ΠΎΠ³ΠΈ, ΠΈΠΏΠΎΡΠ΅ΠΊΡ ΠΈ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΠΈ. ΠΠΎΠ»Π΅Π·Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄Π»Ρ Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² ΠΈ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ.
Erstellt am 10/16/25 um 06:10:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wetten bonus ohne einzahlung schrieb:
grΓΆΓte wettanbieter deutschland
Erstellt am 10/16/25 um 11:58:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rosslestnica-960 schrieb:
ΠΠ΅ΡΠ΅Π²ΡΠ½Π½ΡΠ΅ Π»Π΅ΡΡΠ½ΠΈΡΡ <a href=https://rosslestnica.ru/>https://rosslestnica.ru</a> ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· Π² Π»ΡΠ±ΠΎΠΌ ΡΡΠΈΠ»Π΅. ΠΡΡΠΌΡΠ΅, Π²ΠΈΠ½ΡΠΎΠ²ΡΠ΅, ΠΌΠ°ΡΡΠ΅Π²ΡΠ΅ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΈΠ· ΠΌΠ°ΡΡΠΈΠ²Π°. ΠΠ°ΠΌΠ΅ΡΡ, 3D-ΠΏΡΠΎΠ΅ΠΊΡ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ°. ΠΠ°ΡΠ°Π½ΡΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ ΡΠΎΡΠ½ΠΎΡΡΠΈ ΠΈΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ.
Erstellt am 10/17/25 um 02:32:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
lestnicy-v-moskve-476 schrieb:
ΠΠ΅ΡΡΠ½ΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ <a href=https://Π»Π΅ΡΡΠ½ΠΈΡΡ-Π²-ΠΌΠΎΡΠΊΠ²Π΅.ΡΡ/>https://Π»Π΅ΡΡΠ½ΠΈΡΡ-Π²-ΠΌΠΎΡΠΊΠ²Π΅.ΡΡ</a> ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΈ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π·. ΠΡΡΠΌΡΠ΅, Π²ΠΈΠ½ΡΠΎΠ²ΡΠ΅, ΠΌΠΎΠ΄ΡΠ»ΡΠ½ΡΠ΅ ΠΈ ΡΠ΅ΡΠ΄Π°ΡΠ½ΡΠ΅ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΈ. ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ, Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΏΠΎ Π²ΡΠ΅ΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ.
Erstellt am 10/17/25 um 02:37:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wett tipps prognosen schrieb:
wettanbieter ohne wettsteuer
Erstellt am 10/17/25 um 14:36:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buy fifa coins 271 schrieb:
Flashback SBC decisions became easier once I learned to <a href=https://www.reddit.com/r/Ga...>buy fifa coins</a> maintaining reserve budgets for limited-time Squad Building Challenges featuring nostalgic player cards. Active vendors with real account security provide fast delivery and non drop policies ensuring you never miss special content opportunities.
Erstellt am 10/17/25 um 16:33:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
courses-ege-922 schrieb:
ΠΠ΅ΡΠΏΠ»Π°ΡΠ½ΡΠ΅ ΠΊΡΡΡΡ ΠΠΠ 2026 ΡΠ»ΠΈΠ² <a href=https://courses-ege.ru/>https://courses-ege.ru</a>
Erstellt am 10/18/25 um 05:12:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
online wetten gratis startguthaben schrieb:
wettseite
Erstellt am 10/18/25 um 07:28:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
courses-ege-638 schrieb:
ΠΡΡΡΡ ΠΏΠΎ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ΅ ΠΊ ΠΠΠ ΠΏΠΎ ΡΡΡΡΠΊΠΎΠΌΡ <a href=https://courses-ege.ru/>https://courses-ege.ru</a>
Erstellt am 10/18/25 um 11:11:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
courses-ege-933 schrieb:
ΠΡΡΡΡ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠΈ ΠΊ ΠΠΠ ΠΏΠΎ ΠΌΠ°ΡΠ΅ΠΌΠ°ΡΠΈΠΊΠ΅ <a href=https://courses-ege.ru/>https://courses-ege.ru</a>
Erstellt am 10/18/25 um 11:12:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Joleen schrieb:
sportwetten anbieter ohne oasis
Erstellt am 10/18/25 um 12:18:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sportsat-521 schrieb:
ΠΠΎΠ²ΠΎΡΡΠΈ ΡΠΏΠΎΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ <a href=http://sportsat.ru/>http://sportsat.ru</a> ΡΡΡΠ±ΠΎΠ», Ρ
ΠΎΠΊΠΊΠ΅ΠΉ, Π±ΠΎΠΊΡ, ΡΠ΅Π½Π½ΠΈΡ, Π±Π°ΡΠΊΠ΅ΡΠ±ΠΎΠ» ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π²ΠΈΠ΄Ρ ΡΠΏΠΎΡΡΠ°. Π Π΅Π·ΡΠ»ΡΡΠ°ΡΡ ΠΌΠ°ΡΡΠ΅ΠΉ, ΠΎΠ±Π·ΠΎΡΡ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΈ Π³Π»Π°Π²Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π΄Π½Ρ Π² ΠΌΠΈΡΠ΅ ΡΠΏΠΎΡΡΠ°.
Erstellt am 10/18/25 um 14:24:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
beste sportwetten app Schweiz schrieb:
kombiwette
Erstellt am 10/18/25 um 15:16:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-421 schrieb:
pronostics du foot <a href=https://pari-foot2.com/>telecharger 1xbet apk</a>
Erstellt am 10/18/25 um 19:17:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-838 schrieb:
melbet telecharger <a href=https://pari-foot2.com/>telecharger 1xbet pour android</a>
Erstellt am 10/19/25 um 01:13:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-172 schrieb:
info foot africain <a href=https://pari-foot2.com/>1xbet cameroun apk</a>
Erstellt am 10/19/25 um 01:14:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cottagecommunity-359 schrieb:
ΠΡΠ΅ ΠΎ ΠΊΠΎΡΡΠ΅Π΄ΠΆΠ½ΡΡ
ΠΏΠΎΡΡΠ»ΠΊΠ°Ρ
<a href=https://cottagecommunity.ru/>https://cottagecommunity.ru/</a> ΡΠΎΡΠΎ, ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΡΡΠΎΠΈΠΌΠΎΡΡΡ ΡΡΠ°ΡΡΠΊΠΎΠ² ΠΈ Π΄ΠΎΠΌΠΎΠ². ΠΡΡ ΠΎ ΠΏΠΎΠΊΡΠΏΠΊΠ΅, ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ ΠΈ ΠΆΠΈΠ·Π½ΠΈ Π·Π° Π³ΠΎΡΠΎΠ΄ΠΎΠΌ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅. ΠΠΎΠ»Π΅Π·Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄Π»Ρ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΈΠ½Π²Π΅ΡΡΠΎΡΠΎΠ².
Erstellt am 10/19/25 um 03:21:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelTheok schrieb:
<a href=https://behemothtour.com> video show
</a>
</a>
Erstellt am 10/20/25 um 00:36:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelTheok schrieb:
<a href=https://defleppardfaq.com> info stream
</a>
</a>
Erstellt am 10/20/25 um 07:35:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
live wetten Deutschland schrieb:
geld mit sportwetten verdienen
Erstellt am 10/20/25 um 10:20:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Alonzocof schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ Π΄ΠΎΠΌΠΎΠ² <a href=https://doma-land.ru/>https://doma-land.ru</a> ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ ΡΠΌΠ΅ΡΡ, ΡΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ (ΠΊΠ°ΡΠΊΠ°Ρ, Π³Π°Π·ΠΎΠ±Π΅ΡΠΎΠ½, ΠΊΠΈΡΠΏΠΈΡ, Π±ΡΡΡ), ΡΡΠ½Π΄Π°ΠΌΠ΅Π½Ρ ΠΈ ΠΊΡΠΎΠ²Π»Ρ, ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΈΡ ΠΈ ΡΡΠ΅ΠΏΠ»Π΅Π½ΠΈΠ΅. ΠΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡΡ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ, ΡΠ΅Π½Π΄Π΅Ρ ΠΏΠΎΠ΄ΡΡΠ΄ΡΠΈΠΊΠΎΠ², ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ Π±ΡΠΈΠ³Π°Π΄, ΠΊΠ°ΡΡΠ° ΡΠ΅Π½ ΠΏΠΎ ΡΠ΅Π³ΠΈΠΎΠ½Π°ΠΌ, Π³ΠΎΡΠΎΠ²ΡΠ΅ Π²Π΅Π΄ΠΎΠΌΠΎΡΡΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ ΠΏΡΠ°ΠΊΡΠΈΠΊΠ° Π±Π΅Π· ΠΎΡΠΈΠ±ΠΎΠΊ.
Erstellt am 10/20/25 um 15:15:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShawnScola schrieb:
ΠΠ²Π°ΡΡΠΈΡΠ° Ρ ΠΎΡΠ΄Π΅Π»ΠΊΠΎΠΉ <a href=https://Π½ΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈΠ²ΡΠΏΠ±.ΡΡ/>https://Π½ΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈΠ²ΡΠΏΠ±.ΡΡ</a> ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ ΠΏΡΠ΅Π΄ΡΠΊΠ°Π·ΡΠ΅ΠΌΡΠΉ Π±ΡΠ΄ΠΆΠ΅Ρ. Π€ΠΈΠ»ΡΡΡΡΠ΅ΠΌ ΠΏΠΎ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠ°ΠΌ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌ, ΠΊΠ»Π°ΡΡΡ Π΄ΠΎΠΌΠ° ΠΈ Π°ΠΊΡΡΡΠΈΠΊΠ΅. ΠΡΠΎΠ²Π΅ΡΡΠ΅ΠΌ ΡΡΠ°Π½Π΄Π°ΡΡ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ, ΡΠΎΠ»ΡΠΈΠ½Ρ ΡΡΡΠΆΠΊΠΈ, ΡΠΎΠ²Π½ΠΎΡΡΡ ΡΡΠ΅Π½, ΡΠ°Π±ΠΎΡΡ Π΄Π²Π΅ΡΠ΅ΠΉ/ΠΎΠΊΠΎΠ½, ΡΠΊΡΡΡΡΠ΅ ΠΊΠΎΠΌΠΌΡΠ½ΠΈΠΊΠ°ΡΠΈΠΈ. ΠΡΠΈΡΠΌΠΊΠ° ΠΏΠΎ Π΄Π΅ΡΠ΅ΠΊΡ-Π»ΠΈΡΡΡ, ΡΡΡΠ°ΡΡ Π·Π° ΠΏΡΠΎΡΡΠΎΡΠΊΡ.
Erstellt am 10/20/25 um 17:03:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelTheok schrieb:
<a href=https://nadasurftour.com> fan channel
</a>
</a>
Erstellt am 10/20/25 um 18:58:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Daceacademy.Alisonsnewdemo.online schrieb:
bester neukundenbonus wettanbieter
Erstellt am 10/21/25 um 16:20:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sibzta schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«Π‘ΠΈΠ±ΠΠ’ΠΒ» <a href=https://sibzta.su/>https://sibzta.su</a> ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ Π·Π°Π΄Π²ΠΈΠΆΠΊΠΈ, ΠΊΠ»Π°ΠΏΠ°Π½Ρ ΠΈ Π΄ΡΡΠ³ΡΡ ΡΡΡΠ±ΠΎΠΏΡΠΎΠ²ΠΎΠ΄Π½ΡΡ Π°ΡΠΌΠ°ΡΡΡΡ Ρ 2014 Π³ΠΎΠ΄Π°. ΠΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ: ΡΡΠ°Π»Ρ, ΡΡΠ³ΡΠ½, Π½Π΅ΡΠΆΠ°Π²Π΅ΠΉΠΊΠ°. ΠΡΠΎΡΠ½ΡΠ΅ ΡΠΏΠ»ΠΎΡΠ½Π΅Π½ΠΈΡ, ΡΡΠ°Π½Π΄Π°ΡΡΡ ΠΠΠ‘Π’, ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π·, Π±ΡΡΡΡΠ°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΡ.
Erstellt am 10/21/25 um 16:36:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
Valuable info. Lucky me I discovered your site by accident, and I am surprised why this twist of fate did not took place earlier! I bookmarked it.
<a href=https://staffinggoals.com/>https://staffinggoals.com/</a>
<a href=https://staffinggoals.com/>https://staffinggoals.com/</a>
Erstellt am 10/21/25 um 21:13:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Appreciating the time and effort you put into your website and detailed information you offer. It's good to come across a blog every once in a while that isn't the same old rehashed material. Great read! I've bookmarked your site and I'm adding your RSS feeds to my Google account.
<a href=https://staffinggoals.com/>https://staffinggoals.com/</a>
<a href=https://staffinggoals.com/>https://staffinggoals.com/</a>
Erstellt am 10/21/25 um 22:00:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
I blog frequently and I really appreciate your information. Your article has really peaked my interest. I am going to bookmark your site and keep checking for new information about once a week. I subscribed to your RSS feed too.
<a href=https://easystaffingmd.com/>https://easystaffingmd.com/</a>
<a href=https://easystaffingmd.com/>https://easystaffingmd.com/</a>
Erstellt am 10/22/25 um 07:53:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi, the whole thing is going sound here and ofcourse every one is sharing information, that's genuinely fine, keep up writing.
<a href=https://easystaffingmd.com/>easystaffingmd.com</a>
<a href=https://easystaffingmd.com/>easystaffingmd.com</a>
Erstellt am 10/22/25 um 08:49:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sieg Platz Wette Pferderennen schrieb:
esc buchmacher quoten
Erstellt am 10/22/25 um 14:37:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Angelica schrieb:
wetten deutschland japan
Erstellt am 10/22/25 um 22:28:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaymy onlayn 718 schrieb:
Π·Π°ΠΉΠΌ Π΄Π΅Π½ΡΠ³ΠΈ ΡΡΠ°Π·Ρ <a href=https://zaimy-54.ru/>ΠΌΡΠΎ Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 10/23/25 um 10:31:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy 386 schrieb:
Π·Π°ΠΉΠΌ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaimy-57.ru/>Π΄Π΅Π½ΡΠ³ΠΈ Π΄ΠΎ Π·Π°ΡΠΏΠ»Π°ΡΡ Π·Π° 15 ΠΌΠΈΠ½ΡΡ</a>
Erstellt am 10/23/25 um 10:36:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaim online 261 schrieb:
Π²Π·ΡΡΡ Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zaimy-59.ru/>https://zaimy-59.ru</a>
Erstellt am 10/23/25 um 10:38:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaem-545 schrieb:
Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ <a href=https://zaimy-61.ru/>https://zaimy-61.ru</a>
Erstellt am 10/23/25 um 11:38:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
online-zaymy-630 schrieb:
ΠΊΡΠ΅Π΄ΠΈΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaimy-63.ru/>https://zaimy-63.ru</a>
Erstellt am 10/23/25 um 11:39:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-online-325 schrieb:
Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΏΠ΅ΡΠ΅ΠΏΠ»Π°Ρ <a href=https://zaimy-65.ru/>Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ ΠΈ ΠΏΠΎΡΡΡΠΈΡΠ΅Π»Π΅ΠΉ</a>
Erstellt am 10/23/25 um 11:42:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
psxnews.ir schrieb:
wetten handicap bedeutung
Erstellt am 10/23/25 um 14:34:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vzyat-zaym-450 schrieb:
Π·Π°ΠΉΠΌ Ρ ΠΏΠ»ΠΎΡ
ΠΎΠΉ ΠΊΡΠ΅Π΄ΠΈΡΠ½ΠΎΠΉ <a href=https://zaimy-67.ru/>ΠΎΡΠΎΡΠΌΠΈΡΡ Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· ΠΊΠΎΠΌΠΈΡΡΠΈΠΈ</a>
Erstellt am 10/23/25 um 16:39:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vse-zaymy-17 schrieb:
Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ <a href=https://zaimy-69.ru/>ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ</a>
Erstellt am 10/23/25 um 16:40:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaym-vsem-325 schrieb:
Π΄Π΅Π½Π΅ΠΆΠ½ΡΠΉ Π·Π°ΠΉΠΌ <a href=https://zaimy-71.ru/>ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠ΅ Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π½Π° ΠΊΠ°ΡΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ</a>
Erstellt am 10/23/25 um 16:42:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-vsem-383 schrieb:
Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaimy-73.ru/>https://zaimy-73.ru</a>
Erstellt am 10/23/25 um 18:47:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaym vzyat 396 schrieb:
Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΏΡΠΎΠ²Π΅ΡΠΎΠΊ <a href=https://zaimy-76.ru/>https://zaimy-76.ru</a>
Erstellt am 10/23/25 um 18:47:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
denezhnyy-zaym-707 schrieb:
ΡΡΠΎΡΠ½ΠΎ Π½ΡΠΆΠ΅Π½ Π·Π°ΠΉΠΌ <a href=https://zaimy-78.ru/>https://zaimy-78.ru</a>
Erstellt am 10/23/25 um 18:48:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ClydeRak schrieb:
<p>ΠΡΠΊΠΌΠ΅ΠΊΠ΅Ρ ΠΈ ΠΊΠ°Π·ΠΈΠ½ΠΎ 1win Ρ
Π²Π°Π»ΠΈΡΡΡ ΡΡΠΈΠ±Π΅ΡΠ°ΠΌΠΈ.
ΠΡΠΎΠΌΠΎ?ΠΊΠΎΠ΄Ρ ΠΈ Π±ΠΎΠ½ΡΡΡ ΡΡΠΈΠ»ΠΈΠ²Π°ΡΡ ΠΏΠ΅ΡΠ²ΡΡ ΡΠ΅ΡΡΠΈΡ.
Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ, Π·Π°ΡΠ΅ΠΌ ΠΌΠΎΠΆΠ½ΠΎ Π°ΠΊΡΠΈΠ²ΠΈΡΠΎΠ²Π°ΡΡ Π²Π°ΡΡΠ΅Ρ.
ΠΠ³ΡΠΎΠ²ΠΎΠ΅ Π»ΠΎΠ±Π±ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ.
ΠΡΠ΅ΡΡ Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΠΉ Π²Π°ΡΡΠ΅Ρ β ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈ ΠΏΠΎ <a href='https://thatweirdpage.com/&...>1Π²ΠΈΠ½ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄</a> ΠΈ Π²Π²ΠΎΠ΄ΠΈ Π΅Π³ΠΎ Π² ΠΏΡΠΎΡΠΈΠ»Π΅.
Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ Π»ΠΈΠΌΠΈΡΡ, Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠΈΡΠΊΠΎΠ².</p>
ΠΡΠΎΠΌΠΎ?ΠΊΠΎΠ΄Ρ ΠΈ Π±ΠΎΠ½ΡΡΡ ΡΡΠΈΠ»ΠΈΠ²Π°ΡΡ ΠΏΠ΅ΡΠ²ΡΡ ΡΠ΅ΡΡΠΈΡ.
Π Π΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ, Π·Π°ΡΠ΅ΠΌ ΠΌΠΎΠΆΠ½ΠΎ Π°ΠΊΡΠΈΠ²ΠΈΡΠΎΠ²Π°ΡΡ Π²Π°ΡΡΠ΅Ρ.
ΠΠ³ΡΠΎΠ²ΠΎΠ΅ Π»ΠΎΠ±Π±ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ.
ΠΡΠ΅ΡΡ Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΠΉ Π²Π°ΡΡΠ΅Ρ β ΠΏΠ΅ΡΠ΅Ρ ΠΎΠ΄ΠΈ ΠΏΠΎ <a href='https://thatweirdpage.com/&...>1Π²ΠΈΠ½ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄</a> ΠΈ Π²Π²ΠΎΠ΄ΠΈ Π΅Π³ΠΎ Π² ΠΏΡΠΎΡΠΈΠ»Π΅.
Π‘ΠΎΡ ΡΠ°Π½ΡΠΉΡΠ΅ Π»ΠΈΠΌΠΈΡΡ, Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ ΡΠΈΡΠΊΠΎΠ².</p>
Erstellt am 10/23/25 um 19:18:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mikrozaym-404 schrieb:
ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌΡ <a href=https://zaimy-80.ru/>https://zaimy-80.ru</a>
Erstellt am 10/23/25 um 20:55:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaym-vsem-927 schrieb:
ΠΊΡΠ΅Π΄ΠΈΡΠ½ΡΠΉ Π·Π°ΠΉΠΌ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaimy-86.ru/>Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ Π²ΡΠ΅ Π·Π°ΠΉΠΌΡ Π½Π° ΠΊΠ°ΡΡΡ</a>
Erstellt am 10/23/25 um 20:56:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mfo zaym 226 schrieb:
Π·Π°ΠΉΠΌ Π΄Π΅Π½ΡΠ³ΠΈ ΡΡΠ°Π·Ρ <a href=https://zaimy-82.ru/>Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 10/23/25 um 20:56:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mfo-zaym-onlayn-764 schrieb:
Π΄Π΅Π½Π΅ΠΆΠ½ΡΠΉ ΠΊΡΠ΅Π΄ΠΈΡ Π·Π°ΠΉΠΌ <a href=https://zaimy-87.ru/>https://zaimy-87.ru</a>
Erstellt am 10/23/25 um 22:51:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
srochnyy-zaym-430 schrieb:
Π·Π°ΠΉΠΌ Π±Π΅Π· ΠΏΠ΅ΡΠ΅ΠΏΠ»Π°Ρ <a href=https://zaimy-88.ru/>https://zaimy-88.ru</a>
Erstellt am 10/23/25 um 22:54:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mikrozaym-vsem-449 schrieb:
Π·Π°ΠΉΠΌ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ <a href=https://zaimy-89.ru/>ΠΎΠ½Π»Π°ΠΉΠ½ Π·Π°ΠΉΠΌ Π±Π΅Π· Π·Π²ΠΎΠ½ΠΊΠΎΠ² ΠΈ ΡΠΏΡΠ°Π²ΠΎΠΊ</a>
Erstellt am 10/23/25 um 22:57:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mfo-zaimy-167 schrieb:
Π·Π°ΠΉΠΌ Π½Π° ΠΊΠ°ΡΡΡ ΡΡΠΎΡΠ½ΠΎ <a href=https://zaimy-90.ru/>https://zaimy-90.ru</a>
Erstellt am 10/24/25 um 06:06:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
srochnie-zaymy-273 schrieb:
Π·Π°ΠΉΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zaimy-91.ru/>https://zaimy-91.ru</a>
Erstellt am 10/24/25 um 06:11:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fsaved-814 schrieb:
Π‘ΠΊΠ°ΡΠ°ΡΡ Π²ΠΈΠ΄Π΅ΠΎ Ρ YouTube <a href=https://www.fsaved.com/>https://www.fsaved.com</a> ΠΎΠ½Π»Π°ΠΉΠ½: MP4/WEBM/3GP, ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ 144pβ4K, ΠΊΠΎΠ½Π²Π΅ΡΡΠ°ΡΠΈΡ Π² MP3/M4A, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Shorts ΠΈ ΠΏΠ»Π΅ΠΉΠ»ΠΈΡΡΠΎΠ², ΡΡΠ±ΡΠΈΡΡΡ ΠΈ ΠΎΠ±Π»ΠΎΠΆΠΊΠΈ. ΠΠ΅Π· ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ, Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ, Π½Π° ΡΠ΅Π»Π΅ΡΠΎΠ½Π΅ ΠΈ ΠΠ. ΠΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Ρ ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΏΡΠ°Π²ΠΎΠΎΠ±Π»Π°Π΄Π°ΡΠ΅Π»Ρ ΠΈ Π² ΡΠ°ΠΌΠΊΠ°Ρ
ΠΏΡΠ°Π²ΠΈΠ» YouTube.
Erstellt am 10/24/25 um 06:16:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Billyswork schrieb:
The best is only here: <a href=https://www.gallereo.com/>https://www.gallereo.com</a>
Erstellt am 10/24/25 um 11:06:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelwek schrieb:
The latest is here: <a href=https://www.yojoe.com/>https://www.yojoe.com</a>
Erstellt am 10/24/25 um 11:11:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShawnWag schrieb:
Visit our website: <a href=https://superweb.de/>https://superweb.de</a>
Erstellt am 10/24/25 um 11:11:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
eigene wetten erstellen app schrieb:
wettstrategien
Erstellt am 10/24/25 um 12:01:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesterie schrieb:
Learn more on the website: <a href=https://unilago.com/>https://unilago.com</a>
Erstellt am 10/24/25 um 12:09:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charleswoord schrieb:
The latest and most relevant: <a href=https://tic-inspectiongroup...>https://tic-inspectiongroup.com</a>
Erstellt am 10/24/25 um 12:13:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Anthonystict schrieb:
The best is only here: <a href=https://smartzoz.in/>https://smartzoz.in</a>
Erstellt am 10/24/25 um 12:13:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
FrankVab schrieb:
The best is right here: <a href=https://redrc.net/>https://redrc.net</a>
Erstellt am 10/24/25 um 14:25:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mariokew schrieb:
All the best is here: <a href=https://radhavatika.ac.in/>https://radhavatika.ac.in</a>
Erstellt am 10/24/25 um 14:27:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrendanSup schrieb:
Top picks for you: <a href=https://theshaderoom.com/>https://theshaderoom.com</a>
Erstellt am 10/24/25 um 14:27:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Laverneabeno schrieb:
New updates feed: <a href=https://www.saffireblue.ca/>https://www.saffireblue.ca</a>
Erstellt am 10/24/25 um 16:51:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PeterGreew schrieb:
Updated today: <a href=https://nature-et-avenir.org/>https://nature-et-avenir.org</a>
Erstellt am 10/24/25 um 16:51:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Larrycof schrieb:
All the latest is here: <a href=https://cour-interieure.fr/>https://cour-interieure.fr</a>
Erstellt am 10/24/25 um 16:52:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
seriΓΆse online wetten schrieb:
sportwetten anbieter paypal
Erstellt am 10/24/25 um 17:33:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LouisStaws schrieb:
Only the important and best: <a href=https://www.weyher.de/>https://www.weyher.de</a>
Erstellt am 10/24/25 um 17:50:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelfax schrieb:
The main thing is here: <a href=https://www.atrium-patrimoi...>https://www.atrium-patrimoine.com</a>
Erstellt am 10/24/25 um 17:51:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrianEntet schrieb:
The whole summary for you: <a href=https://www.intercultural.o...>https://www.intercultural.org.au</a>
Erstellt am 10/24/25 um 17:51:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethRat schrieb:
Π²Π·ΡΡΡ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ <a href=https://lovi-money.ru/>ΠΎΠ½Π»Π°ΠΉΠ½ Π΄Π΅Π½ΡΠ³ΠΈ</a>
Erstellt am 10/24/25 um 18:51:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fastmoney-920 schrieb:
ΠΊΡΠ΅Π΄ΠΈΡ Π·Π°ΠΉΠΌ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://fastmoney-info.ru/>Π²Π·ΡΡΡ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ</a>
Erstellt am 10/24/25 um 18:52:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kredits-cash-588 schrieb:
Π±ΡΡΡΡΡΠΉ Π·Π°ΠΉΠΌ <a href=https://kredits-cash.ru/>ΠΌΡΠΎ Π²Π·ΡΡΡ Π·Π°ΠΉΠΌ</a>
Erstellt am 10/24/25 um 18:56:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgejus schrieb:
Read more on the website: <a href=https://sportquantum.com/>https://sportquantum.com/</a>
Erstellt am 10/25/25 um 03:48:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HarveyLency schrieb:
Learn more here: <a href=https://www.atoallinks.com/>https://www.atoallinks.com</a>
Erstellt am 10/25/25 um 03:49:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasCig schrieb:
Here are all the details: <a href=https://travel2mv.com/>https://travel2mv.com</a>
Erstellt am 10/25/25 um 03:50:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rafaelpleax schrieb:
The best of the best is here: <a href=https://joogastuudio.ee/>https://joogastuudio.ee</a>
Erstellt am 10/25/25 um 04:34:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JasonTydaY schrieb:
Best selection of the day: <a href=https://playplayfun.com/>https://playplayfun.com</a>
Erstellt am 10/25/25 um 04:34:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RolandoDrype schrieb:
Only top materials: <a href=https://fluentcpp.com/>https://fluentcpp.com</a>
Erstellt am 10/25/25 um 04:35:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randyvek schrieb:
Detailed information: <a href=https://agriness.com/>https://agriness.com</a>
Erstellt am 10/25/25 um 05:19:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brucedus schrieb:
See the details: <a href=https://childstrive.org/>https://childstrive.org</a>
Erstellt am 10/25/25 um 05:19:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StevenpHams schrieb:
Full overview of the topic: <a href=https://www.autora.sk/>https://www.autora.sk</a>
Erstellt am 10/25/25 um 05:20:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlesdruri schrieb:
Top materials of the week: <a href=https://lmc896.org/>https://lmc896.org</a>
Erstellt am 10/25/25 um 09:04:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Justinhib schrieb:
Learn more here: <a href=https://enah.edu.mx/>https://enah.edu.mx</a>
Erstellt am 10/25/25 um 09:04:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ElliottBak schrieb:
Current recommendations: <a href=https://tdea.pk/>https://tdea.pk</a>
Erstellt am 10/25/25 um 09:05:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Matthewfat schrieb:
Here are all the details: <a href=https://manaolahawaii.com/>https://manaolahawaii.com</a>
Erstellt am 10/25/25 um 10:05:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Emilejoymn schrieb:
The most interesting is here: <a href=https://ondesparalleles.org/>https://ondesparalleles.org</a>
Erstellt am 10/25/25 um 10:06:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlfonsoNap schrieb:
Details inside: <a href=https://elamed.pl/>https://elamed.pl</a>
Erstellt am 10/25/25 um 10:52:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Raymondbib schrieb:
Trusted and best: <a href=https://dnce.in/>https://dnce.in</a>
Erstellt am 10/25/25 um 10:52:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Duanerof schrieb:
Full version of the material: <a href=https://hyundaimobil.co.id/>https://hyundaimobil.co.id</a>
Erstellt am 10/25/25 um 10:53:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Peterbeaus schrieb:
Don't Miss the Best: <a href=https://deeprealestate.in/>https://deeprealestate.in</a>
Erstellt am 10/25/25 um 11:36:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlieNip schrieb:
Related Today: <a href=https://cere-india.org/>https://cere-india.org</a>
Erstellt am 10/25/25 um 11:36:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sidneyharty schrieb:
Real-Time Update: <a href=https://bioenergetic-therap...>https://bioenergetic-therapy.com</a>
Erstellt am 10/25/25 um 11:37:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Victor schrieb:
online wetten mit startguthaben ohne einzahlung
Erstellt am 10/25/25 um 11:41:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SamuelCef schrieb:
Read the Full Version: <a href=https://alhudapk.com/>https://alhudapk.com</a>
Erstellt am 10/25/25 um 13:34:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PhillipAlaky schrieb:
Details at the Link: <a href=https://billi-walker.jp/>https://billi-walker.jp</a>
Erstellt am 10/25/25 um 13:34:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielAlowl schrieb:
Full Version Here: <a href=https://www.saffireblue.ca/>https://www.saffireblue.ca</a>
Erstellt am 10/25/25 um 13:35:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertprure schrieb:
Trusted Sources: <a href=https://copychief.com/>https://copychief.com</a>
Erstellt am 10/25/25 um 14:29:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jimmydak schrieb:
Most Useful Materials: <a href=https://www.autotat.ru/>https://www.autotat.ru</a>
Erstellt am 10/25/25 um 14:29:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GrahamLic schrieb:
Key Takeaways Here: <a href=https://www.leristrutturazi...>https://www.leristrutturazioni.it</a>
Erstellt am 10/25/25 um 14:30:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ChesterMew schrieb:
ΠΡΡΡΠ΅Π΅ ΠΏΡΡΠΌΠΎ Π·Π΄Π΅ΡΡ: <a href=https://volgazdrav.ru/>https://volgazdrav.ru</a>
Erstellt am 10/25/25 um 15:32:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Davidhic schrieb:
ΠΡΡ ΡΠ°ΠΌΠΎΠ΅ Π»ΡΡΡΠ΅Π΅ Ρ Π½Π°Ρ: <a href=https://radiocert.ru/>https://radiocert.ru</a>
Erstellt am 10/25/25 um 15:32:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Douglasroome schrieb:
Π’ΠΎΠΏ-Π²ΡΠ±ΠΎΡ Π΄Π»Ρ Π²Π°Ρ: <a href=https://nas-3.ru/>https://nas-3.ru</a>
Erstellt am 10/25/25 um 15:32:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randyvob schrieb:
ΠΡΡ ΡΠ°ΠΌΠΎΠ΅ Π½ΠΎΠ²ΠΎΠ΅ ΡΡΡ: <a href=https://it-on.ru/>https://it-on.ru</a>
Erstellt am 10/25/25 um 16:20:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WalterGot schrieb:
Π§ΠΈΡΠ°ΠΉΡΠ΅ Π±ΠΎΠ»ΡΡΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅: <a href=https://bibamotor.ru/>https://bibamotor.ru</a>
Erstellt am 10/25/25 um 16:22:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Davidbop schrieb:
Click to learn more: <a href=https://www.atrium-patrimoi...>https://www.atrium-patrimoine.com</a>
Erstellt am 10/25/25 um 16:22:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jogolegacyofdead 707 schrieb:
Jogue o caca-niqueis <a href=https://jogolegacyofdead.com/>slot Legacy of Dead</a>: tumbas antigas, riscos e giros gratis com simbolos expansivos. Modo de demonstracao sem cadastro, RTP justo, simbolos Wild/Scatter, multiplicadores e rodadas bonus. Otimizado para dispositivos moveis, depositos e saques praticos, dicas para iniciantes.
Erstellt am 10/25/25 um 17:22:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
onewinner 308 schrieb:
ΠΡΠ±ΠΈΡΠ΅ ΠΊΠ»Π°ΡΡΠΈΠΊΡ? <a href=https://onewinner.sbs/>ΠΈΠ³ΡΠ°ΡΡ ΡΠ»ΠΎΡ ΡΡΡΠΊΡΡ</a> Ρ ΡΠ΅ΠΌΡΡΠΊΠ°ΠΌΠΈ, BAR ΠΈ ΡΠΈΡΡΡΡΠ°ΠΌΠΈ Π΄Π°ΡΠΈΡ ΡΠ°ΡΡΡΠ΅ Ρ
ΠΈΡΡ, Wild, Scatter ΠΈ Π±ΠΎΠ½ΡΡΠ½ΡΠ΅ Π²ΡΠ°ΡΠ΅Π½ΠΈΡ. ΠΠ΅ΠΌΠΎ-ΡΠ΅ΠΆΠΈΠΌ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, ΡΠ΅ΡΡΠ½ΡΠΉ RTP, Π°Π΄Π°ΠΏΡΠ°ΡΠΈΡ ΠΏΠΎΠ΄ ΡΠΌΠ°ΡΡΡΠΎΠ½Ρ. ΠΡΠΎΡΡΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»Π° ΠΈ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ½ΡΠΉ Π³Π΅ΠΉΠΌΠΏΠ»Π΅ΠΉ β ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ Π΄Π»Ρ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ² ΠΈ ΠΏΡΠΎΡΠΈ. ΠΠΎΠΌΠ½ΠΈΡΠ΅ ΠΎ ΡΠ°Π·ΡΠΌΠ½ΡΡ
Π»ΠΈΠΌΠΈΡΠ°Ρ
.
Erstellt am 10/25/25 um 17:23:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jogoriogem 707 schrieb:
O caca-niqueis <a href=https://jogoriogems.com/>jogo rio gems</a> combina a nostalgia classica com o dinamismo de um parque de diversoes: multiplicadores, giros gratis, re-spins e Wilds aleatorios. Apresenta graficos coloridos, uma interface responsiva e uma versao demo para praticar. Ao jogar, lembre-se de se manter seguro: estabeleca limites e faca pausas.
Erstellt am 10/25/25 um 17:24:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
9masksoffire 157 schrieb:
ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠΈΡΠΌ Π΄ΠΆΡΠ½Π³Π»Π΅ΠΉ Π² <a href=https://9masksoffire.cc/>ΠΈΠ³ΡΠ°ΡΡ 9 ΠΌΠ°ΡΠΎΠΊ</a>: ΡΠΎΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΌΠ°ΡΠΊΠΈ-Scatter Π΄Π»Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΡΡ
Π²ΡΠΏΠ»Π°Ρ, Π°ΠΊΡΠΈΠ²ΠΈΡΡΠΉΡΠ΅ ΡΡΠΈΡΠΏΠΈΠ½Ρ ΠΈ ΠΌΠ½ΠΎΠΆΠΈΡΠ΅Π»ΠΈ Π½Π° Π±ΠΎΠ½ΡΡΠ½ΠΎΠΌ ΠΊΠΎΠ»Π΅ΡΠ΅. Π―ΡΠΊΠ°Ρ Π³ΡΠ°ΡΠΈΠΊΠ°, ΠΎΡΠ·ΡΠ²ΡΠΈΠ²ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° iOS/Android, Π΄Π΅ΠΌΠΎ Π±Π΅Π· ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ. ΠΠ³ΡΠ°ΠΉΡΠ΅ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΠΎ β Π·Π°Π΄Π°Π²Π°ΠΉΡΠ΅ ΠΏΡΠ΅Π΄Π΅Π»Ρ.
Erstellt am 10/25/25 um 18:12:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesemuro schrieb:
Expanded version here: <a href=https://runcam.com/>https://runcam.com</a>
Erstellt am 10/25/25 um 18:13:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShawnLob schrieb:
Full list of materials: <a href=https://g-r-s.fr/>https://g-r-s.fr</a>
Erstellt am 10/25/25 um 18:13:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlfonsoAling schrieb:
The best click here: <a href=https://www.gagolga.de/>https://www.gagolga.de</a>
Erstellt am 10/25/25 um 19:09:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasVER schrieb:
Top recommendations: <a href=https://www.greenwichodeum....>https://www.greenwichodeum.com</a>
Erstellt am 10/25/25 um 19:09:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TrentWhago schrieb:
All on this topic - here: <a href=https://badgerboats.ru/>https://badgerboats.ru</a>
Erstellt am 10/25/25 um 19:10:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
n-katalog-165 schrieb:
ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ Π»ΡΡΡΠΈΠΉ ΡΠΎΠ²Π°Ρ Π½Π° <a href=https://n-katalog.ru/>https://n-katalog.ru</a>: ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΊΠ°ΡΡΠΎΡΠΊΠΈ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ, ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ, ΡΠΎΡΠΎ, ΡΠΈΠ»ΡΡΡΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ ΠΈ Π±ΡΠ΅Π½Π΄Π°ΠΌ. Π‘ΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΡΠ΅Π½, Π°ΠΊΡΠΈΠΈ, ΠΊΡΡΠ±ΡΠΊ-ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π³ΡΠ°ΡΠΈΠΊΠΈ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ. ΠΡΠΈΠΌΠΈΡΠ΅ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄ΠΈΡΠ΅ ΠΊ ΠΏΠΎΠΊΡΠΏΠΊΠ΅ Π² ΡΠ΄ΠΎΠ±Π½ΠΎΠΌ ΠΌΠ°Π³Π°Π·ΠΈΠ½Π΅.
Erstellt am 10/25/25 um 20:14:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimnakartu-]561 schrieb:
ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌΡ <a href=https://zaimnakartu3.ru/>ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΌΠΈΠΊΡΠΎΠ·Π°ΠΉΠΌ</a>
Erstellt am 10/25/25 um 20:14:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fotoredaktor-819 schrieb:
Pe pagina <a href=https://fotoredaktor.top>https://fotoredaktor.top</a> am aflat in ce ?ara este Muntenegru.
Erstellt am 10/25/25 um 20:19:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Thanks for any other informative web site. The place else could I am getting that type of info written in such an ideal method? I have a mission that I am just now working on, and I've been on the look out for such information.
<a href=https://kra42c.com>kra42 cc</a>
<a href=https://kra42c.com>kra42 cc</a>
Erstellt am 10/26/25 um 03:30:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a bit, but other than that, this is magnificent blog. A fantastic read. I'll certainly be back.
<a href=https://kra42c.com>https://kra42c.com</a>
<a href=https://kra42c.com>https://kra42c.com</a>
Erstellt am 10/26/25 um 04:04:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
siviagmen-784 schrieb:
ΠΠ° ΡΡΠΎΡΡΠ½ΡΡ <a href=https://siviagmen.com/>https://siviagmen.com</a> ΡΠΈΡΠ°Π² Π²ΡΠ΄Π³ΡΠΊΠΈ ΠΏΡΠΎ ΡΠ΅ΠΌΠΎΠ½Ρ Π΄ΠΈΡΡΡΠΈΡ
ΠΊΠΎΠ»ΡΡΠΎΠΊ Π§Π΅ΡΠ½ΡΠ²ΡΡ.
Erstellt am 10/26/25 um 04:19:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buybuyviamen-465 schrieb:
ΠΠΎΡΠ»Π΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΡ <a href=https://buybuyviamen.com/>https://buybuyviamen.com</a> ΡΠ΄Π΅Π»Π°Π»ΠΈ Ρ
ΡΡΡΠ΅Π²ΡΠΊΠΈΠΉ Ρ
ΠΎΠ»ΠΎΠ΄ΠΈΠ»ΡΠ½ΠΈΠΊ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ.
Erstellt am 10/26/25 um 04:22:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mr-master-572 schrieb:
ΠΠ΄Π΅ΠΈ Π½Π° <a href=https://mr-master.com.ua/uk/>https://mr-master.com.ua/uk/</a> Ρ ΡΠΎΡΠΎ ΡΠ΅ΡΡΠ°Ρ Π΄Π°Π»ΠΈ Ρ
ΠΎΡΠΎΡΠΈΠΉ ΡΠΎΠ»ΡΠΎΠΊ Π΄Π»Ρ ΡΠ΅ΠΌΠΎΠ½ΡΠ°.
Erstellt am 10/26/25 um 04:26:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zebraschool-3 schrieb:
ΠΠ° ΡΠ°ΠΉΡΡ <a href=https://zebraschool.com.ua/uk/>zebraschool.com.ua</a> ΠΏΠΎΠ±Π°ΡΠΈΠ² ΠΏΠΎΡΠ»ΡΠ³Ρ ΡΠ΅ΠΌΠΎΠ½ΡΡ Π΄ΠΈΡΡΡΠΈΡ
ΠΊΠΎΠ»ΡΡΠΎΠΊ β Π΄ΡΠΉΡΠ½ΠΎ Π·ΡΡΡΠ½ΠΎ
Erstellt am 10/26/25 um 07:38:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Albertnubre schrieb:
Useful and Relevant: <a href=https://lesbian.com/>https://lesbian.com</a>
Erstellt am 10/26/25 um 07:42:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jesselaw schrieb:
All Materials on the Topic: <a href=https://www.ielts-mentor.com/>https://www.ielts-mentor.com</a>
Erstellt am 10/26/25 um 09:06:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MiltonHoirl schrieb:
Only the Important Details: <a href=https://billi-walker.jp/>https://billi-walker.jp</a>
Erstellt am 10/26/25 um 09:09:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelshive schrieb:
What a information of un-ambiguity and preserveness of precious knowledge regarding unexpected feelings.
<a href=https://kra42c.com>https://kra42c.com</a>
<a href=https://kra42c.com>https://kra42c.com</a>
Erstellt am 10/26/25 um 09:10:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
I'm gone to convey my little brother, that he should also pay a visit this web site on regular basis to get updated from most up-to-date information.
<a href=https://kra42c.com>https://kra42c.com</a>
<a href=https://kra42c.com>https://kra42c.com</a>
Erstellt am 10/26/25 um 09:47:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
VernonMow schrieb:
New materials are here: <a href=https://koreatesol.org/>https://koreatesol.org</a>
Erstellt am 10/26/25 um 10:48:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randallviect schrieb:
Currently reading: <a href=https://www.sportsoddshisto...>https://www.sportsoddshistory.com</a>
Erstellt am 10/26/25 um 10:49:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenoppox schrieb:
Don't miss the main points: <a href=https://www.jec.qa/>https://www.jec.qa</a>
Erstellt am 10/26/25 um 10:50:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelgooks schrieb:
The most important is here: <a href=https://koreatesol.org/>https://koreatesol.org</a>
Erstellt am 10/26/25 um 11:33:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stanleyidota schrieb:
Top content here: <a href=https://amt-games.com/>https://amt-games.com</a>
Erstellt am 10/26/25 um 11:34:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MartinHax schrieb:
The best collected for you: <a href=https://tribuneonlineng.com/>https://tribuneonlineng.com</a>
Erstellt am 10/26/25 um 11:35:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
What's up Dear, are you genuinely visiting this website daily, if so after that you will definitely obtain good experience.
<a href=https://kra42c.com/>https://kra42c.com</a>
<a href=https://kra42c.com/>https://kra42c.com</a>
Erstellt am 10/26/25 um 15:39:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Right here is the perfect blog for everyone who wishes to find out about this topic. You realize a whole lot its almost tough to argue with you (not that I really would want toβ¦HaHa). You definitely put a new spin on a topic that's been written about for years. Excellent stuff, just great!
<a href=https://kra42c.com/>https://kra42c.com</a>
<a href=https://kra42c.com/>https://kra42c.com</a>
Erstellt am 10/26/25 um 16:19:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Cedrickal schrieb:
Editor's Choice here: <a href=https://www.elboomeran.com/>https://www.elboomeran.com</a>
Erstellt am 10/26/25 um 18:01:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonfal schrieb:
The most valuable is here: <a href=https://g-r-s.fr/>https://g-r-s.fr</a>
Erstellt am 10/26/25 um 18:02:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BillyBah schrieb:
New and important: <a href=https://www.lnrprecision.com/>https://www.lnrprecision.com</a>
Erstellt am 10/26/25 um 18:51:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TravisVer schrieb:
Latest Insights: <a href=https://paill.com/>https://paill.com</a>
Erstellt am 10/26/25 um 18:56:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Thank you for every other magnificent article. The place else could anybody get that kind of information in such an ideal manner of writing? I've a presentation subsequent week, and I am at the look for such information.
<a href=https://kra41c.com/>https://kra41c.com</a>
<a href=https://kra41c.com/>https://kra41c.com</a>
Erstellt am 10/26/25 um 19:53:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Berryapese schrieb:
Top Stories Right Now: <a href=https://www.manaolahawaii.com/>https://www.manaolahawaii.com</a>
Erstellt am 10/26/25 um 19:57:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AndrewSon schrieb:
Latest Insights: <a href=https://justicelanow.org/>https://justicelanow.org</a>
Erstellt am 10/26/25 um 19:57:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Chestertindy schrieb:
Today's Best: <a href=https://classificados.achei...>https://classificados.acheiusa.com</a>
Erstellt am 10/26/25 um 20:38:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
What's up to every , for the reason that I am really eager of reading this webpage's post to be updated regularly. It contains good data.
<a href=https://kra41c.com/>kra41 cc</a>
<a href=https://kra41c.com/>kra41 cc</a>
Erstellt am 10/26/25 um 20:39:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasLom schrieb:
More details at the link: <a href=https://daily.kaohoon.com/>https://daily.kaohoon.com</a>
Erstellt am 10/26/25 um 20:44:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeorgeDyece schrieb:
New and important: <a href=https://www.eurospider.com/>https://www.eurospider.com</a>
Erstellt am 10/26/25 um 20:45:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonaldTeW schrieb:
<a href=https://etwcloudtv.com/uedi...>code promo 1xBet valide</a> The specific demands reveal nuanced strategies. Gamblers aren't just looking for any code; they seek the best β "meilleur code promo 1xBet." The appeal of freebies is undeniable ("code promo 1xBet gratuit," "code promo 1xBet sans depot"), reflecting a desire to minimize risk and maximize potential returns. Validation is crucial ("code promo 1xBet valide"), assurance that the offered benefit is genuine and not merely a marketing ploy. The "code promo 1xBet 130β¬" exemplifies the tangible rewards users hope to secure.
Erstellt am 10/26/25 um 22:53:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Hi there to every one, since I am in fact eager of reading this web site's post to be updated daily. It includes good information.
https://bestindustries.in/m...
https://bestindustries.in/m...
Erstellt am 10/27/25 um 03:08:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonaldTeW schrieb:
<a href=https://prathamonline.com/j...>le code promo</a> More specific searches include "code promo 1xBet valide" and "code promo 1xBet 130β¬," demonstrating a need for verified codes offering substantial bonuses. "Code promotionnel 1xBet pour nouveaux utilisateurs" is a common inquiry, reflecting the importance of welcome bonuses. Beyond general bonuses: some seek a "1xbet code promo tours gratuits."
Erstellt am 10/27/25 um 03:36:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
This info is worth everyone's attention. When can I find out more?
https://www.lucarrasco.es/2...
https://www.lucarrasco.es/2...
Erstellt am 10/27/25 um 03:45:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonnieExori schrieb:
Important reading: <a href=https://pawndetroit.com/>https://pawndetroit.com</a>
Erstellt am 10/27/25 um 04:39:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BennieSurne schrieb:
Most discussed: <a href=https://sobekick.com/>https://sobekick.com</a>
Erstellt am 10/27/25 um 04:46:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesben schrieb:
Worth your time: <a href=https://valprint.es/>https://valprint.es</a>
Erstellt am 10/27/25 um 04:46:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rodneyowell schrieb:
The best on one page: <a href=https://crossbridgeguitar.com/>https://crossbridgeguitar.com</a>
Erstellt am 10/27/25 um 05:45:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Harleyspigo schrieb:
Expanded version here: <a href=https://paladarplus.es/>https://paladarplus.es</a>
Erstellt am 10/27/25 um 05:52:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidLar schrieb:
Additional materials: <a href=https://baldebranco.com.br/>https://baldebranco.com.br</a>
Erstellt am 10/27/25 um 05:53:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielAdold schrieb:
Details on click: <a href=http://cvaa.com.ar/>http://cvaa.com.ar</a>
Erstellt am 10/27/25 um 06:34:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Josephhob schrieb:
Top links on the topic: <a href=https://pawndetroit.com/>https://pawndetroit.com</a>
Erstellt am 10/27/25 um 06:41:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamaffet schrieb:
Best first: <a href=https://www.panamericano.us/>https://www.panamericano.us</a>
Erstellt am 10/27/25 um 06:41:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenanigh schrieb:
Don't miss the essentials: <a href=https://petitedanse.com.br/>https://petitedanse.com.br</a>
Erstellt am 10/27/25 um 09:45:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Charlessperm schrieb:
The gist is here: <a href=https://eguidemagazine.com/>https://eguidemagazine.com</a>
Erstellt am 10/27/25 um 09:46:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Josephwooto schrieb:
Note: The best: <a href=https://www.lagodigarda.com/>https://www.lagodigarda.com</a>
Erstellt am 10/27/25 um 10:08:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MiltonGacle schrieb:
Editor's recommendation: <a href=https://sernexuss.com/>https://sernexuss.com</a>
Erstellt am 10/27/25 um 11:06:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Thomasscott schrieb:
The latest without the fluff: <a href=https://www.manaolahawaii.com/>https://www.manaolahawaii.com</a>
Erstellt am 10/27/25 um 11:07:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RickyErarm schrieb:
The newest and best is here: <a href=https://marchemodevintage.com/>https://marchemodevintage.com</a>
Erstellt am 10/27/25 um 11:08:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KellyBup schrieb:
A useful selection here: <a href=https://primorskival.si/>https://primorskival.si</a>
Erstellt am 10/27/25 um 12:53:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LutherRek schrieb:
Accurate and up-to-date: <a href=https://www.pondexperts.ca/>https://www.pondexperts.ca</a>
Erstellt am 10/27/25 um 12:54:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HoraceHex schrieb:
Only the most useful: <a href=https://www.radio-rfe.com/>https://www.radio-rfe.com</a>
Erstellt am 10/27/25 um 12:56:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Edwardaroff schrieb:
The best collected here: <a href=https://merven.org/>https://merven.org</a>
Erstellt am 10/27/25 um 13:43:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelenrot schrieb:
All the best is ours: <a href=https://travel2mv.com/>https://travel2mv.com</a>
Erstellt am 10/27/25 um 13:45:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hermanlog schrieb:
Our exclusive top picks: <a href=https://dailypakistan.pk/>https://dailypakistan.pk</a>
Erstellt am 10/27/25 um 13:45:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelshive schrieb:
Because the admin of this website is working, no uncertainty very shortly it will be famous, due to its quality contents.
https://sni4d.net/melbet-pr...
https://sni4d.net/melbet-pr...
Erstellt am 10/27/25 um 14:27:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ArthurTek schrieb:
The best we recommend: <a href=https://questreaming.com/>https://questreaming.com</a>
Erstellt am 10/27/25 um 14:40:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pizzacuba-620 schrieb:
ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΈΡΡΡ Π² Π’ΡΠ»Π΅ <a href=https://pizzacuba.ru/>https://pizzacuba.ru</a> Π³ΠΎΡΡΡΠΎ ΠΈ Π±ΡΡΡΡΠΎ. ΠΠ»Π°ΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΡΠ΅ΡΠ΅ΠΏΡΡ, Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΈ Π±ΠΎΡΡΠΈΠΊΠΈ Ρ ΡΡΡΠΎΠΌ, Π΄ΠΎΠ±Π°Π²ΠΊΠΈ ΠΏΠΎ Π²ΠΊΡΡΡ. ΠΠ½Π»Π°ΠΉΠ½-ΠΌΠ΅Π½Ρ, Π°ΠΊΡΠΈΠΈ Β«2 ΠΏΠΎ ΡΠ΅Π½Π΅ 1Β», ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄Ρ. ΠΠΏΠ»Π°ΡΠ° ΠΊΠ°ΡΡΠΎΠΉ/ΠΎΠ½Π»Π°ΠΉΠ½, Π±Π΅ΡΠΊΠΎΠ½ΡΠ°ΠΊΡΠ½Π°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°, ΡΡΠ΅ΠΊΠΈΠ½Π³ Π·Π°ΠΊΠ°Π·Π°.
Erstellt am 10/27/25 um 14:53:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
Keep on working, great job!
https://awan69.co/melbet-sk...
https://awan69.co/melbet-sk...
Erstellt am 10/27/25 um 15:05:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Larrytot schrieb:
Energy Storage Systems <a href=https://e7repower.com/>https://e7repower.com</a> from E7REPOWER: modular BESS for grid, commercial, and renewable energy applications. LFP batteries, bidirectional inverters, EMS, BMS, fire suppression. 10/20/40 ft containers, scalable to hundreds of MWh. Peak-saving, balancing, and backup. Engineering and service.
Erstellt am 10/27/25 um 15:06:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rent-auto-r schrieb:
Moldova - <a href=https://rent-auto.md/ro/>rent-auto.md/ro/</a> - Inchiriere auto Chisinau β arenda masini fara stres, rezervare rapida si cele mai bune preturi.
Erstellt am 10/27/25 um 16:30:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fotoredaktor 28 schrieb:
Costa Rica <a href=https://fotoredaktor.top/>https://fotoredaktor.top</a> cultuur was goed uitgelegd.
Erstellt am 10/27/25 um 17:45:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenskina schrieb:
ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡ ΠΠ»ΠΈΠ½Ρ ΠΠ±Π»ΡΠ·ΠΎΠ²ΠΎΠΉ <a href=https://ablyazovaschool.ru/>https://ablyazovaschool.ru</a> ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΈ Π²ΠΎΠ»ΠΎΡ Π΄Π»Ρ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΈ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ². ΠΠ²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΌΠ΅ΡΠΎΠ΄ΠΈΠΊΠΈ, ΡΠ°Π·Π±ΠΎΡ ΡΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΎΡΠ½ΠΎΠ², ΠΎΡΡΠ°Π±ΠΎΡΠΊΠ° Π½Π° ΠΌΠΎΠ΄Π΅Π»ΡΡ
, ΠΊΠ΅ΠΉΡΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². ΠΠ½Π»Π°ΠΉΠ½ ΠΈ ΠΎΡΠ»Π°ΠΉΠ½, ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°Ρ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΡΡΠ°ΡΠΎΡΠΎΠ², ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈ ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ.
Erstellt am 10/27/25 um 17:59:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jonathan schrieb:
sportwetten deutsch
Erstellt am 10/27/25 um 18:42:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Caroline schrieb:
live wetten prognosen
Erstellt am 10/27/25 um 22:55:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Www.webwheel.Co.in schrieb:
geburtstermin wette gewinn
Erstellt am 10/28/25 um 06:16:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelled schrieb:
ΠΡΠ΄Π΅ΡUA - ΡΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠ²Π½ΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://liderua.com/>https://liderua.com</a> Π½ΠΎΠ²ΠΈΠ½ ΡΠ° ΠΊΠΎΡΠΈΡΠ½ΠΈΡ
ΠΏΠΎΡΠ°Π΄: Π°ΠΊΡΡΠ°Π»ΡΠ½Ρ ΠΏΠΎΠ΄ΡΡ Π£ΠΊΡΠ°ΡΠ½ΠΈ, Π°Π½Π°Π»ΡΡΠΈΠΊΠ°, ΠΆΠΈΡΡΡΠ²Ρ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ ΡΠ° Π΅ΠΊΡΠΏΠ΅ΡΡΠ½Ρ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΡΡ. ΠΡΠ΅ β ΡΠΎΠ± Π±ΡΡΠΈ Π² ΠΊΡΡΡΡ ΠΉ ΠΎΡΡΠΈΠΌΡΠ²Π°ΡΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½Ρ ΡΡΡΠ΅Π½Π½Ρ Π΄Π»Ρ ΡΠΎΠ΄Π΅Π½Π½ΠΎΠ³ΠΎ ΠΆΠΈΡΡΡ ΡΠ° ΡΠΎΠ·Π²ΠΈΡΠΊΡ.
Erstellt am 10/28/25 um 13:53:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
journal-ua-168 schrieb:
ΠΡΠ±ΠΎΡ ΡΠ΅Π΄Π°ΠΊΡΠΈΠΈ Π·Π΄Π΅ΡΡ: <a href=https://journal-ua.com/moda...>https://journal-ua.com/moda/print-na-tolstovku.html</a>
Erstellt am 10/28/25 um 14:45:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KevinGex schrieb:
ΠΡΡΡΡ ΠΌΠ°Π½ΠΈΠΊΡΡΠ° <a href=https://econogti-school.ru/>https://econogti-school.ru</a> ΠΈ ΠΏΠ΅Π΄ΠΈΠΊΡΡΠ° Ρ Π½ΡΠ»Ρ: ΡΠ΅ΠΎΡΠΈΡ + ΠΏΡΠ°ΠΊΡΠΈΠΊΠ° Π½Π° ΠΌΠΎΠ΄Π΅Π»ΡΡ
, ΡΡΠ΅ΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΡ, Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ° Π½ΠΎΠ³ΡΡ, ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ/Π°ΠΏΠΏΠ°ΡΠ°ΡΠ½ΡΠΉ ΠΌΠ°Π½ΠΈΠΊΡΡ, Π²ΡΡΠ°Π²Π½ΠΈΠ²Π°Π½ΠΈΠ΅, ΠΏΠΎΠΊΡΡΡΠΈΠ΅ Π³Π΅Π»Ρ-Π»Π°ΠΊΠΎΠΌ, ΠΊΠ»Π°ΡΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΈ Π°ΠΏΠΏΠ°ΡΠ°ΡΠ½ΡΠΉ ΠΏΠ΅Π΄ΠΈΠΊΡΡ. ΠΠ°Π»ΡΠ΅ Π³ΡΡΠΏΠΏΡ, ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π²ΠΊΠ»ΡΡΠ΅Π½Ρ, ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°Ρ ΠΈ ΠΏΠΎΠΌΠΎΡΡ Ρ ΡΡΡΠ΄ΠΎΡΡΡΡΠΎΠΉΡΡΠ²ΠΎΠΌ.
Erstellt am 10/28/25 um 17:01:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonnieNom schrieb:
ΠΠ²ΡΠΎΡΡΠΊΠΈΠΉ MINI TATTOO <a href=https://kurs-mini-tattoo.ru/>https://kurs-mini-tattoo.ru</a> Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ
ΡΠ°ΡΡ, Π±Π°Π»Π°Π½Ρ ΠΈ ΠΌΠ°ΡΡΡΠ°Π±, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ ΡΡΠ΅ΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΡ, Π³ΡΠ°ΠΌΠΎΡΠ½Π°Ρ Π°Π½Π΅ΡΡΠ΅Π·ΠΈΡ, ΡΠ΅Ρ
Π½ΠΈΠΊΠ° fine line ΠΈ dotwork. ΠΡΠ°ΠΊΡΠΈΠΊΠ°, ΡΠ°Π·Π±ΠΎΡ ΡΠΈΠΏΠΎΠ²ΡΡ
ΠΊΠΎΡΡΠΊΠΎΠ², ΠΏΡΠ°Π²ΠΈΠ»Π° ΡΡ
ΠΎΠ΄Π°, ΡΠΎΡΠΎ/Π²ΠΈΠ΄Π΅ΠΎ-ΡΡΡΠΌΠΊΠ° ΡΠ°Π±ΠΎΡ. ΠΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π²ΠΊΠ»ΡΡΠ΅Π½Ρ, ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°Ρ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Π°.
Erstellt am 10/28/25 um 17:01:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Buchmacher Englisch schrieb:
beste wettseite
Erstellt am 10/28/25 um 17:49:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
lat-v-574 schrieb:
ΠΠΎΠΊΡΠΏΠ°ΠΉΡΠ΅ Π½Π° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅ <a href=https://www.lat-v.ru/>https://www.lat-v.ru</a> ΡΠΊΠ°Ρ Π΄Π»Ρ Π±ΠΎΡΠ΅ΠΊ, ΠΊΠ»Π΅ΡΡ Π΄Π»Ρ Π±Π°Π»Π»ΠΎΠ½ΠΎΠ², ΠΏΠΎΠ΄Π΄ΠΎΠ½ Π΄Π»Ρ Π±ΠΎΡΠ΅ΠΊ, ΠΏΠΎΠ΄Π΄ΠΎΠ½ Π΄Π»Ρ Π΅Π²ΡΠΎΠΊΡΠ±Π°, ΡΠΊΠ°Ρ Π΄Π»Ρ Π·Π°ΡΡΠ΄ΠΊΠΈ ΠΈ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ Π½ΠΎΡΡΠ±ΡΠΊΠΎΠ², ΠΏΠΎΠ΄Π΄ΠΎΠ½ Π΄Π»Ρ 2-Ρ
Π΅Π²ΡΠΎΠΊΡΠ±ΠΎΠ², ΡΠΊΠ°Ρ Π΄Π»Ρ ΡΡΡΠΎΠΏ, ΡΠΊΠ°Ρ Π΄Π»Ρ ΠΊΠ°Π½ΠΈΡΡΡ. ΠΡΠ΅ ΡΠΎΠ²Π°ΡΡ Π² Π½Π°Π»ΠΈΡΠΈΠΈ ΠΈ ΠΏΠΎ ΡΠ°ΠΌΡΠΌ Π½ΠΈΠ·ΠΊΠΈΠΌ ΡΠ΅Π½Π°ΠΌ.
Erstellt am 10/28/25 um 20:05:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
promvers-774 schrieb:
ΠΠ° Π½Π°ΡΠ΅ΠΌ ΡΠ°ΠΉΡΠ΅ <a href=https://www.promvers.ru/>https://www.promvers.ru</a> Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ: ΡΠ°ΠΌΠΎΠΎΠΏΡΠΎΠΊΠΈΠ΄ΡΠ²Π°ΡΡΠΈΠΉΡΡ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ, ΡΠ°ΠΌΠΎΡΠ°Π·Π³ΡΡΠΆΠ°ΡΡΠΈΠΉΡΡ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ, ΡΠ΅Π»Π΅ΠΆΠΊΡ Π΄Π»Ρ ΡΡΡΡΠΆΠΊΠΈ, ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΏΠΎΠ΄Π΄ΠΎΠ½, Π΄Π΅ΠΏΠΎ Π΄Π»Ρ Π΅Π²ΡΠΎΠΊΡΠ±Π°, Π΄Π΅ΠΏΠΎ Π΄Π»Ρ Π±ΠΎΡΠ΅ΠΊ, ΡΠΊΠ°Ρ Π΄Π»Ρ Π±ΠΎΡΠ΅ΠΊ, ΡΠΊΠ°Ρ Π΄Π»Ρ Π΅Π²ΡΠΎΠΊΡΠ±Π°, ΠΏΠΎΠ΄Π΄ΠΎΠ½ Π΄Π»Ρ ΠΊΠ°Π½ΠΈΡΡΡ. ΠΠ° Π²ΡΠ΅ ΡΠΎΠ²Π°ΡΡ Π΅ΡΡΡ ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°ΡΡ ΠΈ ΠΏΠ°ΡΠΏΠΎΡΡΠ°. ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ Π ΠΎΡΡΠΈΡ. ΠΠΈΠ·ΠΊΠΈΠ΅ ΡΠ΅Π½Ρ.
Erstellt am 10/28/25 um 20:12:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
changan-733 schrieb:
changan x5 plus ΡΠ΅Π½Π° <a href=https://changan-v-spb.ru/>https://changan-v-spb.ru</a>
Erstellt am 10/28/25 um 22:00:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardStash schrieb:
ΠΠ½Π»Π°ΠΉΠ½-Π±Π»ΠΎΠ³ <a href=https://intellector-school.ru/>https://intellector-school.ru</a> ΠΎ Π½Π΅ΠΉΡΠΎΡΠ΅ΡΡΡ
: ΠΎΡ Π±Π°Π·ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½Π΅ΠΉΠ½ΠΎΠΉ Π°Π»Π³Π΅Π±ΡΡ Π΄ΠΎ Transformer ΠΈ LLM. ΠΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ, ΠΊΠΎΠ΄ Π½Π° Git-ΡΡΠΈΠ»Π΅, ΡΠΊΡΠΏΠ΅ΡΠΈΠΌΠ΅Π½ΡΡ, ΠΌΠ΅ΡΡΠΈΠΊΠΈ, ΡΡΠ½ΠΈΠ½Π³ Π³ΠΈΠΏΠ΅ΡΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠΎΠ², ΡΡΠΊΠΎΡΠ΅Π½ΠΈΠ΅ Π½Π° GPU. ΠΠ±Π·ΠΎΡΡ ΠΊΡΡΡΠΎΠ², ΠΊΠ½ΠΈΠ³ ΠΈ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠ° Π·Π°Π΄Π°Ρ Π΄Π»Ρ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΈ ΠΈ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠΈ ΠΊ ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ.
Erstellt am 10/28/25 um 22:42:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelFaW schrieb:
ΠΡΠ²ΠΎΠΉΡΠ΅ ΡΠ΅ΠΆΠΈΡΡΡΡΡ <a href=https://rasputinacademy.ru/>https://rasputinacademy.ru</a> ΡΠΎΠ±ΡΡΠΈΠΉ ΠΈ ΠΌΠ°ΡΠΊΠ΅ΡΠΈΠ½Π³: ΠΊΠΎΠ½ΡΠ΅ΠΏΡΠΈΡ, ΡΡΠ΅Π½Π°ΡΠΈΠΉ, ΡΡΠ΅Π½Π° ΠΈ ΡΠ²Π΅Ρ, Π·Π²ΡΠΊ, Π²ΠΈΠ΄Π΅ΠΎ, ΠΈΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ². ΠΡΠ΄ΠΆΠ΅Ρ ΠΈ ΡΠΌΠ΅ΡΠ°, Π·Π°ΠΊΡΠΏΠΊΠΈ, ΠΏΠΎΠ΄ΡΡΠ΄ΡΠΈΠΊΠΈ, ΡΠ°ΠΉΠΌΠΈΠ½Π³, ΡΠΈΡΠΊ-ΠΌΠ΅Π½Π΅Π΄ΠΆΠΌΠ΅Π½Ρ. ΠΠΎΠΌΠΌΡΡΠ½ΠΈΡΠΈ, PR, Π»ΠΈΠ΄ΠΎΠ³Π΅Π½Π΅ΡΠ°ΡΠΈΡ, ΡΠΏΠΎΠ½ΡΠΎΡΡΠΊΠΈΠ΅ ΠΏΠ°ΠΊΠ΅ΡΡ, ΠΌΠ΅ΡΡΠΈΠΊΠΈ ROI/ROMI. ΠΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π·Π°Π΄Π°Π½ΠΈΡ ΠΈ ΡΠ°Π±Π»ΠΎΠ½Ρ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ².
Erstellt am 10/28/25 um 22:43:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlbertGalia schrieb:
ΠΡΡΡΡ ΠΏΠΎ Π½Π°ΡΠ°ΡΠΈΠ²Π°Π½ΠΈΡ <a href=https://schoollegoart.ru/>https://schoollegoart.ru</a> ΡΠ΅ΡΠ½ΠΈΡ, Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ΅ ΠΈ Π»Π°ΠΌΠΈΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π±ΡΠΎΠ²Π΅ΠΉ/ΡΠ΅ΡΠ½ΠΈΡ Ρ Π½ΡΠ»Ρ: ΡΠ΅ΠΎΡΠΈΡ + ΠΏΡΠ°ΠΊΡΠΈΠΊΠ° Π½Π° ΠΌΠΎΠ΄Π΅Π»ΡΡ
, ΡΡΠ΅ΡΠΈΠ»ΡΠ½ΠΎΡΡΡ, ΠΊΠ°ΡΡΠ° Π±ΡΠΎΠ²Π΅ΠΉ, ΠΊΠ»Π°ΡΡΠΈΠΊΠ°/2Dβ4D, ΡΠΎΡΡΠ°Π²Ρ ΠΈ ΠΏΡΠΎΡΠΈΠ²ΠΎΠΏΠΎΠΊΠ°Π·Π°Π½ΠΈΡ. ΠΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π²ΠΊΠ»ΡΡΠ΅Π½Ρ, ΠΌΠΈΠ½ΠΈ-Π³ΡΡΠΏΠΏΡ, ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°Ρ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ ΠΈ ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΏΠΎΡΡΡΠΎΠ»ΠΈΠΎ ΠΈ ΡΡΠ°ΡΡΠΎΠΌ ΠΏΡΠΎΠ΄Π°ΠΆ.
Erstellt am 10/29/25 um 07:50:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Thomaselott schrieb:
PRP-ΠΊΡΡΡ Π΄Π»Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΎΠ»ΠΎΠ³ΠΎΠ² <a href=https://prp-school.ru/>ΠΏΠ»Π°Π·ΠΌΠΎΡΠ΅ΡΠ°ΠΏΠΈΡ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π² ΠΌΠΎΡΠΊΠ²Π΅</a> Π΄ΠΎΠΊΠ°Π·Π°ΡΠ΅Π»ΡΠ½Π°Ρ Π±Π°Π·Π°, ΠΎΡΠ±ΠΎΡ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠΎΠ², ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ° ΠΎΠ±ΡΠ°Π·ΡΠ°, ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Π²Π²Π΅Π΄Π΅Π½ΠΈΡ (Π»ΠΈΡΠΎ, ΡΠ΅Ρ, ΠΊΠΎΠΆΠ° Π³ΠΎΠ»ΠΎΠ²Ρ), ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ Ρ ΠΌΠ΅Π·ΠΎ/ΠΌΠΈΠΊΡΠΎΠ½ΠΈΠ΄Π»ΠΈΠ½Π³ΠΎΠΌ. ΠΡΠ°ΠΊΡΠΈΠΊΠ°, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΏΠΎ ΡΠΎΡΠΎ/Π²ΠΈΠ΄Π΅ΠΎ-ΡΠΈΠΊΡΠ°ΡΠΈΠΈ, ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΎΡΠΌΡ, ΠΌΠ°ΡΠΊΠ΅ΡΠΈΠ½Π³ ΡΡΠ»ΡΠ³ΠΈ. Π‘Π΅ΡΡΠΈΡΠΈΠΊΠ°Ρ ΠΈ ΠΊΡΡΠ°ΡΠΎΡΡΡΠ²ΠΎ.
Erstellt am 10/29/25 um 08:11:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Elmerquast schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΠΊΡΡΡΡ <a href=https://pro-prp.ru/>ΠΏΠ»Π°Π·ΠΌΠΎΡΠ΅ΡΠ°ΠΏΠΈΡ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½</a>: ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°, ΡΡΠ°Π½Π΄Π°ΡΡΡ ΡΡΠ΅ΡΠΈΠ»ΡΠ½ΠΎΡΡΠΈ, ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ° ΠΎΠ±ΡΠ°Π·ΡΠ°, ΠΌΠΈΠ½ΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΡΠΈΡΠΊΠΎΠ², ΠΏΡΠΎΡΠΎΠΊΠΎΠ»Ρ Π΄Π»Ρ Π»ΠΈΡΠ°/ΡΠ΅ΠΈ/ΠΊΠΎΠΆΠΈ Π³ΠΎΠ»ΠΎΠ²Ρ. ΠΠΈΠ΄Π΅ΠΎΠ»Π΅ΠΊΡΠΈΠΈ ΠΈ Π·Π°Π΄Π°Π½ΠΈΡ, ΡΠ°Π·Π±ΠΎΡ ΠΊΠ»ΠΈΠ½ΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΠΈΡΡΠ°ΡΠΈΠΉ, ΠΏΠ°ΠΊΠ΅Ρ ΡΠ°Π±Π»ΠΎΠ½ΠΎΠ² Π΄Π»Ρ Π²Π΅Π΄Π΅Π½ΠΈΡ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°, ΡΠΊΠ·Π°ΠΌΠ΅Π½ ΠΈ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°ΡΠ°.
Erstellt am 10/29/25 um 13:09:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
expro-orel-730 schrieb:
ΠΡΠΆΠ½Π° ΠΎΡΠ΅Π½ΠΊΠ°? <a href=https://expro-orel.ru/>ΠΎΡΠ΅Π½ΠΊΠ° ΠΡΠ΅Π»</a> Π½Π΅Π·Π°Π²ΠΈΡΠΈΠΌΠ°Ρ ΠΎΡΠ΅Π½ΠΊΠ° ΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΈΠ·Π°: ΠΊΠ²Π°ΡΡΠΈΡΡ, Π΄ΠΎΠΌΠ°, Π·Π΅ΠΌΠ»Ρ, Π±ΠΈΠ·Π½Π΅Ρ, ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΡΠΎΠ²Π°ΡΠ½ΡΠ΅ Π·Π½Π°ΠΊΠΈ, ΡΡΠ΅ΡΠ±. ΠΡΡΡΡΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡ Π€Π‘Π ΠΈ ΠΏΡΠΈΠ½ΠΈΠΌΠ°ΡΡΡΡ Π±Π°Π½ΠΊΠ°ΠΌΠΈ ΠΈ ΡΡΠ΄Π°ΠΌΠΈ. Π§ΡΡΠΊΠΈΠ΅ ΡΡΠΎΠΊΠΈ, ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, ΡΠΊΡΠΏΠ΅ΡΡΠ½Π°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Π½Π° Π²ΡΠ΅Ρ
ΡΡΠ°ΠΏΠ°Ρ
ΠΈ ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ΅ Π΄ΠΎΠΊΠ°Π·Π°ΡΠ΅Π»ΡΠ½ΠΎΠΉ Π±Π°Π·Ρ.
Erstellt am 10/29/25 um 18:42:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
exterhaus 540 schrieb:
ΠΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ΅ ΠΎΡΡΠ΅ΠΊΠ»Π΅Π½ΠΈΠ΅ <a href=https://exterhaus.ru/>https://exterhaus.ru</a> Π΄ΠΎΠΌΠΎΠ² ΠΈ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠ΅ΡΠΊΠΈΡ
ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ² Β«ΠΏΠΎΠ΄ ΠΊΠ»ΡΡΒ»: ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, Π·Π°ΠΌΠ΅ΡΡ, ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆ. ΠΠ°Π½ΠΎΡΠ°ΠΌΠ½ΡΠ΅ ΠΎΠΊΠ½Π°, Π²ΠΈΡΡΠ°ΠΆΠΈ, ΡΠ΅ΠΏΠ»ΡΠ΅ ΡΠ°ΡΠ°Π΄Ρ, ΡΠ½Π΅ΡΠ³ΠΎΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ ΡΡΠ΅ΠΊΠ»ΠΎΠΏΠ°ΠΊΠ΅ΡΡ. Π‘ΡΠΎΠΊΠΈ ΠΏΠΎ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡΡ, Π³Π°ΡΠ°Π½ΡΠΈΡ, ΡΠ΅ΡΠ²ΠΈΡ, ΡΠΎΡΠ½ΡΠΉ ΡΠΌΠ΅ΡΠ½ΡΠΉ ΡΠ°ΡΡΡΡ.
Erstellt am 10/29/25 um 18:45:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
version-458 schrieb:
ΠΠ»Π°Π²Π½ΠΎΠ΅ Π·Π° ΡΠ΅Π³ΠΎΠ΄Π½Ρ ΡΡΡ: <a href=https://version.com.ua/susp...>https://version.com.ua/suspilstvo.html</a>
Erstellt am 10/29/25 um 19:50:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fankino-246 schrieb:
ΠΠΎΠ²ΠΎΡΡΠΈ ΠΊΠΈΠ½ΠΎ Π½ΠΎΠ²ΠΈΠ½ΠΎΠΊ <a href=https://fankino.ru/>https://fankino.ru</a>
Erstellt am 10/29/25 um 19:52:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-90-602 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΉΠΌ <a href=https://zaimy-90.ru/>https://zaimy-90.ru</a> Π±ΡΡΡΡΠΎ ΠΈ ΡΠ΄ΠΎΠ±Π½ΠΎ: Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ, 1 ΠΏΠ°ΡΠΏΠΎΡΡ, ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π·Π° ΠΌΠΈΠ½ΡΡΡ. ΠΠ΅ΡΠ΅Π²ΠΎΠ΄ Π½Π° ΠΊΠ°ΡΡΡ/Π‘ΠΠ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° 24/7. ΠΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ, ΠΏΠΎΠ½ΡΡΠ½ΡΠΉ Π³ΡΠ°ΡΠΈΠΊ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅ΠΉ, Π°ΠΊΡΠΈΠΈ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². Π‘ΡΠ°Π²Π½ΠΈΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ.
Erstellt am 10/30/25 um 06:50:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-91-994 schrieb:
Π‘Π΅ΡΠ²ΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΉΠΌΠΎΠ² <a href=https://zaimy-91.ru/>https://zaimy-91.ru</a> ΠΏΠΎΠ΄Π°ΡΠ° Π·Π°ΡΠ²ΠΊΠΈ Π·Π° 3 ΠΌΠΈΠ½ΡΡΡ, ΠΌΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, Π²ΡΠ΄Π°ΡΠ° Π½Π° ΠΊΠ°ΡΡΡ. Π§Π΅ΡΡΠ½ΡΠ΅ ΠΏΡΠΎΡΠ΅Π½ΡΡ, Π±Π΅Π· Π½Π°Π²ΡΠ·Π°Π½Π½ΡΡ
ΡΡΠ»ΡΠ³, Π»ΠΈΡΠ½ΡΠΉ ΠΊΠ°Π±ΠΈΠ½Π΅Ρ, ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΡ ΠΎ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅. ΠΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡ, ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄Ρ, ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° Π»ΠΎΡΠ»ΡΠ½ΠΎΡΡΠΈ. ΠΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Π·Π°ΠΈΠΌΡΡΠ²ΠΎΠ²Π°Π½ΠΈΠ΅.
Erstellt am 10/30/25 um 06:53:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-online-823 schrieb:
ΠΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΉΠΌ <a href=https://zaimy-54.ru/>https://zaimy-54.ru</a> Π±Π΅Π· ΠΎΡΠ΅ΡΠ΅Π΄Π΅ΠΉ: Π·Π°ΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΡΠΎΡΠΌΡ, ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ. ΠΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ°Π²ΠΊΠΈ, ΠΏΠΎΠ½ΡΡΠ½ΡΠΉ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡ, ΠΊΡΡΠ±ΡΠΊ ΠΈ ΡΠΊΠΈΠ΄ΠΊΠΈ ΠΏΡΠΈ ΠΏΠΎΠ²ΡΠΎΡΠ½ΡΡ
ΠΎΠ±ΡΠ°ΡΠ΅Π½ΠΈΡΡ
. ΠΠ°ΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡ ΠΎ ΠΏΠ»Π°ΡΠ΅ΠΆΠ°Ρ
, ΠΏΡΠΎΠ΄Π»Π΅Π½ΠΈΠ΅ ΠΏΡΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ. ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ ΠΈ ΡΠΊΠΎΠ½ΠΎΠΌΡΡΠ΅.
Erstellt am 10/30/25 um 07:00:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mr-master-252 schrieb:
ΠΠ° ΡΠ°ΠΉΡΡ <a href=https://mr-master.com.ua/ru/>https://mr-master.com.ua/ru/</a> Π·Π½Π°ΠΉΡΠ»Π° Π²ΡΡ Π½Π°ΠΎΡΠ½Ρ ΡΠ½ΡΠΎΡΠΌΠ°ΡΡΡ ΠΏΡΠΎ Π²ΠΈΠ΄ΠΈ ΡΠΈΠΊΡΡΠ°.
Erstellt am 10/30/25 um 08:38:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zebraschool-882 schrieb:
ΠΠ° ΡΠ°ΠΉΡΡ <a href=https://zebraschool.com.ua/uk/>zebraschool.com.ua</a> Π·Π°ΠΌΠΎΠ²ΠΈΠ² ΡΠ΅ΠΌΠΎΠ½Ρ Π²Π°Π»ΡΠ·ΠΈ Π² ΠΡΠΎΠ³ΠΎΠ±ΠΈΡΡ β Π²ΡΠ΅ Π·ΡΠΎΠ±ΠΈΠ»ΠΈ ΡΡΡΠΊΠΎ
Erstellt am 10/30/25 um 08:43:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buybuyviamen-990 schrieb:
ΠΠΎΠ»Π΅Π·Π½ΠΎΠ΅ ΠΏΡΠΎ ΡΠΈΡΠ΅Ρ <a href=https://buybuyviamen.com/>https://buybuyviamen.com/</a> ΡΠ΅Π·ΠΈΠ½ΠΎΠ²ΡΠΉ ΠΏΡΠΎΡΠ»ΠΈ Π² ΡΡΠ°ΡΡΠ΅.
Erstellt am 10/30/25 um 09:06:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jrone-online-575 schrieb:
ΠΡΠΆΠ½Π° ΡΡΡΠ±ΠΈΠ½Π°? <a href=https://www.jrone-online.ru/>ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ JroneTurbo Π² Π ΠΎΡΡΠΈΠΈ</a> ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΠ·Π»Ρ, ΠΊΠ°ΡΡΡΠΈΠ΄ΠΆΠΈ, Π²Π°ΠΊΡΡΠΌΠ½ΡΠ΅ ΠΈ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠ΅ Π°ΠΊΡΡΠ°ΡΠΎΡΡ. ΠΠΎΠ΄Π±ΠΎΡ Π·Π° 5 ΠΌΠΈΠ½ΡΡ, ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΡΡΠΈ, Π³Π°ΡΠ°Π½ΡΠΈΡ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π΅Π½Ρ-Π²-Π΄Π΅Π½Ρ. ΠΠ»Ρ Π»Π΅Π³ΠΊΠΎΠ²ΡΡ
ΠΈ LCV, Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ ΡΠ΅Ρ
ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ.
Erstellt am 10/30/25 um 11:21:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
seduced-ai-745 schrieb:
seduced ai crypto <a href=https://seduced-ai.net/>seduced ai legit</a>
Erstellt am 10/30/25 um 16:33:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
proctofor-269 schrieb:
ΠΡΡΠ°Π΅Ρ Π·ΡΠ΄ ΠΈ ΠΆΠΆΠ΅Π½ΠΈΠ΅? <a href=https://proctofor.ru/servic...>ΠΠ΅ΠΌΠΎΡΠΎΠΉ</a> - Π»Π΅ΡΠ΅Π½ΠΈΠ΅ Π±Π΅Π· Π±ΠΎΠ»ΠΈ ΠΈ ΠΎΡΠ΅ΡΠ΅Π΄Π΅ΠΉ: Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ°, ΠΊΠΎΠ½ΡΠ΅ΡΠ²Π°ΡΠΈΠ²Π½Π°Ρ ΡΠ΅ΡΠ°ΠΏΠΈΡ, Π»Π°ΡΠ΅ΠΊΡΠ½ΠΎΠ΅ Π»ΠΈΠ³ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΡΠΊΠ»Π΅ΡΠΎΡΠ΅ΡΠ°ΠΏΠΈΡ, Π»Π°Π·Π΅Ρ. ΠΡΠΈΡΠΌ ΠΏΡΠΎΠΊΡΠΎΠ»ΠΎΠ³Π°, Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎ, Π² Π΄Π΅Π½Ρ ΠΎΠ±ΡΠ°ΡΠ΅Π½ΠΈΡ. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠ»Π°Π½, Π±ΡΡΡΡΠΎΠ΅ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅, ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° 24/7.
Erstellt am 10/30/25 um 17:32:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chery-880 schrieb:
chery 7 pro <a href=https://official-chery-deal...>chery tiggo 7 pro max</a>
Erstellt am 10/30/25 um 17:48:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chery-917 schrieb:
chery tiggo max <a href=https://official-chery-deal...>chery 2024</a>
Erstellt am 10/30/25 um 19:21:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pizzacuba-997 schrieb:
ΠΠΈΡΡΠ° Π² ΠΠΎΡΠΎΠ½Π΅ΠΆΠ΅ <a href=https://pizzacuba.ru/>https://pizzacuba.ru</a> Ρ Π±ΡΡΡΡΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ: ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΈΠ½Π³ΡΠ΅Π΄ΠΈΠ΅Π½ΡΡ, ΡΡΡ ΡΡΠ½Π΅ΡΡΡ, Π±ΠΎΡΡΠΈΠΊΠΈ Ρ
ΡΡΡΡΡΡ. ΠΡΡΠ»Π΅ΠΆΠΈΠ²Π°Π½ΠΈΠ΅ Π·Π°ΠΊΠ°Π·Π°, ΡΠ΄ΠΎΠ±Π½ΡΠΉ Π»ΠΈΡΠ½ΡΠΉ ΠΊΠ°Π±ΠΈΠ½Π΅Ρ, ΠΏΠΎΠ²ΡΠΎΡ Β«Π² 1 ΠΊΠ»ΠΈΠΊΒ». ΠΠΎΠΌΠ±ΠΎ Π΄Π»Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ, Π΄Π΅ΡΡΠΊΠΎΠ΅ ΠΌΠ΅Π½Ρ, ΡΠΎΡΡΡ ΠΈ Π½Π°ΠΏΠΈΡΠΊΠΈ. Π Π°Π±ΠΎΡΠΈΠ΅ Π°ΠΊΡΠΈΠΈ ΠΈ ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ.
Erstellt am 10/30/25 um 20:07:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevendaw schrieb:
Π£Π·Π½Π°ΠΉΡΠ΅ Π±ΠΎΠ»ΡΡΠ΅ Π·Π΄Π΅ΡΡ: <a href=https://i38.ru/ekonomika-po...>https://i38.ru/ekonomika-potrebitel/spetsialisti-tipografii-rasskazali-pro-srochnuiu-pechat-vizitok-protsess-kogda-eto-nuzhno-biznesu</a>
Erstellt am 10/30/25 um 20:41:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevendaw schrieb:
Π‘Π²Π΅ΠΆΠ΅Π΅ ΠΈ Π²Π°ΠΆΠ½ΠΎΠ΅ ΡΡΡ: <a href=https://bagk-med.ru/bitrix/...>https://bagk-med.ru/bitrix/components/bitrix/news/lang/ru/help/tips/5/4/news/23/1423_lazernaya_epilyatsiya_nog_osobennosti.html</a>
Erstellt am 10/30/25 um 22:11:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TerrellSit schrieb:
Today's highlights are here: http://galaksi.anasonisleri...
Erstellt am 10/30/25 um 22:38:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
chery-927 schrieb:
chery tiggo ΠΊΡΠΏΠΈΡΡ <a href=https://official-chery-deal...>chery tiggo pro ΡΠ΅Π½Π°</a>
Erstellt am 10/30/25 um 23:34:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TerrellSit schrieb:
Read the extended version: https://kuchniatarnow.pl/ku...
Erstellt am 10/31/25 um 00:04:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevendaw schrieb:
Π‘Π²Π΅ΠΆΠ΅Π΅ ΠΈ Π²Π°ΠΆΠ½ΠΎΠ΅ ΡΡΡ: <a href=https://dubna.ru/article/20...>https://dubna.ru/article/2025/10/sovrjemjennyje-podkhody-k-korrjekcii-morshhin-mjetody-pokazanija-i-ozhidajemyje-rjezultaty</a>
Erstellt am 10/31/25 um 02:13:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TerrellSit schrieb:
The most interesting is here: https://protezsacumraniye.c...
Erstellt am 10/31/25 um 04:17:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
laser-co-2-170 schrieb:
Π₯ΠΎΡΠ΅ΡΡ Π²ΡΠ»Π΅ΡΠΈΡΡ <a href=https://laser-co-2.online/s...>Π³Π΅ΠΌΠΎΡΡΠΎΠΉ</a> - ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ Π»Π΅ΡΠ΅Π½ΠΈΡ Π³Π΅ΠΌΠΎΡΡΠΎΡ: ΡΠΎΡΠ½Π°Ρ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ°, ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠ»Π°Π½, Π°ΠΌΠ±ΡΠ»Π°ΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠΎΡΠ΅Π΄ΡΡΡ Π·Π° 20β30 ΠΌΠΈΠ½ΡΡ. ΠΠΎΠ½ΡΡΠΎΠ»Ρ Π±ΠΎΠ»ΠΈ, Π±ΡΡΡΡΡΠΉ Π²ΠΎΠ·Π²ΡΠ°Ρ ΠΊ Π°ΠΊΡΠΈΠ²Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΏΠΎ ΠΎΠ±ΡΠ°Π·Ρ ΠΆΠΈΠ·Π½ΠΈ ΠΈ ΠΏΡΠΎΡΠΈΠ»Π°ΠΊΡΠΈΠΊΠ΅, Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΡ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ.
Erstellt am 10/31/25 um 10:54:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
lerc-465 schrieb:
ΠΡΠΆΠ΅Π½ Π΄Π΅ΠΌΠΎΠ½ΡΠ°ΠΆ? <a href=https://lerc.ru/>Π΄Π΅ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ</a> Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠΉ ΠΈ Π½Π°ΡΡΠΆΠ½ΡΠΉ Π΄Π΅ΠΌΠΎΠ½ΡΠ°ΠΆ: ΡΡΠ΅Π½Ρ, ΠΏΠΎΠ»Ρ, ΠΏΠ΅ΡΠ΅Π³ΠΎΡΠΎΠ΄ΠΊΠΈ, ΡΠ°ΡΠ°Π΄Ρ, ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΆΠ΅Π»Π΅Π·ΠΎΠ±Π΅ΡΠΎΠ½. Π’ΠΎΡΠ½ΡΠΉ ΠΏΠ»Π°Π½ ΡΠ°Π±ΠΎΡ, ΡΠ΅Ρ
Π½ΠΈΠΊΠ° ΠΈ ΡΡΡΠ½ΠΎΠΉ ΡΡΡΠ΄, Π²ΡΠ²ΠΎΠ· ΠΈ ΡΡΠΈΠ»ΠΈΠ·Π°ΡΠΈΡ ΠΏΠΎ Π½ΠΎΡΠΌΠ°ΠΌ. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Π² Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΡ
Π·Π΄Π°Π½ΠΈΡΡ
Π±Π΅Π· ΠΎΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ Π±ΠΈΠ·Π½Π΅ΡΠ°.
Erstellt am 10/31/25 um 11:00:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
port-rest-676 schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π°ΡΠΌΠΎΡΡΠ΅ΡΠ½ΡΠΉ <a href=https://port-rest.ru/>ΡΠ΅ΡΡΠΎΡΠ°Π½ Π² ΠΠΎΡΠΊΠ²Π΅</a> Ρ ΠΎΡΠΊΡΡΡΠΎΠΉ ΠΊΡΡ
Π½Π΅ΠΉ: Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅ΡΠΌΠ΅ΡΡΠΊΠΈΠ΅ ΠΈΠ½Π³ΡΠ΅Π΄ΠΈΠ΅Π½ΡΡ, ΡΠ²Π΅ΠΆΠ°Ρ Π²ΡΠΏΠ΅ΡΠΊΠ°, Π±Π°Ρ Ρ ΠΊΠΎΠΊΡΠ΅ΠΉΠ»ΡΠΌΠΈ. ΠΠ°Π½ΠΎΡΠ°ΠΌΠ½ΡΠ΅ Π²ΠΈΠ΄Ρ, ΡΠ΅ΡΡΠ°ΡΠ° Π»Π΅ΡΠΎΠΌ, Π΄Π΅ΡΡΠΊΠΎΠ΅ ΠΌΠ΅Π½Ρ. ΠΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΡΠΎΠ»ΠΎΠ² ΠΎΠ½Π»Π°ΠΉΠ½, Π±Π°Π½ΠΊΠ΅ΡΡ ΠΈ Π΄Π½ΠΈ ΡΠΎΠΆΠ΄Π΅Π½ΠΈΡ Β«ΠΏΠΎΠ΄ ΠΊΠ»ΡΡΒ».
Erstellt am 10/31/25 um 11:00:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https://erross.ru/>ΠΈΠ½ΡΠΈΠΌ Π±ΡΡΠΈΠΊ Ρ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΡΠΌ ΡΠ΅ΡΠ²ΠΈΡΠΎΠΌ</a> Π‘Π΅ΠΊΡ-ΡΠΎΠΏ Erross ΠΈΠ½ΡΠΈΠΌ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ Π²Π·ΡΠΎΡΠ»ΡΡ
Ρ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ ΠΠΎΡΠΊΠ²Π΅ ΠΈ Π Π€.
Erstellt am 10/31/25 um 14:12:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zakrit-kompaniu-38 schrieb:
ΠΡΠΆΠ½Π° Π»ΠΈΠΊΠ²ΠΈΠ΄Π°ΡΠΈΡ? <a href=https://www.zakrit-kompaniu...>Π»ΠΈΠΊΠ²ΠΈΠ΄ΠΈΡΠΎΠ²Π°ΡΡ Π±ΠΈΠ·Π½Π΅Ρ</a>: Π΄ΠΎΠ±ΡΠΎΠ²ΠΎΠ»ΡΠ½Π°Ρ Π»ΠΈΠΊΠ²ΠΈΠ΄Π°ΡΠΈΡ, Π±Π°Π½ΠΊΡΠΎΡΡΡΠ²ΠΎ, ΡΠ΅ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ. ΠΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ° Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ², ΠΏΡΠ±Π»ΠΈΠΊΠ°ΡΠΈΠΈ, ΡΠ²Π΅ΡΠΊΠ° Ρ Π€ΠΠ‘/ΠΠ€Π , Π·Π°ΠΊΡΡΡΠΈΠ΅ ΡΡΠ΅ΡΠΎΠ². Π‘ΡΠΎΠΊΠΈ ΠΏΠΎ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡΡ, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠΌΠ΅ΡΠ°, ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ, ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ Π΄ΠΎ Π²Π½Π΅ΡΠ΅Π½ΠΈΡ Π·Π°ΠΏΠΈΡΠΈ Π² ΠΠΠ ΠΠ.
Erstellt am 10/31/25 um 16:02:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
game-computers-840 schrieb:
ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://game-computers.ru>game-computers.ru</a> ΡΠΎΠ±ΡΠ°Π½Ρ ΠΎΠ±Π·ΠΎΡΡ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ
ΠΈΠ³ΡΠΎΠ²ΡΡ
ΡΠ±ΠΎΡΠΎΠΊ, Ρ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠΌΠΈ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠ°ΠΌΠΈ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΡ
ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡΠΌΠΈ ΠΏΠΎ ΠΈΡ
ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΡΡΠΈ. ΠΠ»ΠΎΠ³ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΠΈ, Π΄Π°Π΅Ρ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ Π°ΠΏΠ³ΡΠ΅ΠΉΠ΄Ρ ΠΈ Π½Π°ΡΡΡΠΎΠΉΠΊΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ Π³Π΅ΠΉΠΌΠΈΠ½Π³Π°.
Erstellt am 10/31/25 um 16:23:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vykup-bityh-avto-446 schrieb:
ΠΡΡΡ Π±ΠΈΡΠΎΠ΅ Π°Π²ΡΠΎ? <a href=https://Π²ΡΠΊΡΠΏ-Π±ΠΈΡΡΡ
-Π°Π²ΡΠΎ-ΠΌΠΎΡΠΊΠ²Π΅.ΡΡ/>ΠΠ΄Π΅ ΠΏΡΠΎΠ΄Π°ΡΡ Π±ΠΈΡΡΡ ΠΌΠ°ΡΠΈΠ½Ρ: ΠΠΈΡΠ°Π²ΡΠΎ ΠΈΠ»ΠΈ ΠΠ²ΡΠΎ.ΡΡ</a>: ΡΡΠΎΡΠ½ΡΠΉ Π²ΡΠΊΡΠΏ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ Β«ΠΏΠΎΠ΄ ΠΊΠ»ΡΡΒ». ΠΡΠΈΡΡΠ»Π°ΠΉΡΠ΅ VIN ΠΈ ΡΠΎΡΠΎ β Π΄Π°Π΄ΠΈΠΌ ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΡΡ ΡΠ΅Π½Ρ, ΡΠΎΠ³Π»Π°ΡΡΠ΅ΠΌ Π²ΡΠ΅Π·Π΄ ΡΠΊΡΠΏΠ΅ΡΡΠ°, ΠΏΡΠΎΠ²Π΅Π΄ΡΠΌ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΡ ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠΊΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ². Π£ΡΠΈΡΡΠ²Π°Π΅ΠΌ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΡ, ΡΠ΅ΡΠ²ΠΈΡΠ½ΡΡ ΠΈΡΡΠΎΡΠΈΡ, ΠΠ’Π, ΠΎΠΊΡΠ°ΡΡ ΠΈ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΡΠΎΡΡΠΎΡΠ½ΠΈΠ΅. ΠΠΎΠΊΡΠΏΠ°Π΅ΠΌ Π±ΠΈΡΡΠ΅, ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ½ΡΠ΅, ΠΊΡΠ΅Π΄ΠΈΡΠ½ΡΠ΅, ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π½ΡΠ΅, Ρ Π±ΠΎΠ»ΡΡΠΈΠΌ ΠΏΡΠΎΠ±Π΅Π³ΠΎΠΌ. ΠΠΏΠ»Π°ΡΠΈΠ²Π°Π΅ΠΌ ΡΡΠ°Π·Ρ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ, Π²ΡΠ΄Π°ΡΠΌ ΠΏΠΎΠ»Π½ΡΠΉ ΠΏΠ°ΠΊΠ΅Ρ Π±ΡΠΌΠ°Π³ Π΄Π»Ρ Π½Π°Π»ΠΎΠ³ΠΎΠ²ΠΎΠΉ ΠΈ Π±Π°Π½ΠΊΠ°. ΠΠ°Π±ΠΈΡΠ°Π΅ΠΌ Π°Π²ΡΠΎ ΡΠ²ΠΎΠΈΠΌ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠΎΠΌ, Π±Π΅ΡΠ΅ΠΆΠ½ΠΎ ΠΈ Π±ΡΡΡΡΠΎ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΠΎΡΠ΅Π½ΠΊΠ° Π±Π΅Π· ΡΠΎΡΠ³Π° ΠΈ Π½Π°Π²ΡΠ·Π°Π½Π½ΡΡ
ΡΡΠ»ΡΠ³, ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ, ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Π½Π° ΠΊΠ°ΠΆΠ΄ΠΎΠΌ ΡΡΠ°ΠΏΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ.
Erstellt am 10/31/25 um 19:26:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
amandine 961 schrieb:
ΠΡΡ Π΄Π»Ρ Π΄Π°ΡΠΈ ΠΈ ΡΠ²Π΅ΡΠΎΠ² <a href=https://www.amandine.ru/>https://amandine.ru</a> ΠΆΡΡΠ½Π°Π» Ρ ΠΏΠΎΠ½ΡΡΠ½ΡΠΌΠΈ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡΠΌΠΈ, ΡΡ
Π΅ΠΌΠ°ΠΌΠΈ ΠΈ ΡΠΏΠΈΡΠΊΠ°ΠΌΠΈ ΠΏΠΎΠΊΡΠΏΠΎΠΊ. ΠΠΎΡΠ΅Π², ΠΏΠΈΠΊΠΈΡΠΎΠ²ΠΊΠ°, ΠΏΡΠΈΠ²ΠΈΠ²ΠΊΠ°, ΠΎΠ±ΡΠ΅Π·ΠΊΠ°, ΠΏΠΎΠ΄ΠΊΠΎΡΠΌΠΊΠΈ, Π·Π°ΡΠΈΡΠ° Π±Π΅Π· Π»ΠΈΡΠ½Π΅ΠΉ Ρ
ΠΈΠΌΠΈΠΈ. ΠΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠΈ ΡΠ΅ΠΏΠ»ΠΈΡ, ΡΡ
ΠΎΠ΄ Π·Π° Π³Π°Π·ΠΎΠ½ΠΎΠΌ ΠΈ ΡΠ²Π΅ΡΠ½ΠΈΠΊΠ°ΠΌΠΈ, ΠΈΠ΄Π΅ΠΈ Π΄Π΅ΠΊΠΎΡΠ°, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ².
Erstellt am 10/31/25 um 21:29:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HenryBloro schrieb:
Need liquidation? <a href=https://www.liquidation-of-...>company liquidation in Montenegro</a>: voluntary liquidation, bankruptcy, reorganization. Document preparation, publications, reconciliation, account closure. Contractual terms, transparent estimates, confidentiality, support.
Erstellt am 10/31/25 um 21:43:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https://erross.ru/catalog>ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠΉ ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΡΡΡΠ΅ΡΠΈΡΠ½ΡΡ
ΠΈΠ½ΡΠΈΠΌ ΠΈΠ³ΡΡΡΠ΅ΠΊ</a> Π‘Π΅ΠΊΡ-ΡΠΎΠΏ Erross ΠΈΠ½ΡΠΈΠΌ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ Π²Π·ΡΠΎΡΠ»ΡΡ
Ρ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎ ΠΠΎΡΠΊΠ²Π΅ ΠΈ Π Π€.
Erstellt am 11/01/25 um 01:32:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
I'm gone to say to my little brother, that he should also pay a quick visit this blog on regular basis to get updated from most recent gossip.
https://www.ruwaconstruccio...
https://www.ruwaconstruccio...
Erstellt am 11/01/25 um 14:38:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
What's up friends, its wonderful paragraph regarding cultureand entirely defined, keep it up all the time.
https://rawatogel.net/ssylk...
https://rawatogel.net/ssylk...
Erstellt am 11/01/25 um 16:31:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
version-582 schrieb:
ΠΠΎΡΡΠ°Π» ΠΏΡΠΎ Π²ΡΠ΅ <a href=https://version.com.ua/>https://version.com.ua</a> Π½ΠΎΠ²ΠΈΠ½ΠΈ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΡΡ, Π·Π΄ΠΎΡΠΎΠ²'Ρ, Π±ΡΠ΄ΠΈΠ½ΠΎΠΊ, Π°Π²ΡΠΎ, ΠΏΠΎΠ΄ΠΎΡΠΎΠΆΡ, ΡΡΠ½Π°Π½ΡΠΈ ΡΠ° ΠΊΠ°Ρ'ΡΡΠ°. Π©ΠΎΠ΄Π΅Π½Π½Ρ ΡΡΠ°ΡΡΡ, ΠΎΠ³Π»ΡΠ΄ΠΈ, Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ ΡΠ° ΡΠ½ΡΡΡΡΠΊΡΡΡ. ΠΡΡΡΠ½ΠΈΠΉ ΠΏΠΎΡΡΠΊ, ΡΠ΅ΠΌΠΈ Π·Π° ΡΠ½ΡΠ΅ΡΠ΅ΡΠ°ΠΌΠΈ, Π΄ΠΎΠ±ΡΡΠΊΠΈ Π΅ΠΊΡΠΏΠ΅ΡΡΡΠ² ΡΠ° ΠΏΠ΅ΡΠ΅Π²ΡΡΠ΅Π½Ρ Π΄ΠΆΠ΅ΡΠ΅Π»Π°. Π§ΠΈΡΠ°ΠΉΡΠ΅, Π½Π°Π²ΡΠ°ΠΉΡΠ΅ΡΡ, Π·Π°ΠΎΡΠ°Π΄ΠΆΡΠΉΡΠ΅ ΡΠ°Ρ.
Erstellt am 11/01/25 um 19:46:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Howdy! This post couldn't be written any better! Reading through this post reminds me of my previous room mate! He always kept talking about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing!
https://digicontechnologies...
https://digicontechnologies...
Erstellt am 11/02/25 um 08:33:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamestroup schrieb:
ΠΡΠΏΠΈΡΡ ΠΊΠ²Π°ΡΡΠΈΡΡ <a href=https://novostroydoma.ru/>https://novostroydoma.ru</a> Π² Π³ΠΎΡΠΎΠ΄Π΅ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ: ΡΠΎΠΏ-ΠΆΠΈΠ»ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡ, ΡΠ΄ΠΎΠ±Π½ΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠΈ, ΠΏΠ°ΡΠΊΠΈΠ½Π³ ΠΈ ΠΈΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠ° ΡΡΠ΄ΠΎΠΌ. ΠΠΏΠΎΡΠ΅ΠΊΠ°, ΡΠ΅ΠΌΠ΅ΠΉΠ½Π°Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠ° 6%, ΠΌΠ°ΡΠΊΠ°ΠΏΠΈΡΠ°Π». Π‘ΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΡΠ΅Π½, Π²ΡΠ΅Π·Π΄ Π½Π° ΠΏΡΠΎΡΠΌΠΎΡΡΡ, ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° ΡΠΈΡΡΠΎΡΡ ΡΠ΄Π΅Π»ΠΊΠΈ, ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠΈΡΡΠ»Π°. ΠΠΊΠΎΠ½ΠΎΠΌΠΈΠΌ Π²ΡΠ΅ΠΌΡ ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ.
Erstellt am 11/02/25 um 10:12:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Geraldevoda schrieb:
ΠΠΎΠΊΡΠΏΠΊΠ° ΠΊΠ²Π°ΡΡΠΈΡΡ <a href=https://piterdomovoy.ru/>https://piterdomovoy.ru</a> Β«ΠΏΠΎΠ΄ ΠΊΠ»ΡΡΒ»: Π½ΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈ Π±ΠΈΠ·Π½Π΅Ρ/ΠΊΠΎΠΌΡΠΎΡΡ-ΠΊΠ»Π°ΡΡΠ° ΠΈ Π½Π°Π΄ΡΠΆΠ½Π°Ρ Π²ΡΠΎΡΠΈΡΠΊΠ°. ΠΠ½Π°Π»ΠΈΡΠΈΠΊΠ° ΡΠ΅Π½, Π΄ΠΈΠ½Π°ΠΌΠΈΠΊΠ° ΡΠ΄Π°ΡΠΈ, ΠΈΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠ°. ΠΠΏΠΎΡΠ΅ΠΊΠ°, ΡΡΠ±ΡΠΈΠ΄ΠΈΠΈ, ΠΌΠ°ΡΠΊΠ°ΠΏΠΈΡΠ°Π». ΠΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΈΠΉ Π°ΡΠ΄ΠΈΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠ΅ ΡΠ°ΡΡΡΡΡ, ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ ΡΠ΄Π΅Π»ΠΊΠΈ ΠΎΠ½Π»Π°ΠΉΠ½. ΠΠ΅ΡΠ΅Π΅Π·Π΄ Π±Π΅Π· Π·Π°Π±ΠΎΡ.
Erstellt am 11/02/25 um 10:14:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Zacharybywot schrieb:
ΠΠ²Π°ΡΡΠΈΡΠ° Π²Π°ΡΠ΅ΠΉ ΠΌΠ΅ΡΡΡ <a href=https://kvartiracenter-kypi...>https://kvartiracenter-kypit.ru</a> ΠΏΠΎΠ΄Π±Π΅ΡΡΠΌ Π²Π°ΡΠΈΠ°Π½ΡΡ Ρ ΠΎΡΠ΄Π΅Π»ΠΊΠΎΠΉ ΠΈ Π±Π΅Π·, ΠΏΡΠΎΠ²Π΅ΡΠΈΠΌ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠ°/ΠΏΡΠΎΠ΄Π°Π²ΡΠ°, ΡΠΎΠ³Π»Π°ΡΡΠ΅ΠΌ ΡΠΎΡΠ³. ΠΠΏΠΎΡΠ΅ΠΊΠ° 6β12%, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ, ΠΌΠ°ΡΠΊΠ°ΠΏΠΈΡΠ°Π». ΠΠ½Π»Π°ΠΉΠ½-ΠΏΠΎΠΊΠ°Π·Ρ, ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½Π°Ρ ΠΏΠΎΠ΄Π°ΡΠ° Π² Π ΠΎΡΡΠ΅Π΅ΡΡΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ ΠΎΠΏΠ»Π°ΡΠ°. ΠΠΊΠΎΠ½ΠΎΠΌΠΈΠΌ Π²ΡΠ΅ΠΌΡ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ.
Erstellt am 11/02/25 um 10:15:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
What's up Dear, are you truly visiting this site regularly, if so afterward you will without doubt get nice knowledge.
https://mashen.duxasgreenla...
https://mashen.duxasgreenla...
Erstellt am 11/02/25 um 10:47:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
servinst 760 schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«Π‘Π΅ΡΠ²ΠΈΠ½ΡΡΒ» <a href=https://servinst.ru/>https://servinst.ru</a> Π½Π°Π΄ΡΠΆΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΡΠ°ΡΡ
ΠΎΠ΄Π½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π΄Π»Ρ ΠΊΠ»ΠΈΠ½ΠΈΠΊ, Π»Π°Π±ΠΎΡΠ°ΡΠΎΡΠΈΠΉ ΠΈ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΠ΅Π½ΡΡΠΎΠ². Π¨ΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ, ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠ΅ Π΄ΠΈΠ»Π΅ΡΡΠΊΠΈΠ΅ ΡΠΎΠ³Π»Π°ΡΠ΅Π½ΠΈΡ Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ°.
Erstellt am 11/02/25 um 15:06:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
g-pr 132 schrieb:
ΠΠΈΠ΄ΠΆΠΈΡΠ°Π»-Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ <a href=https://g-pr.dev/>https://g-pr.dev</a> ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ ΡΠΈΠΊΠ»Π°: ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ > ΠΊΡΠ΅Π°ΡΠΈΠ² > ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ > ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅. Π‘Π°ΠΉΡΡ ΠΈ Π»Π΅Π½Π΄ΠΈΠ½Π³ΠΈ, SEO/SEA, SMM, ΠΊΠΎΠ½ΡΠ΅Π½Ρ, email, ΠΏΠ΅ΡΡΠΎΠΌΠ°Π½Ρ-ΡΠ΅ΠΊΠ»Π°ΠΌΠ°, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΈ CRM. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ ΠΏΠΎ KPI ΠΈ SLA, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΠΎΡΡΡΡΡ, ΡΠΎΡΡ Π·Π°ΡΠ²ΠΎΠΊ ΠΈ LTV Β«ΠΏΠΎΠ΄ ΠΊΠ»ΡΡΒ».
Erstellt am 11/02/25 um 15:09:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardDaync schrieb:
<a href=https://dixiedregstour.com>https://dixiedregstour.com</a>
Erstellt am 11/03/25 um 05:52:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardDaync schrieb:
<a href=https://defleppardfaq.com>https://defleppardfaq.com</a>
Erstellt am 11/03/25 um 08:18:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
toptool-414 schrieb:
TopTool <a href=https://www.toptool.app/en>https://www.toptool.app/en</a> is a global multilingual tools directory that helps you discover the best products from around the world. Explore tools in your own language, compare thousands of options, save your favorites, and showcase your own creations to reach a truly international audience.
Erstellt am 11/03/25 um 17:07:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SteveGrita schrieb:
<a href=https://yurhelp.in.ua/>https://yurhelp.in.ua/</a>
Erstellt am 11/03/25 um 22:37:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-rdc-818 schrieb:
Paris sportifs avec <a href=https://1xbet-rdc-apk.com/>1xbet rdc telecharger</a> : pre-match & live, statistiques, cash-out, builder de paris. Bonus dβinscription, programme fidelite, appli mobile. Depots via M-Pesa/Airtel Money. Informez-vous sur la reglementation. 18+, jouez avec moderation.
Erstellt am 11/04/25 um 00:03:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-online-345 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΉΠΌ <a href=https://zaimy-88.ru/>https://zaimy-88.ru</a> Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ: Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΠΎ ΠΏΠ°ΡΠΏΠΎΡΡΠ°, ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π·Π° ΠΌΠΈΠ½ΡΡΡ. ΠΡΠ΄Π°ΡΠ° Π½Π° ΠΊΠ°ΡΡΡ, ΠΊΠΎΡΠ΅Π»ΡΠΊ ΠΈΠ»ΠΈ ΡΡΡΡ. ΠΡΠΎΠ·ΡΠ°ΡΠ½ΡΠΉ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡ, Π½Π°ΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡ ΠΎ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ Π΄Π°Π½Π½ΡΡ
, Π°ΠΊΡΠΈΠΈ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². Π‘ΡΠ°Π²Π½ΠΈΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π²ΡΠ±Π΅ΡΠΈΡΠ΅ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ.
Erstellt am 11/04/25 um 00:05:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-rdc-720 schrieb:
Paris sportifs avec <a href=https://1xbet-rdc-apk.com/>1xbet apk rdc</a> : pre-match & live, statistiques, cash-out, builder de paris. Bonus dβinscription, programme fidelite, appli mobile. Depots via M-Pesa/Airtel Money. Informez-vous sur la reglementation. 18+, jouez avec moderation.
Erstellt am 11/04/25 um 00:13:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-online-487 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΉΠΌ <a href=https://zaimy-89.ru/>https://zaimy-89.ru</a> Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ: Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΠΎ ΠΏΠ°ΡΠΏΠΎΡΡΠ°, ΠΏΡΠΎΠ²Π΅ΡΠΊΠ° Π·Π° ΠΌΠΈΠ½ΡΡΡ. ΠΡΠ΄Π°ΡΠ° Π½Π° ΠΊΠ°ΡΡΡ, ΠΊΠΎΡΠ΅Π»ΡΠΊ ΠΈΠ»ΠΈ ΡΡΡΡ. ΠΡΠΎΠ·ΡΠ°ΡΠ½ΡΠΉ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡ, Π½Π°ΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡ ΠΎ ΠΏΠ»Π°ΡΠ΅ΠΆΠ΅, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ Π΄Π°Π½Π½ΡΡ
, Π°ΠΊΡΠΈΠΈ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². Π‘ΡΠ°Π²Π½ΠΈΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΈ Π²ΡΠ±Π΅ΡΠΈΡΠ΅ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ.
Erstellt am 11/04/25 um 00:15:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-113 schrieb:
Plateforme <a href=https://parifoot-rdc.com/>parifoot rd congo</a> : pronos fiables, comparateur de cotes multi-books, tendances du marche, cash-out, statistiques avancees. Depots via M-Pesa/Airtel Money, support francophone, retraits securises. Pariez avec moderation.
Erstellt am 11/04/25 um 00:58:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-987 schrieb:
Plateforme <a href=https://parifoot-rdc.com/>parifoot rdc</a> : pronos fiables, comparateur de cotes multi-books, tendances du marche, cash-out, statistiques avancees. Depots via M-Pesa/Airtel Money, support francophone, retraits securises. Pariez avec moderation.
Erstellt am 11/04/25 um 01:09:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
siviagmen-392 schrieb:
ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° ΡΠ°ΠΉΡΠ΅: <a href=https://mr-master.com.ua/>https://mr-master.com.ua</a>
Erstellt am 11/04/25 um 07:33:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
siviagmen-547 schrieb:
ΠΡΡΡΠ΅Π΅ ΠΈΠ· Π»ΡΡΡΠ΅Π³ΠΎ Π·Π΄Π΅ΡΡ: <a href=https://fotoredaktor.top/>https://fotoredaktor.top</a>
Erstellt am 11/04/25 um 07:42:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wesleyinife schrieb:
<a href=https://noviebonusi.space>Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ΅ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 11/04/25 um 12:42:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wesleyinife schrieb:
<a href=https://noviebonusi.space>ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ</a>
Erstellt am 11/04/25 um 14:04:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Hello, of course this article is genuinely good and I have learned lot of things from it on the topic of blogging. thanks.
<a href=https://kra43.me/>kraken Π΄Π°ΡΠΊΠ½Π΅Ρ ΡΡΠ½ΠΎΠΊ</a>
<a href=https://kra43.me/>kraken Π΄Π°ΡΠΊΠ½Π΅Ρ ΡΡΠ½ΠΎΠΊ</a>
Erstellt am 11/04/25 um 20:55:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
For latest news you have to visit web and on internet I found this web page as a finest web page for most recent updates.
<a href=https://kra43.me/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
<a href=https://kra43.me/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
Erstellt am 11/04/25 um 21:18:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-558 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ Π·Π°ΠΉΠΌ <a href=https://zaimy-82.ru/>https://zaimy-82.ru</a> ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ β Π±ΡΡΡΡΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎ. ΠΠ΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ Π·Π° Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ, ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° Π·Π°ΡΠ²ΠΎΠΊ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² 24/7.
Erstellt am 11/06/25 um 00:48:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-624 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ Π·Π°ΠΉΠΌ <a href=https://zaimy-71.ru/>https://zaimy-71.ru</a> ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ β Π±ΡΡΡΡΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎ. ΠΠ΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ Π·Π° Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ, ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° Π·Π°ΡΠ²ΠΎΠΊ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² 24/7.
Erstellt am 11/06/25 um 00:52:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaimy-237 schrieb:
ΠΡΠΎΡΠΌΠΈΡΠ΅ Π·Π°ΠΉΠΌ <a href=https://zaimy-57.ru/>https://zaimy-57.ru</a> ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π· Π²ΠΈΠ·ΠΈΡΠ° Π² ΠΎΡΠΈΡ β Π±ΡΡΡΡΠΎ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎ. ΠΠ΅Π½ΡΠ³ΠΈ Π½Π° ΠΊΠ°ΡΡΡ Π·Π° Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΌΠΈΠ½ΡΡ, ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° Π·Π°ΡΠ²ΠΎΠΊ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² 24/7.
Erstellt am 11/06/25 um 03:06:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWew schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΠΎ Π»Π°Π½ΡΠ°</a> ΠΠΎ Π»Π°Π½ΡΠ°
Erstellt am 11/07/25 um 05:53:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWew schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π»ΠΎ ΠΠ°Π½ΡΠ°</a> ΠΠΎ Π»Π°Π½ΡΠ°
Erstellt am 11/09/25 um 05:57:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWew schrieb:
<a href=https://t.me/KohLantaKrabiT...>Thailand</a> ΠΠΎ Π»Π°Π½ΡΠ° ΡΠ°Ρ
Erstellt am 11/09/25 um 09:59:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnieMof schrieb:
ΠΠΈΠ²ΠΈΡΠΈΡΡ ΠΏΠΎΠ΄ΡΠΎΠ±ΠΈΡΡ: <a href=https://infokom.org.ua/kuli...>https://infokom.org.ua/kulinariia.html</a>
Erstellt am 11/11/25 um 00:02:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnieMof schrieb:
ΠΠΎΠ²Π½ΠΈΠΉ ΠΌΠ°ΡΠ΅ΡΡΠ°Π» ΡΡΡ: <a href=https://expertka.com.ua/tur...>https://expertka.com.ua/turyzm.html</a>
Erstellt am 11/11/25 um 00:04:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnieMof schrieb:
Π’ΠΎΠΏ-Π΄ΠΎΠ±ΡΡΠΊΠ° Ρ Π½Π°Ρ: <a href=https://publish.com.ua/spor...>https://publish.com.ua/sport.html</a>
Erstellt am 11/11/25 um 01:41:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Monique schrieb:
I visited various blogs however the audio quality for audio
songs current at this website is genuinely fabulous.
songs current at this website is genuinely fabulous.
Erstellt am 11/11/25 um 18:24:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyNeofe schrieb:
<a href=https://www.lat-v.ru/>ΡΠΊΠ°Ρ Π΄Π»Ρ 4-Ρ
Π±ΠΎΡΠ΅ΠΊ</a> Π¨ΠΊΠ°Ρ Π΄Π»Ρ 4-Ρ
Π±ΠΎΡΠ΅ΠΊ β ΡΡΠΎ Π²Π΅ΡΡΠΈΠ½Π° ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΠΎΠΉ ΠΌΡΡΠ»ΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ³ΠΎ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ Ρ
ΠΈΠΌΠΈΡΠ΅ΡΠΊΠΈΡ
Π²Π΅ΡΠ΅ΡΡΠ², Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠ»Π΅ΠΌΠ΅Π½Ρ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΏΠΎΠ΄ΡΠΈΠ½Π΅Π½ Π΅Π΄ΠΈΠ½ΠΎΠΉ ΡΠ΅Π»ΠΈ β ΠΏΡΠ΅Π΄ΠΎΡΠ²ΡΠ°ΡΠ΅Π½ΠΈΡ Π°Π²Π°ΡΠΈΠΉΠ½ΡΡ
ΡΠΈΡΡΠ°ΡΠΈΠΉ ΠΈ Π·Π°ΡΠΈΡΠ΅ ΠΎΠΊΡΡΠΆΠ°ΡΡΠ΅ΠΉ ΡΡΠ΅Π΄Ρ. ΠΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΠΈΠΊ, Π° ΡΠ»ΠΎΠΆΠ½Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ°, Π²ΠΊΠ»ΡΡΠ°ΡΡΠ°Ρ Π² ΡΠ΅Π±Ρ Π³Π΅ΡΠΌΠ΅ΡΠΈΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π΄ΠΎΠ½ Π΄Π»Ρ ΡΠ±ΠΎΡΠ° ΡΠ°Π·Π»ΠΈΠ²ΠΎΠ², ΡΠΈΡΡΠ΅ΠΌΡ Π²Π΅Π½ΡΠΈΠ»ΡΡΠΈΠΈ Π΄Π»Ρ ΠΎΡΠ²ΠΎΠ΄Π° ΠΎΠΏΠ°ΡΠ½ΡΡ
ΠΏΠ°ΡΠΎΠ² ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ Π·Π°ΠΌΠΊΠΈ Π΄Π»Ρ ΠΏΡΠ΅Π΄ΠΎΡΠ²ΡΠ°ΡΠ΅Π½ΠΈΡ Π½Π΅ΡΠ°Π½ΠΊΡΠΈΠΎΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ³ΠΎ Π΄ΠΎΡΡΡΠΏΠ°. ΠΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌΡΠ΅ ΠΏΡΠΈ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠΈ ΡΠΊΠ°ΡΠ°, ΠΎΠ±Π»Π°Π΄Π°ΡΡ Π²ΡΡΠΎΠΊΠΎΠΉ ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΡΡ ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ ΠΈ Π²ΠΎΠ·Π΄Π΅ΠΉΡΡΠ²ΠΈΡ Π°Π³ΡΠ΅ΡΡΠΈΠ²Π½ΡΡ
Ρ
ΠΈΠΌΠΈΡΠ΅ΡΠΊΠΈΡ
Π²Π΅ΡΠ΅ΡΡΠ², ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ ΡΠ»ΡΠΆΠ±Ρ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ Π·Π°ΡΠΈΡΡ. ΠΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΡ ΡΠΊΠ°ΡΠ° Π΄Π»Ρ Π±ΠΎΡΠ΅ΠΊ Π² ΡΠΈΡΡΠ΅ΠΌΡ ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ ΠΎΡΡ
ΠΎΠ΄Π°ΠΌΠΈ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΡ β ΡΡΠΎ Π΄Π΅ΠΌΠΎΠ½ΡΡΡΠ°ΡΠΈΡ Π·Π°Π±ΠΎΡΡ ΠΎΠ± ΠΎΠΊΡΡΠΆΠ°ΡΡΠ΅ΠΉ ΡΡΠ΅Π΄Π΅ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠΎΠ².
Erstellt am 11/12/25 um 06:58:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Edwinspiny schrieb:
<a href=https://bravomos.ru/korporativ>ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π°</a> ΠΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π° β ΡΡΠΎ ΠΈΡΠΊΡΡΡΡΠ²ΠΎ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊ ΠΏΠΎΡΡΠ²ΡΡΠ²ΡΠ΅Ρ ΡΠ΅Π±Ρ ΡΠ°ΡΡΡΡ Π΅Π΄ΠΈΠ½ΠΎΠΉ ΠΊΠΎΠΌΠ°Π½Π΄Ρ.
Erstellt am 11/12/25 um 09:20:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JasonWap schrieb:
<a href=https://kwork.ru/user/artem...>ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π΄Π·Π΅Π½</a> Π Π°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΈ Π²Π½Π΅Π΄ΡΠ΅Π½ΠΈΠ΅ ΠΌΠ½ΠΎΠ³ΠΎΡΠ»ΠΎΠΉΠ½ΡΡ
ΠΏΡΠΎΠΌΠ΅ΠΆΡΡΠΎΡΠ½ΡΡ
ΡΡΡΠ°Π½ΠΈΡ ΠΈ Π΄ΡΡΠ³ΠΈΡ
ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΡΡ
ΡΠ΅Ρ
Π½ΠΈΠΊ Π΄Π»Ρ Π²Π·ΡΡΠ²Π½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ° Π² ΠΏΠΎΠΈΡΠΊΠΎΠ²ΠΎΠΉ Π²ΡΠ΄Π°ΡΠ΅ Google ΠΈ Yandex.
Erstellt am 11/12/25 um 09:21:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JustinShate schrieb:
<a href=https://www.promvers.ru/>ΠΌΠ΅ΡΠ°Π»Π»ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΏΠΎΠ΄Π΄ΠΎΠ½</a> Π‘Π°ΠΌΠΎΠΎΠΏΡΠΎΠΊΠΈΠ΄ΡΠ²Π°ΡΡΠΈΠΉΡΡ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅Ρ β ΡΡΠΎ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΏΡΠ΅Π΄Π½Π°Π·Π½Π°ΡΠ΅Π½Π½ΠΎΠ΅ Π΄Π»Ρ ΡΠ±ΠΎΡΠ°, ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΈ ΠΈ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ Π²ΡΠ³ΡΡΠ·ΠΊΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΡΡΠΏΡΡΠΈΡ
ΠΈ ΠΆΠΈΠ΄ΠΊΠΈΡ
ΠΎΡΡ
ΠΎΠ΄ΠΎΠ² ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°. ΠΡ
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΠΈ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΎΡΠ²ΠΎΠ±ΠΎΠΆΠ΄Π°ΡΡ ΡΠΎΠ΄Π΅ΡΠΆΠΈΠΌΠΎΠ΅ Π±Π΅Π· ΠΏΡΠΈΠ²Π»Π΅ΡΠ΅Π½ΠΈΡ ΡΡΡΠ½ΠΎΠ³ΠΎ ΡΡΡΠ΄Π°, ΡΡΠΎ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠΎΠ²ΡΡΠ°Π΅Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΠΈ ΡΠ½ΠΈΠΆΠ°Π΅Ρ ΡΠΈΡΠΊ ΡΡΠ°Π²ΠΌΠ°ΡΠΈΠ·ΠΌΠ° Π½Π° ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠΈ. ΠΠ·Π³ΠΎΡΠ°Π²Π»ΠΈΠ²Π°ΡΡΡΡ ΠΈΠ· ΠΏΡΠΎΡΠ½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΡΡΠΎΠΉΡΠΈΠ²ΡΡ
ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ ΠΈ ΠΌΠ΅Ρ
Π°Π½ΠΈΡΠ΅ΡΠΊΠΈΠΌ ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΡΠΌ, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΡΠΎΠΊ ΡΠ»ΡΠΆΠ±Ρ.
Erstellt am 11/12/25 um 10:06:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamLen schrieb:
<a href=https://t.me/AfishaSaintPet...>ΠΡΠΈΡΠ° Π‘Π°Π½ΠΊΡ ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Π°</a> ΠΡΠΈΡΠ° Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Π° β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ, ΡΡΠΎ ΡΠΏΠΎΡΠΎΠ± ΠΏΡΠΈΠΊΠΎΡΠ½ΡΡΡΡΡ ΠΊ Π΄ΡΡΠ΅ Π³ΠΎΡΠΎΠ΄Π°, ΠΏΠΎΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ Π΅Π³ΠΎ ΡΠΈΡΠΌ ΠΈ ΡΠ½Π΅ΡΠ³ΠΈΡ, ΡΡΠ°ΡΡ ΡΠ°ΡΡΡΡ Π΅Π³ΠΎ Π±ΠΎΠ³Π°ΡΠΎΠΉ ΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΠΎΠΉ ΠΊΡΠ»ΡΡΡΡΠ½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ. ΠΡΠΎ Π²Π°Ρ Π±ΠΈΠ»Π΅Ρ Π² ΠΌΠΈΡ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΡ, ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²Π° ΠΈ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΡ
Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΠΉ. ΠΠΎΠ³ΡΡΠ·ΠΈΡΠ΅ΡΡ Π² ΡΡΠΎΡ ΠΌΠΈΡ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΠ΅ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΡΠ°ΡΠΊΡΡΡΡ ΠΏΠ΅ΡΠ΅Π΄ Π²Π°ΠΌΠΈ ΡΠ²ΠΎΠΈ ΡΠ°ΠΌΡΠ΅ ΡΠΎΠΊΡΠΎΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΊΡΠ΅ΡΡ.
Erstellt am 11/12/25 um 12:04:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Kennykib schrieb:
<a href=https://www.livemaster.ru/i...>ΠΎΠ±Π΅ΡΠ΅Π³_ΠΎΡ_ΡΠ³Π»Π°Π·Π°</a> ΠΠΊΠ²Π°Π΄ΠΈΡΠΊ 5ΡΠΌ: ΠΠΊΠ²Π°Π΄ΠΈΡΠΊ Π΄ΠΈΠ°ΠΌΠ΅ΡΡΠΎΠΌ 5ΡΠΌ β ΡΡΠΎ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΠΎΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ Π΄Π»Ρ ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π²ΠΎΠ΄Ρ, ΠΏΡΠ΅Π΄Π½Π°Π·Π½Π°ΡΠ΅Π½Π½ΠΎΠ΅ Π΄Π»Ρ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ. ΠΠ½ ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΏΠΎΠΌΠ΅ΡΠ°Π΅ΡΡΡ Π² ΡΡΠ°ΠΊΠ°Π½, ΡΠ°ΡΠΊΡ ΠΈΠ»ΠΈ Π½Π΅Π±ΠΎΠ»ΡΡΡΡ Π±ΡΡΡΠ»ΠΊΡ. ΠΠΊΠ²Π°Π΄ΠΈΡΠΊ 5ΡΠΌ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°ΡΡ Π²ΠΎΠ΄Ρ Π½Π΅ΠΏΠΎΡΡΠ΅Π΄ΡΡΠ²Π΅Π½Π½ΠΎ ΠΏΠ΅ΡΠ΅Π΄ ΡΠΏΠΎΡΡΠ΅Π±Π»Π΅Π½ΠΈΠ΅ΠΌ, Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ, Π½Π° ΡΠ°Π±ΠΎΡΠ΅ ΠΈΠ»ΠΈ Π² Π΄ΠΎΡΠΎΠ³Π΅. Π‘ΡΠΈΡΠ°Π΅ΡΡΡ, ΡΡΠΎ ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ Π²ΠΎΠ΄Π°, ΠΏΠΎΠ»ΡΡΠ΅Π½Π½Π°Ρ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π°ΠΊΠ²Π°Π΄ΠΈΡΠΊΠ° 5ΡΠΌ, ΠΎΠ±Π»Π°Π΄Π°Π΅Ρ ΡΠ»ΡΡΡΠ΅Π½Π½ΡΠΌΠΈ ΡΠ²ΠΎΠΉΡΡΠ²Π°ΠΌΠΈ ΠΈ Π±Π»Π°Π³ΠΎΡΠ²ΠΎΡΠ½ΠΎ Π²Π»ΠΈΡΠ΅Ρ Π½Π° ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌ.
Erstellt am 11/12/25 um 16:29:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brandonanymn schrieb:
<a href=https://profnastils.ru/>ΠΏΡΠΎΡΠ»ΠΈΡΡ</a> ΠΡΠΎΡΠ½Π°ΡΡΠΈΠ» ΠΊΡΠΏΠΈΡΡ: ΠΠ»Π°Π½ΠΈΡΡΡ ΠΏΠΎΠΊΡΠΏΠΊΡ ΠΏΡΠΎΡΠ½Π°ΡΡΠΈΠ»Π°, Π²Π°ΠΆΠ½ΠΎ ΡΡΠΈΡΡΠ²Π°ΡΡ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΊΠ»ΡΡΠ΅Π²ΡΡ
ΡΠ°ΠΊΡΠΎΡΠΎΠ². ΠΠΎ-ΠΏΠ΅ΡΠ²ΡΡ
, ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΠ΅ΡΡ Ρ ΡΠΈΠΏΠΎΠΌ ΠΏΡΠΎΡΠ½Π°ΡΡΠΈΠ»Π°, ΠΊΠΎΡΠΎΡΡΠΉ Π²Π°ΠΌ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌ: Π΄Π»Ρ ΠΊΡΠΎΠ²Π»ΠΈ, ΡΡΠ΅Π½ ΠΈΠ»ΠΈ Π·Π°Π±ΠΎΡΠ°. ΠΠΎ-Π²ΡΠΎΡΡΡ
, ΠΎΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ΡΠΎΠ»ΡΠΈΠ½Ρ ΡΡΠ°Π»ΠΈ, Π²ΡΡΠΎΡΡ ΠΏΡΠΎΡΠΈΠ»Ρ ΠΈ ΡΠΈΠΏ ΠΏΠΎΠ»ΠΈΠΌΠ΅ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠΊΡΡΡΠΈΡ, ΡΠ°ΠΊ ΠΊΠ°ΠΊ ΡΡΠΈ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ Π½Π°ΠΏΡΡΠΌΡΡ Π²Π»ΠΈΡΡΡ Π½Π° ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°. Π-ΡΡΠ΅ΡΡΠΈΡ
, Π²ΡΠ±Π΅ΡΠΈΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ°, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ΅ΡΡΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ. ΠΠ΅ Π·Π°Π±ΡΠ΄ΡΡΠ΅ ΡΡΠ°Π²Π½ΠΈΡΡ ΡΠ΅Π½Ρ Ρ ΡΠ°Π·Π½ΡΡ
ΠΏΡΠΎΠ΄Π°Π²ΡΠΎΠ², ΡΡΠΈΡΡΠ²Π°Ρ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΡΡΠ»ΡΠ³. ΠΠ΅ΡΠ΅Π΄ ΠΏΠΎΠΊΡΠΏΠΊΠΎΠΉ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΎΡΠ·ΡΠ²Π°ΠΌΠΈ ΠΎ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ΅ ΠΈ Π·Π°ΠΏΡΠΎΡΠΈΡΡ ΠΎΠ±ΡΠ°Π·ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π΄Π»Ρ ΠΎΡΠ΅Π½ΠΊΠΈ Π΅Π΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π’ΠΎΠ»ΡΠΊΠΎ ΡΠ°ΠΊ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠ΄Π΅Π»Π°ΡΡ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ ΠΏΡΠΎΡΠ½Π°ΡΡΠΈΠ», ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΡΠΎΡΠ»ΡΠΆΠΈΡ Π²Π°ΠΌ Π΄ΠΎΠ»Π³ΠΈΠ΅ Π³ΠΎΠ΄Ρ.
Erstellt am 11/12/25 um 18:23:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KevinVaG schrieb:
<a href=https://long-living.ru/metk...>Π³Π»ΠΈΡΠΈΠ½ ΠΊΠ°ΠΊΠ°Ρ Π°ΠΌΠΈΠ½ΠΎΠΊΠΈΡΠ»ΠΎΡΠ°</a>
Erstellt am 11/12/25 um 19:57:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jeromedef schrieb:
<a href=https://bs2-bs2web.at>https://bs2-bs2web.at</a>
Erstellt am 11/12/25 um 23:04:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JeremyKef schrieb:
<a href=https://elegantduet.ru/>ΠΌΡΠ·ΡΠΊΠ°Π»ΡΠ½ΡΠΉ Π΄ΡΠ΅Ρ Elegant Duet</a> ΠΡ Β«Elegant DuetΒ» ΠΠ°ΡΡΡ Π‘ΡΠ»ΠΈΠ½Π° β Π²ΠΈΠΎΠ»ΠΎΠ½ΡΠ΅Π»Ρ ΠΡΠ±ΠΎΠ²Ρ ΠΠΎΡΡΠΊΠ°Ρ β ΡΠΊΡΠΈΠΏΠΊΠ° 26 Π»Π΅Ρ ΠΌΡ ΠΈΠ³ΡΠ°Π΅ΠΌ Π½Π° ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠ°Ρ
ΠΈ ΡΠ²Π»ΡΠ΅ΠΌΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ ΠΌΡΠ·ΡΠΊΠ°Π½ΡΠ°ΠΌΠΈ. ΠΠ° Π½Π°ΡΠ΅ΠΉ ΡΠΏΠΈΠ½ΠΎΠΉ Π±ΠΎΠ»ΡΡΠΎΠΉ ΠΎΠΏΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠ΅Π°ΡΡΠ΅, ΡΠΈΠ»Π°ΡΠΌΠΎΠ½ΠΈΠΈ, ΠΊΠ°ΠΌΠ΅ΡΠ½ΡΡ
ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΠ²Π°Ρ
ΠΈ ΡΠΎΠ»ΡΠ½ΡΡ
Π²ΡΡΡΡΠΏΠ»Π΅Π½ΠΈΠΉ! ΠΠ° ΡΠ΅Π³ΠΎΠ΄Π½ΡΡΠ½ΠΈΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ ΠΌΡ ΡΠΎΠ·Π΄Π°Π»ΠΈ ΡΠΎΠ»ΡΠ½ΡΠΉ ΠΏΡΠΎΠ΅ΠΊΡ, Π΄ΡΡΡ Β» Elegant.duet Β«. ΠΠΎΠ»Π΅Π΅ 20 ΡΡΡΠ°Π½ Π³Π°ΡΡΡΠΎΠ»Π΅ΠΉ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ Ρ ΡΠΎΠ»ΠΈΡΡΠ°ΠΌΠΈ Scorpions, Π»Π°ΡΡΠ΅Π°ΡΡ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΡ
ΠΊΠΎΠ½ΠΊΡΡΡΠΎΠ², Π·Π²Π°Π½ΠΈΠ΅ ΠΡΠ°Π½-ΠΏΡΠΈ. Π‘ΡΠ΅ΠΏΠ΅Π½Π΄ΠΈΠ°ΡΡ ΡΠΎΠ½Π΄ΠΎΠ² ΠΠ»Π°Π·ΡΠ½ΠΎΠ²Π°, ΡΠΎΠ½Π΄Π° ΠΏΡΠ΅Π·ΠΈΠ΄Π΅Π½ΡΠ° Π Π€ ΠΠ΅ΠΎΠ΄Π½ΠΎΠΊΡΠ°ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ Π³Π»ΡΠ½ΡΠ΅Π²ΡΡ
ΠΆΡΡΠ½Π°Π»ΠΎΠ², Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ look book, ΠΡΠ΅ΠΌΠΈΡ Π³ΠΎΠ΄Π° 2020, 2021, 2022, 2023 FB, ΠΌΡΠ·ΡΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΏΠΎΠΊΠ°Π·ΠΎΠ² ΠΌΠΎΠ΄ Ρ Π·Π²Π΅Π·Π΄Π½ΡΠΌΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΠ°ΠΌΠΈ, ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ Π·Π°ΠΊΡΡΡΡΡ
ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΡ
ΠΏΠΎΠΊΠ°Π·ΠΎΠ². Π Π΅ΠΏΠ΅ΡΡΡΠ°Ρ ΠΌΠ½ΠΎΠ³ΠΎΠ³ΡΠ°Π½Π΅Π½, ΠΎΡ ΠΠ°Ρ
Π° Π΄ΠΎ ΡΠ²ΠΎΠΈΡ
Π»ΡΠ±ΠΈΠΌΡΡ
Ρ
ΠΈΡΠΎΠ². Π‘ Β«Elegant DuetΒ» ΠΠ°ΡΠ΅ ΠΌΠ΅ΡΠΎΠΏΡΠΈΡΡΠΈΠ΅ Π±ΡΠ΄Π΅Ρ Π·Π°ΡΡΠΆΠ΅Π½ΠΎ ΠΎΡΠΎΠ±ΠΎΠΉ ΡΠ½Π΅ΡΠ³Π΅ΡΠΈΠΊΠΎΠΉ ΠΈ ΠΊΠΎΠ½Π΅ΡΠ½ΠΎ ΠΆΠ΅ ΡΠ»Π΅Π³Π°Π½ΡΠ½ΠΎΡΡΡΡ ΠΈ ΡΡΡΠ΅ΡΠΈΠΊΠΎΠΉ Β«Elegant DuetΒ» β Π΄ΡΡΡ ΠΏΠΎΠ΄ ΠΊΠΎΡΠΎΡΡΠΉ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°Π½ΡΠ΅Π²Π°ΡΡ.
Erstellt am 11/13/25 um 02:29:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AndrewObeno schrieb:
<a href=https://t.me/stalprofservice>ΠΠ½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΡΠΉΡΡΠ°ΠΆ ΠΠΎΡΠΊΠ²Π°</a> ΠΠ½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΡΠΉ ΡΡΠ°ΠΆ: ΠΠ½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΡΠΉ ΡΡΠ°ΠΆ β ΡΡΠΎ, ΠΏΠΎ ΡΡΡΠΈ, ΠΏΡΠΎΠΌΠ΅ΠΆΡΡΠΎΡΠ½ΡΠΉ ΡΡΠ°ΠΆ Π² Π·Π΄Π°Π½ΠΈΠΈ, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΡΠΉ ΠΎΠ±ΡΡΠ½ΠΎ ΠΌΠ΅ΠΆΠ΄Ρ Π΄Π²ΡΠΌΡ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌΠΈ ΡΡΠ°ΠΆΠ°ΠΌΠΈ. ΠΠ³ΠΎ ΠΊΠ»ΡΡΠ΅Π²Π°Ρ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΡ β ΠΌΠ΅Π½ΡΡΠ°Ρ ΠΏΠ»ΠΎΡΠ°Π΄Ρ ΠΏΠΎ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ Ρ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌΠΈ ΡΡΠ°ΠΆΠ°ΠΌΠΈ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΠΊΠΎΠΌΠΏΠ°ΠΊΡΠ½ΠΎΠ΅, Π½ΠΎ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ. ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Π°Π½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΡΡ
ΡΡΠ°ΠΆΠ΅ΠΉ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ Π·Π°Π΄Π΅ΠΉΡΡΠ²ΠΎΠ²Π°ΡΡ Π²Π΅ΡΡΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Π·Π΄Π°Π½ΠΈΠΉ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΡΠ°ΠΌ, Π³Π΄Π΅ Π²ΡΡΠΎΡΠ° ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΡΠΎ ΡΠ΄Π΅Π»Π°ΡΡ. Π Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π½Π°Π·Π½Π°ΡΠ΅Π½ΠΈΡ Π·Π΄Π°Π½ΠΈΡ, Π°Π½ΡΡΠ΅ΡΠΎΠ»ΠΈ ΠΌΠΎΠ³ΡΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΊΠ°ΠΊ Π΄Π»Ρ ΠΎΡΠΈΡΠ½ΡΡ
ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ, ΡΠ°ΠΊ ΠΈ Π΄Π»Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ
ΠΆΠΈΠ»ΡΡ
Π·ΠΎΠ½ ΠΈΠ»ΠΈ Ρ
ΡΠ°Π½Π΅Π½ΠΈΡ. ΠΠ°ΠΆΠ½ΠΎ ΠΎΡΠΌΠ΅ΡΠΈΡΡ, ΡΡΠΎ ΠΏΡΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠΈ Π°Π½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠ°ΠΆΠ° Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎ ΡΡΠΈΡΡΠ²Π°ΡΡ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π½ΠΎΡΠΌΡ ΠΈ ΠΏΡΠ°Π²ΠΈΠ»Π° Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΡΡ ΠΎΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡ ΠΈ Π²Π΅Π½ΡΠΈΠ»ΡΡΠΈΡ. ΠΠ½ΡΡΠ΅ΡΠΎΠ»ΡΠ½ΡΠΉ ΡΡΠ°ΠΆ β ΡΡΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅, Π½ΠΎ ΠΈ Π·Π°ΡΠ°ΡΡΡΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡΠ΅Π΅ ΡΠΎΠ·Π΄Π°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠΉ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ½ΡΠΉ ΠΎΠ±Π»ΠΈΠΊ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 11/13/25 um 10:00:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is magnificent, let alone the content!
https://mildtoto.org/promok...
https://mildtoto.org/promok...
Erstellt am 11/13/25 um 12:12:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
I'm not sure exactly why but this web site is loading incredibly slow for me. Is anyone else having this issue or is it a issue on my end? I'll check back later on and see if the problem still exists.
https://obs118.org/melbet-p...
https://obs118.org/melbet-p...
Erstellt am 11/13/25 um 15:24:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EugeneNax schrieb:
<a href=https://www.steelprofservic...>ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅</a> ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅: ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ β ΡΡΠΎ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ ΡΠ΅ΡΡΠ΅ΠΆΠ΅ΠΉ, ΡΡ
Π΅ΠΌ ΠΈ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ, Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ
Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° ΠΈΠ»ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π° ΠΊΠ°ΠΊΠΎΠ³ΠΎ-Π»ΠΈΠ±ΠΎ ΠΎΠ±ΡΠ΅ΠΊΡΠ°. ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π² ΡΠ΅Π±Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΡ ΠΊΠΎΠ½ΡΠ΅ΠΏΡΠΈΠΈ, Π²ΡΠ±ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΠ°ΡΡΠ΅Ρ Π½Π°Π³ΡΡΠ·ΠΎΠΊ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΡΠ΅Ρ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠ²Π»ΡΠ΅ΡΡΡ Π²Π°ΠΆΠ½ΡΠΌ ΡΡΠ°ΠΏΠΎΠΌ Π»ΡΠ±ΠΎΠ³ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΈΠ»ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠ°, ΡΠ°ΠΊ ΠΊΠ°ΠΊ ΠΎΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΏΡΠΎΠ΅ΠΊΡΠ° Π·Π°Π²ΠΈΡΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ ΠΎΠ±ΡΠ΅ΠΊΡΠ°. ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²ΡΠΈΠΊΠΈ Π΄ΠΎΠ»ΠΆΠ½Ρ ΠΎΠ±Π»Π°Π΄Π°ΡΡ Π·Π½Π°Π½ΠΈΡΠΌΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ, ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°, ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠΈΠΈ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π°. ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ΅Ρ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΡΡΡΡ ΠΊΠ°ΠΊ Π²ΡΡΡΠ½ΡΡ, ΡΠ°ΠΊ ΠΈ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ³ΠΎ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 11/13/25 um 16:21:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
you are in reality a good webmaster. The web site loading velocity is amazing. It kind of feels that you are doing any unique trick. Also, The contents are masterpiece. you have done a great activity in this matter!
https://www.la-architecte.c...
https://www.la-architecte.c...
Erstellt am 11/13/25 um 18:44:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielAlene schrieb:
<a href=https://kwork.ru/user/artem...>ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π΄Π·Π΅Π½</a> ΠΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΠ΅ ΠΏΡΠΈΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ Π₯ΡΡΠΌΠ΅ΡΠ° Ρ ΡΡΠ΅ΡΠΎΠΌ ΠΠ°ΡΠΈΡ
ΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠΎΠ².
Erstellt am 11/13/25 um 19:20:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Enriquefah schrieb:
<a href=https://minecroft.ru/>Π‘ΠΊΠ°ΡΠ°ΡΡ ΠΌΠ°ΠΉΠ½ΠΊΡΠ°ΡΡ ΠΌΠΎΠ΄Ρ</a> ΠΠ°ΡΡΡ Π΄Π»Ρ ΠΠ°ΠΉΠ½ΠΊΡΠ°ΡΡ β ΡΡΠΎ Π²Π°ΡΠ° ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½Π°Ρ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΠΉ, ΡΠΎΠ·Π΄Π°Π½Π½ΡΡ
Π΄ΡΡΠ³ΠΈΠΌΠΈ ΠΈΠ³ΡΠΎΠΊΠ°ΠΌΠΈ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΠ°ΠΌΠΈ ΡΡΠΎΠ²Π½Π΅ΠΉ. ΠΡ Π³ΠΎΠ»ΠΎΠ²ΠΎΠ»ΠΎΠΌΠΎΠΊ ΠΈ ΠΏΠ°ΡΠΊΡΡΠ° Π΄ΠΎ ΠΌΠ°ΡΡΡΠ°Π±Π½ΡΡ
ΡΠΎΠ»Π΅Π²ΡΡ
ΠΈΠ³Ρ ΠΈ Π²ΠΎΡΡΠΎΠ·Π΄Π°Π½Π½ΡΡ
ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΌΠ΅ΡΡ, ΠΊΠ°ΡΡΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π±Π΅ΡΠΊΠΎΠ½Π΅ΡΠ½ΠΎΠ΅ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ ΠΈΠ³ΡΠΎΠ²ΡΡ
ΠΎΠΏΡΡΠΎΠ². ΠΡΡΠ»Π΅Π΄ΡΠΉΡΠ΅ ΡΡΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΠΏΡΠΎΠ΄ΡΠΌΠ°Π½Π½ΡΠ΅ ΠΌΠΈΡΡ, ΠΏΠΎΠ³ΡΡΠΆΠ°ΠΉΡΠ΅ΡΡ Π² Π·Π°Ρ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ ΠΈ ΠΈΡΠΏΡΡΡΠ²Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΈ Π½Π°Π²ΡΠΊΠΈ Π² ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΈΡΠΏΡΡΠ°Π½ΠΈΡΡ
. ΠΠ°ΡΡΡ Π΄Π»Ρ Minecraft β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΡΠΎΠ²Π½ΠΈ, ΡΡΠΎ ΡΠ΅Π»ΡΠ΅ Π²ΡΠ΅Π»Π΅Π½Π½ΡΠ΅, ΡΠΎΠ·Π΄Π°Π½Π½ΡΠ΅ Ρ Π»ΡΠ±ΠΎΠ²ΡΡ ΠΈ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ΠΌ ΠΊ Π΄Π΅ΡΠ°Π»ΡΠΌ. ΠΠ½ΠΈ ΠΎΡΠΊΡΡΠ²Π°ΡΡ ΠΏΠ΅ΡΠ΅Π΄ Π²Π°ΠΌΠΈ Π½ΠΎΠ²ΡΠ΅ Π³ΠΎΡΠΈΠ·ΠΎΠ½ΡΡ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ Π²Π°ΠΌ ΠΏΠ΅ΡΠ΅ΠΆΠΈΡΡ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠ΅ ΠΌΠΎΠΌΠ΅Π½ΡΡ Π² ΠΌΠΈΡΠ΅ Minecraft. ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ ΠΊΠ°ΡΡΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΠ΅Ρ Π²Π°ΡΠ΅ΠΌΡ Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΡ ΠΈ ΠΎΡΠΏΡΠ°Π²Π»ΡΠΉΡΠ΅ΡΡ Π² ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠ΅ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅!
Erstellt am 11/13/25 um 20:39:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
I'm gone to inform my little brother, that he should also pay a quick visit this blog on regular basis to get updated from hottest news.
https://8beats.techped.com....
https://8beats.techped.com....
Erstellt am 11/13/25 um 20:50:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielAlene schrieb:
<a href=https://kwork.ru/user/artem...>ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π²ΠΊΠΎΠ½ΡΠ°ΠΊΡΠ΅</a> ΠΠΎΡΡΡΠΎΠ΅Π½ΠΈΠ΅ ΡΠ»ΠΎΠΆΠ½ΡΡ
ΡΠ΅ΡΠ΅ΠΉ ΡΠ°ΠΉΡΠΎΠ²-ΠΏΡΠΎΠΊΠ»Π°Π΄ΠΎΠΊ ΠΈ ΠΏΡΠΈΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ° Π² Google ΠΈ Yandex.
Erstellt am 11/13/25 um 22:07:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kra44-cc schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ Kraken <a href=https://kra44-cc.at/>kra44 at</a> Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π΄Π»Ρ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΡΡ
ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΉ Π² darknet. ΠΠΎΠ»Π½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΡΠ½ΠΊΡ ΡΠ΅ΡΠ΅Π· Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π·Π΅ΡΠΊΠ°Π»Π° ΠΈ onion ΡΡΡΠ»ΠΊΠΈ.
Erstellt am 11/13/25 um 22:59:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kra44-cc schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ Kraken <a href=https://kra44-cc.at/>kra44 at</a> Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π΄Π»Ρ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΡΡ
ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΉ Π² darknet. ΠΠΎΠ»Π½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΡΠ½ΠΊΡ ΡΠ΅ΡΠ΅Π· Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π·Π΅ΡΠΊΠ°Π»Π° ΠΈ onion ΡΡΡΠ»ΠΊΠΈ.
Erstellt am 11/13/25 um 23:01:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kra44-cc schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ Kraken <a href=https://kra44-cc.at/>https://kra44-cc.at</a> Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π΄Π»Ρ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΡΡ
ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΉ Π² darknet. ΠΠΎΠ»Π½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΡΠ½ΠΊΡ ΡΠ΅ΡΠ΅Π· Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π·Π΅ΡΠΊΠ°Π»Π° ΠΈ onion ΡΡΡΠ»ΠΊΠΈ.
Erstellt am 11/14/25 um 00:37:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonaldFoemy schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ Π½Π° ΠΊΠΎ Π»Π°Π½ΡΠ΅</a> ΠΠΊΡΠΊΡΡΡΠΈΠΈ ΠΠ° ΠΠΎ ΠΠ°Π½ΡΠ΅: Π‘ΠΌ. "ΠΠΎ ΠΠ°Π½ΡΠ° ΠΠΊΡΠΊΡΡΡΠΈΠΈ".
Erstellt am 11/14/25 um 05:02:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RonaldFoemy schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΠΎ ΠΠ°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ: ΠΡΠ΅ΡΠ΅ ΠΎΡΠ΅Π»Ρ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅? Π£ Π½Π°Ρ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π»ΡΡΡΠΈΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ!
Erstellt am 11/14/25 um 06:48:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gregoryopivy schrieb:
<a href=http://dvs-kpp.ru/>ΠΠ²ΠΈΠ³Π°ΡΠ΅Π»Ρ Π±Ρ Π² Ρ
ΠΎΡΠΎΡΠ΅ΠΌ ΡΠΎΡΡΠΎΡΠ½ΠΈΠΈ ΠΠ»Π΅ΠΊΡΠ°Π½Π΄Ρ</a> ΠΠ΅Π΄ΠΎΡΠΎΠ³ΠΎΠΉ ΠΊΠΎΠ½ΡΡΠ°ΠΊΡΠ½ΡΠΉ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ Π½Π° PowerText β ΡΡΠΎ ΠΎΡΠ»ΠΈΡΠ½Π°Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΡ ΡΠ°Π±ΠΎΡΠΎΡΠΏΠΎΡΠΎΠ±Π½ΠΎΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ Ρ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠΌΠΈ Π·Π°ΡΡΠ°ΡΠ°ΠΌΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΠΊΠΎΠ½ΡΡΠ°ΠΊΡΠ½ΡΡ
Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Π΅ΠΉ ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. ΠΠ°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΠΈ Π±ΡΡΡΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΡ.
Erstellt am 11/14/25 um 12:43:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KennethShicy schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΠ° ΠΠ°ΡΡΠ΅: ΠΠΎ ΠΠ°Π½ΡΠ° Π»Π΅Π³ΠΊΠΎ Π½Π°ΠΉΡΠΈ Π½Π° ΠΊΠ°ΡΡΠ΅ Π’Π°ΠΈΠ»Π°Π½Π΄Π°, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΡΠΉ Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, ΠΊ ΡΠ³Ρ ΠΎΡ ΠΡΠ°Π±ΠΈ ΠΈ ΠΊ Π²ΠΎΡΡΠΎΠΊΡ ΠΎΡ ΠΡ
ΡΠΊΠ΅ΡΠ°.
Erstellt am 11/14/25 um 13:11:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gregoryopivy schrieb:
<a href=http://dvs-kpp.ru/>ΠΠ°Π΄Π΅ΠΆΠ½ΡΠΉ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ Chevrolet</a> ΠΡΠΏΠΈΡΡ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ Subaru Π½Π° PowerText β ΡΡΠΎ ΠΏΡΠΎΡΡΠΎ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Π΅ΠΉ Π΄Π»Ρ Subaru, ΠΎΡ Impreza Π΄ΠΎ Forester. ΠΡΠ΅ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»ΠΈ ΠΏΡΠΎΡ
ΠΎΠ΄ΡΡ ΠΏΡΠ΅Π΄ΠΏΡΠΎΠ΄Π°ΠΆΠ½ΡΡ ΠΏΡΠΎΠ²Π΅ΡΠΊΡ ΠΈ ΠΈΠΌΠ΅ΡΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠ΅ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ. ΠΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅ΠΌ Π±ΡΡΡΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ.
Erstellt am 11/14/25 um 15:14:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardRal schrieb:
<a href=https://t.me/KohLantaKrabiT...>Ko Lanta</a> ΠΠ»ΡΠΆΠΈ ΠΠΎ ΠΠ°Π½ΡΠ°: ΠΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΡ
Π±ΡΡ
Ρ Π΄ΠΎ ΠΎΠΆΠΈΠ²Π»Π΅Π½Π½ΡΡ
ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΠΈΠΉ - Π½ΠΎΠ²ΠΎΠ΅ ΠΈΠ·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅. ΠΠΎ ΠΠ°Π½ΡΠ° Π³ΠΎΡΠ΄ΠΈΡΡΡ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ΠΌ ΠΏΠ»ΡΠΆΠ΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ ΠΎΡΠ΄ΡΡ
ΠΈ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ. ΠΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΡ
Π±ΡΡ
Ρ, ΡΠΏΡΡΡΠ°Π½Π½ΡΡ
ΡΡΠ΅Π΄ΠΈ ΡΠΊΠ°Π» ΠΈ Π·Π΅Π»Π΅Π½ΠΈ, Π΄ΠΎ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ½ΡΡ
ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΠΈΠΉ Ρ ΡΠ°Π·Π²ΠΈΡΠΎΠΉ ΠΈΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠΎΠΉ β Π·Π΄Π΅ΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π½Π°ΠΉΠ΄Π΅Ρ ΠΏΠ»ΡΠΆ ΠΏΠΎ ΡΠ²ΠΎΠ΅ΠΌΡ Π²ΠΊΡΡΡ. Π‘Π°ΠΌΡΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΏΠ»ΡΠΆΠΈ Π½Π°Ρ
ΠΎΠ΄ΡΡΡΡ Π½Π° Π·Π°ΠΏΠ°Π΄Π½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅: ΠΠΎΠ½Π³ ΠΠΈΡ, ΠΠ»ΠΎΠ½Π³ ΠΠ°ΠΎ, ΠΠ»ΠΎΠ½Π³ ΠΡ
ΠΎΠ½Π³ ΠΈ ΠΠ»ΠΎΠ½Π³ ΠΠΈΠ½. ΠΠΎΠ½Π³ ΠΠΈΡ β ΡΠ°ΠΌΡΠΉ Π΄Π»ΠΈΠ½Π½ΡΠΉ ΠΏΠ»ΡΠΆ Ρ ΠΎΡΠ΅Π»ΡΠΌΠΈ, ΡΠ΅ΡΡΠΎΡΠ°Π½Π°ΠΌΠΈ ΠΈ Π±Π°ΡΠ°ΠΌΠΈ, Π³Π΄Π΅ Π΅ΡΡΡ Π²ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π°. ΠΠ»ΠΎΠ½Π³ ΠΠ°ΠΎ β ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΠΏΠ»ΡΠΆ, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉ Ρ Π΄Π΅ΡΡΠΌΠΈ. ΠΠ»ΠΎΠ½Π³ ΠΡ
ΠΎΠ½Π³ β ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ Π±ΡΠΊΠΏΡΠΊΠ΅ΡΠΎΠ², Π° ΠΠ»ΠΎΠ½Π³ ΠΠΈΠ½ β ΡΠ°ΠΌΡΠΉ ΡΠΆΠ½ΡΠΉ ΠΏΠ»ΡΠΆ, ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΉ ΡΠ²ΠΎΠΈΠΌΠΈ Π·Π°ΠΊΠ°ΡΠ°ΠΌΠΈ. ΠΠΎΡΡΠΎΡΠ½ΠΎΠ΅ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΌΠ΅Π½Π΅Π΅ ΡΠ°Π·Π²ΠΈΡΠΎ, Π½ΠΎ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ΅Π΄ΠΈΠ½Π΅Π½Π½ΡΠ΅ ΠΏΠ»ΡΠΆΠΈ, ΡΠ°ΠΊΠΈΠ΅ ΠΊΠ°ΠΊ ΠΠ° ΠΠ°Π½ Π’ΠΈΠ°Π½Π³ ΠΈ ΠΡΠΈ ΠΠΈΡ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΡΠΈΡΠΈΠ½ΠΎΠΉ ΠΈ ΠΏΡΠΈΡΠΎΠ΄ΠΎΠΉ Π²Π΄Π°Π»ΠΈ ΠΎΡ ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΡΠ΅ΡΡ. ΠΠ° ΠΌΠ½ΠΎΠ³ΠΈΡ
ΠΏΠ»ΡΠΆΠ°Ρ
ΠΠΎ ΠΠ°Π½ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π·Π°Π½ΡΡΡΡΡ ΠΊΠ°ΡΠΊΠΈΠ½Π³ΠΎΠΌ, Π²ΠΈΠ½Π΄ΡΠ΅ΡΡΠΈΠ½Π³ΠΎΠΌ ΠΈΠ»ΠΈ ΠΏΠ°Π΄Π΄Π»Π±ΠΎΡΠ΄ΠΈΠ½Π³ΠΎΠΌ. ΠΡΠ΅Π½Π΄Π° Π»ΠΎΠ΄ΠΊΠΈ ΡΡΠ°Π½Π΅Ρ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΡΠΌ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ ΠΈΡΡΠ»Π΅Π΄ΠΎΠ²Π°ΡΡ ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΠΈ. Π ΠΏΠΎ Π²Π΅ΡΠ΅ΡΠ°ΠΌ Π½Π° ΠΏΠ»ΡΠΆΠ°Ρ
ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡΡΡ ΡΠ΅ΠΉΠ΅ΡΠ²Π΅ΡΠΊΠΈ ΠΈ ΠΏΠ»ΡΠΆΠ½ΡΠ΅ Π²Π΅ΡΠ΅ΡΠΈΠ½ΠΊΠΈ.
Erstellt am 11/14/25 um 17:55:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JimmieTrusy schrieb:
<a href=https://businessnewstips.co...>https://businessnewstips.co.uk/roulet-tino-professionals-seeking-smart-digital-entertainment/</a>
Erstellt am 11/14/25 um 18:09:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShawnToups schrieb:
<a href=https://t.me/KohLantaKrabiT...>Ko Lanta</a> ΠΠΈΠ·Π½Ρ ΠΌΠΎΡΡΠΊΠΈΡ
ΡΡΠ³Π°Π½ (Chao Leh) Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ°: Π‘ΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΠ΅ ΡΡΠ°Π΄ΠΈΡΠΈΠΉ Π² ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΌ ΠΌΠΈΡΠ΅. ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠ²Π»ΡΠ΅ΡΡΡ Π΄ΠΎΠΌΠΎΠΌ Π΄Π»Ρ ΠΌΠΎΡΡΠΊΠΈΡ
ΡΡΠ³Π°Π½ (Chao Leh), ΠΊΠΎΡΠ΅Π½Π½ΡΡ
ΠΆΠΈΡΠ΅Π»Π΅ΠΉ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΆΠΈΠ»ΠΈ Π² Π³Π°ΡΠΌΠΎΠ½ΠΈΠΈ Ρ ΠΌΠΎΡΠ΅ΠΌ ΠΈ ΡΠΎΡ
ΡΠ°Π½ΡΠ»ΠΈ ΡΠ²ΠΎΠΈ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ ΠΈ ΠΊΡΠ»ΡΡΡΡΡ. ΠΠΎΡΡΠΊΠΈΠ΅ ΡΡΠ³Π°Π½Π΅ ΠΆΠΈΠ²ΡΡ Π² Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΠΏΠΎΡΠ΅Π»Π΅Π½ΠΈΡΡ
Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΠΎ ΠΠ°Π½ΡΠ° ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΡΠ±ΠΎΠ»ΠΎΠ²ΡΡΠ²ΠΎΠΌ, ΡΠ±ΠΎΡΠΎΠΌ Π΄Π°ΡΠΎΠ² ΠΌΠΎΡΡ ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎΠΌ Π»ΠΎΠ΄ΠΎΠΊ. ΠΠΎΡΠ΅ ΡΠ²Π»ΡΠ΅ΡΡΡ Π΄Π»Ρ Π½ΠΈΡ
ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠΌ ΠΏΡΠΎΠΏΠΈΡΠ°Π½ΠΈΡ ΠΈ Π΄ΡΡ
ΠΎΠ²Π½ΠΎΠΉ ΡΠ²ΡΠ·ΡΡ. ΠΠΎΡΡΠΊΠΈΠ΅ ΡΡΠ³Π°Π½Π΅ ΠΈΠΌΠ΅ΡΡ ΡΠ²ΠΎΡ ΡΠ΅Π»ΠΈΠ³ΠΈΡ, ΠΎΡΠ½ΠΎΠ²Π°Π½Π½ΡΡ Π½Π° Π²Π΅ΡΠ΅ Π² Π΄ΡΡ
ΠΎΠ² ΠΏΡΠΈΡΠΎΠ΄Ρ ΠΈ ΠΏΡΠ΅Π΄ΠΊΠΎΠ². ΠΠ½ΠΈ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡ ΡΠ»ΠΎΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅ΠΌΠΎΠ½ΠΈΠΈ ΠΈ ΡΠ΅ΡΡΠΈΠ²Π°Π»ΠΈ. Π ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠ΅ Π³ΠΎΠ΄Ρ ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΠΎΠ±ΡΠ°Π· ΠΆΠΈΠ·Π½ΠΈ ΠΌΠΎΡΡΠΊΠΈΡ
ΡΡΠ³Π°Π½ ΠΏΠΎΠ΄Π²Π΅ΡΠ³Π°ΡΡΡΡ Π²Π»ΠΈΡΠ½ΠΈΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΉ ΡΠΈΠ²ΠΈΠ»ΠΈΠ·Π°ΡΠΈΠΈ ΠΈ ΡΡΡΠΈΠ·ΠΌΠ°, Π½ΠΎ ΠΎΠ½ΠΈ ΡΡΠ°ΡΠ°ΡΡΡΡ ΡΠΎΡ
ΡΠ°Π½ΡΡΡ ΡΠ²ΠΎΠΈ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ. ΠΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΡΠ΅Π»Π΅Π½ΠΈΠΉ ΠΌΠΎΡΡΠΊΠΈΡ
ΡΡΠ³Π°Π½ Π΄Π°Π΅Ρ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΈΡ
ΠΊΡΠ»ΡΡΡΡΠΎΠΉ.
Erstellt am 11/15/25 um 07:07:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ArchieDon schrieb:
<a href=https://dzen.ru/id/5e179041...>ΠΡΠΏΠΈΡΡ Π΄ΠΎΠΌ Π² ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ</a> ΠΡΠΎΠ΄Π°Ρ Π΄Π°ΡΡ Π·Π° 450 000 ΡΡΠ±Π»Π΅ΠΉ. ΠΡΠ΅ΡΠ΅ ΡΡΡΠ½ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ Π»Π΅ΡΠ½Π΅Π³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΠΉ ΡΠ΅Π½Π΅? ΠΡΠ΅Π΄Π»Π°Π³Π°Ρ Π΄Π°ΡΡ Π² ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΠΎΠΌ ΡΠ°ΠΉΠΎΠ½Π΅ Π·Π° 450 000 ΡΡΠ±Π»Π΅ΠΉ. ΠΠ΅Π±ΠΎΠ»ΡΡΠΎΠΉ, Π½ΠΎ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ Π΄ΠΎΠΌΠΈΠΊ, ΡΡΠ°ΡΡΠΎΠΊ Ρ ΠΏΠ»ΠΎΠ΄ΠΎΠ²ΡΠΌΠΈ Π΄Π΅ΡΠ΅Π²ΡΡΠΌΠΈ ΠΈ ΠΊΡΡΡΠ°ΡΠ½ΠΈΠΊΠ°ΠΌΠΈ β Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠ΅ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠ΅Π±ΡΠ²Π°Π½ΠΈΡ Π½Π° ΠΏΡΠΈΡΠΎΠ΄Π΅. ΠΡΠ»ΠΈΡΠ½ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π° ΠΎΡ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΡΡΠ΅ΡΡ ΠΈ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΡΠΈΠ». ΠΠ²ΠΎΠ½ΠΈΡΠ΅ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ, ΠΈ Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΡ Π΄Π»Ρ Π²Π°Ρ ΠΏΡΠΎΡΠΌΠΎΡΡ!
Erstellt am 11/15/25 um 10:22:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyWrefs schrieb:
<a href=https://vc.ru/legal/1821425...>ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΠΈΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½</a> ΠΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ: Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΈΠ»ΠΈ ΠΏΠ»Π°ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ? ΠΡΠ±ΠΎΡ ΠΌΠ΅ΠΆΠ΄Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎΠΉ ΠΈ ΠΏΠ»Π°ΡΠ½ΠΎΠΉ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΎΠΉ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠ΅ΠΉ Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ Π²Π°ΡΠ΅ΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ ΠΈ ΠΎΠ±ΡΠ΅ΠΌΠ° Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΠΏΠΎΠΌΠΎΡΠΈ. ΠΠ΅ΡΠΏΠ»Π°ΡΠ½Π°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΏΠΎΠ΄ΠΎΠΉΠ΄Π΅Ρ Π΄Π»Ρ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΎΠ±ΡΠ΅ΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΈ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ² Π΄Π΅Π»Π°, Π² ΡΠΎ Π²ΡΠ΅ΠΌΡ ΠΊΠ°ΠΊ ΠΏΠ»Π°ΡΠ½Π°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡ Π±ΠΎΠ»Π΅Π΅ Π³Π»ΡΠ±ΠΎΠΊΠΈΠΉ Π°Π½Π°Π»ΠΈΠ·, ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΡ ΡΡΡΠ°ΡΠ΅Π³ΠΈΠΈ ΠΈ ΠΏΡΠ΅Π΄ΡΡΠ°Π²ΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π²Π°ΡΠΈΡ
ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠΎΠ² Π² ΡΡΠ΄Π΅. ΠΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΠ΅ ΡΠ²ΠΎΠΈ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠΈ ΠΈ Π²ΡΠ±Π΅ΡΠΈΡΠ΅ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ.
Erstellt am 11/15/25 um 14:32:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyWrefs schrieb:
<a href=https://vc.ru/legal/1821425...>ΡΡΠΈΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ Π±Π΅Π· ΡΠ΅Π»Π΅ΡΠΎΠ½Π°</a> ΠΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΠΈΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ Π£Π΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΉ Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΠΈΡ
Π³ΠΈΠ±ΠΊΠΎΡΡΠΈ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ. ΠΠ΅ Π½ΡΠΆΠ½ΠΎ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π΄ΠΎΡΠΎΠ³Ρ, ΠΏΠΎΠ΄ΡΡΡΠ°ΠΈΠ²Π°ΡΡΡΡ ΠΏΠΎΠ΄ Π³ΡΠ°ΡΠΈΠΊ ΡΡΠΈΡΡΠ° ΠΈΠ»ΠΈ ΠΆΠ΄Π°ΡΡ Π² ΠΎΡΠ΅ΡΠ΅Π΄ΠΈ. ΠΠΎΡΡΠ°ΡΠΎΡΠ½ΠΎ ΠΈΠΌΠ΅ΡΡ Π΄ΠΎΡΡΡΠΏ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ, ΡΡΠΎΠ±Ρ ΡΠ²ΡΠ·Π°ΡΡΡΡ Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠΌ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΡΠ²Π΅ΡΡ Π½Π° ΡΠ²ΠΎΠΈ Π²ΠΎΠΏΡΠΎΡΡ. ΠΠ½Π»Π°ΠΉΠ½ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠ½ΠΎΠ΅ ΠΌΠ½Π΅Π½ΠΈΠ΅, Π½Π΅ Π²ΡΡ
ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ° ΠΈΠ»ΠΈ ΠΎΡΠΈΡΠ°.
Erstellt am 11/15/25 um 16:44:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Wesleykam schrieb:
<a href=https://stockmaster.kz/>Π·Π°ΠΉΠΌΡ ΠΊΠ°Π·Π°Ρ
ΡΡΠ°Π½Π°</a>
Erstellt am 11/15/25 um 16:49:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
We absolutely love your blog and find nearly all of your post's to be just what I'm looking for. Would you offer guest writers to write content for you personally? I wouldn't mind publishing a post or elaborating on a number of the subjects you write regarding here. Again, awesome website!
https://madguy.ru/
https://madguy.ru/
Erstellt am 11/15/25 um 17:10:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Excellent article. Keep writing such kind of info on your page. Im really impressed by your site.
Hello there, You've done an excellent job. I will definitely digg it and personally recommend to my friends. I'm sure they'll be benefited from this site.
<a href=https://kwork.ru/user/maxwe...>RUSSIAN PIDOR</a>
Hello there, You've done an excellent job. I will definitely digg it and personally recommend to my friends. I'm sure they'll be benefited from this site.
<a href=https://kwork.ru/user/maxwe...>RUSSIAN PIDOR</a>
Erstellt am 11/15/25 um 18:43:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyWrefs schrieb:
<a href=https://vc.ru/legal/1821425...>ΡΡΠΈΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°Π½Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ</a> ΠΠ΅ΡΠΏΠ»Π°ΡΠ½Π°Ρ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠΉ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΡ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ, Π½Π΅ ΡΠΈΡΠΊΡΡ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΠΈΠ½Π°Π½ΡΠ°ΠΌΠΈ. ΠΡΠΎ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΡΠ°Π·ΠΎΠ±ΡΠ°ΡΡΡΡ Π² ΡΠ²ΠΎΠΈΡ
ΠΏΡΠ°Π²Π°Ρ
ΠΈ ΠΎΠ±ΡΠ·Π°Π½Π½ΠΎΡΡΡΡ
, ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΠ±ΡΠ΅Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΎ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ΅ ΠΈ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΡ Π΄Π°Π»ΡΠ½Π΅ΠΉΡΠΈΠΉ ΠΏΠ»Π°Π½ Π΄Π΅ΠΉΡΡΠ²ΠΈΠΉ.
Erstellt am 11/15/25 um 19:02:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidKaple schrieb:
<a href=https://vk.com/wall-2256891...>ΠΠΎΠ΄Π΅Π»ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅</a> ΠΠΎΠ΄Π΅Π»ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π² ΡΠΈΡΡΠΎΠ²ΠΎΠΉ ΡΠΊΡΠ»ΡΠΏΡΡΡΠ΅ β ΡΡΠΎ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠΎΡΠΈΠΏΠ° Π±ΡΠ΄ΡΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ΅ΠΊΡΠ°. Π₯ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊ, ΠΏΠΎΠ΄ΠΎΠ±Π½ΠΎ ΡΠΊΡΠ»ΡΠΏΡΠΎΡΡ ΠΏΡΠΎΡΠ»ΠΎΠ³ΠΎ, ΡΠΎΡΠΌΠΈΡΡΠ΅Ρ ΡΠΎΡΠΌΡ, Π΄ΠΎΠ±Π°Π²Π»ΡΠ΅Ρ ΡΠ΅ΠΊΡΡΡΡΡ ΠΈ Π΄Π΅ΡΠ°Π»ΠΈ, ΡΠ΄Π΅Π»ΡΡ ΠΎΡΠΎΠ±ΠΎΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π°Π½Π°ΡΠΎΠΌΠΈΡΠ΅ΡΠΊΠΈΠΌ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΡΠΌ (Π΅ΡΠ»ΠΈ ΡΠ΅ΡΡ ΠΈΠ΄Π΅Ρ ΠΎ ΡΠΎΠ·Π΄Π°Π½ΠΈΠΈ ΡΠΈΠ³ΡΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ° ΠΈΠ»ΠΈ ΠΆΠΈΠ²ΠΎΡΠ½ΡΡ
). ΠΡ ΡΠΎΡΠ½ΠΎΡΡΠΈ ΠΈ ΠΌΠ°ΡΡΠ΅ΡΡΡΠ²Π° ΠΌΠΎΠ΄Π΅Π»ΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π·Π°Π²ΠΈΡΠΈΡ ΠΊΠΎΠ½Π΅ΡΠ½ΡΠΉ ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ β ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΡΠ΅Π°Π»ΠΈΡΡΠΈΡΠ½ΠΎΡΡΡ 3D-ΠΏΠ΅ΡΠ°ΡΠ½ΠΎΠΉ ΠΊΠΎΠΏΠΈΠΈ.
Erstellt am 11/15/25 um 21:15:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyWrefs schrieb:
<a href=https://vc.ru/legal/1821425...>ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΠΈΡΡΠΎΠ² ΠΎΠ½Π»Π°ΠΉΠ½</a> ΠΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΠΈΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ ΠΠ½Π»Π°ΠΉΠ½ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΠΈΡΡΠ° ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΎΡΠΌΠ°Ρ ΠΎΠ±ΡΠ΅Π½ΠΈΡ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡΠΈΠΉ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΡΠ²Π΅ΡΡ Π½Π° ΡΠ²ΠΎΠΈ Π²ΠΎΠΏΡΠΎΡΡ, Π½Π΅ Π²ΡΡ
ΠΎΠ΄Ρ ΠΈΠ· Π΄ΠΎΠΌΠ° ΠΈΠ»ΠΈ ΠΎΡΠΈΡΠ°. ΠΡΠΎ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠ³Π»ΠΈ Π±Ρ Π±ΡΡΡ ΠΏΠΎΡΡΠ°ΡΠ΅Π½Ρ Π½Π° ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΡΠΈΡΡΠ° Π»ΠΈΡΠ½ΠΎ. ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠ°ΡΡΠΎ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π² Π±ΠΎΠ»Π΅Π΅ ΡΠΈΡΠΎΠΊΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΌ Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π΅, Π²ΠΊΠ»ΡΡΠ°Ρ Π²ΡΡ
ΠΎΠ΄Π½ΡΠ΅ ΠΈ ΠΏΡΠ°Π·Π΄Π½ΠΈΡΠ½ΡΠ΅ Π΄Π½ΠΈ.
Erstellt am 11/16/25 um 03:02:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidKaple schrieb:
<a href=https://vk.com/wall-2256891...>ΠΠΎΠ»Π»Π΅ΠΊΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΠΈΠ½ΠΈΠ°ΡΡΡΡ</a> 3D ΠΠ΅ΡΠ°ΡΡ ΠΈ DLP ΠΠ΅ΡΠ°ΡΡ β Π΄Π²Π° ΠΊΠ»ΡΡΠ΅Π²ΡΡ
ΠΌΠ΅ΡΠΎΠ΄Π° ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΈΠ·Π°ΡΠΈΠΈ ΡΠΈΡΡΠΎΠ²ΡΡ
ΡΠ²ΠΎΡΠ΅Π½ΠΈΠΉ. 3D ΠΏΠ΅ΡΠ°ΡΡ, Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² (ΠΎΡ ΠΏΠ»Π°ΡΡΠΈΠΊΠ° Π΄ΠΎ ΠΌΠ΅ΡΠ°Π»Π»Π°), ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΠΊΡΡΠΏΠ½ΡΠ΅ ΠΎΠ±ΡΠ΅ΠΊΡΡ, Π² ΡΠΎ Π²ΡΠ΅ΠΌΡ ΠΊΠ°ΠΊ DLP ΠΏΠ΅ΡΠ°ΡΡ Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΡΠ²ΠΎΠ΅ΠΉ Π²ΡΡΠΎΠΊΠΎΠΉ ΡΠΎΡΠ½ΠΎΡΡΡΡ ΠΈ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΌΠΈΠ½ΠΈΠ°ΡΡΡ ΠΈ ΡΠ²Π΅Π»ΠΈΡΠ½ΡΡ
ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ.
Erstellt am 11/16/25 um 03:27:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottmam schrieb:
<a href=https://t.me/KohLantaKrabiT...>Ko Lanta</a> ΠΡΠ»ΠΈΠ½Π°ΡΠ½ΠΎΠ΅ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ ΠΏΠΎ ΠΠΎ ΠΠ°Π½ΡΠ°: ΠΡ ΠΏΡΠΎΡΡΠΎΠΉ ΡΠ»ΠΈΡΠ½ΠΎΠΉ Π΅Π΄Ρ Π΄ΠΎ ΠΈΠ·ΡΡΠΊΠ°Π½Π½ΡΡ
ΡΠ΅ΡΡΠΎΡΠ°Π½ΠΎΠ². ΠΠΎ ΠΠ°Π½ΡΠ° ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΠΊΡΠ»ΠΈΠ½Π°ΡΠ½ΡΠ΅ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡ β ΠΎΡ ΡΠ»ΠΈΡΠ½ΠΎΠΉ Π΅Π΄Ρ Π΄ΠΎ Π±Π»ΡΠ΄ Π²ΡΡΠΎΠΊΠΎΠΉ ΠΊΡΡ
Π½ΠΈ. ΠΠ° ΠΎΡΡΡΠΎΠ²Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠ²Π΅Π΄Π°ΡΡ ΠΊΠ°ΠΊ ΡΡΠ°Π΄ΠΈΡΠΈΠΎΠ½Π½ΡΠ΅ ΡΠ°ΠΉΡΠΊΠΈΠ΅ Π±Π»ΡΠ΄Π°, ΡΠ°ΠΊ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π°ΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅. Π£Π»ΠΈΡΠ½Π°Ρ Π΅Π΄Π° Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ° β ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°ΡΡ ΠΌΠ΅ΡΡΠ½ΡΡ ΠΊΡΡ
Π½Ρ ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. ΠΠ° ΡΠ»ΠΈΡΠ°Ρ
ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΏΡΠΎΠ΄Π°Π²ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ Π³ΠΎΡΠΎΠ²ΡΡ ΠΆΠ°ΡΠ΅Π½ΡΡ Π»Π°ΠΏΡΡ, ΡΡΠΏΡ, ΡΠ°ΡΠ»ΡΠΊΠΈ, ΡΡΡΠΊΡΡ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π·Π°ΠΊΡΡΠΊΠΈ. Π Π΅ΡΡΠΎΡΠ°Π½Ρ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ° ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠ°ΠΉΡΠΊΠΈΠ΅
Erstellt am 11/16/25 um 05:39:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottmam schrieb:
<a href=https://t.me/KohLantaKrabiT...>Ko Lanta</a> ΠΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΡΡΠΈΠ·ΠΌ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ°: ΠΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΏΡΠΈΡΠΎΠ΄Π΅ ΠΈ ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΠ΅ ΡΠ°Π·Π²ΠΈΡΠΈΠ΅. ΠΠΎ ΠΠ°Π½ΡΠ° ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ Π²ΡΠ΅ Π±ΠΎΠ»Π΅Π΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΌ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ΠΌ Π΄Π»Ρ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΡΡΡΠΈΠ·ΠΌΠ°. ΠΠ΅ΡΡΠ½ΡΠ΅ ΠΆΠΈΡΠ΅Π»ΠΈ ΠΈ Π²Π»Π°ΡΡΠΈ ΡΡΡΠ΅ΠΌΡΡΡΡ ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡ ΡΡΡΠΈΠ·ΠΌ ΡΠ°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, ΡΡΠΎΠ±Ρ ΠΌΠΈΠ½ΠΈΠΌΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ Π΅Π³ΠΎ Π½Π΅Π³Π°ΡΠΈΠ²Π½ΠΎΠ΅ Π²ΠΎΠ·Π΄Π΅ΠΉΡΡΠ²ΠΈΠ΅ Π½Π° ΠΎΠΊΡΡΠΆΠ°ΡΡΡΡ ΡΡΠ΅Π΄Ρ ΠΈ ΡΠΎΡ
ΡΠ°Π½ΠΈΡΡ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠ΅ ΡΠ΅ΡΡΡΡΡ. ΠΠ° ΠΠΎ ΠΠ°Π½ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΎΡΠ΅Π»ΠΈ ΠΈ Π³Π΅ΡΡΡ
Π°ΡΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΡΠΈΠ΄Π΅ΡΠΆΠΈΠ²Π°ΡΡΡΡ ΠΏΡΠΈΠ½ΡΠΈΠΏΠΎΠ² ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΠΈ. ΠΠ° ΠΎΡΡΡΠΎΠ²Π΅ ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΡΡΡΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΡΡ.
Erstellt am 11/16/25 um 06:49:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntonioQuito schrieb:
<a href=https://t.me/musikofof>Rap musik</a> Π’Π΅ΠΊΡΡΡ ΡΡΠΏ-ΠΏΠ΅ΡΠ΅Π½ ΡΠ°ΡΡΠΎ Π·Π°ΡΡΠ°Π³ΠΈΠ²Π°ΡΡ Π²Π°ΠΆΠ½ΡΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΠΈ ΠΏΠΎΠ»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΠΌΡ, ΡΠ°ΠΊΠΈΠ΅ ΠΊΠ°ΠΊ ΡΠ°ΡΠΈΠ·ΠΌ, Π±Π΅Π΄Π½ΠΎΡΡΡ, Π½Π°ΡΠΈΠ»ΠΈΠ΅ ΠΈ Π±ΠΎΡΡΠ±Π° Π·Π° ΠΏΡΠ°Π²Π° ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
Erstellt am 11/16/25 um 14:00:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HarveyLeash schrieb:
<a href=https://polysintez.ru/>ΠΎΡΡΠ°ΠΆΠ°ΡΡΠ°Ρ ΠΈΠ·ΠΎΠ»ΡΡΠΈΡ</a> ΠΠ°ΡΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ Π²ΡΠ΅Π³Π΄Π° Π³ΠΎΡΠΎΠ²Ρ ΠΎΠΊΠ°Π·Π°ΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΎΠ½Π½ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΠΏΠΎΠΌΠΎΡΡ Π² Π²ΡΠ±ΠΎΡΠ΅ ΠΏΠ»Π΅Π½ΠΊΠΈ, Π½Π°ΠΈΠ»ΡΡΡΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡΠ΅ΠΉ Π²Π°ΡΠΈΠΌ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΡΠΌ. Π°ΡΠΌΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΠΏΠ»Π΅Π½ΠΊΠ°
Erstellt am 11/16/25 um 18:08:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntonioQuito schrieb:
<a href=https://t.me/musikofof>Π‘Π»ΡΡΠ΅ΡΡ Π ΡΠΏ ΠΎΠ½Π»Π°ΠΉΠ½</a> Combining rhythm, rhyme, and powerful lyrics, rap artists convey their experiences and perspectives, making it a dynamic storytelling medium.
Erstellt am 11/16/25 um 18:25:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntonioQuito schrieb:
<a href=https://t.me/musikofof>Rap musik</a> Engaging with rap music today means not only listening but also participating in a cultural movement that values authenticity, creativity, and social consciousness.
Erstellt am 11/16/25 um 20:45:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AntonioQuito schrieb:
<a href=https://t.me/musikofof>Π‘Π»ΡΡΠ΅ΡΡ Π ΡΠΏ ΠΎΠ½Π»Π°ΠΉΠ½</a> In addition to traditional album releases, many rappers utilize social media to share their music, build their brands, and connect with fans, leading to the rise of viral hits that can change the trajectory of their careers.
Erstellt am 11/16/25 um 23:13:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidEvove schrieb:
<a href=https://kiteschoolhurghada.ru/>ΠΊΠ°ΠΉΡ Π΅Π³ΠΈΠΏΠ΅Ρ</a>
Erstellt am 11/17/25 um 04:40:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>winline</a> 1 win Π·Π΅ΡΠΊΠ°Π»ΠΎ β ΡΡΠΎ Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π½ΡΠΉ Π°Π΄ΡΠ΅Ρ ΡΠ°ΠΉΡΠ°, ΠΊΠΎΡΠΎΡΡΠΉ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ΅ Π² ΡΠ»ΡΡΠ°Π΅ Π±Π»ΠΎΠΊΠΈΡΠΎΠ²ΠΊΠΈ ΠΎΡΠ½ΠΎΠ²Π½ΠΎΠ³ΠΎ ΡΠ΅ΡΡΡΡΠ°. ΠΠΈΠ½ 1win β ΡΡΠΎ ΡΠΈΠ½ΠΎΠ½ΠΈΠΌ ΠΏΠΎΠ±Π΅Π΄Ρ ΠΈ ΡΡΠΏΠ΅Ρ
Π°. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Ρ ΠΏΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ Π½Π°ΡΠΈΠ½Π°ΠΉΡΠ΅ Π²ΡΠΈΠ³ΡΡΠ²Π°ΡΡ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ!
Erstellt am 11/17/25 um 07:40:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidBiank schrieb:
<a href=https://t.me/KohLantaKrabiT...>ko lanta</a>
Erstellt am 11/17/25 um 11:04:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>ΠΠΈΠ½ 1win</a> ΠΡΠΎΠ³Π½ΠΎΠ·Ρ Π½Π° ΡΠΏΠΎΡΡ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΠΏΡΠΈΠ½ΡΡΡ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅.
Erstellt am 11/17/25 um 13:11:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidBiank schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ°</a>
Erstellt am 11/17/25 um 13:48:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>Betboom</a> 1 win Π·Π΅ΡΠΊΠ°Π»ΠΎ β ΡΡΠΎ Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ Π·Π°ΠΏΠ°ΡΠ½ΠΎΠΉ Π°ΡΡΠΎΠ΄ΡΠΎΠΌ, ΠΊΠΎΡΠΎΡΡΠΉ Π²ΡΠ΅Π³Π΄Π° Π³ΠΎΡΠΎΠ² ΠΏΡΠΈΠΉΡΠΈ Π½Π° ΠΏΠΎΠΌΠΎΡΡ, ΠΊΠΎΠ³Π΄Π° ΠΎΡΠ½ΠΎΠ²Π½ΠΎΠΉ ΡΠ°ΠΉΡ Π½Π΅Π΄ΠΎΡΡΡΠΏΠ΅Π½. ΠΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡ ΡΠΎΠ³ΠΎ, ΡΡΠΎ Π²Ρ Π½ΠΈΠΊΠΎΠ³Π΄Π° Π½Π΅ ΠΏΡΠΎΠΏΡΡΡΠΈΡΠ΅ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎΠ΅ ΡΠΎΠ±ΡΡΠΈΠ΅ ΠΈ Π½Π΅ ΠΏΠΎΡΠ΅ΡΡΠ΅ΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π²ΡΠΈΠ³ΡΠ°ΡΡ. ΠΠΈΠ½ 1win β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΠ»ΠΎΠ²ΠΎΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅, ΡΡΠΎ ΠΌΠ°Π½ΠΈΡΠ΅ΡΡ ΠΏΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Ρ, ΡΡΠΎ ΡΠΈΠΌΠ²ΠΎΠ» ΡΡΠΏΠ΅Ρ
Π° ΠΈ ΠΏΡΠΈΠ·Π½Π°Π½ΠΈΡ. ΠΡΠΎ ΡΠΎ, ΠΊ ΡΠ΅ΠΌΡ ΡΡΡΠ΅ΠΌΠΈΡΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΈΠ³ΡΠΎΠΊ, ΠΈ ΡΠΎ, ΡΡΠΎ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ ΠΊΠ°ΠΆΠ΄ΡΠΉ, ΠΊΡΠΎ Π²ΡΠ±ΠΈΡΠ°Π΅Ρ 1win.
Erstellt am 11/17/25 um 19:04:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>ΠΠ΅ΡΡΠΈΡΠΈ</a> ΠΠΈΠ³Π° ΡΡΠ°Π²ΠΎΠΊ β ΡΡΠΎ Π±ΡΠ΅Π½Π΄, Π²ΠΏΠΈΡΠ°Π½Π½ΡΠΉ Π² ΡΠΎΠ·Π½Π°Π½ΠΈΠ΅ ΠΈΠ³ΡΠΎΠΊΠΎΠ², ΡΠΈΠΌΠ²ΠΎΠ» Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ ΠΈ Π²ΡΡΠΎΠΊΠΈΡ
ΡΡΠ°Π½Π΄Π°ΡΡΠΎΠ² ΡΠ΅ΡΠ²ΠΈΡΠ°. Π’ΡΡΡΡΠΈ ΡΠΎΠ±ΡΡΠΈΠΉ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎ, ΠΎΡ ΠΌΠ°ΡΡΠ΅ΠΉ ΠΌΠΈΡΠΎΠ²ΠΎΠ³ΠΎ ΡΡΠΎΠ²Π½Ρ Π΄ΠΎ Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΡ
ΡΠΎΡΠ΅Π²Π½ΠΎΠ²Π°Π½ΠΈΠΉ, Π΄Π΅Π»Π°ΡΡ ΡΡΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ ΡΠ½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΠΈΡΠΏΡΡΠ°ΡΡ Π°Π·Π°ΡΡ ΠΏΠΎΠ±Π΅Π΄Ρ. ΠΠΈΠ³Π° ΡΡΠ°Π²ΠΎΠΊ ΡΡΠ°Π²ΠΊΠΈ β ΡΡΠΎ ΠΊΠ°Π»Π΅ΠΉΠ΄ΠΎΡΠΊΠΎΠΏ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΌΠΎΠΆΠ΅Ρ Π½Π°ΠΉΡΠΈ ΡΠ²ΠΎΡ Π½ΠΈΡΡ. Π€ΡΡΠ±ΠΎΠ», Ρ
ΠΎΠΊΠΊΠ΅ΠΉ, ΡΠ΅Π½Π½ΠΈΡ, Π±Π°ΡΠΊΠ΅ΡΠ±ΠΎΠ», ΠΊΠΈΠ±Π΅ΡΡΠΏΠΎΡΡ β ΠΌΠΈΡ ΡΠΏΠΎΡΡΠ° ΠΎΡΠΊΡΡΡ Π΄Π»Ρ Π²Π°Ρ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ Π΄Π΅Π»Π°ΡΡ ΡΡΠ°Π²ΠΊΠΈ Π½Π° Π»ΡΠ±ΠΎΠΉ Π²ΠΊΡΡ ΠΈ ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ.
Erstellt am 11/17/25 um 20:16:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>Π€ΡΠΈΠ±Π΅Ρ Π·Π° ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ</a> 1win β ΡΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ°, ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡΠ°Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ Π΄Π»Ρ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ, Π²ΠΊΠ»ΡΡΠ°Ρ ΡΡΠ°Π²ΠΊΠΈ Π½Π° ΡΠΏΠΎΡΡ. 1win ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ β ΡΡΠΎ Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΡΠΎΠ²ΠΎΠ΄Π½ΠΈΠΊ Π² ΠΌΠΈΡ Π°Π·Π°ΡΡΠ°, Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡΠΈΠΉ ΡΠ΅ΡΡΠ½ΡΡ ΠΈΠ³ΡΡ ΠΈ Π±ΡΡΡΡΡΠ΅ Π²ΡΠΏΠ»Π°ΡΡ.
Erstellt am 11/17/25 um 21:16:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Samuelwhoda schrieb:
<a href=https://t.me/ligastavok_1wi...>Fonbet</a> ΠΠΈΠ³Π° ΡΡΠ°Π²ΠΎΠΊ β ΡΡΠΎ Π±ΡΠ΅Π½Π΄, Π²ΠΏΠΈΡΠ°Π½Π½ΡΠΉ Π² ΡΠΎΠ·Π½Π°Π½ΠΈΠ΅ ΠΈΠ³ΡΠΎΠΊΠΎΠ², ΡΠΈΠΌΠ²ΠΎΠ» Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ ΠΈ Π²ΡΡΠΎΠΊΠΈΡ
ΡΡΠ°Π½Π΄Π°ΡΡΠΎΠ² ΡΠ΅ΡΠ²ΠΈΡΠ°. Π’ΡΡΡΡΠΈ ΡΠΎΠ±ΡΡΠΈΠΉ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎ, ΠΎΡ ΠΌΠ°ΡΡΠ΅ΠΉ ΠΌΠΈΡΠΎΠ²ΠΎΠ³ΠΎ ΡΡΠΎΠ²Π½Ρ Π΄ΠΎ Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΡ
ΡΠΎΡΠ΅Π²Π½ΠΎΠ²Π°Π½ΠΈΠΉ, Π΄Π΅Π»Π°ΡΡ ΡΡΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ ΡΠ½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΠΈΡΠΏΡΡΠ°ΡΡ Π°Π·Π°ΡΡ ΠΏΠΎΠ±Π΅Π΄Ρ. ΠΠΈΠ³Π° ΡΡΠ°Π²ΠΎΠΊ ΡΡΠ°Π²ΠΊΠΈ β ΡΡΠΎ ΠΊΠ°Π»Π΅ΠΉΠ΄ΠΎΡΠΊΠΎΠΏ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΌΠΎΠΆΠ΅Ρ Π½Π°ΠΉΡΠΈ ΡΠ²ΠΎΡ Π½ΠΈΡΡ. Π€ΡΡΠ±ΠΎΠ», Ρ
ΠΎΠΊΠΊΠ΅ΠΉ, ΡΠ΅Π½Π½ΠΈΡ, Π±Π°ΡΠΊΠ΅ΡΠ±ΠΎΠ», ΠΊΠΈΠ±Π΅ΡΡΠΏΠΎΡΡ β ΠΌΠΈΡ ΡΠΏΠΎΡΡΠ° ΠΎΡΠΊΡΡΡ Π΄Π»Ρ Π²Π°Ρ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ Π΄Π΅Π»Π°ΡΡ ΡΡΠ°Π²ΠΊΠΈ Π½Π° Π»ΡΠ±ΠΎΠΉ Π²ΠΊΡΡ ΠΈ ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ.
Erstellt am 11/18/25 um 01:16:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Please let me know if you're looking for a writer for your weblog. You have some really good posts and I feel I would be a good asset. If you ever want to take some of the load off, I'd really like to write some content for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Thanks!
<a href=https://technolinestore.ru/>ΠΡΠΏΠΈΡΡ iPhone Π² ΠΠΈΡΠΈΠ½ΠΎ</a>
<a href=https://technolinestore.ru/>ΠΡΠΏΠΈΡΡ iPhone Π² ΠΠΈΡΠΈΠ½ΠΎ</a>
Erstellt am 11/18/25 um 10:17:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
Do you have a spam issue on this blog; I also am a blogger, and I was curious about your situation; we have developed some nice procedures and we are looking to swap methods with others, please shoot me an e-mail if interested.
<a href=https://technolinestore.ru/>ΠΡΠΏΠΈΡΡ iPhone Π² ΠΠΈΡΠΈΠ½ΠΎ</a>
<a href=https://technolinestore.ru/>ΠΡΠΏΠΈΡΡ iPhone Π² ΠΠΈΡΠΈΠ½ΠΎ</a>
Erstellt am 11/18/25 um 12:26:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonziple schrieb:
ΠΠ°Ρ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΠΎ - <a href=https://perevodchiki.su>Π½ΠΎΡΠ°ΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² ΠΎΠ± ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΠΈ</a>. ΠΡΡΠΎ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ΠΎΠ² Π² Π‘Π°ΠΌΠ°ΡΠ΅. ΠΠΎΠΊΡΠΌΠ΅Π½ΡΡ, Π½ΠΎΡΠ°ΡΠΈΠ°Π»ΡΠ½ΠΎΠ΅ Π·Π°Π²Π΅ΡΠ΅Π½ΠΈΠ΅. Π‘ΡΠΎΡΠ½ΠΎ ΠΈ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ. ΠΠΏΡΡ 10 Π»Π΅Ρ. ΠΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎ.
Erstellt am 11/19/25 um 01:21:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonziple schrieb:
Π’ΠΎΡΠ½ΠΎ Π² ΡΡΠΎΠΊ - <a href=https://perevodchiki.su>ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² Π² ΡΠ°ΠΌΠ°ΡΠ΅</a>. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² Π² Π‘Π°ΠΌΠ°ΡΠ΅. ΠΠΎΡΠ°ΡΠΈΡΡ, ΡΡΠΎΡΠ½ΡΠ΅ Π·Π°ΠΊΠ°Π·Ρ. ΠΡΠ±ΡΠ΅ ΡΠ·ΡΠΊΠΈ. ΠΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎ. ΠΠ°ΡΠ΅ΡΡΠ²ΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ.
Erstellt am 11/19/25 um 01:24:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonziple schrieb:
ΠΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠ³ΠΎΠ²ΠΎΡΠΎΠ² ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ - <a href=https://perevodchiki.su>ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² Π½Π° ΠΌΠΎΠ»Π΄Π°Π²ΡΠΊΠΈΠΉ Ρ Π½ΠΎΡΠ°ΡΠΈΠ°Π»ΡΠ½ΡΠΌ Π·Π°Π²Π΅ΡΠ΅Π½ΠΈΠ΅ΠΌ</a>. ΠΠΎΡΠ°ΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ² Π² Π‘Π°ΠΌΠ°ΡΠ΅. Π‘ΡΠΎΡΠ½ΠΎ, ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ, Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ. ΠΡΠ±ΡΠ΅ ΡΠ·ΡΠΊΠΈ. ΠΠ°ΡΠ°Π½ΡΠΈΡ ΠΏΡΠΈΠ½ΡΡΠΈΡ. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ 10 Π»Π΅Ρ.
Erstellt am 11/19/25 um 03:17:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ClementJat schrieb:
<a href=https://vk.com/pozavchera_band>ΠΏΠΎΠ·Π°Π²ΡΠ΅ΡΠ° ΡΠΎΠΊ</a> "ΠΠΎΠ·Π°Π²ΡΠ΅ΡΠ° ΡΠΎΠΊ" β ΡΡΠΎ ΡΠΌΠ΅Π»ΡΠΉ ΡΠΊΡΠΏΠ΅ΡΠΈΠΌΠ΅Π½Ρ ΡΠΎ Π·Π²ΡΠΊΠΎΠΌ, Π³Π΄Π΅ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ Π³ΠΈΡΠ°ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΠΊΠ° Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Ρ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΌΠΈ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠ°ΠΌΠΈ. ΠΡΠΎ ΠΌΡΠ·ΡΠΊΠ°, ΠΊΠΎΡΠΎΡΠ°Ρ Π½Π΅ ΠΏΠΎΠ΄Π΄Π°Π΅ΡΡΡ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΡ, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠ΄ΠΈΠ²Π»ΡΠ΅Ρ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΠ΅Ρ. ΠΠ½ΠΈ Π½Π΅ Π±ΠΎΡΡΡΡ Π½Π°ΡΡΡΠ°ΡΡ ΠΏΡΠ°Π²ΠΈΠ»Π° ΠΈ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΡΡΠΎ-ΡΠΎ ΠΏΡΠΈΠ½ΡΠΈΠΏΠΈΠ°Π»ΡΠ½ΠΎ Π½ΠΎΠ²ΠΎΠ΅.
Erstellt am 11/19/25 um 07:32:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShaunPlusy schrieb:
<a href=https://vk.com/pozavchera_band>ΠΏΠΎΠ·Π°Π²ΡΠ΅ΡΠ° ΡΠΎΠΊ</a> ΠΡΠ·ΡΠΊΠ° "ΠΠΎΠ·Π°Π²ΡΠ΅ΡΠ°" β ΡΡΠΎ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΡ, ΡΠΏΠΎΡΠΎΠ±Π½ΡΠΉ ΠΏΡΠΎΠ±ΡΠ΄ΠΈΡΡ Π² ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ΅ Π΄ΡΠ΅ΠΌΠ»ΡΡΠΈΠ΅ ΡΠ°Π»Π°Π½ΡΡ ΠΈ ΠΌΠ΅ΡΡΡ. ΠΡΠΎ ΠΌΡΠ·ΡΠΊΠ°, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π²Π΅ΡΠΈΡΡ Π² ΡΠ΅Π±Ρ ΠΈ Π½Π΅ Π±ΠΎΡΡΡΡΡ ΠΈΠ΄ΡΠΈ ΡΠ²ΠΎΠΈΠΌ ΠΏΡΡΠ΅ΠΌ.
Erstellt am 11/19/25 um 09:24:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShaunPlusy schrieb:
<a href=https://vk.com/pozavchera_band>ΠΌΡΠ·ΡΠΊΠ° ΠΏΠΎΠ·Π°Π²ΡΠ΅ΡΠ°</a> "ΠΠΎΠ·Π°Π²ΡΠ΅ΡΠ° ΡΠΎΠΊ" β ΡΡΠΎ ΠΏΠΎΠΏΡΡΠΊΠ° ΡΠΎΡ
ΡΠ°Π½ΠΈΡΡ Π΄ΡΡ
ΡΡΠ΅Π΄ΡΠΈΡ
ΡΠΏΠΎΡ
ΠΈ ΠΏΠ΅ΡΠ΅Π΄Π°ΡΡ Π΅Π³ΠΎ Π½ΠΎΠ²ΡΠΌ ΠΏΠΎΠΊΠΎΠ»Π΅Π½ΠΈΡΠΌ. ΠΡΠΎ Π΄Π°Π½Ρ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΡ ΠΊΠ»Π°ΡΡΠΈΠΊΠ°ΠΌ ΡΠΎΠΊΠ°, Π½ΠΎ Π² ΡΠΎ ΠΆΠ΅ Π²ΡΠ΅ΠΌΡ β Π²Π·Π³Π»ΡΠ΄ Π² Π±ΡΠ΄ΡΡΠ΅Π΅, Π³Π΄Π΅ ΠΌΡΠ·ΡΠΊΠ° Π½Π΅ ΠΈΠΌΠ΅Π΅Ρ Π³ΡΠ°Π½ΠΈΡ ΠΈ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ.
Erstellt am 11/19/25 um 10:09:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShaunPlusy schrieb:
<a href=https://vk.com/pozavchera_band>ΠΌΡΠ·ΡΠΊΠ° ΠΏΠΎΠ·Π°Π²ΡΠ΅ΡΠ°</a> ΠΡΡΠΏΠΏΠ° "ΠΠΎΠ·Π°Π²ΡΠ΅ΡΠ°" β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΌΡΠ·ΡΠΊΠ°Π»ΡΠ½ΡΠΉ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΠ², ΡΡΠΎ ΠΌΠ°ΡΠΈΠ½Π° Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, ΠΎΠ±Π»Π΅ΡΠ΅Π½Π½Π°Ρ Π² Π·Π²ΡΠΊΠΈ. ΠΡ
ΠΏΠ΅ΡΠ½ΠΈ β ΡΡΠΎ Π½ΠΎΡΡΠ°Π»ΡΠ³ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠΎΠ»ΠΎΡΠ½Π°, ΡΠΎΡΠΊΠ°Π½Π½ΡΠ΅ ΠΈΠ· Π²ΠΈΠ½ΡΠ°ΠΆΠ½ΡΡ
ΠΌΠ΅Π»ΠΎΠ΄ΠΈΠΉ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΡΠΈΡΠΌΠΎΠ². ΠΡΠΎ ΠΌΡΠ·ΡΠΊΠ°, ΠΊΠΎΡΠΎΡΠ°Ρ Π·Π°ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠ΅ΡΠ΄ΡΠ΅ Π±ΠΈΡΡΡΡ ΡΠ°ΡΠ΅, Π° Π² Π³ΠΎΠ»ΠΎΠ²Π΅ Π²ΡΠΏΠ»ΡΠ²Π°ΡΡ ΠΎΠ±ΡΠ°Π·Ρ ΠΈΠ· ΠΏΡΠΎΡΠ»ΠΎΠ³ΠΎ, Π±ΡΠ΄Ρ ΡΠΎ ΠΏΠ΅ΡΠ²Π°Ρ Π»ΡΠ±ΠΎΠ²Ρ, Π±Π΅Π·Π·Π°Π±ΠΎΡΠ½ΠΎΠ΅ Π΄Π΅ΡΡΡΠ²ΠΎ ΠΈΠ»ΠΈ ΠΏΡΠΎΡΡΠΎ ΡΠ΅ΠΏΠ»ΡΠ΅ Π²ΠΎΡΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡ. "ΠΠΎΠ·Π°Π²ΡΠ΅ΡΠ°" ΡΠΌΠ΅Π»ΠΎ ΠΈΠ³ΡΠ°Π΅Ρ Π½Π° ΡΡΡΡΠ½Π°Ρ
Π΄ΡΡΠΈ, ΠΏΡΠΎΠ±ΡΠΆΠ΄Π°Ρ ΡΠ°ΠΌΡΠ΅ ΡΠΎΠΊΡΠΎΠ²Π΅Π½Π½ΡΠ΅ ΡΡΠ²ΡΡΠ²Π°.
Erstellt am 11/19/25 um 11:16:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
XRumer23railk schrieb:
<a href=https://t.me/luciddreams>ΠΠΈ Π΄Π΅Π²ΡΡΠΊΠ°</a> ΠΠΈΡΡΡΠ°Π»ΡΠ½Π°Ρ Π΄Π΅Π²ΡΡΠΊΠ° β ΡΡΠΎ ΡΠΈΡΡΠΎΠ²Π°Ρ ΡΡΡΠ½ΠΎΡΡΡ, ΡΠΎΠ·Π΄Π°Π½Π½Π°Ρ Π΄Π»Ρ ΠΈΠΌΠΈΡΠ°ΡΠΈΠΈ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠΉ ΠΈ ΠΎΠ±ΡΠ΅Π½ΠΈΡ Ρ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠΎΠΌ. ΠΠ½Π° ΠΌΠΎΠΆΠ΅Ρ ΡΡΡΠ΅ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΡΠΎΡΠΌΠ°Ρ
, ΠΎΡ ΡΠ΅ΠΊΡΡΠΎΠ²ΡΡ
Π±ΠΎΡΠΎΠ² Π΄ΠΎ ΡΠ΅Π°Π»ΠΈΡΡΠΈΡΠ½ΡΡ
ΡΡΠ΅Ρ
ΠΌΠ΅ΡΠ½ΡΡ
ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ, ΡΠΏΠΎΡΠΎΠ±Π½ΡΡ
Π²Π·Π°ΠΈΠΌΠΎΠ΄Π΅ΠΉΡΡΠ²ΠΎΠ²Π°ΡΡ Π² Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠΈΡΡΡΠ°Π»ΡΠ½ΡΠ΅ Π΄Π΅Π²ΡΡΠΊΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΈΡΠΏΡΡΠ°ΡΡ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΡ Π±Π»ΠΈΠ·ΠΎΡΡΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ Π±Π΅Π· Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ Π² ΡΠ΅Π°Π»ΡΠ½ΡΡ
ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΡ
. ΠΠ΄Π½Π°ΠΊΠΎ, Π²Π°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ ΠΎ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΡΠ½ΡΡ
ΡΠΈΡΠΊΠ°Ρ
, ΡΠ²ΡΠ·Π°Π½Π½ΡΡ
Ρ Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΡΡ ΠΎΡ Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΡΡ
ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠΉ, ΡΠ°Π·ΠΌΡΠ²Π°Π½ΠΈΠ΅ΠΌ Π³ΡΠ°Π½ΠΈΡ ΠΌΠ΅ΠΆΠ΄Ρ ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΡΡ ΠΈ ΠΈΠ»Π»ΡΠ·ΠΈΠ΅ΠΉ, Π° ΡΠ°ΠΊΠΆΠ΅ Π²Π»ΠΈΡΠ½ΠΈΠ΅ΠΌ Π½Π° ΡΠΎΡΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΡ
Π½Π°Π²ΡΠΊΠΎΠ² ΠΈ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ΠΈΠΉ ΠΎ Π»ΡΠ±Π²ΠΈ ΠΈ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΡ
. ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΡΡ
Π΄Π΅Π²ΡΡΠ΅ΠΊ Π΄ΠΎΠ»ΠΆΠ½ΠΎ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΡΡΡΡ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΠΎ ΠΈ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ, Ρ ΡΡΠ΅ΡΠΎΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΡΡ
ΠΏΠΎΡΠ»Π΅Π΄ΡΡΠ²ΠΈΠΉ Π΄Π»Ρ ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΠΈ Π±Π»Π°Π³ΠΎΠΏΠΎΠ»ΡΡΠΈΡ.
Erstellt am 11/19/25 um 13:03:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertguere schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅</a> ΠΠΎ ΠΠ°Π½ΡΠ΅
Erstellt am 11/20/25 um 10:23:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jameslaf schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ°
Erstellt am 11/20/25 um 11:41:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephMob schrieb:
Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° 3Π΄ <a href=https://dizayna-interera-sp...>Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° ΠΊΠΎΠΌΠ½Π°ΡΡ</a>
Erstellt am 11/21/25 um 00:51:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephMob schrieb:
Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° <a href=https://dizayna-interera-sp...>Π·Π°ΠΊΠ°Π·Π°ΡΡ Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° ΡΠΏΠ±</a>
Erstellt am 11/21/25 um 00:53:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RandyJaili schrieb:
<a href=https://t.me/tripscan_1>tripscan</a> Tripscan ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ°Π΅Ρ Ρ Π²Π΅Π΄ΡΡΠΈΠΌΠΈ Π°Π²ΠΈΠ°ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡΠΌΠΈ ΠΈ ΠΎΡΠ΅Π»ΡΠΌΠΈ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠ΅ ΡΠΊΠΈΠ΄ΠΊΠΈ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. ΠΡΠΎΠΌΠ΅ ΡΠΎΠ³ΠΎ, TripScan ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ ΠΈ ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ ΠΎΡΠ΅Π»Π΅ΠΉ ΠΈ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ, ΠΏΠΎΠΌΠΎΠ³Π°Ρ Π²Π°ΠΌ ΡΠ΄Π΅Π»Π°ΡΡ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΡΠΉ Π²ΡΠ±ΠΎΡ.
Erstellt am 11/21/25 um 01:12:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephMob schrieb:
Π΄ΠΈΠ·Π°ΠΉΠ½ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° ΠΎΡΠ·ΡΠ²Ρ <a href=https://dizayna-interera-sp...>ΡΡΡΠ΄ΠΈΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ ΠΏΡΠΎΠ΅ΠΊΡ</a>
Erstellt am 11/21/25 um 02:50:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamescig schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΠΎ Π»Π°Π½ΡΠ°
Erstellt am 11/22/25 um 05:39:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Josephkip schrieb:
<a href=https://t.me/air_enduro>ΠΊΠ΅Π²Ρ ΠΊ16 Π½Π±300</a> ΠΊΠ΅Π²Ρ kews ΠΊΠ΅Π²Ρ ΠΊ16 Π½Π±300 kews k16 nb300
Erstellt am 11/22/25 um 10:36:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamHaile schrieb:
<a href=https://t.me/bmwyouru>ΠΠ²ΡΠΎΡΠ΅ΡΠ²ΠΈΡ BMW</a> ΠΠ²ΡΠΎΡΠ΅ΡΠ²ΠΈΡ BMW ΠΠΎΡΠΊΠ²Π° ΠΠ²ΡΠΎΡΠ΅ΡΠ²ΠΈΡ BMW ΠΠΎΡΠΊΠ²Π° β ΡΡΠΎ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ, ΡΠΎΠ·Π΄Π°Π½Π½ΡΠΉ Π΄Π»Ρ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΠ΅Π½ΠΈΡ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠ΅ΠΉ ΡΠ°ΠΌΡΡ
Π²Π·ΡΡΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΡ
Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ BMW. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΈΠΊΠ» ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ, ΠΎΡ ΠΏΠ»Π°Π½ΠΎΠ²ΠΎΠ³ΠΎ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ Π΄ΠΎ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ°, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΡΠΎΠ»ΡΠΊΠΎ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ Π·Π°ΠΏΡΠ°ΡΡΠΈ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΌ. Π Π½Π°ΡΠ΅ΠΌ ΡΠ΅Π½ΡΡΠ΅ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π²ΡΡΠΎΠΊΠΎΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, ΠΏΡΠΎΡΠ΅Π΄ΡΠΈΠ΅ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π² BMW Group ΠΈ ΠΎΠ±Π»Π°Π΄Π°ΡΡΠΈΠ΅ ΠΌΠ½ΠΎΠ³ΠΎΠ»Π΅ΡΠ½ΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ Ρ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠΌΠΈ ΡΡΠΎΠΉ ΠΌΠ°ΡΠΊΠΈ. ΠΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΠΌ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ Π²ΡΠ΅Ρ
Π²ΡΠΏΠΎΠ»Π½ΡΠ΅ΠΌΡΡ
ΡΠ°Π±ΠΎΡ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΊΠ»ΠΈΠ΅Π½ΡΡ.
Erstellt am 11/22/25 um 14:52:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesSkypE schrieb:
<a href=https://ayatservice.kz/trad...>ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π±Π΅Π· Π²ΡΡ
ΠΎΠ΄Π½ΡΡ
</a>
Erstellt am 11/22/25 um 15:07:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Allanfex schrieb:
<a href=https://long-living.ru/>Π³Π»ΡΡΠ°ΠΌΠΈΠ½</a>
Erstellt am 11/22/25 um 16:18:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelpem schrieb:
<a href=https://gammalab.pro/>GammaLab</a> ΠΠ°ΡΠ±ΠΎΠ½ ΠΠΎΡΠΊΠ²Π°: ΠΠ΅Π³ΠΊΠΎΡΡΡ, ΠΠΏΡΠ΅Π΄Π΅Π»ΡΡΡΠ°Ρ Π‘ΠΊΠΎΡΠΎΡΡΡ Π ΠΌΠΈΡΠ΅ Π°Π²ΡΠΎΡΡΠ½ΠΈΠ½Π³Π° ΠΊΠ°ΡΠ±ΠΎΠ½ Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΎΡΠΎΠ±ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ. ΠΠΎΡΠΊΠ²Π° ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³ ΠΏΠΎ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅ ΠΊΠ°ΡΠ±ΠΎΠ½ΠΎΠ²ΡΡ
ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ², ΠΎΡ ΡΠ»Π΅Π³Π°Π½ΡΠ½ΡΡ
Π½Π°ΠΊΠ»Π°Π΄ΠΎΠΊ Π΄ΠΎ ΠΏΠΎΠ»Π½ΠΎΡΠ΅Π½Π½ΡΡ
ΠΊΡΠ·ΠΎΠ²Π½ΡΡ
Π΄Π΅ΡΠ°Π»Π΅ΠΉ. ΠΡΠΎΡ Π»Π΅Π³ΠΊΠΈΠΉ ΠΈ ΠΏΡΠΎΡΠ½ΡΠΉ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π» Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΠ»ΡΡΡΠ°Π΅Ρ Π²Π½Π΅ΡΠ½ΠΈΠΉ Π²ΠΈΠ΄ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, Π½ΠΎ ΠΈ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠ½ΠΈΠΆΠ°Π΅Ρ Π΅Π³ΠΎ Π²Π΅Ρ, ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΊΠ°Π·ΡΠ²Π°ΡΡΡ Π½Π° Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ΅ΡΠΊΠΈΡ
Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠ°Ρ
ΠΈ ΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌΠΎΡΡΠΈ.
Erstellt am 11/23/25 um 06:44:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timothychomb schrieb:
<a href=https://luxhoron.com/>Replique montre cuir</a> Replique Montre Cuir : Le Confort et le Style Classique La replique montre cuir offre un confort optimal et un style classique, grace a son bracelet en cuir souple qui epous
Erstellt am 11/23/25 um 08:13:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Herbertthige schrieb:
<a href=http://kaznachey.com/portal...>ΠΏΠ°Π½ΡΠΈΠΎΠ½Π°Ρ Π΄Π»Ρ ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅ΡΠΎΠ² ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ²</a> ΠΠ°Π½ΡΠΈΠΎΠ½Π°Ρ Π΄Π»Ρ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅: ΠΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠΉ ΡΡ
ΠΎΠ΄ ΠΈ ΡΠΎΡΠΈΠ°Π»ΡΠ½Π°Ρ Π°Π΄Π°ΠΏΡΠ°ΡΠΈΡ ΠΠ°Π½ΡΠΈΠΎΠ½Π°Ρ Π΄Π»Ρ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅ β ΡΡΠΎ ΡΡΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡΠ΅Π΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠΉ ΡΡ
ΠΎΠ΄, ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΡΡ ΠΏΠΎΠΌΠΎΡΡ ΠΈ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΡ Π°Π΄Π°ΠΏΡΠ°ΡΠΈΡ Π»ΡΠ΄Π΅ΠΉ Ρ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠΌΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΠΌΠΈ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½Π½ΡΡ
Π½Π° ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅ Π·Π΄ΠΎΡΠΎΠ²ΡΡ, ΡΠ»ΡΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΆΠΈΠ·Π½ΠΈ ΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ΅ Π²ΠΎΠ²Π»Π΅ΡΠ΅Π½ΠΈΠ΅ Π² ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΡ ΠΆΠΈΠ·Π½Ρ. ΠΠ°ΡΠΈ ΠΏΠΎΡΡΠΎΡΠ»ΡΡΡ ΠΈΠΌΠ΅ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΡΠ°ΡΡΠ²ΠΎΠ²Π°ΡΡ Π² ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠ΅ΡΠΎΠΏΡΠΈΡΡΠΈΡΡ
, Π·Π°Π½ΠΈΠΌΠ°ΡΡΡΡ ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²ΠΎΠΌ, ΠΎΠ±ΡΠ°ΡΡΡΡ Ρ Π΄ΡΡΠ³ΠΈΠΌΠΈ ΠΆΠΈΡΠ΅Π»ΡΠΌΠΈ ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΠΎΠΌΠΎΡΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ².
Erstellt am 11/23/25 um 11:20:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelpem schrieb:
<a href=https://gammalab.pro/>GammaLab</a> ΠΠΊΠ»Π΅ΠΉΠΊΠ° ΠΠΎΡΠΊΠ²Π°: ΠΠ°ΡΠΈΡΠ° ΠΈ Π‘ΡΠΈΠ»Ρ Π² ΠΠ΄Π½ΠΎΠΌ ΠΠΊΠ»Π΅ΠΉΠΊΠ° Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΠΏΠ»Π΅Π½ΠΊΠΎΠΉ Π² ΠΠΎΡΠΊΠ²Π΅ β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΠΌΠ΅Π½Π° ΡΠ²Π΅ΡΠ°, ΡΡΠΎ Π½Π°Π΄Π΅ΠΆΠ½Π°Ρ Π·Π°ΡΠΈΡΠ° Π»Π°ΠΊΠΎΠΊΡΠ°ΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠΊΡΡΡΠΈΡ ΠΎΡ ΡΠΊΠΎΠ»ΠΎΠ², ΡΠ°ΡΠ°ΠΏΠΈΠ½ ΠΈ Π²ΠΎΠ·Π΄Π΅ΠΉΡΡΠ²ΠΈΡ ΠΎΠΊΡΡΠΆΠ°ΡΡΠ΅ΠΉ ΡΡΠ΅Π΄Ρ. Π¨ΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΠ²Π΅ΡΠΎΠ² ΠΈ ΡΠ°ΠΊΡΡΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΠΎΠ·Π΄Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, ΠΏΠΎΠ΄ΡΠ΅ΡΠΊΠΈΠ²Π°ΡΡΠΈΠΉ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΠΎΡΡΡ Π²Π»Π°Π΄Π΅Π»ΡΡΠ°.
Erstellt am 11/23/25 um 18:19:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelpem schrieb:
<a href=https://gammalab.pro/>ΡΡΠ½ΠΈΠ½Π³ ΠΌΠΎΡΠΊΠ²Π°</a> GammaLab: ΠΠ½Π½ΠΎΠ²Π°ΡΠΈΠΈ Π½Π° Π‘Π»ΡΠΆΠ±Π΅ Π‘ΠΎΠ²Π΅ΡΡΠ΅Π½ΡΡΠ²Π° GammaLab β ΡΡΠΎ ΡΠ΅Π½ΡΡ ΠΏΠ΅ΡΠ΅Π΄ΠΎΠ²ΡΡ
ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΎΠΊ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠ½ΠΈΠ½Π³Π°. ΠΡΠΏΠΎΠ»ΡΠ·ΡΡ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠ΅ Π΄ΠΎΡΡΠΈΠΆΠ΅Π½ΠΈΡ Π½Π°ΡΠΊΠΈ ΠΈ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ, GammaLab ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΡ ΠΌΠΎΡΠ½ΠΎΡΡΠΈ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ, ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ ΡΠ°Π±ΠΎΡΡ ΡΡΠ°Π½ΡΠΌΠΈΡΡΠΈΠΈ ΠΈ ΡΠ»ΡΡΡΠ΅Π½ΠΈΡ Π°ΡΡΠΎΠ΄ΠΈΠ½Π°ΠΌΠΈΡΠ΅ΡΠΊΠΈΡ
Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ.
Erstellt am 11/24/25 um 00:48:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelpem schrieb:
<a href=https://gammalab.pro/>ΡΠ΅ΠΌΠΎΠ½Ρ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ ΠΌΠΎΡΠΊΠ²Π°</a> Π§ΠΈΠΏ Π’ΡΠ½ΠΈΠ½Π³ ΠΠΎΡΠΊΠ²Π°: Π Π°ΡΠΊΡΡΡΠΈΠ΅ ΠΠΎΡΠ΅Π½ΡΠΈΠ°Π»Π° ΠΠ²ΠΈΠ³Π°ΡΠ΅Π»Ρ Π§ΠΈΠΏ-ΡΡΠ½ΠΈΠ½Π³ Π² ΠΠΎΡΠΊΠ²Π΅ β ΡΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΠ°ΡΠΊΡΡΡΡ ΡΠΊΡΡΡΡΠΉ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π» Π²Π°ΡΠ΅Π³ΠΎ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ. ΠΡΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΠΎΠ³ΠΎ Π±Π»ΠΎΠΊΠ° ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ (ΠΠΠ£) ΠΌΠΎΠΆΠ½ΠΎ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠ²Π΅Π»ΠΈΡΠΈΡΡ ΠΌΠΎΡΠ½ΠΎΡΡΡ ΠΈ ΠΊΡΡΡΡΡΠΈΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ, ΡΠ»ΡΡΡΠΈΡΡ ΠΎΡΠΊΠ»ΠΈΠΊ Π½Π° ΠΏΠ΅Π΄Π°Π»Ρ Π³Π°Π·Π° ΠΈ ΡΠ½ΠΈΠ·ΠΈΡΡ ΡΠ°ΡΡ
ΠΎΠ΄ ΡΠΎΠΏΠ»ΠΈΠ²Π°. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡ ΡΠΈΠΏ-ΡΡΠ½ΠΈΠ½Π³ Ρ ΡΡΠ΅ΡΠΎΠΌ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΡ
ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠ΅ΠΉ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΠΈ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΠΉ Π²Π»Π°Π΄Π΅Π»ΡΡΠ°.
Erstellt am 11/24/25 um 06:13:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mylesmar schrieb:
<a href=https://t.me/vip_prostitytk...>ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠ° ΡΠΎΠ»ΡΠ΅</a> Π€ΠΎΡΠΎ ΠΏΡΠΎΡΡΠΈΡΡΡΠΎΠΊ, Π²Π°ΠΆΠ½ΡΠΉ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π²ΡΠ±ΠΎΡΠ° ΠΈ ΠΎΡΠ΅Π½ΠΊΠΈ Π²Π½Π΅ΡΠ½ΠΎΡΡΠΈ. Π’Π΅Π»Π΅ΡΠΎΠ½Ρ ΠΏΡΠΎΡΡΠΈΡΡΡΠΎΠΊ, Π½Π΅ΠΏΠΎΡΡΠ΅Π΄ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΡΠ²ΡΠ·ΠΈ Π΄Π»Ρ ΠΎΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΡ Π΄Π΅ΡΠ°Π»Π΅ΠΉ. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΡΠ°Π»ΠΎΠ½, ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡΠ°Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³ ΠΈ Π³Π°ΡΠ°Π½ΡΠΈΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΠ΄Π΅ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ, Π²ΠΎΠΏΡΠΎΡ, ΡΡΠ΅Π±ΡΡΡΠΈΠΉ ΠΎΡΠ²Π΅ΡΠ° Π΄Π»Ρ Π½Π°ΡΠ°Π»Π° ΠΏΠΎΠΈΡΠΊΠ°. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠ° ΡΠΎΠ»ΡΠ΅, ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠ΅ ΠΏΡΡΠ½ΡΠΌ ΡΠΎΡΠΌΠ°ΠΌ ΠΈ ΠΊΡΡΠΏΠ½ΡΠΌ Π³Π°Π±Π°ΡΠΈΡΠ°ΠΌ. Π’ΠΎΠ»ΡΡΡΠ΅ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ, ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠΈΠ·Π°ΡΠΈΡ Π·Π°ΠΏΡΠΎΡΠ° ΠΏΠΎ Π²Π΅ΡΠΎΠ²ΠΎΠΉ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ. ΠΠ΅Π²ΡΡΠΊΠΈ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ, Π°ΠΊΡΠ΅Π½Ρ Π½Π° ΠΌΠΎΠ»ΠΎΠ΄ΠΎΡΡΠΈ ΠΈ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ. ΠΠΎΠΌΠ΅ΡΠ° ΠΏΡΠΎΡΡΠΈΡΡΡΠΎΠΊ, ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΠ΅ ΠΊΠΎΠ½ΡΠ°ΠΊΡΡ Π΄Π»Ρ ΡΠ²ΡΠ·ΠΈ ΠΈ Π·Π°ΠΊΠ°Π·Π°. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΠΊΠΈΠ½Π³ΠΈΡΠ΅ΠΏΠΏ, Π»ΠΎΠΊΠ°Π»ΠΈΠ·Π°ΡΠΈΡ ΠΏΠΎΠΈΡΠΊΠ° Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠΌ Π½Π°ΡΠ΅Π»Π΅Π½Π½ΠΎΠΌ ΠΏΡΠ½ΠΊΡΠ΅ ΠΠ΅Π½ΠΈΠ½Π³ΡΠ°Π΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ.
Erstellt am 11/24/25 um 07:34:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Herbertthige schrieb:
<a href=http://kaznachey.com/portal...>Π΄ΠΎΠΌ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ</a> ΠΠΎΠΌΠ° Π΄Π»Ρ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅: Π½Π°ΠΉΠ΄ΠΈΡΠ΅ ΡΠ²ΠΎΠΉ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΠΠΎΠΈΡΠΊ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ° Π΄Π»Ρ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅ β ΡΡΠΎ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΈ Π²Π°ΠΆΠ½ΡΠΉ ΡΠ°Π³. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΠΊΠ°ΠΊ Π½Π΅ΠΏΡΠΎΡΡΠΎ ΡΠ΄Π΅Π»Π°ΡΡ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π²Π°ΠΌ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ Π½Π°ΡΠΈΠΌΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌΠΈ ΠΏΡΠΎΠΆΠΈΠ²Π°Π½ΠΈΡ, ΡΡΠ»ΡΠ³Π°ΠΌΠΈ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ Π½Π°ΡΠΈΡ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΡ ΡΠ²Π΅ΡΠ΅Π½Ρ, ΡΡΠΎ ΡΠΌΠΎΠΆΠ΅ΠΌ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΡΡ Π²Π°ΠΌ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ, ΠΊΠΎΡΠΎΡΡΠΉ Π±ΡΠ΄Π΅Ρ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΎΠ²Π°ΡΡ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΡΠΌ ΠΈ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡΠΌ Π²Π°ΡΠ΅Π³ΠΎ Π±Π»ΠΈΠ·ΠΊΠΎΠ³ΠΎ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°.
Erstellt am 11/24/25 um 07:34:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
For latest information you have to go to see web and on internet I found this site as a best site for most up-to-date updates.
https://mamaorganica.com.ua...
https://mamaorganica.com.ua...
Erstellt am 11/24/25 um 08:41:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Hey there! I know this is kinda off topic but I'd figured I'd ask. Would you be interested in trading links or maybe guest writing a blog article or vice-versa? My website goes over a lot of the same subjects as yours and I think we could greatly benefit from each other. If you happen to be interested feel free to send me an email. I look forward to hearing from you! Wonderful blog by the way!
https://vivashop.com.ua/eks...
https://vivashop.com.ua/eks...
Erstellt am 11/24/25 um 08:56:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mylesmar schrieb:
<a href=https://t.me/vip_soski_pitera>Π²ΠΈΠΏ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΡΠΏΠ±</a> ΠΡΠΎΡΡΠΈΡΡΡΠΊΠ° ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠ΅, ΡΠΏΠΎΡΠΎΠ± ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΡΠ΅Π±Π΅ ΠΈ ΡΠ²ΠΎΠΈΡ
ΡΡΠ»ΡΠ³Π°Ρ
. ΠΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ, Π³Π°ΡΠ°Π½ΡΠΈΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½ΠΎ, ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΡ Π·Π°ΡΠ²Π»Π΅Π½Π½ΡΠΌ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠ°ΠΌ. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ 50, Π²ΠΎΠ·ΡΠ°ΡΡΠ½ΠΎΠΉ ΡΠ΅Π½Π· Π΄Π»Ρ ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΠΉ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². ΠΠΎΡΠΊΠΎΠ²ΡΠΊΠΈΠ΅ ΠΏΡΠΎΡΡΠΈΡΡΡΠΊΠΈ, ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΈΡ ΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ Π²ΡΠ±ΠΎΡΠ° Π² ΡΡΠΎΠ»ΠΈΡΠ΅. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ Π³Π°ΡΡΠΈΠ½Π°, ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΠΆΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ Π³ΠΎΡΡΠ΅ΠΉ ΡΡΠΎΠ³ΠΎ Π³ΠΎΡΠΎΠ΄Π°. ΠΡΠΎΡΡΠΈΡΡΡΠΊΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΠΊΠΈ ΡΠΏΠ±, ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ Π½Π΅Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΈ ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ°Π»ΡΠ½ΠΎΠΉ ΠΏΡΠΈΠ²ΡΠ·ΠΊΠΈ. ΠΡΠΎ ΠΏΡΠΎΡΡΠΈΡΡΡΠΎΠΊ, ΠΎΠ±ΡΠΈΠ΅ ΡΠ°ΡΡΡΠΆΠ΄Π΅Π½ΠΈΡ ΠΈ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΡΠ΅ΡΠ΅ ΠΈΠ½ΡΠΈΠΌΠ½ΡΡ
ΡΡΠ»ΡΠ³.
Erstellt am 11/24/25 um 10:20:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Herbertthige schrieb:
<a href=http://kaznachey.com/portal...>ΠΏΠ°Π½ΡΠΈΠΎΠ½Π°Ρ Π΄Π»Ρ ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅ΡΠΎΠ² ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ²</a> ΠΠΎΡΠΊΠΎΠ²ΡΠΊΠΈΠ΅ Π΄ΠΎΠΌΠ° ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ²: Π²ΡΠ±ΠΎΡ Π² ΠΏΠΎΠ»ΡΠ·Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΈΠ·ΠΌΠ° ΠΈ ΠΎΠΏΡΡΠ° ΠΠΎΡΠΊΠΎΠ²ΡΠΊΠΈΠ΅ Π΄ΠΎΠΌΠ° ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² β ΡΡΠΎ ΡΠ΅ΡΡ Π³ΠΎΡΡΠ΄Π°ΡΡΡΠ²Π΅Π½Π½ΡΡ
ΠΈ ΡΠ°ΡΡΠ½ΡΡ
ΡΡΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠΉ, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡΠΈΡ
ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ ΠΈ ΡΠ΅Π°Π±ΠΈΠ»ΠΈΡΠ°ΡΠΈΠΈ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ². ΠΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ Π΄ΠΎΠΌΠ° ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅ Π²Π°ΠΆΠ½ΠΎ ΡΡΠΈΡΡΠ²Π°ΡΡ ΡΠ°ΠΊΠΈΠ΅ ΡΠ°ΠΊΡΠΎΡΡ, ΠΊΠ°ΠΊ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»Π°, ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΏΡΠΎΠΆΠΈΠ²Π°Π½ΠΈΡ, ΡΠΏΠ΅ΠΊΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌΡΡ
ΡΡΠ»ΡΠ³, ΡΡΠΎΠΈΠΌΠΎΡΡΡ ΠΈ ΠΎΡΠ·ΡΠ²Ρ Π΄ΡΡΠ³ΠΈΡ
ΡΠ΅ΠΌΠ΅ΠΉ. ΠΡ Π³ΠΎΡΠ΄ΠΈΠΌΡΡ ΡΠ΅ΠΌ, ΡΡΠΎ Π½Π°Ρ Π΄ΠΎΠΌ ΠΈΠ½Π²Π°Π»ΠΈΠ΄ΠΎΠ² Π² ΠΠΎΡΠΊΠ²Π΅ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΠ΅Ρ ΡΠ°ΠΌΡΠΌ Π²ΡΡΠΎΠΊΠΈΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΠΎΡΡΠΎΡΠ»ΡΡΡ.
Erstellt am 11/24/25 um 10:47:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timothychomb schrieb:
<a href=https://luxhoron.com/>Montre replique style business</a> Replique montre metal : la robustesse et l'elegance La replique montre metal offre un style robuste et elegant, grace a son bracelet en metal qui lui confere une allure sophistiquee et resistante. Elle est ideale pour ceux qui recherchent une montre solide et durable, capable de resister aux chocs et aux rayures du quotidien.
Erstellt am 11/24/25 um 14:42:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timothychomb schrieb:
<a href=https://luxhoron.com/>Manner Uhr Replika</a> Hochwertige Uhrenreplika β Qualitat steht an erster Stelle, wenn es um Uhrenreplika geht. Hochwertige Modelle werden aus erstklassigen Materialien gefertigt, darunter Edelstahl, Saphirglas und prazise Uhrwerke. Die Verarbeitung ist makellos, mit sauberen Linien, glatten Oberflachen und einer Liebe zum Detail, die man auf den ersten Blick erkennt. Diese Repliken sind nicht nur optisch ansprechend, sondern auch robust und langlebig. Sie bieten eine zuverlassige Zeitmessung und halten den Belastungen des Alltags stand. Eine hochwertige Uhrenreplika ist eine Investition in Stil und Qualitat, die sich lohnt.
Erstellt am 11/24/25 um 16:48:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Felixwoura schrieb:
<a href=https://vk.com/woodhome23>Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ°</a> Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ° Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠ°, ΡΡΠΈΡΡΠ²Π°ΡΡΠ΅Π³ΠΎ Π²ΡΠ΅ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡ Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠ° ΠΈ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΡΡΠ°ΡΡΠΊΠ°. ΠΠ°ΡΠ΅ΠΌ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΡΡ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ° Π΄ΠΎΠΌΠ° Π½Π° Π·Π°Π²ΠΎΠ΄Π΅, ΡΡΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π²ΡΡΠΎΠΊΡΡ ΡΠΎΡΠ½ΠΎΡΡΡ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ Π΄Π΅ΡΠ°Π»Π΅ΠΉ. ΠΠ° ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠ΅ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ Π±ΡΡΡΡΠ°Ρ ΠΈ ΡΠΈΡΡΠ°Ρ ΡΠ±ΠΎΡΠΊΠ°, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡΠ°Ρ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π³ΠΎΡΠΎΠ²ΡΠΉ ΠΊ ΠΎΡΠ΄Π΅Π»ΠΊΠ΅ Π΄ΠΎΠΌ.
Erstellt am 11/24/25 um 21:08:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RandyGew schrieb:
<a href=https://vk.com/evakuator_ta...>ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ Π² ΡΠ°Π³Π°Π½ΡΠΎΠ³Π΅</a> ΠΠ²Π°ΠΊΡΠ°ΡΠΎΡ Π’Π°Π³Π°Π½ΡΠΎΠ³ β ΡΡΠΎ Π±ΠΎΠ»ΡΡΠ΅, ΡΠ΅ΠΌ ΠΏΡΠΎΡΡΠΎ Π½ΠΎΠΌΠ΅Ρ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° Π² Π·Π°ΠΏΠΈΡΠ½ΠΎΠΉ ΠΊΠ½ΠΈΠΆΠΊΠ΅. ΠΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΡ Π½Π° Π΄ΠΎΡΠΎΠ³Π°Ρ
, ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ Π² ΡΠ»ΡΡΠ°Π΅ Π½Π΅ΠΏΡΠ΅Π΄Π²ΠΈΠ΄Π΅Π½Π½ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ Π²Ρ Π½Π΅ ΠΎΡΡΠ°Π½Π΅ΡΠ΅ΡΡ ΠΎΠ΄ΠΈΠ½ Π½Π° ΠΎΠ΄ΠΈΠ½ Ρ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠΎΠΉ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΡΠ»ΡΠ³ΠΈ ΡΠ²Π°ΠΊΡΠ°ΡΠΈΠΈ, Π° ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, Π²ΠΊΠ»ΡΡΠ°ΡΡΠ΅Π΅ Π² ΡΠ΅Π±Ρ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΡ ΠΏΠΎΠΌΠΎΡΡ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΊΠ»ΠΈΠ΅Π½ΡΡ. ΠΠ°ΡΠ° ΡΠ΅Π»Ρ β ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΡΠΏΡΠΎΡΡΠΈΡΡ ΠΏΡΠΎΡΠ΅ΡΡ ΡΠ²Π°ΠΊΡΠ°ΡΠΈΠΈ ΠΈ ΡΠ²Π΅ΡΡΠΈ ΠΊ ΠΌΠΈΠ½ΠΈΠΌΡΠΌΡ Π²Π°ΡΠΈ Π½Π΅ΠΏΡΠΈΡΡΠ½ΠΎΡΡΠΈ. ΠΠ²Π°ΠΊΡΠ°ΡΠΎΡ Π² Π’Π°Π³Π°Π½ΡΠΎΠ³Π΅ β ΡΡΠΎ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ, Π²Π½Π΅ Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΡΡΠΎΠΊ ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. ΠΡ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅ΠΌ, ΡΡΠΎ Π°Π²Π°ΡΠΈΠΈ ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΊΠΈ ΡΠ»ΡΡΠ°ΡΡΡΡ Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΠΎ, ΠΈ ΠΏΠΎΡΡΠΎΠΌΡ Π²ΡΠ΅Π³Π΄Π° Π³ΠΎΡΠΎΠ²Ρ ΠΏΡΠΈΠΉΡΠΈ Π½Π° ΠΏΠΎΠΌΠΎΡΡ, ΠΊΠΎΠ³Π΄Π° ΠΎΠ½Π° Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠ°. ΠΠ°Ρ ΠΏΠ°ΡΠΊ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠΎΠ² ΠΎΡΠ½Π°ΡΠ΅Π½ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡΠΈΠΌ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²Π°ΡΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ Π»ΡΠ±ΠΎΠΉ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ, ΠΎΡ Π»Π΅Π³ΠΊΠΎΠ²ΡΡ
Π΄ΠΎ Π³ΡΡΠ·ΠΎΠ²ΡΡ
. ΠΠ²Π°ΠΊΡΠ°ΡΠΎΡ β ΡΡΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠ° ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½Π½ΠΎΠ³ΠΎ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ Π΄ΠΎ ΡΠ΅ΡΠ²ΠΈΡΠ°, Π½ΠΎ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ Π½ΠΎΠ²ΠΎΠ³ΠΎ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΠΈΠ· Π°Π²ΡΠΎΡΠ°Π»ΠΎΠ½Π°, ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΌΠΎΡΠΎΡΠΈΠΊΠ»Π° Π½Π° ΡΠΎΡΠ΅Π²Π½ΠΎΠ²Π°Π½ΠΈΡ ΠΈΠ»ΠΈ ΡΠ²Π°ΠΊΡΠ°ΡΠΈΡ ΡΠΏΠ΅ΡΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Π½Π° ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΡ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, ΠΎΡ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΉ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π»ΡΠ±ΡΠ΅ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠΈ Π² ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠ΅ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΡ
ΡΡΠ΅Π΄ΡΡΠ². ΠΠ²Π°ΠΊΡΠ°ΡΠΎΡ Π² Π’Π°Π³Π°Π½ΡΠΎΠ³Π΅ Π΄Π΅ΡΠ΅Π²ΠΎ β ΡΡΠΎ Π½Π΅ Π·Π½Π°ΡΠΈΡ Π½Π΅ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎ. ΠΡ ΠΎΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΠΎΠ²Π°Π»ΠΈ Π½Π°ΡΠΈ ΡΠ°ΡΡ
ΠΎΠ΄Ρ ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, Π±Π΅Π· ΡΠΊΡΡΡΡΡ
Π½Π°ΠΊΡΡΡΠΎΠΊ ΠΈ ΠΊΠΎΠΌΠΈΡΡΠΈΠΉ. ΠΠ°ΡΠ° Π·Π°Π΄Π°ΡΠ° β ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΡΡΠ»ΡΠ³ΠΈ ΡΠ²Π°ΠΊΡΠ°ΡΠΈΠΈ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ, ΠΊΡΠΎ Π² Π½ΠΈΡ
Π½ΡΠΆΠ΄Π°Π΅ΡΡΡ, Π½Π΅ Π·Π°Π²ΠΈΡΠΈΠΌΠΎ ΠΎΡ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. ΠΡ ΡΠ²Π΅ΡΠ΅Π½Ρ, ΡΡΠΎ Π²ΡΡΠΎΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ. Π£ΡΠ»ΡΠ³ΠΈ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠ° Π²ΠΊΠ»ΡΡΠ°ΡΡ Π² ΡΠ΅Π±Ρ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, Π½ΠΎ ΠΈ ΠΎΠΊΠ°Π·Π°Π½ΠΈΠ΅ ΠΏΠΎΠΌΠΎΡΠΈ Π½Π° ΠΌΠ΅ΡΡΠ΅, Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ, ΠΏΡΠΈ Π·Π°ΠΌΠ΅Π½Π΅ ΠΊΠΎΠ»Π΅ΡΠ°, Π·Π°ΠΏΡΡΠΊΠ΅ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ ΠΈΠ»ΠΈ ΠΎΡΠΊΡΡΡΠΈΠΈ Π·Π°Π±Π»ΠΎΠΊΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
Π΄Π²Π΅ΡΠ΅ΠΉ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ ΡΠ΅ΡΠΈΡΡ ΠΏΡΠΎΠ±Π»Π΅ΠΌΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠ° ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ Π±ΡΡΡΡΠΎ ΠΈ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ, ΡΡΠΎΠ±Ρ ΠΎΠ½ ΠΌΠΎΠ³ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠΈΡΡ ΡΠ²ΠΎΠΉ ΠΏΡΡΡ Ρ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠΌΠΈ ΠΏΠΎΡΠ΅ΡΡΠΌΠΈ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ Π½Π΅ΡΠ²ΠΎΠ².
Erstellt am 11/24/25 um 22:24:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Felixwoura schrieb:
<a href=https://vk.com/woodhome23>Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ°</a> Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ° β ΡΡΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΈ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ½ΠΎΡΡΡ, ΡΠΊΠΎΡΠΎΡΡΡ Π²ΠΎΠ·Π²Π΅Π΄Π΅Π½ΠΈΡ ΠΈ ΡΡΡΠ΅ΡΠΈΡΠ΅ΡΠΊΡΡ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΡΠ²ΠΎΠ΅Π³ΠΎ Π±ΡΠ΄ΡΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ°. ΠΠ»Π΅Π΅Π½ΡΠΉ Π±ΡΡΡ, Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ²ΠΎΠ΅ΠΉ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°, ΠΎΠ±Π»Π°Π΄Π°Π΅Ρ ΠΏΠΎΠ²ΡΡΠ΅Π½Π½ΠΎΠΉ ΠΏΡΠΎΡΠ½ΠΎΡΡΡΡ, ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΡΡ ΠΊ Π΄Π΅ΡΠΎΡΠΌΠ°ΡΠΈΡΠΌ ΠΈ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΠ°Π΄ΠΊΠΎΠΉ, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ Π΅Π³ΠΎ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠΌ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΡΡ
ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ
Π·Π΄Π°Π½ΠΈΠΉ.
Erstellt am 11/25/25 um 07:49:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Felixwoura schrieb:
<a href=https://vk.com/woodhome23>ΠΠΎΠΌ ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ° ΡΠ΅Π½Π°</a> ΠΠΎΠΌΠ° ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ° ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ ΠΏΠΎΠ»ΡΠ·ΡΡΡΡΡ ΠΎΡΠΎΠ±ΠΎΠΉ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΡΡ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ Π±Π»Π°Π³ΠΎΠΏΡΠΈΡΡΠ½ΠΎΠΌΡ ΠΊΠ»ΠΈΠΌΠ°ΡΡ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΉ Π΄ΡΠ΅Π²Π΅ΡΠΈΠ½Ρ. Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ· ΠΊΠ»Π΅Π΅Π½ΠΎΠ³ΠΎ Π±ΡΡΡΠ° Π² ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΠ΅ β ΡΡΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΡΠ½ΠΎΠ΅ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ°Π±Π΅Π»ΡΠ½ΠΎΠ΅ ΠΆΠΈΠ»ΡΠ΅, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠ΅Π΅ Π΄Π»Ρ ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ°.
Erstellt am 11/25/25 um 13:39:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hi there, after reading this amazing post i am too cheerful to share my know-how here with friends.
<a href=https://ogogogogogooo.com>directory of female escorts in Brazil</a>
<a href=https://ogogogogogooo.com>directory of female escorts in Brazil</a>
Erstellt am 11/25/25 um 14:46:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottrog schrieb:
<a href=http://clubochek.ru/v-mire/...>Π³Π΅ΡΠΈΠ°ΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠ»ΡΠ³ΠΈ</a> ΠΠ΅ΡΠΎΠ½ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΎΠ΅ ΡΡΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅, ΡΡΠΎ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΡ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ³ΠΎ Π΄ΠΎΠ»Π³ΠΎΠ»Π΅ΡΠΈΡ ΠΏΠΎΠΆΠΈΠ»ΡΡ
Π»ΡΠ΄Π΅ΠΉ. ΠΠ΄Π΅ΡΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Π»Π΅ΡΠ°Ρ Π±ΠΎΠ»Π΅Π·Π½ΠΈ, ΡΠ²ΡΠ·Π°Π½Π½ΡΠ΅ Ρ Π²ΠΎΠ·ΡΠ°ΡΡΠΎΠΌ, Π½ΠΎ ΠΈ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΠΏΠΎΠ»Π½ΠΎΡΠ΅Π½Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ, Π½Π°ΠΏΠΎΠ»Π½Π΅Π½Π½ΠΎΠΉ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ΠΌ, ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΈ Π·Π°Π±ΠΎΡΠΎΠΉ. ΠΡΠΎ ΠΌΠ΅ΡΡΠΎ, Π³Π΄Π΅ ΡΡΠ°ΡΠΎΡΡΡ β Π½Π΅ ΠΏΡΠΈΠ³ΠΎΠ²ΠΎΡ, Π° Π½ΠΎΠ²ΡΠΉ ΡΡΠ°ΠΏ ΠΆΠΈΠ·Π½ΠΈ.
Erstellt am 11/25/25 um 19:06:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWeels schrieb:
Current Updates: <a href=https://pastebin.com/u/nppr...>https://pastebin.com/u/npprteamshopz1</a>
Erstellt am 11/26/25 um 03:50:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWeels schrieb:
Current Updates: <a href=http://skazka.g-talk.ru/vie...>http://skazka.g-talk.ru/viewtopic.php?f=1&t=6589</a>
Erstellt am 11/26/25 um 03:53:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottrog schrieb:
<a href=http://clubochek.ru/v-mire/...>Π³Π΅ΡΠΎΠ½ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ</a> ΠΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ Π³Π΅ΡΠΎΠ½ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΈΠ»ΠΈ Π³Π΅ΡΠΈΠ°ΡΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΡΠ΅Π½ΡΡΠ° Π²Π°ΠΆΠ½ΠΎ ΡΡΠΈΡΡΠ²Π°ΡΡ Π΅Π³ΠΎ ΡΠ΅ΠΏΡΡΠ°ΡΠΈΡ, ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»Π°, ΡΠΏΠ΅ΠΊΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌΡΡ
ΡΡΠ»ΡΠ³ ΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΏΡΠΎΠΆΠΈΠ²Π°Π½ΠΈΡ. ΠΠ°ΠΆΠ½ΠΎ ΡΠ°ΠΊΠΆΠ΅ ΠΎΠ±ΡΠ°ΡΠΈΡΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ΠΎΡΠ·ΡΠ²Ρ Π΄ΡΡΠ³ΠΈΡ
ΠΏΠ°ΡΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΠΈΡ
ΡΠΎΠ΄ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ².
Erstellt am 11/26/25 um 04:19:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottrog schrieb:
<a href=http://clubochek.ru/v-mire/...>ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ Π΄Π»Ρ ΠΏΠΎΠΆΠΈΠ»ΡΡ
</a> ΠΠ΅ΡΠΈΠ°ΡΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ ΡΠΎΠΊΡΡΠΈΡΡΠ΅ΡΡΡ Π½Π° Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ΅, Π»Π΅ΡΠ΅Π½ΠΈΠΈ ΠΈ ΠΏΡΠΎΡΠΈΠ»Π°ΠΊΡΠΈΠΊΠ΅ Π·Π°Π±ΠΎΠ»Π΅Π²Π°Π½ΠΈΠΉ, Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠ½ΡΡ
Π΄Π»Ρ ΠΏΠΎΠΆΠΈΠ»ΠΎΠ³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ°. ΠΡΠ°ΡΠΈ-Π³Π΅ΡΠΈΠ°ΡΡΡ ΠΎΠ±Π»Π°Π΄Π°ΡΡ Π³Π»ΡΠ±ΠΎΠΊΠΈΠΌΠΈ Π·Π½Π°Π½ΠΈΡΠΌΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π²ΠΎΠ·ΡΠ°ΡΡΠ½ΡΡ
ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΌΠ° ΠΈ ΡΠ°Π·ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ Π»Π΅ΡΠ΅Π½ΠΈΡ, ΡΡΠΈΡΡΠ²Π°ΡΡΠΈΠ΅ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°. ΠΠ΅ΡΠΈΠ°ΡΡΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΏΠΎΠΌΠΎΡΡ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π² ΡΠ΅Π±Ρ ΠΌΠ΅Π΄ΠΈΠΊΠ°ΠΌΠ΅Π½ΡΠΎΠ·Π½ΠΎΠ΅ Π»Π΅ΡΠ΅Π½ΠΈΠ΅, ΡΠΈΠ·ΠΈΠΎΡΠ΅ΡΠ°ΠΏΠΈΡ, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΠΏΠΎ Π²ΠΎΠΏΡΠΎΡΠ°ΠΌ ΠΏΠΈΡΠ°Π½ΠΈΡ ΠΈ ΠΎΠ±ΡΠ°Π·Π° ΠΆΠΈΠ·Π½ΠΈ.
Erstellt am 11/26/25 um 05:21:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesWeels schrieb:
New in the Category: <a href=https://laver.listbb.ru/vie...>https://laver.listbb.ru/viewtopic.php?f=3&t=4623</a>
Erstellt am 11/26/25 um 05:54:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamessic schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΠΎ Π»Π°Π½Ρ
Erstellt am 11/26/25 um 06:16:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertBOr schrieb:
<a href=https://victory88.top>pragmatic slot</a>
Erstellt am 11/27/25 um 00:55:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Hi there, the whole thing is going nicely here and ofcourse every one is sharing data, that's actually excellent, keep up writing.
<a href=https://ogogogogogooo.com>escort agencies and massage parlours in Rio</a>
<a href=https://ogogogogogooo.com>escort agencies and massage parlours in Rio</a>
Erstellt am 11/27/25 um 10:27:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertBOr schrieb:
<a href=https://onyx558.com>khao555 login</a>
Erstellt am 11/27/25 um 12:13:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SamuelTwelt schrieb:
<a href=https://bravomos.ru/>ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π±Π°Π½ΠΊΠ΅ΡΠΎΠ² Π² ΠΌΠΎΡΠΊΠ²Π΅</a> Π£ΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠ² ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ ΠΈ ΠΠ ΠΎΡ event Π°Π³Π΅Π½ΡΡΡΠ²Π° BBRAVOMOS. Π£ Π½Π°Ρ Π²ΡΡ ΠΏΡΠΎΠ΄ΡΠΌΠ°Π½ΠΎ Π΄ΠΎ ΠΌΠ΅Π»ΠΎΡΠ΅ΠΉ: ΠΊΠΎΠ½ΡΠ΅ΠΏΡΠΈΡ, ΡΡΠ΅Π½Π°ΡΠΈΠΉ, ΡΡΠΈΠ»ΡΠ½ΡΠΉ Π΄Π΅ΠΊΠΎΡ, ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ, ΠΊΠ΅ΠΉΡΠ΅ΡΠΈΠ½Π³, ΡΠΎΡ-ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΈ ΠΊΠΎΠΎΡΠ΄ΠΈΠ½Π°ΡΠΈΡ Π² Π΄Π΅Π½Ρ ΡΠΎΠ±ΡΡΠΈΡ. ΠΠΎΠ·ΡΠΌΠ΅ΠΌ Π½Π° ΡΠ΅Π±Ρ ΠΈΠ΄Π΅ΠΈ, ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΈ ΠΊΠΎΠΎΡΠ΄ΠΈΠ½Π°ΡΠΈΡ β ΠΎΡ ΡΡΡΠ½ΠΎΠΉ Π²Π΅ΡΠ΅ΡΠΈΠ½ΠΊΠΈ Π΄ΠΎ Π³ΡΠ°Π½Π΄ΠΈΠΎΠ·Π½ΠΎΠ³ΠΎ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π°. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΡΠΉ ΡΠ°ΠΉΠΌΠΈΠ½Π³ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ ΠΏΠΎΠ΄ Π²Π°ΡΠΈ ΡΠ΅Π»ΠΈ. Bravomos β Ρ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠΌ ΡΠ΅ΡΡΠ½ Π²ΠΎΠΏΡΠΎΡ!
Erstellt am 11/27/25 um 16:29:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CarlosNeita schrieb:
<a href=lblsp.at>bs2site at</a>
Erstellt am 11/27/25 um 17:42:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sportwetten Lizenz schrieb:
sichere wett tipps morgen
Erstellt am 11/27/25 um 20:53:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SamuelTwelt schrieb:
<a href=https://bravomos.ru/>ΠΏΡΠ°Π·Π΄Π½ΠΈΡΠ½ΠΎΠ΅ Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ ΠΌΠΎΡΠΊΠ²Π°</a> Π£ΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠ² ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ ΠΈ ΠΠ ΠΎΡ event Π°Π³Π΅Π½ΡΡΡΠ²Π° BBRAVOMOS. Π£ Π½Π°Ρ Π²ΡΡ ΠΏΡΠΎΠ΄ΡΠΌΠ°Π½ΠΎ Π΄ΠΎ ΠΌΠ΅Π»ΠΎΡΠ΅ΠΉ: ΠΊΠΎΠ½ΡΠ΅ΠΏΡΠΈΡ, ΡΡΠ΅Π½Π°ΡΠΈΠΉ, ΡΡΠΈΠ»ΡΠ½ΡΠΉ Π΄Π΅ΠΊΠΎΡ, ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ, ΠΊΠ΅ΠΉΡΠ΅ΡΠΈΠ½Π³, ΡΠΎΡ-ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΈ ΠΊΠΎΠΎΡΠ΄ΠΈΠ½Π°ΡΠΈΡ Π² Π΄Π΅Π½Ρ ΡΠΎΠ±ΡΡΠΈΡ. ΠΠΎΠ·ΡΠΌΠ΅ΠΌ Π½Π° ΡΠ΅Π±Ρ ΠΈΠ΄Π΅ΠΈ, ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΈ ΠΊΠΎΠΎΡΠ΄ΠΈΠ½Π°ΡΠΈΡ β ΠΎΡ ΡΡΡΠ½ΠΎΠΉ Π²Π΅ΡΠ΅ΡΠΈΠ½ΠΊΠΈ Π΄ΠΎ Π³ΡΠ°Π½Π΄ΠΈΠΎΠ·Π½ΠΎΠ³ΠΎ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π°. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΡΠΉ ΡΠ°ΠΉΠΌΠΈΠ½Π³ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ ΠΏΠΎΠ΄ Π²Π°ΡΠΈ ΡΠ΅Π»ΠΈ. Bravomos β Ρ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠΌ ΡΠ΅ΡΡΠ½ Π²ΠΎΠΏΡΠΎΡ!
Erstellt am 11/27/25 um 21:19:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mylesmar schrieb:
<a href=https://opalubka.market/>ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΡΠ°Π·Π±ΠΎΡΠ½ΡΡ
Π»Π΅ΡΠΎΠ²</a> ΠΡΠ΅Π½Π΄Π° ΡΠΊΠ»Π°Π΄Π½ΡΡ
ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΡ
Π»Π΅ΡΠΎΠ²: Π‘ΠΊΠ»Π°Π΄Π½ΡΠ΅ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π»Π΅ΡΠ° ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡ Π΄Π»Ρ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΡ
ΡΠ°Π±ΠΎΡ, ΠΎΡΠ΄Π΅Π»ΠΊΠΈ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ. ΠΡΠ΅Π½Π΄Π° ΡΠΊΠ»Π°Π΄Π½ΡΡ
Π»Π΅ΡΠΎΠ² ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π»Π΅Π³ΠΊΠΎ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ°ΡΡ ΠΈ Ρ
ΡΠ°Π½ΠΈΡΡ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, Π° ΡΠ°ΠΊΠΆΠ΅ Π±ΡΡΡΡΠΎ ΡΠ°Π·Π²Π΅ΡΡΡΠ²Π°ΡΡ ΡΠ°Π±ΠΎΡΠ΅Π΅ ΠΌΠ΅ΡΡΠΎ Π² ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π°. ΠΠΎΠΌΠΏΠ°ΠΊΡΠ½ΠΎΡΡΡ ΠΈ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΡΡΡ Π΄Π΅Π»Π°ΡΡ ΠΈΡ
Π½Π΅Π·Π°ΠΌΠ΅Π½ΠΈΠΌΡΠΌΠΈ Π΄Π»Ρ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΡΡ
Π±ΡΠΈΠ³Π°Π΄ ΠΈ ΡΠ°ΡΡΠ½ΡΡ
ΠΌΠ°ΡΡΠ΅ΡΠΎΠ².
Erstellt am 11/28/25 um 11:30:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https://bitrix.nsdigital-of...> ΠΏΠΎΠ»ΡΡΠΈΡΡ SEO ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ Ρ Π°Π΄Π°ΠΏΡΠΈΠ²Π½ΡΠΌ Π΄ΠΈΠ·Π°ΠΉΠ½ΠΎΠΌ </a> ΠΡ ΠΠΈΠ΄ΠΆΠΈΡΠ°Π» ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΡΠ°ΠΉΡΠΎΠ² ΠΈ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΌΠ°Π³Π°Π·ΠΈΠ½ΠΎΠ² Π½Π° 1Ρ ΠΠΈΡΡΠΈΠΊΡ Seo ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ AI
Erstellt am 11/29/25 um 00:28:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertBOr schrieb:
<a href=https://victory55.top>?????????</a>
Erstellt am 11/29/25 um 03:08:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamnus schrieb:
<a href=https://www.soft4led.com/wh...>https://www.soft4led.com/why-jimmy-kimmel-is-the-man-of-the-youtube-era/</a>
Erstellt am 11/29/25 um 14:59:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonsuest schrieb:
<a href=https://lbs2best.at>http://skyiwredshjnhjgelela...</a>
Erstellt am 11/29/25 um 15:00:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rickeylyday schrieb:
<a href=https://victory-555.top>??????????????????????????</a>
Erstellt am 11/29/25 um 19:07:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamnus schrieb:
<a href=https://www.haofinder.com/b...>https://www.haofinder.com/blog/bruno-mars-by-the-numbers-from-billions-of-streams-to-record-vegas-paydays</a>
Erstellt am 11/29/25 um 20:56:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BennettCow schrieb:
<a href=https://cvetovodstvo.su/top...>https://cvetovodstvo.su/top-5-smesey-semyan-gazona-dlya-sportivnyh-i-detskih-ploschadok/</a>
Erstellt am 11/30/25 um 02:36:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
slots-online-792 schrieb:
ΡΠ»ΠΎΡΠΈ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://slots-online-ua.com/>ΡΠ»ΠΎΡΠΈ Π±Π΅Π·ΠΊΠΎΡΡΠΎΠ²Π½ΠΎ</a>
Erstellt am 11/30/25 um 22:54:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
NormanSot schrieb:
<a href=https://lbs2web.at>bs2site at</a>
Erstellt am 12/01/25 um 03:36:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
slots-online-267 schrieb:
ΡΠ³ΡΠΈ ΡΠ»ΠΎΡΠΈ <a href=https://slots-online-ua.com/>ΡΠ³ΡΠΈ ΡΠ»ΠΎΡΠΈ</a>
Erstellt am 12/01/25 um 03:58:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
slots-online-647 schrieb:
ΡΠ³ΡΠΎΠ²Ρ ΡΠ»ΠΎΡΠΈ <a href=https://slots-online-ua.com/>ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠ»ΠΎΡΠΈ</a>
Erstellt am 12/01/25 um 06:14:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rickeylyday schrieb:
<a href=https://victory-555.top>pg ????? khao555.com</a>
Erstellt am 12/01/25 um 13:01:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sportwetten In Der NΓ€He schrieb:
wett tipps von experten
Erstellt am 12/01/25 um 14:36:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rufuskic schrieb:
<a href=https://t.me/onlain_pabottaAL2>ΠΠΎΡΠΎΠ΄ ΡΠ°Π±ΠΎΡΠ°</a> Π Π°Π±ΠΎΡΠΎΠ΄Π°ΡΠ΅Π»ΠΈ ΠΈΡΡΡ ΡΠ°Π»Π°Π½ΡΡ, ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ, ΠΈΠΌΠ΅Π½Π½ΠΎ Π²Ρ β ΡΠΎΡ ΡΠ°ΠΌΡΠΉ "Π½ΡΠΆΠ΅Π½ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊ". Π’ΡΠ΅Π±ΡΡΡΡΡ ΠΊΠ°Π΄ΡΡ, ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΠΌΠ΅Π½Π΅Π΄ΠΆΠ΅ΡΡ β ΡΡΠ½ΠΎΠΊ ΡΡΡΠ΄Π° ΠΆΠ°ΠΆΠ΄Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ²!
Erstellt am 12/02/25 um 01:26:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rufuskic schrieb:
<a href=https://t.me/onlain_pabottaAL2>Π Π°Π±ΠΎΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½</a> ΠΠ°Π΄ΡΠΆΠ½Π°Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ Ρ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠΌ ΠΏΠ°ΠΊΠ΅ΡΠΎΠΌ ΠΈ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΎΠΉ ΡΡΡΠ°Ρ
ΠΎΠ²ΠΊΠΎΠΉ β ΡΡΠΎ Π½Π΅ ΠΌΠΈΡ, Π° ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΡ. ΠΠ½ΠΎΠ³ΠΈΠ΅ ΡΠ°Π±ΠΎΡΠΎΠ΄Π°ΡΠ΅Π»ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠ΅ ΡΡΡΠ΄ΠΎΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ ΠΈ Π·Π°Π±ΠΎΡΡΡΡΡ ΠΎ ΡΠ²ΠΎΠΈΡ
ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠ°Ρ
.
Erstellt am 12/02/25 um 05:53:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Kevintab schrieb:
<a href=https://stroyka-gid.ru/>https://stroyka-gid.ru/</a>
Erstellt am 12/02/25 um 13:16:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΠ· Krabi Town ΠΈΠ»ΠΈ Ao Nang ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ Ban Saladan Π½Π° Ko Lanta Yai Π½Π° ΠΏΠ°ΡΠΎΠΌΠ΅ ΠΈΠ»ΠΈ ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΠ΅. ΠΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 2β3 ΡΠ°ΡΠ° Π½Π° ΠΎΠ±ΡΡΠ½ΠΎΠΌ ΠΏΠ°ΡΠΎΠΌΠ΅, Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΠΎΡΠ΅ΡΠ΅Π΄ΠΈ ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ β ΡΡΠΎ ΡΠ°ΠΌΡΠΉ ΠΎΠ±ΡΡΠ½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ Π΄Π»Ρ Π³ΠΎΡΡΠ΅ΠΉ ΠΡΠΎΡΠΈ ΠΈ ΡΡΡΠΈΡΡΠΎΠ² Π² Ao Nang. ΠΡΡΡΡΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π½Π° ΠΊΠ°ΡΠ΅ΡΠ΅ ΠΌΠΎΠ³ΡΡ Π·Π°Π½ΡΡΡ ΠΎΠΊΠΎΠ»ΠΎ ΡΠ°ΡΠ°, Π½ΠΎ ΡΡΠ΅Π±ΡΡΡ Ρ
ΠΎΡΠΎΡΠ΅ΠΉ ΠΏΠΎΠ³ΠΎΠ΄Ρ ΠΈ Π΄ΠΎΡΠΎΠΆΠ΅. Π Π»ΡΠ±ΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ ΠΏΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ ΠΏΡΡΡ Π·Π°ΡΠ°Π½Π΅Π΅, ΡΡΠΈΡΡΠ²Π°Ρ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΡ ΠΏΠ°ΡΠΎΠΌΠΎΠ², ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΡΠ΅Π·ΠΎΠ½Π½ΠΎΡΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠ°ΡΡΠΌΠ°ΡΡΠΈΠ²Π°ΠΉΡΠ΅ Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Ρ ΡΠ΅ΡΠ΅Π· Phuket ΠΈΠ»ΠΈ Trang, Π΅ΡΠ»ΠΈ Π½ΡΠΆΠ½ΠΎ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ ΠΈΠ»ΠΈ Π²ΡΠ±ΡΠ°ΡΡ Π±ΠΎΠ»Π΅Π΅ Π³ΠΈΠ±ΠΊΠΎΠ΅ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅.
Erstellt am 12/02/25 um 16:06:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅ β Π½Π° ΠΊΠ°ΡΡΠ΅ ΠΠΎ ΠΠ°Π½ΡΠ° ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΡΠ½ Π΄ΡΠ³ΠΎΠΉ ΠΎΡΡΡΠΎΠ²ΠΎΠ²: Ko Lanta Yai β Π³Π»Π°Π²Π½ΡΠΉ ΠΎΡΡΡΠΎΠ², Π·Π°ΠΏΠ°Π΄Π½ΠΎΠ΅ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Ρ ΠΏΡΠΎΡΡΠΆΡΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ ΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ, ΡΠ΅Π²Π΅ΡΠ½Π°Ρ ΡΠ°ΡΡΡ Π²ΠΎΠΊΡΡΠ³ Saladan β ΠΏΠΎΡΡ ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΠΉ ΡΠ·Π΅Π»; Ko Lanta Noi β ΠΌΠ΅Π½ΡΡΠΈΠΉ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΉ ΠΎΡΡΡΠΎΠ², ΡΠ²ΡΠ·Π°Π½Π½ΡΠΉ ΠΌΠΎΡΡΠΎΠΌ. ΠΠ°ΠΆΠ½ΡΠ΅ ΡΠΎΡΠΊΠΈ: Saladan Π½Π° ΡΠ΅Π²Π΅ΡΠ΅, Long Beach Π½Π° Π·Π°ΠΏΠ°Π΄Π΅, Ba Kan Tiang Π² ΡΠΆΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ, Π° ΠΌΠΎΡΡ ΠΌΠ΅ΠΆΠ΄Ρ ΠΎΡΡΡΠΎΠ²Π°ΠΌΠΈ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π²Π½ΡΡΡΠΈ Π°ΡΡ
ΠΈΠΏΠ΅Π»Π°Π³Π°. ΠΠ° ΠΊΠ°ΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΏΠΈΡΡΡ, ΠΏΠ°ΡΠΎΠΌΡ ΠΈ Π΄ΠΎΡΠΎΠ³ΠΈ ΠΌΠ΅ΡΡΠ½ΠΎΠ³ΠΎ Π·Π½Π°ΡΠ΅Π½ΠΈΡ; Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π½Π°ΠΉΡΠΈ ΠΌΠ°ΡΡΡΡΡΡ Π΄ΠΎ ΠΏΠ»ΡΠΆΠ΅ΠΉ ΠΈ ΠΎΡΠ΅Π»Π΅ΠΉ.
Erstellt am 12/02/25 um 17:40:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Do you have any video of that? I'd care to find out some additional information.
https://exclusiveglobalserv...
https://exclusiveglobalserv...
Erstellt am 12/02/25 um 17:59:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Hmm is anyone else having problems with the pictures on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog. Any feedback would be greatly appreciated.
https://92.travelandtours.p...
https://92.travelandtours.p...
Erstellt am 12/02/25 um 18:07:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π°ΡΡΠΎΠΏΠΎΡΡ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ β ΠΠ° ΠΠΎ ΠΠ°Π½ΡΠ΅ Π΅ΡΡΡ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ
ΠΌΠ΅ΡΡ: Mu Ko Lanta National Park Π½Π° ΡΠ³Π΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠ»ΡΠΆΠΈ, ΡΡΠΎΠΏΠΈΠ½ΠΊΠΈ ΠΈ ΠΌΠΎΡΡΠΎΠ²ΡΡ Π΄ΠΎΡΠΎΠΆΠΊΡ ΠΊ ΠΌΠ°ΡΠΊΡ; Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Ρ Π΅Π³ΠΎ Π°ΡΠΌΠΎΡΡΠ΅ΡΠΎΠΉ ΡΡΠ±Π°ΠΊΠΎΠ² ΠΈ ΡΡΠ½ΠΊΠΎΠ² β Ρ
ΠΎΡΠΎΡΠΈΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ Π΄Π»Ρ Π΄Π½Π΅Π²Π½ΠΎΠΉ ΠΏΡΠΎΠ³ΡΠ»ΠΊΠΈ ΠΈ ΡΠΆΠΈΠ½Π° Π½Π° ΡΠ²Π΅ΠΆΠ΅ΠΌ Π²ΠΎΠ·Π΄ΡΡ
Π΅; Π΄ΠΎΠ»Π³ΠΈΠ΅ ΠΏΠ»ΡΠΆΠΈ Long Beach, Kantiang ΠΈ Klong Nin, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ½ΡΡΡ Π²ΠΈΠ»Π»Ρ ΠΈ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ Π·Π°ΠΊΠ°ΡΠ°ΠΌΠΈ; ΡΠΎΡΠΊΠΈ ΠΎΠ±Π·ΠΎΡΠ° Π½Π° Ρ
ΠΎΠ»ΠΌΠ°Ρ
Π΄Π»Ρ ΠΏΠ°Π½ΠΎΡΠ°ΠΌΠ½ΡΡ
ΡΠΎΡΠΎΠ³ΡΠ°ΡΠΈΠΉ; ΠΈ ΠΌΠΎΡΠΎΠΏΠΎΠ½Π΄ΠΎΡΠ½Π°Ρ ΡΠ°Π·Π²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎ-ΠΏΡΠ°Π·Π΄Π½ΠΈΡΠ½Π°Ρ Π°ΡΠΌΠΎΡΡΠ΅ΡΠ° Π² ΠΏΡΠΎΡΡΠΆΡΠ½Π½ΡΡ
Π±ΡΡ
ΡΠ°Ρ
. ΠΠ°ΡΠΈΠ°Π½ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΠ΅ΠΉ Π²ΠΊΠ»ΡΡΠ°ΡΡ ΡΠ½ΠΎΡΠΊΠ»ΠΈΠ½Π³, ΠΊΠ°ΡΠΊΠΈΠ½Π³, Π»ΠΎΠ΄ΠΎΡΠ½ΡΠ΅ ΡΡΡΡ ΠΊ Π±Π»ΠΈΠ·Π»Π΅ΠΆΠ°ΡΠΈΠΌ ΠΎΡΡΡΠΎΠ²Π°ΠΌ ΠΈ ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΡΡΠ½ΡΡ
ΡΡΠ½ΠΊΠΎΠ².
Erstellt am 12/02/25 um 19:17:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅ β ΡΡΠΎΠ±Ρ Π½Π°ΠΉΡΠΈ ΠΎΡΡΡΠΎΠ² Π½Π° ΠΊΠ°ΡΡΠ΅, ΠΈΡΠΈΡΠ΅ Π·Π°ΠΏΠ°Π΄Π½ΠΎΠ΅ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Π’Π°ΠΈΠ»Π°Π½Π΄Π° Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, Π²Π±Π»ΠΈΠ·ΠΈ Krabi ΠΈ Phuket. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΡΠΎΡΠΊΠΈ Π½Π° Ko Lanta Yai: Ban Saladan (ΠΏΠΈΡΡ Π² ΡΠ΅Π²Π΅ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ), Long Beach Π½Π° Π·Π°ΠΏΠ°Π΄Π΅, Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅, ΠΈ ΡΠΆΠ½ΡΠ΅ Π±ΡΡ
ΡΡ Ba Kan Tiang ΠΈ Kantiang Bay. ΠΠ°ΡΡΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΡΠ²ΡΠ·Ρ Ρ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΌΠΈ ΠΎΡΡΡΠΎΠ²Π°ΠΌΠΈ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠΌ, Π° ΡΠ°ΠΊΠΆΠ΅ Π²ΡΠ±ΡΠ°ΡΡ ΡΠ΄ΠΎΠ±Π½ΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ Π½Π° ΠΏΠ°ΡΠΎΠΌ ΠΈ ΠΏΠΎ ΠΎΡΡΡΠΎΠ²Ρ. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ ΡΠΊΠ°ΡΠ°ΡΡ ΠΎΡΠ»Π°ΠΉΠ½-ΠΊΠ°ΡΡΡ Π΄Π»Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ Π²ΠΎ Π²ΡΠ΅ΠΌΡ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ.
Erstellt am 12/03/25 um 08:02:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΊΠΎ Π»Π°Π½ΡΡ β Π‘Π°ΠΌΡΠΉ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½ΡΠ½Π½ΡΠΉ ΠΏΡΡΡ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΠΏΡΠΈΠ±ΡΡΠΈΡ Π² Π°ΡΡΠΎΠΏΠΎΡΡ ΠΡΠ°Π±ΠΈ ΠΈΠ»ΠΈ ΠΡ
ΡΠΊΠ΅ΡΠ°, Π·Π°ΡΠ΅ΠΌ ΠΏΠΎΠ΅Π·Π΄ΠΊΠ° Π½Π° Π°Π²ΡΠΎΠ±ΡΡΠ΅ ΠΈΠ»ΠΈ ΡΠ°ΠΊΡΠΈ Π΄ΠΎ ΠΏΠΈΡΡΠ° ΠΈ ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Ko Lanta. ΠΠ· Krabi Town ΠΈΠ»ΠΈ Ao Nang ΠΊΡΡΡΠΈΡΡΡΡ ΠΏΠ°ΡΠΎΠΌΡ ΠΈ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Ρ Π½Π° Ko Lanta Yai; Π΄ΠΎΡΠΎΠ³Π° Ρ ΠΏΠΈΡΡΠ° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ 2β3 ΡΠ°ΡΠ° Ρ ΡΡΡΡΠΎΠΌ ΠΏΠ°ΡΠΎΠΌΠ½ΠΎΠΉ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Ρ. ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ ΠΏΡΡΠΌΠΎΠΉ ΠΌΠ°ΡΡΡΡΡ Β«Π°Π²ΡΠΎΠ±ΡΡ/ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡ + ΠΏΠ°ΡΠΎΠΌΒ» ΡΠ΅ΡΠ΅Π· ΠΌΠ°ΡΠ΅ΡΠΈΠΊ, ΠΎΠ±ΡΡΠ½ΠΎ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΡΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ 4β6 ΡΠ°ΡΠΎΠ². Π Π½Π΅ΠΊΠΎΡΠΎΡΡΡ
ΡΡΡΠ°Ρ
ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Β«ΡΠ°ΡΡΠ½ΡΠΉ ΡΡΠ°Π½ΡΡΠ΅Ρ + ΠΏΠ°ΡΠΎΠΌΒ» Π΄Π»Ρ Π±ΠΎΠ»Π΅Π΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΈ Π±ΡΡΡΡΠΎΠ³ΠΎ ΠΌΠ°ΡΡΡΡΡΠ°. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½ΠΎ Π·Π°ΡΠ°Π½Π΅Π΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΠΌΠ°ΡΡΡΡΡ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π² Π²ΡΡΠΎΠΊΠΈΠΉ ΡΠ΅Π·ΠΎΠ½, ΠΈ ΡΡΠΈΡΡΠ²Π°ΡΡ ΡΠ°ΡΡ ΡΠ°Π±ΠΎΡΡ ΠΏΠ°ΡΠΎΠΌΠΎΠ² ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ.
Erstellt am 12/03/25 um 08:52:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ</a> ΠΠ°ΠΊΠ°ΡΡ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ β ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½Π°Ρ ΠΏΠ΅ΡΠ½Ρ Π½Π΅Π±Π°. ΠΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΌΠ³Π½ΠΎΠ²Π΅Π½ΠΈΡ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΡΡ Π½Π° ΠΎΡΠΊΡΡΡΠΎΠΉ ΡΠ°ΡΡΠΈ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ, Π³Π΄Π΅ ΡΠΎΠ»Π½ΡΠ΅ ΠΈΡΡΠ΅Π·Π°Π΅Ρ Π·Π° Π³ΠΎΡΠΈΠ·ΠΎΠ½ΡΠΎΠΌ ΠΈ Π½Π΅Π±ΠΎ ΠΎΠΊΡΠ°ΡΠΈΠ²Π°Π΅ΡΡΡ Π² ΠΎΡΡΠ΅Π½ΠΊΠΈ Π°ΠΏΠ΅Π»ΡΡΠΈΠ½ΠΎΠ²ΠΎΠ³ΠΎ, ΡΠΎΠ·ΠΎΠ²ΠΎΠ³ΠΎ ΠΈ ΡΠΈΠΎΠ»Π΅ΡΠΎΠ²ΠΎΠ³ΠΎ. ΠΡΡΡΠ΅ Π²ΡΠ΅Π³ΠΎ Π½Π°Π±Π»ΡΠ΄Π°ΡΡ Π·Π° Π·Π°ΠΊΠ°ΡΠΎΠΌ Ρ ΠΊΡΠ°Ρ ΠΏΠ»ΡΠΆΠ°, ΡΠΈΠ΄Ρ Π½Π° ΠΏΠ΅ΡΠΊΠ΅ Ρ Π½Π°ΠΏΠΈΡΠΊΠΎΠΌ Π² ΡΡΠΊΠ°Ρ
ΠΈ Π²ΠΈΠ΄ΠΈΠΌΠΎΠΌ Π½Π° Π±Π΅ΡΠΊΡΠ°ΠΉΠ½ΡΡ Π³Π»Π°Π΄Ρ ΠΌΠΎΡΡ. Π’ΠΈΡΠΈΠ½Π°, Π»ΡΠ³ΠΊΠΈΠΉ Π±ΡΠΈΠ· ΠΈ Π±Π»Π΅ΡΠΊ Π²ΠΎΠ΄Ρ ΡΠΎΠ·Π΄Π°ΡΡ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΡ ΠΈ Π·Π°Π²Π΅ΡΡΠ΅Π½Π½ΠΎΡΡΠΈ Π΄Π½Ρ. ΠΠ»Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΠΊΠΎΠ² ΠΈ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΈΡΠ΅Ρ ΡΠΎΡΠΎΠ³Π΅Π½ΠΈΡΠ½ΡΠ΅ ΡΡΠΆΠ΅ΡΡ, Π·Π°ΠΊΠ°ΡΡ ΠΠΎ ΠΠ°Π½ΡΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠΌΠΈ Π²ΠΎΡΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡΠΌΠΈ
Erstellt am 12/03/25 um 09:39:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
you're really a just right webmaster. The website loading pace is amazing. It sort of feels that you're doing any unique trick. Also, The contents are masterwork. you have performed a magnificent task in this subject!
https://asmint.in/kak-vhodi...
https://asmint.in/kak-vhodi...
Erstellt am 12/03/25 um 10:29:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelshive schrieb:
This is my first time pay a quick visit at here and i am truly happy to read everthing at alone place.
https://multiklus.nl/melbet...
https://multiklus.nl/melbet...
Erstellt am 12/03/25 um 10:37:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ</a> ΠΠ°ΠΉΠ²ΠΈΠ½Π³-ΡΠ΅Π½ΡΡΡ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΠΊΡΡΡΡ ΠΈ ΠΏΠΎΠ³ΡΡΠΆΠ΅Π½ΠΈΡ Π½Π° Π»ΡΠ±ΠΎΠΉ ΡΡΠΎΠ²Π΅Π½Ρ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠΈ. ΠΠ½ΡΡΡΡΠΊΡΠΎΡΡ Π³ΠΎΠ²ΠΎΡΡΡ Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ, ΡΠ°ΡΡΠΎ ΠΏΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ Π»ΡΡΡΠΈΠ΅ ΡΠΎΡΠΊΠΈ Ρ ΡΠΈΡΠΎΠ² ΠΈ ΠΌΠ°Π½Π³ΡΠΎΠ². ΠΠΎΠΆΠ½ΠΎ Π°ΡΠ΅Π½Π΄ΠΎΠ²Π°ΡΡ ΡΠ½Π°ΡΡΠΆΠ΅Π½ΠΈΠ΅ ΠΈ Π²Π·ΡΡΡ Π΄Π½Π΅Π²Π½ΡΡ ΡΠΊΡΠΏΠ΅Π΄ΠΈΡΠΈΡ ΠΏΠΎ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΌ ΠΌΠ΅ΡΡΠ°ΠΌ. ΠΡΠΌΠΎΡΡΠ΅ΡΠ° Π΄ΡΡΠΆΠ΅Π»ΡΠ±Π½Π°Ρ ΠΈ Ρ
ΠΎΡΠΎΡΠΎ ΠΎΡΠ³Π°Π½ΠΈΠ·ΠΎΠ²Π°Π½Π°: ΠΌΠ½ΠΎΠ³ΠΈΠ΅ ΡΠ΅Π½ΡΡΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΡΠ°Π½Π·ΠΈΡ ΠΎΡ ΠΎΡΠ΅Π»Π΅ΠΉ, ΡΠΎΡΠΎ- ΠΈ Π²ΠΈΠ΄Π΅ΠΎΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΏΠΎΡΠ»Π΅ ΠΏΠΎΠ³ΡΡΠΆΠ΅Π½ΠΈΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ Π²ΡΠ±ΠΎΡΡ ΠΌΠ°ΡΡΡΡΡΠΎΠ² ΠΏΠΎΠ΄ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ. ΠΠ°ΠΉΠ²ΠΈΠ½Π³ Π²ΠΎΠΊΡΡΠ³ ΠΠΎ ΠΠ°Π½ΡΡ β ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠ°Π½ΡΡ, Π±Π°ΡΡΠ°ΠΊΡΠ΄ ΠΈ Π±ΠΎΠ³Π°ΡΡΡΠ²ΠΎ ΠΏΠΎΠ΄Π²ΠΎΠ΄Π½ΠΎΠ³ΠΎ ΠΌΠΈΡΠ° Π² ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π°ΡΠΌΠΎΡΡΠ΅ΡΠ΅ ΠΎΡΡΡΠΎΠ²Π°
Erstellt am 12/03/25 um 11:12:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅ ΠΊ ΡΠ³Ρ ΠΎΡ ΠΡΠ°Π±ΠΈ ΠΈ ΠΊ Π²ΠΎΡΡΠΎΠΊΡ ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΠΎΠΉ ΡΠ°ΡΡΠΈ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΡ
ΡΠΊΠ΅ΡΠ°. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ Π½Π°ΡΠ΅Π»ΡΠ½Π½ΡΠ΅ ΠΏΡΠ½ΠΊΡΡ: Saladan Π½Π° ΡΠ΅Π²Π΅ΡΠΎ-Π·Π°ΠΏΠ°Π΄Π΅ ΠΈ Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅. ΠΡΡΡΠΎΠ² ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ ΠΌΠΎΡΡΠ°ΠΌΠΈ ΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ, ΠΏΠΎ ΠΊΠΎΡΠΎΡΡΠΌ Π»Π΅Π³ΠΊΠΎ Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ Π½Π° Π±Π°ΠΉΠΊΠ΅ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ ΠΊ Π±ΡΡ
ΡΠ°ΠΌ ΠΈ ΠΏΠ»ΡΡ
Π°ΠΌ. ΠΠ°ΠΆΠ½Π°Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½Π°Ρ ΡΠ°Π·Π²ΡΠ·ΠΊΠ° β ΠΏΠΈΡΡ Ban Saladan, ΠΎΡΠΊΡΠ΄Π° ΡΡΠ°ΡΡΡΡΡ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ ΠΏΠ°ΡΠΎΠΌΡ. ΠΠ΅ΠΎΠ³ΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΡΡΡΠΎΠ² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ Π²ΡΡΡΠ½ΡΡΡΠΉ ΡΡΠ°ΡΡΠΎΠΊ Ρ ΡΠ΅ΠΌΠ½ΠΎΠΉ Π·Π΅Π»Π΅Π½ΡΡ Ρ
ΠΎΠ»ΠΌΠΎΠ² ΠΈ Π»ΠΎΠΌΠ°Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ, ΡΡΠΎ ΡΠΎΠ·Π΄Π°ΡΡ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΠ΅ ΡΠ°Π·Π΄ΠΎΠ»ΡΠ½ΠΎΠΉ ΠΏΡΠΈΡΠΎΠ΄Ρ ΠΈ ΡΠ΄Π°Π»ΡΠ½Π½ΠΎΡΡΠΈ ΠΎΡ ΠΊΡΡΠΏΠ½ΡΡ
ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΠ΅Π½ΡΡΠΎΠ².
Erstellt am 12/03/25 um 11:59:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΊΠ»ΠΈΠΌΠ°Ρ Π·Π΄Π΅ΡΡ ΡΠΏΡΠ°Π²Π»ΡΠ΅ΡΡΡ ΠΌΡΡΡΠΎΠ½Π½ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΠΎΠΉ ΠΠ½Π΄ΠΈΠΈ: ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ Ρ Π½ΠΎΡΠ±ΡΡ ΠΏΠΎ Π°ΠΏΡΠ΅Π»Ρ β ΡΠ°ΠΌΠΎΠ΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ΅ ΠΎΠΊΠ½ΠΎ Π΄Π»Ρ ΠΊΡΠΏΠ°Π½ΠΈΡ ΠΈ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ; Π²Π»Π°ΠΆΠ½ΡΠΉ ΡΠ΅Π·ΠΎΠ½ Ρ ΠΌΠ°Ρ ΠΏΠΎ ΠΎΠΊΡΡΠ±ΡΡ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ ΡΠ°ΡΡΡΠ΅ ΠΊΡΠ°ΡΠΊΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ Π΄ΠΎΠΆΠ΄ΠΈ, Π½ΠΎ Π²ΠΎΠ΄Π° ΠΎΡΡΠ°ΡΡΡΡ ΡΡΠΏΠ»ΠΎΠΉ. Π’Π΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡΡ ΠΎΠ±ΡΡΠ½ΠΎ Π΄Π΅ΡΠΆΠ°ΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ 24 ΠΈ 32 Π³ΡΠ°Π΄ΡΡΠ°ΠΌΠΈ Π¦Π΅Π»ΡΡΠΈΡ ΠΊΡΡΠ³Π»ΡΠΉ Π³ΠΎΠ΄, Π° Π²Π΅ΡΠ΅Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΌΠ΅Π½ΡΡΡ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΡΠΈΠ»Ρ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π²ΠΎ Π²ΡΠ΅ΠΌΡ ΡΠ΅Π²Π΅ΡΠΎ-Π²ΠΎΡΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ½ΡΡΠ½Π°. ΠΡΡΡΠ΅Π΅ Π²ΡΠ΅ΠΌΡ Π΄Π»Ρ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° ΠΈ ΠΏΠ»ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° β ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½, ΠΊΠΎΠ³Π΄Π° ΠΌΠΎΡΠ΅ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠ΅ ΠΈ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΠ΅, Π° Π½ΠΎΡΠΈ ΠΏΡΠΎΡ
Π»Π°Π΄Π½Π΅Π΅. Π Π½Π΅ΠΏΠΎΠ³ΠΎΠΆΠΈΠ΅ ΠΌΠ΅ΡΡΡΡ ΡΡΠΎΠΈΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ Ρ ΡΡΡΡΠΎΠΌ ΠΏΡΠΎΠ³Π½ΠΎΠ·Π° Π²Π΅ΡΡΠ° ΠΈ ΠΏΡΠΈΠ»ΠΈΠ²ΠΎΠ².
Erstellt am 12/03/25 um 12:35:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ</a> Snorkeling Ρ ΠΠΎ Π ΠΎΠΊΠ° ΠΈ ΠΠΎ Π₯Π° β ΠΎΠ΄Π½ΠΎ ΠΈΠ· ΡΠ°ΠΌΡΡ
ΡΡΠΊΠΈΡ
Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΠΉ. ΠΠΎΠ΄Ρ Π²ΠΎΠΊΡΡΠ³ ΠΎΡΡΡΠΎΠ²ΠΎΠ² ΠΏΡΠΎΠ·ΡΠ°ΡΠ½Ρ, Π° ΡΠΈΡΡ ΠΏΠΎΠ»Π½Ρ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΡΠ± ΠΈ ΡΠ²Π΅ΡΠ½ΡΡ
ΠΊΠΎΡΠ°Π»Π»ΠΎΠ². Π’ΡΡ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ ΡΠ°Π½ΠΎ ΡΡΡΠΎΠΌ: Π»ΠΎΠ΄ΠΊΠ° Ρ ΠΏΠΈΡΡΠ°, Π·Π°Π²ΡΡΠ°ΠΊ Π² ΠΏΠ°ΠΊΠ΅ΡΠ°Ρ
ΠΈ ΠΏΠ»Π°Π²Π°Π½ΠΈΠ΅ Π²Π΄ΠΎΠ»Ρ ΠΊΡΠ°ΡΠΎΡΠ½ΡΡ
ΡΡΠ°ΡΡΠΊΠΎΠ² ΠΏΠΎΠ΄ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΡΡΠ²ΠΎΠΌ ΠΈΠ½ΡΡΡΡΠΊΡΠΎΡΠ°. ΠΠ΅ΡΠ½ΡΡΡΡΡ Π½Π° Π±Π΅ΡΠ΅Π³ ΠΌΠΎΠΆΠ½ΠΎ, Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡ ΠΏΡΠΎΡ
Π»Π°Π΄ΠΎΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΠ»Π°Π²Π°Π½ΠΈΡ ΠΈ Π²ΠΈΠ΄ΠΎΠΌ Π½Π° Π³ΠΎΡΠΈΠ·ΠΎΠ½Ρ. ΠΠ΅ΡΠ΅Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠ΄ΠΏΠΎΡΡΠΈΡΡ ΠΏΠ»Π°Π½Ρ, ΠΏΠΎΡΡΠΎΠΌΡ Π»ΡΡΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π΄Π΅Π½Ρ Π² ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ, ΡΡΠΎΠ±Ρ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠ°Π½ΡΡ ΠΈ Π±Π°ΡΡΠ°ΠΊΡΠ΄. ΠΠ΅ Π·Π°Π±ΡΠ²Π°ΠΉΡΠ΅ ΠΎΠ± ΠΎΡ
ΡΠ°Π½Π΅ ΠΏΡΠΈΡΠΎΠ΄Ρ: Π½Π΅ ΡΡΠΎΠ³Π°ΠΉΡΠ΅ ΠΊΠΎΡΠ°Π»Π»Ρ ΠΈ Π½Π΅ ΠΎΡΡΠ°Π²Π»ΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ Π½Π° Π²ΠΎΠ΄Π΅.
Erstellt am 12/03/25 um 13:32:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ</a> ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΏΡΡΠΌΡΡ
ΠΌΠ°ΡΡΡΡΡΠΎΠ² ΠΎΠ±ΡΡΠ½ΠΎ Π½Π΅Ρ, ΡΠ°ΡΠ΅ ΠΏΡΡΡ ΠΈΠ΄ΡΡ ΡΠ΅ΡΠ΅Π· Krabi ΠΈΠ»ΠΈ Trang. ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π½Π° Π°Π²ΡΠΎΠ±ΡΡΠ΅ ΠΈΠ»ΠΈ ΡΠ°ΠΌΠΎΠ»ΡΡΠΎΠΌ Π² Krabi ΠΈΠ»ΠΈ Trang, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΡΠ΅ΡΡΡ Π½Π° ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Saladan Π½Π° Ko Lanta Yai. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΡΡΠΌΠΎΠΉ ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΉ ΠΊΠ°ΡΠ΅Ρ Π² ΡΠ΅Π·ΠΎΠ½, Π½ΠΎ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΎ ΠΈ ΡΠ΅Π½Π° Π²ΡΡΠ΅. ΠΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 4β5 ΡΠ°ΡΠΎΠ² Ρ ΡΡΡΡΠΎΠΌ ΠΏΠ΅ΡΠ΅ΡΠ°Π΄ΠΎΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ. ΠΠ»Ρ Π±ΠΎΠ»ΡΡΠ΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ ΠΌΠ°ΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· Krabi: ΠΏΠ΅ΡΠ΅Π»ΡΡ/Π°Π²ΡΠΎΠ±ΡΡ Π΄ΠΎ Π°ΡΡΠΎΠΏΠΎΡΡΠ° Krabi, Π·Π°ΡΠ΅ΠΌ ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Ko Lanta.
Erstellt am 12/03/25 um 14:04:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ</a> ΠΠ°ΠΊΠ°ΡΡ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ β ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½Π°Ρ ΠΏΠ΅ΡΠ½Ρ Π½Π΅Π±Π°. ΠΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΌΠ³Π½ΠΎΠ²Π΅Π½ΠΈΡ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΡΡ Π½Π° ΠΎΡΠΊΡΡΡΠΎΠΉ ΡΠ°ΡΡΠΈ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ, Π³Π΄Π΅ ΡΠΎΠ»Π½ΡΠ΅ ΠΈΡΡΠ΅Π·Π°Π΅Ρ Π·Π° Π³ΠΎΡΠΈΠ·ΠΎΠ½ΡΠΎΠΌ ΠΈ Π½Π΅Π±ΠΎ ΠΎΠΊΡΠ°ΡΠΈΠ²Π°Π΅ΡΡΡ Π² ΠΎΡΡΠ΅Π½ΠΊΠΈ Π°ΠΏΠ΅Π»ΡΡΠΈΠ½ΠΎΠ²ΠΎΠ³ΠΎ, ΡΠΎΠ·ΠΎΠ²ΠΎΠ³ΠΎ ΠΈ ΡΠΈΠΎΠ»Π΅ΡΠΎΠ²ΠΎΠ³ΠΎ. ΠΡΡΡΠ΅ Π²ΡΠ΅Π³ΠΎ Π½Π°Π±Π»ΡΠ΄Π°ΡΡ Π·Π° Π·Π°ΠΊΠ°ΡΠΎΠΌ Ρ ΠΊΡΠ°Ρ ΠΏΠ»ΡΠΆΠ°, ΡΠΈΠ΄Ρ Π½Π° ΠΏΠ΅ΡΠΊΠ΅ Ρ Π½Π°ΠΏΠΈΡΠΊΠΎΠΌ Π² ΡΡΠΊΠ°Ρ
ΠΈ Π²ΠΈΠ΄ΠΈΠΌΠΎΠΌ Π½Π° Π±Π΅ΡΠΊΡΠ°ΠΉΠ½ΡΡ Π³Π»Π°Π΄Ρ ΠΌΠΎΡΡ. Π’ΠΈΡΠΈΠ½Π°, Π»ΡΠ³ΠΊΠΈΠΉ Π±ΡΠΈΠ· ΠΈ Π±Π»Π΅ΡΠΊ Π²ΠΎΠ΄Ρ ΡΠΎΠ·Π΄Π°ΡΡ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΡ ΠΈ Π·Π°Π²Π΅ΡΡΠ΅Π½Π½ΠΎΡΡΠΈ Π΄Π½Ρ. ΠΠ»Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΠΊΠΎΠ² ΠΈ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΈΡΠ΅Ρ ΡΠΎΡΠΎΠ³Π΅Π½ΠΈΡΠ½ΡΠ΅ ΡΡΠΆΠ΅ΡΡ, Π·Π°ΠΊΠ°ΡΡ ΠΠΎ ΠΠ°Π½ΡΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠΌΠΈ Π²ΠΎΡΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡΠΌΠΈ
Erstellt am 12/03/25 um 14:36:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅ β Π½Π° ΠΊΠ°ΡΡΠ΅ ΠΠΎ ΠΠ°Π½ΡΠ° ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΡΠ½ Π΄ΡΠ³ΠΎΠΉ ΠΎΡΡΡΠΎΠ²ΠΎΠ²: Ko Lanta Yai β Π³Π»Π°Π²Π½ΡΠΉ ΠΎΡΡΡΠΎΠ², Π·Π°ΠΏΠ°Π΄Π½ΠΎΠ΅ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Ρ ΠΏΡΠΎΡΡΠΆΡΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ ΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ, ΡΠ΅Π²Π΅ΡΠ½Π°Ρ ΡΠ°ΡΡΡ Π²ΠΎΠΊΡΡΠ³ Saladan β ΠΏΠΎΡΡ ΠΈ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΠΉ ΡΠ·Π΅Π»; Ko Lanta Noi β ΠΌΠ΅Π½ΡΡΠΈΠΉ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΉ ΠΎΡΡΡΠΎΠ², ΡΠ²ΡΠ·Π°Π½Π½ΡΠΉ ΠΌΠΎΡΡΠΎΠΌ. ΠΠ°ΠΆΠ½ΡΠ΅ ΡΠΎΡΠΊΠΈ: Saladan Π½Π° ΡΠ΅Π²Π΅ΡΠ΅, Long Beach Π½Π° Π·Π°ΠΏΠ°Π΄Π΅, Ba Kan Tiang Π² ΡΠΆΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ, Π° ΠΌΠΎΡΡ ΠΌΠ΅ΠΆΠ΄Ρ ΠΎΡΡΡΠΎΠ²Π°ΠΌΠΈ ΠΎΠ±Π»Π΅Π³ΡΠ°Π΅Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π²Π½ΡΡΡΠΈ Π°ΡΡ
ΠΈΠΏΠ΅Π»Π°Π³Π°. ΠΠ° ΠΊΠ°ΡΡΠ΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΏΠΈΡΡΡ, ΠΏΠ°ΡΠΎΠΌΡ ΠΈ Π΄ΠΎΡΠΎΠ³ΠΈ ΠΌΠ΅ΡΡΠ½ΠΎΠ³ΠΎ Π·Π½Π°ΡΠ΅Π½ΠΈΡ; Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π½Π°ΠΉΡΠΈ ΠΌΠ°ΡΡΡΡΡΡ Π΄ΠΎ ΠΏΠ»ΡΠΆΠ΅ΠΉ ΠΈ ΠΎΡΠ΅Π»Π΅ΠΉ.
Erstellt am 12/03/25 um 15:28:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ β ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΈ ΡΠ°ΡΡΠΎ ΠΎΡΠΌΠ΅ΡΠ°ΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, ΡΠΈΡΡΡΠ΅ ΠΏΠ»ΡΠΆΠΈ ΠΈ Π΄ΠΎΠ±ΡΠΎΠΆΠ΅Π»Π°ΡΠ΅Π»ΡΠ½ΠΎΠ΅ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΆΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠΎΠ·ΠΈΡΠΈΠ²Π½ΡΠ΅ ΡΡΠΎΡΠΎΠ½Ρ Π²ΠΊΠ»ΡΡΠ°ΡΡ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΡ ΠΊΡΠ°ΡΠΎΡΡ, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΠ΅Π΄ΠΈΠ½ΠΈΡΡΡΡ ΠΈ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ Π·Π°ΠΊΠ°ΡΠ°ΠΌΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ Ρ
ΠΎΡΠΎΡΠΈΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π°. ΠΠΈΠ½ΡΡΡ β ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½Π°Ρ Π½ΠΎΡΠ½Π°Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ ΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΡ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠ³Π°ΡΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ Π½Π° ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ΅, ΡΡΠΎ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΡΡΠ΅Π±ΠΎΠ²Π°ΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ. ΠΠ»Ρ ΠΌΠ½ΠΎΠ³ΠΈΡ
Π³ΠΎΡΡΠ΅ΠΉ ΠΠΎ ΠΠ°Π½ΡΠ° ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ ΠΌΠ΅ΡΡΠΎΠΌ Π΄Π»Ρ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° Π½Π° ΠΎΡΡΡΠΎΠ²Π΅ ΠΈ ΠΈΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ Π±Π»ΠΈΠ·Π»Π΅ΠΆΠ°ΡΠΈΡ
ΠΎΡΡΡΠΎΠ²ΠΊΠΎΠ², ΡΡΠ½ΠΊΠΎΠ² Π‘ΡΠ°ΡΠΎΠ³ΠΎ Π³ΠΎΡΠΎΠ΄Π° ΠΈ ΡΡΡΠ½ΡΡ
ΠΊΠ°ΡΠ΅ Ρ ΠΌΠΎΡΡ.
Erstellt am 12/03/25 um 16:00:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΠ»ΡΠΆΠΈ ΠΠΎ ΠΠ°Π½ΡΡ β Π² ΡΠ°Π·Π½ΡΡ
ΡΡΠ°ΡΡΠΊΠ°Ρ
ΠΎΡΡΡΠΎΠ²Π° ΠΌΠΎΠΆΠ½ΠΎ ΡΠΎΡΠ΅ΡΠ°ΡΡ ΠΏΠ»ΡΠΆΠ½ΡΠΉ ΡΠ΅Π»Π°ΠΊΡ Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΡΠΌΠΈ: ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π²Π΅ΡΠ΅ΡΠ° Ρ Ba Kan Tiang ΠΈ Kantiang Bay, Π°ΠΊΡΠΈΠ²Π½ΡΠΉ ΠΎΡΠ΄ΡΡ
ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π΄Π½ΠΈ Π½Π° Long Beach ΠΈ Klong Dao, ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³ ΠΈ Π»ΠΎΠ΄ΠΎΡΠ½ΡΠ΅ ΡΠΊΡΠΊΡΡΡΠΈΠΈ Ρ ΡΠΆΠ½ΡΡ
Π±Π΅ΡΠ΅Π³ΠΎΠ² ΠΊ ΠΊΠΎΡΠ°Π»Π»ΠΎΠ²ΡΠΌ ΡΠΈΡΠ°ΠΌ. Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ ΠΈ Π²ΠΎΡΡΠΎΡΠ½ΠΎΠ΅ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΠ»ΡΠΆΠΈ, Π½ΠΎ ΠΈ ΠΊΡΠ»ΡΡΡΡΠ½ΡΠΉ ΠΎΠΏΡΡ: ΡΡΠ½ΠΊΠΈ, ΠΊΠ°ΡΠ΅ Π½Π° Π½Π°Π±Π΅ΡΠ΅ΠΆΠ½ΠΎΠΉ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΡ
Π½Π΅ΠΉ. ΠΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠ° ΡΠΌΠ΅ΡΠ΅Π½Π½Π°Ρ, ΠΏΠΎΡΡΠΎΠΌΡ ΡΡΠΎΠΈΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΠΈ Π°ΡΠ΅Π½Π΄Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ° Π·Π°ΡΠ°Π½Π΅Π΅ β ΡΡΠΎ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡ Π²ΡΠ΅ΠΌΡ ΠΈ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π±ΠΎΠ»ΡΡΡΡ Π³ΠΈΠ±ΠΊΠΎΡΡΡ. ΠΠ΅ Π·Π°Π±ΡΠ²Π°ΠΉΡΠ΅ ΡΠ΅Π·ΠΎΠ½Π½ΠΎΡΡΡ: Π·ΠΈΠΌΠ° ΡΠ°ΡΡΠΎ Π±Π»Π°Π³ΠΎΠΏΡΠΈΡΡΠ½Π° Π΄Π»Ρ ΠΏΠ»Π°Π²Π°Π½ΠΈΡ ΠΈ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ ΠΏΠΎΠ³ΠΎΠ΄Ρ, Π»Π΅ΡΠΎ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ ΡΡΠΏΠ»ΡΡ Π²ΠΎΠ΄Ρ, Π½ΠΎ ΠΈ ΡΠΈΡΠΊ Π΄ΠΎΠΆΠ΄Π΅ΠΉ.
Erstellt am 12/03/25 um 16:32:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ°ΡΠΎΠΌ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅ ΠΊ ΡΠ³Ρ ΠΎΡ ΠΡΠ°Π±ΠΈ ΠΈ ΠΊ Π²ΠΎΡΡΠΎΠΊΡ ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΠΎΠΉ ΡΠ°ΡΡΠΈ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΡ
ΡΠΊΠ΅ΡΠ°. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ Π½Π°ΡΠ΅Π»ΡΠ½Π½ΡΠ΅ ΠΏΡΠ½ΠΊΡΡ: Saladan Π½Π° ΡΠ΅Π²Π΅ΡΠΎ-Π·Π°ΠΏΠ°Π΄Π΅ ΠΈ Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅. ΠΡΡΡΠΎΠ² ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ ΠΌΠΎΡΡΠ°ΠΌΠΈ ΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ, ΠΏΠΎ ΠΊΠΎΡΠΎΡΡΠΌ Π»Π΅Π³ΠΊΠΎ Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ Π½Π° Π±Π°ΠΉΠΊΠ΅ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ ΠΊ Π±ΡΡ
ΡΠ°ΠΌ ΠΈ ΠΏΠ»ΡΡ
Π°ΠΌ. ΠΠ°ΠΆΠ½Π°Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½Π°Ρ ΡΠ°Π·Π²ΡΠ·ΠΊΠ° β ΠΏΠΈΡΡ Ban Saladan, ΠΎΡΠΊΡΠ΄Π° ΡΡΠ°ΡΡΡΡΡ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ ΠΏΠ°ΡΠΎΠΌΡ. ΠΠ΅ΠΎΠ³ΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΡΡΡΠΎΠ² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ Π²ΡΡΡΠ½ΡΡΡΠΉ ΡΡΠ°ΡΡΠΎΠΊ Ρ ΡΠ΅ΠΌΠ½ΠΎΠΉ Π·Π΅Π»Π΅Π½ΡΡ Ρ
ΠΎΠ»ΠΌΠΎΠ² ΠΈ Π»ΠΎΠΌΠ°Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ, ΡΡΠΎ ΡΠΎΠ·Π΄Π°ΡΡ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΠ΅ ΡΠ°Π·Π΄ΠΎΠ»ΡΠ½ΠΎΠΉ ΠΏΡΠΈΡΠΎΠ΄Ρ ΠΈ ΡΠ΄Π°Π»ΡΠ½Π½ΠΎΡΡΠΈ ΠΎΡ ΠΊΡΡΠΏΠ½ΡΡ
ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΠ΅Π½ΡΡΠΎΠ².
Erstellt am 12/03/25 um 17:25:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΡΡΡΠΎΠ² ΠΠΎ ΠΠ°Π½ΡΠ° Π² Π’Π°ΠΈΠ»Π°Π½Π΄Π΅ β ΡΡΠΎ Π½Π°ΡΡΠΎΡΡΠΈΠΉ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, Π³Π΄Π΅ Π²ΡΠ΅ΠΌΡ ΠΈΠ΄ΡΡ ΠΌΠ΅Π΄Π»Π΅Π½Π½Π΅Π΅, ΡΠ΅ΠΌ Π½Π° ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠ΅. ΠΠ΄Π΅ΡΡ ΠΎΡΡΡΠ°Π΅ΡΡΡ ΠΎΡΠΎΠ±Π°Ρ ΠΎΡΡΡΠΎΠ²Π½Π°Ρ Π°ΡΠΌΠΎΡΡΠ΅ΡΠ°: Π²Π΅ΡΡΠ° ΠΏΡΠΈΠ½ΠΎΡΡΡ Π°ΡΠΎΠΌΠ°Ρ ΠΌΠΎΡΡ ΠΈ ΠΊΠΎΠΊΠΎΡΠΎΠ²ΡΡ
Π΄Π΅ΡΠ΅Π²ΡΠ΅Π², Π·Π°ΠΊΠ°ΡΡ ΠΎΠΊΡΠ°ΡΠΈΠ²Π°ΡΡ Π½Π΅Π±ΠΎ Π² ΠΎΡΡΠ΅Π½ΠΊΠΈ ΠΎΡΠ°Π½ΠΆΠ΅Π²ΠΎΠ³ΠΎ ΠΈ Π»ΠΈΠ»ΠΎΠ²ΠΎΠ³ΠΎ, Π° Π΄ΠΎΡΠΎΠ³ΠΈ ΠΌΠ΅ΠΆΠ΄Ρ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ ΡΠ»ΠΎΠ²Π½ΠΎ Π²Π΅Π΄ΡΡ Π² ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΠ΅ ΠΌΠΈΡΡ. ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠΎΡΡΠΎΠΈΡ ΠΈΠ· Π΄Π²ΡΡ
Π³Π»Π°Π²Π½ΡΡ
ΠΎΡΡΡΠΎΠ²ΠΎΠ² β ΠΠ°Π½ΡΠ°-ΠΠ°ΠΉ ΠΈ ΠΠ°Π½ΡΠ°-ΠΠ°ΠΉ, ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΡ
ΠΌΠΎΡΡΠΎΠΌ ΠΈ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌΠΈ, ΠΏΠΎΡΡΠΎΠΌΡ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ ΡΡΠ΄Π° ΠΌΠΎΠΆΠ½ΠΎ ΠΈ ΠΈΠ· ΠΡΠ±ΠΈ, ΠΈ ΠΈΠ· Trang. ΠΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠ° ΡΡΡΠ½Π°Ρ ΠΈ Π½Π΅ ΠΏΠ΅ΡΠ΅Π³ΡΡΠΆΠ΅Π½Π° ΡΡΡΠΈΡΡΠ°ΠΌΠΈ: ΠΌΠ΅ΡΡΠ½ΡΠ΅ ΠΊΠ°ΡΠ΅ ΠΏΠΎΠ΄Π°ΡΡ ΡΠ²Π΅ΠΆΠ°ΠΉΡΠΈΠ΅ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ, Π»Π°Π²ΠΊΠΈ Ρ ΡΡΠ²Π΅Π½ΠΈΡΠ°ΠΌΠΈ Π½Π΅ Π΄Π°Π²ΡΡ Π½Π° Π²ΡΠ±ΠΎΡ, Π° ΠΏΠ»ΡΠΆΠΈ ΠΌΠ°Π½ΡΡ ΡΠΈΡΡΠΎΠΉ Π²ΠΎΠ΄ΠΎΠΉ, ΠΏΠ΅ΡΠΊΠΎΠΌ ΠΈ Π²ΠΈΠ΄ΠΎΠΌ Π½Π° ΠΏΠ°Π»ΡΠΌΡ. Π’ΡΡΠΈΡΡΡ ΡΠ΅Π½ΡΡ Π·Π΄Π΅ΡΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΠ΅, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΏΡΠΈΡΠΎΠ΄ΠΎΠΉ ΠΈ ΠΏΠΎΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠΈΡΠΌ ΠΠ³ΠΎ-ΠΠΎΡΡΠΎΡΠ½ΠΎΠΉ ΠΠ·ΠΈΠΈ Π±Π΅Π· ΡΡΠ΅ΡΡ Π±ΠΎΠ»ΡΡΠΈΡ
ΠΊΡΡΠΎΡΡΠΎΠ². ΠΠΈΠ·ΠΈΡ Π½Π° ΠΠΎ ΠΠ°Π½ΡΡ β ΡΡΠΎ ΠΌΠ°Π»Π΅Π½ΡΠΊΠ°Ρ ΠΏΠ°ΡΠ·Π° Π² Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΡΡΠ΅ΡΠ΅ ΠΈ ΡΠ°Π½Ρ ΠΏΠ΅ΡΠ΅Π·Π°ΡΡΠ΄ΠΈΡΡΡΡ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ
Erstellt am 12/03/25 um 17:58:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ</a> ΠΠ°ΡΠΎΠΌ ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΎΠ΄ΠΈΠ½ ΠΈΠ· ΡΠ°ΠΌΡΡ
ΡΠ΄ΠΎΠ±Π½ΡΡ
ΡΠΏΠΎΡΠΎΠ±ΠΎΠ² Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΎΡΡΡΠΎΠ²Π° ΠΈ Π½Π°ΡΠ°ΡΡ Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²ΠΎ Ρ Π½ΠΈΠΌ. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ β ΠΈΠ· Krabi Town (Ban Saladan Π½Π° Ko Lanta Yai β ΠΎΡΠ½ΠΎΠ²Π½Π°Ρ Π³Π°Π²Π°Π½Ρ Π²ΡΡΠ°Π΄ΠΊΠΈ) ΠΈ Ao Nang; ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 2β3 ΡΠ°ΡΠ° Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΡΠΈΠΏΠ° ΡΡΠ΄Π½Π° ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. ΠΡΡΡ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΡΠ΅ ΠΏΠ°ΡΠΎΠΌΡ ΠΈ ΡΠΊΠΎΡΠΎΡΡΠ½ΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡ: Π±ΡΡΡΡΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ Π΄ΠΎΡΠΎΠΆΠ΅, Π½ΠΎ ΡΠΊΠΎΠ½ΠΎΠΌΡΡ Π²ΡΠ΅ΠΌΡ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ ΡΡΠ°Π·Ρ ΠΏΠΎΠΏΠ°ΡΡΡ Π½Π° Π½ΡΠΆΠ½ΡΠΉ ΠΏΠ»ΡΠΆ ΠΈΠ»ΠΈ ΠΏΡΠΈΡΠ°Π». Π ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ΅Ρ ΠΌΠ΅Π½ΡΡΡΡΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅ ΠΈ ΠΏΡΠΎΠ²Π΅ΡΡΡΡ ΡΡΠ°ΡΡΡ Π½Π°ΠΊΠ°Π½ΡΠ½Π΅ Π²ΡΠ΅Π·Π΄Π°. Π’Π°ΠΊΠΆΠ΅ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ ΡΠ°ΡΡΠ½ΡΠ΅ ΡΠ°ΡΡΠ΅ΡΡ ΠΈ ΡΡΠ°Π½ΡΡΠ΅ΡΡ ΠΈΠ· Π°ΡΡΠΎΠΏΠΎΡΡΠ° ΠΡΠ°Π±Π±ΠΈ (KBV) Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π΄ΠΎ ΠΏΠΈΡΡΠΎΠ² Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅.
Erstellt am 12/03/25 um 18:31:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ β ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΈ ΡΠ°ΡΡΠΎ ΠΏΠΈΡΡΡ ΠΎΠ± ΠΎΡΡΡΠΎΠ²Π΅ ΠΊΠ°ΠΊ ΠΎ ΠΌΠ΅ΡΡΠ΅ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠ³ΠΎ, ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π°, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎΠΌ Π΄Π»Ρ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π±Π°Π»Π°Π½ΡΠ° ΠΈ ΠΏΠΎΠ³ΡΡΠΆΠ΅Π½ΠΈΡ Π² ΠΏΡΠΈΡΠΎΠ΄Ρ. ΠΡΠ·ΡΠ²Ρ ΠΏΠΎΠ΄ΡΡΡΠΊΠΈΠ²Π°ΡΡ Π΄ΡΡΠΆΠ΅Π»ΡΠ±ΠΈΠ΅ ΠΌΠ΅ΡΡΠ½ΠΎΠ³ΠΎ Π½Π°ΡΠ΅Π»Π΅Π½ΠΈΡ, Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΡ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² Π½Π° ΡΡΠ½ΠΊΠ°Ρ
ΠΈ ΡΠΌΠ΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ΅Π½Ρ ΠΏΠΎ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ Ρ Π±ΠΎΠ»Π΅Π΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΌΠΈ ΠΊΡΡΠΎΡΡΠ°ΠΌΠΈ. ΠΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΡ
Π·Π°ΠΌΠ΅ΡΠΎΠΊ ΠΎ ΡΠΈΡΡΠΎΡΠ΅ ΠΏΠ»ΡΠΆΠ΅ΠΉ, ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠΈ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΌΠ°ΡΡΡΡΡΠΎΠ² ΠΈ ΡΡΡΠ½ΠΎΠΉ Π°ΡΠΌΠΎΡΡΠ΅pΠ΅ Π½Π° ΡΡΠ°ΡΡΡ
ΡΠ»ΠΎΡΠΊΠ°Ρ
ΠΈ Ρ ΠΏΡΠΈΡΡΠ°Π½Π΅ΠΉ. ΠΠ΅Π³Π°ΡΠΈΠ²Π½ΡΠ΅ ΠΌΠΎΠΌΠ΅Π½ΡΡ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Π² ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ ΠΈ Π² ΠΏΠ΅ΡΠΈΠΎΠ΄Ρ ΡΠΈΠ»ΡΠ½ΠΎΠΉ ΠΆΠ°ΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½ΠΎΡΠ½ΡΡ ΡΡΠΊΠΎΡΡΡ ΠΈ Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ Π΄ΠΈΡΠΊΠΎ-Π±Π°ΡΠΎΠ² β ΠΠΎ ΠΠ°Π½ΡΠ° Π½Π΅ ΠΏΡΠΎ ΡΡΠΎ. Π ΡΠ΅Π»ΠΎΠΌ ΠΎΡΠ·ΡΠ²Ρ ΡΠΎΡΠΌΠΈΡΡΡΡ ΠΎΠ±ΡΠ°Π· ΠΎΡΡΡΠΎΠ²Π° ΠΊΠ°ΠΊ ΠΌΠ΅ΡΡΠ° Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π° Π±Π΅Π· ΡΡΠ΅ΡΡ, Ρ Π°ΠΊΡΠ΅Π½ΡΠΎΠΌ Π½Π° ΠΏΡΠΈΡΠΎΠ΄Ρ, Π²ΠΊΡΡΠ½ΡΡ Π΅Π΄Ρ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ ΠΈΠ»ΠΈ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ.
Erstellt am 12/03/25 um 20:02:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ β Π³Π»Π°Π²Π½ΡΠΉ Π°ΠΊΡΠ΅Π½Ρ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π°ΡΡΠΈΡ
: Π·Π΄Π΅ΡΡ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠ΅ Π΄Π»ΠΈΠ½Π½ΡΠ΅ ΠΏΠ΅ΡΡΠ°Π½ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ ΠΈ ΡΠΊΡΠΎΠΌΠ½ΡΠ΅ Π±ΡΡ
ΡΠΎΡΠΊΠΈ Ρ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΠΉ Π²ΠΎΠ΄ΠΎΠΉ. Long Beach (Pra Ae) ΡΡΠ½Π΅ΡΡΡ Π²Π΄ΠΎΠ»Ρ Π΄Π»ΠΈΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠΈ ΠΈ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ ΠΈ ΡΠΆΠΈΠ½ΠΎΠ² Ρ ΠΌΠΎΡΡ, Klong Dao Beach ΡΠ°Π΄ΡΠ΅Ρ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π»Π°Π³ΡΠ½ΠΎΠΉ ΠΈ ΠΏΠΎΠ»ΠΎΠ³ΠΈΠΌ Π²Ρ
ΠΎΠ΄ΠΎΠΌ, ΡΡΠΎ Π½ΡΠ°Π²ΠΈΡΡΡ ΡΠ΅ΠΌΡΡΠΌ Ρ ΠΌΠ°Π»ΡΡΠ°ΠΌΠΈ, Π° Kantiang Bay ΠΎΠΊΡΡΠΆΡΠ½ Π·Π΅Π»Π΅Π½ΡΡ ΠΈ ΡΠΊΠ°Π»Π°ΠΌΠΈ, ΡΠΎΠ·Π΄Π°Π²Π°Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ½ΡΡ ΠΎΠ±ΡΡΠ°Π½ΠΎΠ²ΠΊΡ Π΄Π»Ρ Π²Π΅ΡΠ΅ΡΠΎΠ². Π ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΡ
Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ quieter ΡΡΠ°ΡΡΠΊΠΈ, Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ Ba Kantiang Beach ΠΈ ΠΏΠ»ΡΠΆΠΈ Ρ ΠΌΠ°ΡΠΊΠ°, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΌΠΎΠΌΠ΅Π½ΡΠ°ΠΌΠΈ ΡΠΈΡΠΈΠ½Ρ ΠΈ Π΄Π°ΠΉΠ²ΠΈΠ½Π³Π° Π² Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΡΠΎΡΠΊΠ°Ρ
. ΠΠ°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ: ΡΠ°ΡΡΡ ΠΏΠ»ΡΠΆΠ΅ΠΉ Π»ΡΡΡΠ΅ ΡΠ°Π½ΠΎ ΡΡΡΠΎΠΌ ΠΈΠ»ΠΈ Π·Π° ΠΏΠΎΠ»Π΄Π΅Π½Ρ β ΡΠΎΠ³Π΄Π° Π²ΠΎΠ΄Π° Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΡΠΈΡΡΠ°Ρ ΠΈ Π±Π΅Π·ΠΌΡΡΠ΅ΠΆΠ½Π°Ρ, Π° ΠΊ Π²Π΅ΡΠ΅ΡΡ ΡΡΠΎΠ²Π΅Π½Ρ Π²ΠΎΠ»Π½ ΠΌΠΎΠΆΠ΅Ρ Π²ΠΎΠ·ΡΠ°ΡΡΠ°ΡΡ, ΠΏΡΠ΅Π²ΡΠ°ΡΠ°Ρ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Π² ΠΊΡΠ°ΡΠΎΡΠ½ΠΎΠ΅ ΠΏΠΎΠ»ΠΎΡΠ½ΠΎ Π·Π°ΠΊΠ°ΡΠΎΠ².
Erstellt am 12/03/25 um 20:35:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΊΠ»ΠΈΠΌΠ°Ρ Π·Π΄Π΅ΡΡ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠΉ, Ρ Π΄Π²ΡΠΌΡ ΡΠ΅Π·ΠΎΠ½Π°ΠΌΠΈ: ΡΡΡ
ΠΎΠΉ (Π½ΠΎΡΠ±ΡΡβΠ°ΠΏΡΠ΅Π»Ρ) ΠΈ Π²Π»Π°ΠΆΠ½ΡΠΉ (ΠΌΠ°ΠΉβΠΎΠΊΡΡΠ±ΡΡ). Π’Π΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡΡ Π΄Π΅ΡΠΆΠ°ΡΡΡ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ Π² Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π΅ 25β32Β°C ΠΊΡΡΠ³Π»ΡΠΉ Π³ΠΎΠ΄; Π²Π»Π°ΠΆΠ½ΠΎΡΡΡ Π²ΡΡΠΎΠΊΠ°Ρ, Π° Π·ΠΈΠΌΠΎΠΉ ΡΠ°ΡΡΠΎ Π΄ΡΠ΅Ρ ΠΏΡΠΎΡ
Π»Π°Π΄Π½ΡΠΉ Π²Π΅ΡΠ΅Ρ Π² Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ Π΄Π½ΠΈ. Π ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΠΏΠ»ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΠΏΠ»Π°Π²Π°Π½ΠΈΡ ΠΎΠ±ΡΡΠ½ΠΎ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅, ΠΎΠ΄Π½Π°ΠΊΠΎ Π² ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½Ρ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π»ΠΈΠ²Π½ΠΈ ΠΈ ΡΠΈΠ»ΡΠ½ΡΠ΅ Π²Π΅ΡΡΡ, ΡΡΠΎ Π²Π»ΠΈΡΠ΅Ρ Π½Π° ΠΌΠΎΡΡΠΊΠΈΠ΅ ΡΠΊΡΠΊΡΡΡΠΈΠΈ ΠΈ ΠΏΠ°ΡΠΎΠΌΡ. ΠΠ»Ρ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° Ρ
ΠΎΡΠΎΡΠΈ ΠΏΠ΅ΡΠΈΠΎΠ΄Ρ Ρ ΠΌΠ΅Π½ΡΡΠΈΠΌΠΈ Π²ΠΎΠ»Π½Π°ΠΌΠΈ ΠΈ ΡΡΠ½ΠΎΠΉ ΠΏΠΎΠ³ΠΎΠ΄ΠΎΠΉ.
Erstellt am 12/03/25 um 21:26:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΠΎ ΠΠ°Π½ΡΡ β ΠΎΠ±ΡΠΈΠ΅ ΠΏΡΠΈΠ½ΡΠΈΠΏΡ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ: ΡΠ°ΡΠ΅ Π²ΡΠ΅Π³ΠΎ ΠΏΡΡΡ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΠΏΡΠΈΠ»ΡΡΠ° Π² Krabi (KBV) ΠΈΠ»ΠΈ Phuket (HKT), Π·Π°ΡΠ΅ΠΌ ΡΡΠ°Π½ΡΡΠ΅Ρ Π½Π° ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Ban Saladan ΠΈΠ»ΠΈ Π΄ΠΎ ΠΏΠΈΡΡΠΎΠ² Ko Lanta Yai. ΠΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ Π°Π²ΡΠΎΠ±ΡΡΠΎΠΌ ΠΈΠ»ΠΈ ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ΠΎΠΌ ΡΠ΅ΡΠ΅Π· Krabi Town ΠΈ Ao Nang, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΡΠ΅ΡΡΡ Π½Π° ΠΏΠ°ΡΠΎΠΌ. ΠΠ»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π° β ΠΏΡΡΡ ΡΠ΅ΡΠ΅Π· Surat Thani ΠΈ Π·Π°ΡΠ΅ΠΌ Π°Π²ΡΠΎΠ±ΡΡ ΠΈ ΠΏΠ°ΡΠΎΠΌ; ΠΏΡΡΠΌΠΎΠ³ΠΎ Π²ΠΎΠ·Π΄ΡΡΠ½ΠΎΠ³ΠΎ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ Ρ Bangkok Π΄ΠΎ ΠΠΎ ΠΠ°Π½ΡΡ Π½Π΅Ρ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠ°ΡΡΡΡΡ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΏΡΠΎΠΌΠ΅ΠΆΡΡΠΎΡΠ½ΠΎΠΉ ΠΎΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ. ΠΠ°ΡΠΈΠ°Π½Ρ ΡΠ΅ΡΠ΅Π· Phuket ΡΠΎΠΆΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ΅Π½: ΡΠ°ΠΌΠΎΠ»ΡΡ Π² Phuket, Π·Π°ΡΠ΅ΠΌ Π½Π°Π·Π΅ΠΌΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡ Π΄ΠΎ ΠΏΠΈΡΡΠ° ΠΈ ΠΏΠ°ΡΠΎΠΌ. ΠΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ ΠΌΠ°ΡΡΡΡΡ Ρ ΡΡΠ΅ΡΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΡΡΠΎΠΊ, ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ ΠΈ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠΉ ΠΏΠ°ΡΠΎΠΌΠΎΠ².
Erstellt am 12/03/25 um 21:58:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ β Π²ΡΠ±ΠΎΡ Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΡ: Π΄Π»Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΠΊΠΈ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ Ba Kan Tiang ΠΈ Kantiang Bay Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΡ ΠΈ Ρ
ΠΎΡΠΎΡΠΈΠΌ Π·Π°ΠΊΠ°ΡΠ°ΠΌ; Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° β Long Beach ΠΈ Klong Dao Ρ ΠΏΠΎΠ»ΠΎΠ³ΠΈΠΌ Π²Ρ
ΠΎΠ΄ΠΎΠΌ Π² Π²ΠΎΠ΄Ρ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠΉ Π°ΠΊΠ²Π°ΡΠΎΡΠΈΠ΅ΠΉ; Π΄Π»Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° β ΠΏΠ»ΡΠΆΠΈ Π½Π° ΡΠ³Π΅ ΠΈ Π²ΠΎΡΡΠΎΠΊΠ΅ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΠΌΠΈ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° ΠΈ Π»ΠΎΠ΄ΠΎΡΠ½ΡΡ
ΡΠΊΡΠΊΡΡΡΠΈΠΉ ΠΊ Π±Π»ΠΈΠ·Π»Π΅ΠΆΠ°ΡΠΈΠΌ ΠΎΡΡΡΠΎΠ²ΠΊΠ°ΠΌ; Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΠΏΠ»ΡΠΆΠ° ΠΈ ΠΊΡΠ»ΡΡΡΡΡ, ΡΡΠ½ΠΊΠΎΠ² ΠΈ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΡ
Π½ΠΈ. ΠΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠ° ΠΎΡΡΡΠΎΠ²Π° ΡΠ°Π·Π²ΠΈΡΠ° ΡΠΌΠ΅ΡΠ΅Π½Π½ΠΎ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ Π·Π°ΡΠ°Π½Π΅Π΅, Π²ΠΎΠ·ΡΠΌΠΈΡΠ΅ Π²ΠΎΠ΄Ρ ΠΈ Π·Π°ΠΊΡΡΠΊΠΈ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ. ΠΠ΅ Π·Π°Π±ΡΠ²Π°ΠΉΡΠ΅ ΠΎ ΡΠ΅Π·ΠΎΠ½Π½ΠΎΡΡΠΈ: Π·ΠΈΠΌΠΎΠΉ Π²ΠΎΠ΄Π° ΠΎΠ±ΡΡΠ½ΠΎ ΡΠΏΠΎΠΊΠΎΠΉΠ½Π΅Π΅, Π»Π΅ΡΠΎΠΌ β ΡΠ΅ΠΏΠ»Π΅Π΅ ΠΈ Π±ΠΎΠ³Π°ΡΠ΅ Π²Π΅ΡΡΠ°ΠΌΠΈ.
Erstellt am 12/03/25 um 22:29:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ</a> Π¦Π΅Π½ΡΡΠ°Π»ΡΠ½Π°Ρ Saladan β ΡΠ·Π»ΠΎΠ²ΠΎΠΉ ΠΏΡΠ½ΠΊΡ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅, ΠΎΡΠΊΡΠ΄Π° ΠΎΡΠΏΡΠ°Π²Π»ΡΡΡΡΡ ΠΏΠ°ΡΠΎΠΌΡ ΠΈ Π½Π°ΡΠΈΠ½Π°ΡΡΡΡ ΠΌΠ°ΡΡΡΡΡΡ ΠΊ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΌ ΠΎΡΡΡΠΎΠ²Π°ΠΌ ΠΈ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡΠΌ. ΠΠ΄Π΅ΡΡ Π΄ΡΡΠΆΠ΅Π»ΡΠ±Π½ΡΠΉ ΡΡΠ½ΠΎΠΊ ΠΏΠΎ ΡΡΡΠ°ΠΌ, Ρ Π°ΡΠΎΠΌΠ°ΡΠ°ΠΌΠΈ ΠΊΠ°ΡΡΠΈ, ΡΠ²Π΅ΠΆΠ΅ΠΉ ΡΡΠ±Ρ ΠΈ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΡΡΠΊΡΠΎΠ², ΡΡΠΎ Π΄Π°ΡΡ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ Π½Π°ΡΡΠΎΡΡΠ΅Π³ΠΎ ΠΎΡΡΡΠΎΠ²Π½ΠΎΠ³ΠΎ Π±ΡΡΠ°. ΠΡΠΎΠ³ΡΠ»ΠΊΠ° ΠΏΠΎ Π½Π°Π±Π΅ΡΠ΅ΠΆΠ½ΠΎΠΉ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ Π΄ΠΈΠ½Π°ΠΌΠΈΠΊΡ Π² ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΡΠΈΡΠΌ ΠΎΡΡΡΠΎΠ²Π°: ΡΡΠ±Π°ΠΊΠΈ ΡΠΈΠ½ΡΡ ΡΠ΅ΡΠΈ, Π»ΠΎΠ΄ΠΊΠΈ ΠΊΠ°ΡΠ°ΡΡΡΡ Π½Π° Π²ΠΎΠ»Π½Π°Ρ
, Π° Π»Π°Π²ΠΊΠΈ Ρ ΡΡΠ²Π΅Π½ΠΈΡΠ°ΠΌΠΈ ΠΈ ΡΠ°ΠΉΡΠΊΠΎΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠ΅ΠΉ ΡΠ°ΡΠΏΠΎΠ»Π°Π³Π°ΡΡ ΠΊ ΡΠ°ΡΡΠ»Π°Π±Π»Π΅Π½ΠΈΡ ΠΈ Π΄Π΅Π³ΡΡΡΠ°ΡΠΈΡΠΌ. Π Saladan ΠΌΠ½ΠΎΠ³ΠΎ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΡ
Π³ΠΎΡΡΠ΅Π²ΡΡ
Π΄ΠΎΠΌΠΈΠΊΠΎΠ² ΠΈ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΠΎΡΠ΅Π»Π΅ΠΉ Π² ΡΠ°Π³ΠΎΠ²ΠΎΠΉ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ ΠΊ ΠΏΠΎΡΡΡ ΠΈ ΠΏΠ»ΡΠΆΡ, Π° Π²Π΅ΡΠ΅ΡΠΎΠΌ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°ΡΡ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ ΠΈ ΠΌΠ΅ΡΡΠ½ΡΠ΅ Π±Π»ΡΠ΄Π° Π½Π° ΠΏΠΈΡΡΠ΅
Erstellt am 12/03/25 um 23:19:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ β Π’ΡΡΠΈΡΡΡ ΡΠ°ΡΡΠΎ ΠΎΡΠΌΠ΅ΡΠ°ΡΡ Π½Π° Ko Lanta ΠΎΡΠ΅Π½Ρ ΡΠ°ΡΡΠ»Π°Π±Π»Π΅Π½Π½ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, Π΄ΠΎΠ±ΡΠΎΠΆΠ΅Π»Π°ΡΠ΅Π»ΡΠ½ΡΡ
ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΆΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ Ρ
ΠΎΡΠΎΡΠ΅Π΅ ΡΠΎΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠ΅ ΡΠ΅Π½Ρ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠ»ΡΠΆΠΈ ΠΊΡΠ°ΡΠΈΠ²Ρ ΠΈ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π°, ΡΠ½ΠΎΡΠΊΠ»ΠΈΠ½Π³ ΠΈ Π»ΠΎΠ΄ΠΎΡΠ½ΡΠ΅ ΡΡΡΡ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ. ΠΡΠΈΡΡΠ½ΡΠΌ Π±ΠΎΠ»ΡΡΠΈΠ½ΡΡΠ²Ρ ΠΊΠ°ΠΆΠ΅ΡΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΡΠΈΡΠΌ ΠΆΠΈΠ·Π½ΠΈ ΠΎΡΡΡΠΎΠ²Π°, Π½ΠΎ Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ ΠΆΠ°Π»ΡΡΡΡΡ Π½Π° ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠ΅ Π²Π΅ΡΠ΅ΡΠ½ΠΈΠ΅ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΈ Π±ΠΎΠ»Π΅Π΅ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ Π² ΠΎΠ±ΡΡΠ½ΡΡ
Π³Π΅ΡΡΡ
Π°ΡΡΠ°Ρ
ΠΏΠΎ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ Ρ Π΄ΡΡΠ³ΠΈΠΌΠΈ ΠΊΡΡΠΎΡΡΠ°ΠΌΠΈ. Π ΡΠ΅Π»ΠΎΠΌ ΠΎΡΠ·ΡΠ²Ρ ΡΠ°ΡΠ΅ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΠ΅: ΡΠΈΡΡΠ°Ρ Π²ΠΎΠ΄Π°, ΡΠΈΡΡΡΠ΅ ΠΏΠ»ΡΠΆΠΈ, ΠΊΡΠ°ΡΠΎΡΠ½ΡΠ΅ Π·Π°ΠΊΠ°ΡΡ ΠΈ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ Β«Π΄ΡΡΠ³ΠΎΠΉ Π’Π°ΠΈΠ»Π°Π½Π΄Β» Π²Π΄Π°Π»ΠΈ ΠΎΡ ΠΌΠ°ΡΡΡ ΡΡΡΠΈΡΡΠΎΠ².
Erstellt am 12/03/25 um 23:50:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ β ΠΎΡΡΡΠΎΠ² ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ: ΠΎΡ ΠΏΡΠΎΡΡΡΡ
Π±ΡΠ½Π³Π°Π»ΠΎ Π½Π° ΠΏΠ»ΡΠΆΠ΅ Π΄ΠΎ ΡΡΠΈΠ»ΡΠ½ΡΡ
Π±ΡΡΠΈΠΊ-ΠΎΡΠ΅Π»Π΅ΠΉ Ρ Π±Π°ΡΡΠ΅ΠΉΠ½Π°ΠΌΠΈ ΠΈ Π²ΠΈΠ΄ΠΎΠΌ Π½Π° ΠΌΠΎΡΠ΅. ΠΠ°ΡΠΈΠ°Π½ΡΡ ΡΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠΈΡΠΎΠ²Π°Π½Ρ Π² Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΈΡ
ΡΠ°ΠΉΠΎΠ½Π°Ρ
: Long Beach, Klong Dao ΠΈ Π²Π΄ΠΎΠ»Ρ ΡΠΆΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ Ρ Ba Kan Tiang Beach, Π° ΡΠ°ΠΊΠΆΠ΅ Ρ Saladan (ΠΏΠΎΡΡΠΎΠ²Π°Ρ Π·ΠΎΠ½Π°). ΠΠΎΠΌΠ΅ΡΠ° ΡΠ°ΡΡΠΎ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π±Π°Π»ΠΊΠΎΠ½Ρ, Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΠ°Π΄Ρ ΠΈΠ»ΠΈ ΠΏΡΡΠΌΠΎΠΉ Π²ΡΡ
ΠΎΠ΄ ΠΊ ΠΏΠ»ΡΠΆΡ, Π·Π°Π²ΡΡΠ°ΠΊ Π²ΠΊΠ»ΡΡΡΠ½ ΠΏΠΎΡΠΎΠΉ Π² ΠΏΠ°ΠΊΠ΅Ρ, ΠΈΠ½ΠΎΠ³Π΄Π° Π΄ΠΎΡΡΡΠΏΠ½Π° Π°ΡΠ΅Π½Π΄Π° Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄ΠΎΠ² ΠΈ ΡΠΊΡΡΠ΅ΡΠΎΠ². ΠΠ»Ρ ΡΠ΅ΠΌΠ΅ΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡ ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠ΅ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π²ΠΈΠ»Π»Ρ ΠΈ Π³ΠΎΡΡΠ΅Π²ΡΠ΅ Π΄ΠΎΠΌΠ°, Π° Π΄Π»Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΠΊΠΎΠ² β ΡΡΡΠ½ΡΠ΅ Π»ΠΎΠ΄ΠΆΠΈ Ρ ΠΏΡΠΈΠ²Π°ΡΠ½ΡΠΌΠΈ Π·ΠΎΠ½Π°ΠΌΠΈ ΠΎΡΠ΄ΡΡ
Π°. Π¦Π΅Π½Ρ Π²Π°ΡΡΠΈΡΡΡΡΡΡ Π² ΡΠΈΡΠΎΠΊΠΈΡ
ΡΠ°ΠΌΠΊΠ°Ρ
, ΡΠ°ΡΠ΅ Π²ΡΠ΅Π³ΠΎ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΡΠ°Π·ΡΠΌΠ½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π΄Π°ΠΆΠ΅ Π² ΠΏΠΈΠΊΠΎΠ²ΡΠΉ ΡΠ΅Π·ΠΎΠ½, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π΅ΡΠ»ΠΈ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅.
Erstellt am 12/04/25 um 00:22:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅</a> ΠΠΎ ΠΠ°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅ β Π½Π°ΠΉΡΠΈ ΠΎΡΡΡΠΎΠ² Π½Π° ΠΊΠ°ΡΡΠ΅ Π½Π΅ΡΠ»ΠΎΠΆΠ½ΠΎ: ΠΎΠ½ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ Π½Π° Π·Π°ΠΏΠ°Π΄Π½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Π’Π°ΠΈΠ»Π°Π½Π΄Π° Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, Π±Π»ΠΈΠ· Krabi ΠΈ Phuket. ΠΠ»Π°Π²Π½ΡΠ΅ ΡΠΎΡΠΊΠΈ Π½Π° Ko Lanta Yai: Ban Saladan (ΠΏΠΈΡΡ Π½Π° ΡΠ΅Π²Π΅ΡΠ΅), Long Beach (Phra Ae) Π½Π° Π·Π°ΠΏΠ°Π΄Π΅, Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ Π±Π΅ΡΠ΅Π³Ρ, Ba Kan Tiang ΠΈ Kantiang Bay Π½Π° ΡΠ³Π΅. ΠΠ°ΡΡΡ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΡΠ²ΡΠ·Ρ Ρ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΌΠΈ ΠΎΡΡΡΠΎΠ²Π°ΠΌΠΈ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠΌ, Π²ΡΠ±ΡΠ°ΡΡ ΡΠ΄ΠΎΠ±Π½ΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ Π½Π° ΠΏΠ°ΡΠΎΠΌ ΠΈ ΠΏΠΎ ΠΎΡΡΡΠΎΠ²Ρ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΠΎΡΠΊΠΈ Π΄Π»Ρ ΡΠ°ΡΡΠ΅Π»Π΅Π½ΠΈΡ ΠΈ ΠΎΡΠ΄ΡΡ
Π°. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ ΠΈΠΌΠ΅ΡΡ ΠΎΡΠ»Π°ΠΉΠ½-ΠΊΠ°ΡΡΡ Π΄Π»Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π΅ΡΠ»ΠΈ Π²Ρ ΠΏΠ»Π°Π½ΠΈΡΡΠ΅ΡΠ΅ Π°ΡΠ΅Π½Π΄ΠΎΠ²Π°ΡΡ ΡΠΊΡΡΠ΅Ρ.
Erstellt am 12/04/25 um 01:13:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ β Π³Π»Π°Π²Π½ΡΠΉ Π°ΠΊΡΠ΅Π½Ρ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π°ΡΡΠΈΡ
: Π·Π΄Π΅ΡΡ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠ΅ Π΄Π»ΠΈΠ½Π½ΡΠ΅ ΠΏΠ΅ΡΡΠ°Π½ΡΠ΅ Π»ΠΈΠ½ΠΈΠΈ ΠΈ ΡΠΊΡΠΎΠΌΠ½ΡΠ΅ Π±ΡΡ
ΡΠΎΡΠΊΠΈ Ρ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΠΉ Π²ΠΎΠ΄ΠΎΠΉ. Long Beach (Pra Ae) ΡΡΠ½Π΅ΡΡΡ Π²Π΄ΠΎΠ»Ρ Π΄Π»ΠΈΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠΈ ΠΈ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ ΠΈ ΡΠΆΠΈΠ½ΠΎΠ² Ρ ΠΌΠΎΡΡ, Klong Dao Beach ΡΠ°Π΄ΡΠ΅Ρ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π»Π°Π³ΡΠ½ΠΎΠΉ ΠΈ ΠΏΠΎΠ»ΠΎΠ³ΠΈΠΌ Π²Ρ
ΠΎΠ΄ΠΎΠΌ, ΡΡΠΎ Π½ΡΠ°Π²ΠΈΡΡΡ ΡΠ΅ΠΌΡΡΠΌ Ρ ΠΌΠ°Π»ΡΡΠ°ΠΌΠΈ, Π° Kantiang Bay ΠΎΠΊΡΡΠΆΡΠ½ Π·Π΅Π»Π΅Π½ΡΡ ΠΈ ΡΠΊΠ°Π»Π°ΠΌΠΈ, ΡΠΎΠ·Π΄Π°Π²Π°Ρ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ½ΡΡ ΠΎΠ±ΡΡΠ°Π½ΠΎΠ²ΠΊΡ Π΄Π»Ρ Π²Π΅ΡΠ΅ΡΠΎΠ². Π ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΡ
Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ quieter ΡΡΠ°ΡΡΠΊΠΈ, Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ Ba Kantiang Beach ΠΈ ΠΏΠ»ΡΠΆΠΈ Ρ ΠΌΠ°ΡΠΊΠ°, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΌΠΎΠΌΠ΅Π½ΡΠ°ΠΌΠΈ ΡΠΈΡΠΈΠ½Ρ ΠΈ Π΄Π°ΠΉΠ²ΠΈΠ½Π³Π° Π² Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΡΠΎΡΠΊΠ°Ρ
. ΠΠ°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ: ΡΠ°ΡΡΡ ΠΏΠ»ΡΠΆΠ΅ΠΉ Π»ΡΡΡΠ΅ ΡΠ°Π½ΠΎ ΡΡΡΠΎΠΌ ΠΈΠ»ΠΈ Π·Π° ΠΏΠΎΠ»Π΄Π΅Π½Ρ β ΡΠΎΠ³Π΄Π° Π²ΠΎΠ΄Π° Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΡΠΈΡΡΠ°Ρ ΠΈ Π±Π΅Π·ΠΌΡΡΠ΅ΠΆΠ½Π°Ρ, Π° ΠΊ Π²Π΅ΡΠ΅ΡΡ ΡΡΠΎΠ²Π΅Π½Ρ Π²ΠΎΠ»Π½ ΠΌΠΎΠΆΠ΅Ρ Π²ΠΎΠ·ΡΠ°ΡΡΠ°ΡΡ, ΠΏΡΠ΅Π²ΡΠ°ΡΠ°Ρ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Π² ΠΊΡΠ°ΡΠΎΡΠ½ΠΎΠ΅ ΠΏΠΎΠ»ΠΎΡΠ½ΠΎ Π·Π°ΠΊΠ°ΡΠΎΠ².
Erstellt am 12/04/25 um 01:45:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ</a> ΠΡΡΡΠΎΠ² ΠΠΎ ΠΠ°Π½ΡΠ° Π² Π’Π°ΠΈΠ»Π°Π½Π΄Π΅ β Π½Π°ΡΡΠΎΡΡΠΈΠΉ ΠΆΠ΅ΠΌΡΡΠ³ ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΠ΅ΠΌ, Π·Π΅Π»Π΅Π½ΡΠΌΠΈ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ Π΄Π»ΠΈΠ½Π½ΡΠΌΠΈ ΠΏΠ΅ΡΡΠ°Π½ΡΠΌΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ. ΠΠ½ ΡΠΎΡΡΠΎΠΈΡ ΠΈΠ· Π΄Π²ΡΡ
ΠΎΡΠ½ΠΎΠ²Π½ΡΡ
ΡΠ°ΡΡΠ΅ΠΉ: Ko Lanta Yai ΠΈ Ko Lanta Noi, ΠΌΠ΅ΠΆΠ΄Ρ Π½ΠΈΠΌΠΈ ΡΠΎΠ΅Π΄ΠΈΠ½ΡΡΡ ΠΌΠΎΡΡΡ ΠΈ Π²ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΡΠΈ, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ Π»ΡΠ³ΠΊΠΎΠ΅ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΠΆΠ΄Ρ ΡΠ°ΠΉΠΎΠ½Π°ΠΌΠΈ. ΠΠ΄Π΅ΡΡ Π΄ΠΎΠΌΠΈΠ½ΠΈΡΡΡΡ ΠΌΠ΅ΡΡΠ½ΡΠ΅ ΡΡΠ±Π°ΡΠΊΠΈΠ΅ Π΄Π΅ΡΠ΅Π²Π½ΠΈ, ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΠ΅ Π²ΠΈΠ»Π»Ρ ΠΈ ΡΡΡΠ½ΡΠ΅ ΠΊΠ°ΡΠ΅ Π½Π° Π±Π΅ΡΠ΅Π³Ρ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ Π·Π°ΠΊΠ°ΡΠ°ΠΌΠΈ Π½Π°Π΄ ΡΠ°Π·ΡΠΌΠ½ΠΎΠΉ ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΠΈΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡΠΎΠΉ ΠΈ Π±Π΅Π· ΡΡΠ΅ΡΡ Π±ΠΎΠ»ΡΡΠΈΡ
ΠΊΡΡΠΎΡΡΠΎΠ². ΠΡΠΈΡΠΎΠ΄Π° ΠΠΎ ΠΠ°Π½ΡΡ ΠΏΠΎΡΠ°ΠΆΠ°Π΅Ρ ΡΠ²ΠΎΠ΅ΠΉ ΡΠΈΡΡΠΎΡΠΎΠΉ: ΠΌΠ°Π½Π³ΡΠΎΠ²ΡΠ΅ Π·Π°ΡΠΎΡΠ»ΠΈ, ΠΊΠΎΡΠ°Π»Π»ΠΎΠ²ΡΠ΅ ΡΠΈΡΡ Ρ ΡΠΆΠ½ΡΡ
Π±ΡΡ
Ρ ΠΈ ΠΏΡΡΠ½Π°Ρ Π·Π΅Π»Π΅Π½Ρ Π΄ΠΆΡΠ½Π³Π»Π΅ΠΉ Π²Π½ΡΡΡΠΈ ΠΎΡΡΡΠΎΠ²Π° ΡΠΎΠ·Π΄Π°ΡΡ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ Π΄ΠΎΠ»Π³ΠΈΡ
ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ, ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° ΠΈ Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄Π½ΡΡ
ΡΡΡΠΎΠ². ΠΠ»ΠΈΠΌΠ°Ρ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠΉ, Ρ Π΄Π²ΡΠΌΡ ΡΠ΅Π·ΠΎΠ½Π°ΠΌΠΈ: ΡΡΡ
ΠΈΠΌ ΠΈ Π²Π»Π°ΠΆΠ½ΡΠΌ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ Π²ΡΠ΅ΠΌΡ Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΡΠ΅Π»Π΅ΠΉ: ΠΏΠ»ΡΠΆΠ½ΡΠΉ ΠΎΡΠ΄ΡΡ
, Π΄Π°ΠΉΠ²ΠΈΠ½Π³ ΠΈΠ»ΠΈ ΠΈΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΠ»ΡΡΡΡΡ. ΠΠΎΠ±ΡΠ°ΡΡΡΡ ΡΡΠ΄Π° ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌΠΈ ΠΈΠ· ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΡΡ
ΠΏΠΎΡΡΠΎΠ² Krabi ΠΈ Phuket, Π° ΡΠ°ΠΊΠΆΠ΅ Π½Π° ΡΠΊΠΎΡΠΎΡΡΠΈ ΠΈΠ· Ao Nang ΠΈ Ban Saladan β ΠΌΠ°ΡΡΡΡΡΠ°ΠΌΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ Π»Π΅Π³ΠΊΠΎ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°ΡΡ ΠΏΠ»ΡΠΆΠΈ Ρ ΡΠΊΡΠΊΡΡΡΠΈΡΠΌΠΈ ΠΏΠΎ Π±Π»ΠΈΠ·Π»Π΅ΠΆΠ°ΡΠΈΠΌ ΠΎΡΡΡΠΎΠ²Π°ΠΌ.
Erstellt am 12/04/25 um 02:17:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π΄ΠΎ Ko Lanta ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ ΡΠ΅ΡΠ΅Π· Π°Π²ΡΠΎΠ±ΡΡΡ ΠΈ ΠΌΠΈΠ½ΠΈ-Π²Π°ΡΡ Ρ ΠΏΠ΅ΡΠ΅ΡΠ°Π΄ΠΊΠΎΠΉ Π½Π° ΠΏΠ°ΡΠΎΠΌ: ΡΠ½Π°ΡΠ°Π»Π° Π΄ΠΎΠ±ΠΈΡΠ°Π΅ΡΠ΅ΡΡ Π΄ΠΎ ΠΏΠΈΡΡΠ° Π½Π° ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠ΅, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π»ΡΠ΅ΡΠ΅ ΠΌΠ°ΡΠΈΠ½Ρ ΠΈ ΠΏΠ°ΡΡΠ°ΠΆΠΈΡΠΎΠ² Π½Π° Ko Lanta ΡΠ΅ΡΠ΅Π· Ban Saladan. Π Π°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΌΠΎΠΆΠ΅Ρ Π·Π°Π²ΠΈΡΠ΅ΡΡ ΠΎΡ ΡΠ΅Π·ΠΎΠ½Π°, ΠΏΠΎΡΡΠΎΠΌΡ Π»ΡΡΡΠ΅ Π²ΡΠ±ΡΠ°ΡΡ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΡΡΡ ΠΈΠ»ΠΈ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΡΡΠ°Π½ΡΡΠ΅Ρ Π·Π°ΡΠ°Π½Π΅Π΅. ΠΡΡΠΌΡΡ
ΡΠΊΠΎΡΠΎΡΡΠ½ΡΡ
ΠΏΠ°ΡΠΎΠΌΠΎΠ² ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π΄ΠΎ Ko Lanta Π½Π΅ΠΌΠ½ΠΎΠ³ΠΎ, ΡΠ°ΡΠ΅ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ ΠΌΠ°ΡΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΌΠ°ΡΠ΅ΡΠΈΠΊ ΠΈ Ao Nang ΠΈΠ»ΠΈ Krabi Town. ΠΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ 4β6 ΡΠ°ΡΠΎΠ², ΡΡΠΈΡΡΠ²Π°Ρ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ Π½Π° ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π΅, ΠΈ ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΠ½Π΄Π°ΠΌΠ°Π½ Ρ Π½ΠΎΠ²ΠΎΠ³ΠΎ ΡΠ°ΠΊΡΡΡΠ°.
Erstellt am 12/04/25 um 03:08:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΡΡΡΠΎΠ² ΠΠΎ ΠΠ°Π½ΡΠ° Π² Π’Π°ΠΈΠ»Π°Π½Π΄Π΅ β ΡΡΠΎ ΠΏΠ°ΡΠ° ΠΎΡΡΡΠΎΠ²ΠΎΠ² Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΎΠ±ΡΠ°Π·ΡΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠ΅ ΠΈ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΠΎΠ΅ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΎΡΠ΄ΡΡ
Π° Ρ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ ΠΡΠΈΡΠΈ?-ΠΊΡΠ°Π±ΠΈ. ΠΠ»Π°Π²Π½ΡΠΉ ΠΎΡΡΡΠΎΠ² Ko Lanta Yai ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ ΠΌΠΎΡΡΠ°ΠΌΠΈ ΠΈ ΠΌΠ΅ΡΡΠ½ΡΠΌΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ Ρ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠΌ Ko Lanta Noi, ΠΎΠ±ΡΠ°Π·ΡΡ Π΄Π²ΠΎΠΉΠ½ΠΎΠΉ ΠΊΠΎΠ½ΡΡΡ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ: ΠΎΡ ΡΡΡΠ½ΡΡ
Π΄Π΅ΡΠ΅Π²Π΅Π½ΡΠΊΠΈΡ
ΡΠ³ΠΎΠ»ΠΊΠΎΠ² Π΄ΠΎ ΡΡ
ΠΎΠΆΠ΅Π½Π½ΡΡ
ΠΊΡΡΠΎΡΡΠΎΠ² Π½Π° ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅. ΠΡΡΡΠΎΠ² ΡΠ»Π°Π²ΠΈΡΡΡ Π΄Π»ΠΈΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ, ΠΏΠ°Π»ΡΠΌΠΎΠ²ΡΠΌΠΈ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ Π·Π΅Π»ΡΠ½ΡΠΌΠΈ Ρ
ΠΎΠ»ΠΌΠ°ΠΌΠΈ, Π½Π° ΠΊΠΎΡΠΎΡΡΡ
ΠΏΡΡΡΡΡΡΡ ΠΌΠ°Π½Π³ΡΠΎΠ²ΡΠ΅ Π»Π΅ΡΠ° ΠΈ ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ°Π΄Ρ. ΠΠ΄Π΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π²Π°ΡΠΈΠ°Π½ΡΡ Π½Π° Π»ΡΠ±ΠΎΠΉ Π²ΠΊΡΡ: ΠΎΡ Π³Π΅ΡΡΡ
Π°ΡΡΠΎΠ² Ρ Π²ΠΎΠ΄Ρ Π΄ΠΎ ΡΠΎΡΠΊΠΎΡΠ½ΡΡ
Π²ΠΈΠ»Π» Π² ΡΠΊΡΠΎΠΌΠ½ΡΡ
Π±ΡΡ
ΡΠ°Ρ
, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠΈΡ
ΠΈΠ΅ ΡΠΊΠΎ-Π»Π°Π³Π΅ΡΡ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΠΊΠ»ΡΡΠΈΡΡΡΡ ΠΎΡ ΡΡΠ΅ΡΡ. ΠΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ ΡΡΠ΄Π° ΠΎΠ±ΡΡΠ½ΠΎ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΠΏΡΠΈΠ±ΡΡΠΈΡ Π² Krabi ΠΈΠ»ΠΈ Phuket Π½Π° ΡΠ°ΠΌΠΎΠ»ΡΡΠ΅, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅Π΅Π·Π΄ ΠΊ ΠΏΠΈΡΡΡ ΠΈ ΠΏΠ°ΡΠΎΠΌΠ½Π°Ρ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π° ΡΠ΅ΡΠ΅Π· ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ β ΡΠ°ΡΡΡ ΠΌΠ°ΡΡΡΡΡΠ° Π΄ΠΎΠ±Π°Π²Π»ΡΠ΅Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΎΠ²Π°Π½ΠΈΡ ΡΠΎΠΌΠ°Π½ΡΠΈΠΊΠΈ ΠΈ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΏΠ°.
Erstellt am 12/04/25 um 03:40:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ°</a> Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π° Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, ΠΊ Π²ΠΎΡΡΠΎΠΊΡ ΠΎΡ ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΉ ΡΡΠΎΠΏΡ, ΠΈ ΠΎΡΠ½ΠΎΡΠΈΡΡΡ ΠΊ ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΠΈ ΠΡΠ°Π±Ρ Π½Π° ΡΠ³Π΅ Π’Π°ΠΈΠ»Π°Π½Π΄Π°. ΠΡΡΡΠΎΠ²Π° Π»Π΅ΠΆΠ°Ρ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ Π² 70β90 ΠΊΠΈΠ»ΠΎΠΌΠ΅ΡΡΠ°Ρ
ΠΊ ΡΠ³Ρ ΠΎΡ ΠΡΠ°Π±ΠΈ ΠΈ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ Π² 40 ΠΊΠΈΠ»ΠΎΠΌΠ΅ΡΡΠ°Ρ
ΠΊ Π·Π°ΠΏΠ°Π΄Ρ ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΠΎΠΉ ΡΠ°ΡΡΠΈ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΡ
ΡΠΊΠ΅ΡΠ°-ΠΊΡΠ°ΠΉΡ
. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ Π½Π°ΡΠ΅Π»ΡΠ½Π½ΡΠ΅ ΠΏΡΠ½ΠΊΡΡ β Π΄Π΅ΡΠ΅Π²Π½Ρ Π‘Π°Π»Π°Π°Π΄Π°Π½ (Saladan) Π½Π° ΡΠ΅Π²Π΅ΡΠΎ-Π·Π°ΠΏΠ°Π΄Π΅ ΠΈ Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅. ΠΡΡΡΠΎΠ² ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ ΠΌΠΎΡΡΠ°ΠΌΠΈ ΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ, ΠΏΠΎ ΠΊΠΎΡΠΎΡΡΠΌ ΠΌΠΎΠΆΠ½ΠΎ Π»Π΅Π³ΠΊΠΎ Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ Π½Π° ΠΌΠ°ΡΠΈΠ½Π΅ ΠΈΠ»ΠΈ Π±Π°ΠΉΠΊΠ΅ ΠΊ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠΌ Π±ΡΡ
ΡΠ°ΠΌ ΠΈ ΠΏΠ»ΡΠΆΠ°ΠΌ.
Erstellt am 12/04/25 um 04:11:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅ β ΡΡΠΎ Π΄Π²ΠΎΠΉΠ½ΠΎΠΉ ΠΎΡΡΡΠΎΠ²Π½ΠΎΠΉ Π°Π½ΡΠ°ΠΌΠ±Π»Ρ Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, ΠΎΡΠ½ΠΎΡΡΡΠΈΠΉΡΡ ΠΊ ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΠΈ ΠΡΠ°Π±Ρ. ΠΡΠ½ΠΎΠ²Π½ΠΎΠΉ ΠΎΡΡΡΠΎΠ² ΠΠΎ ΠΠ°Π½ΡΠ° Π―ΠΉ (Ko Lanta Yai) ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ ΠΌΠΎΡΡΠ°ΠΌΠΈ ΠΈ ΡΠ·ΠΊΠΈΠΌΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ Ρ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠΌ Ko Lanta Noi, ΠΎΠ±ΡΠ°Π·ΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΡ ΠΈ Π½Π΅ΡΠΎΡΠΎΠΏΠ»ΠΈΠ²ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ, Π΄Π°Π»ΡΠΊΡΡ ΠΎΡ ΡΡΠΌΠ½ΡΡ
ΠΊΡΡΠΎΡΡΠΎΠ² ΠΊΠΎΠ½ΡΠΈΠ½Π΅Π½ΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ Π’Π°ΠΈΠ»Π°Π½Π΄Π°. ΠΡΡΡΠΎΠ² ΠΈΠ·Π²Π΅ΡΡΠ΅Π½ Π΄Π»ΠΈΠ½Π½ΠΎΠΉ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠ΅ΠΉ, ΠΏΠ°Π»ΡΠΌΠΎΠ²ΡΠΌΠΈ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ Π·Π΅Π»ΡΠ½ΡΠΌΠΈ Ρ
ΠΎΠ»ΠΌΠ°ΠΌΠΈ, ΠΏΠΎΠΊΡΡΡΡΠΌΠΈ ΠΌΠ°Π½Π³ΡΠΎΠ²ΡΠΌΠΈ Π»Π΅ΡΠ°ΠΌΠΈ ΠΈ Π»Π°Π½Π΄ΡΠ°ΡΡΠ°ΠΌΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π°, ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ
ΠΊΠ°Π½ΠΈΠΊΡΠ» ΠΈ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ°Π±ΠΎΡΡ Π² ΡΠ°ΡΡΠ»Π°Π±Π»Π΅Π½Π½ΠΎΠΉ ΠΎΠ±ΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅. ΠΠ΄Π΅ΡΡ ΡΠΎΡΡΠ΅Π΄ΠΎΡΠΎΡΠ΅Π½Ρ Π³Π»Π°Π²Π½ΡΠ΅ ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ°ΠΉΠΎΠ½Ρ β ΠΎΡ ΡΡΡΠ½ΡΡ
Π³Π΅ΡΡΡ
Π°ΡΡΠΎΠ² Π² ΠΏΡΠΈΠ±ΡΠ΅ΠΆΠ½ΡΡ
Π΄Π΅ΡΠ΅Π²Π½ΡΡ
Π΄ΠΎ ΡΠΎΡΠΊΠΎΡΠ½ΡΡ
Π²ΠΈΠ»Π» Π² ΡΠΊΡΠΎΠΌΠ½ΡΡ
Π±ΡΡ
ΡΠ°Ρ
. ΠΠΎΡΡΡΠΏ Π½Π° Ko Lanta ΠΎΠ±ΡΡΠ½ΠΎ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΠΏΠ΅ΡΠ΅Π»ΡΡΠ° Π΄ΠΎ Π±Π»ΠΈΠΆΠ°ΠΉΡΠΈΡ
Π°ΡΡΠΎΠΏΠΎΡΡΠΎΠ², Π·Π°ΡΠ΅ΠΌ ΠΏΠΎΠ΅Π·Π΄ΠΊΠ° Π½Π° ΠΏΠ°ΡΠΎΠΌΠ΅ ΡΠ΅ΡΠ΅Π· ΠΊΠΎΠ½ΡΡΡΡ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ, ΡΡΠΎ Π΄ΠΎΠ±Π°Π²Π»ΡΠ΅Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΡ ΡΠ»Π΅ΠΌΠ΅Π½Ρ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΈ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΏΠ°.
Erstellt am 12/04/25 um 05:01:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π°ΡΡΠΎΠΏΠΎΡΡ</a> ΠΠ»Ρ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° ΠΠΎ ΠΠ°Π½ΡΠ° ΠΈ ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΡ
ΠΌΠ΅ΡΡ: Π±ΡΡ
ΡΡ ΠΈ ΡΠΈΡΡ, Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΊΠΎΡΠΎΡΡΠΌ ΡΠ΄ΠΎΠ±Π΅Π½ Π½Π° Π»ΠΎΠ΄ΠΊΠ΅. ΠΠΎΠ΄Π° ΡΠΈΡΡΠ°Ρ, ΡΡΠ±ΠΊΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½Ρ, ΠΊΠΎΡΠ°Π»Π»Ρ ΡΡΠΊΠΎ-ΡΠ°ΡΠΊΡΠ°ΡΠ΅Π½Ρ. ΠΡΡΡΠ΅ ΠΏΠΎΡΠ΅ΡΠ°ΡΡ ΡΡΡΠΎ, ΠΊΠΎΠ³Π΄Π° Π²ΠΎΠ΄Π° Π΅ΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½Π° ΠΈ ΡΡΠ±Ρ Π°ΠΊΡΠΈΠ²Π½Ρ. ΠΠ΅ Π·Π°Π±ΡΠ²Π°ΠΉΡΠ΅ ΠΎΠ± ΠΎΡ
ΡΠ°Π½Π΅ ΠΏΡΠΈΡΠΎΠ΄Ρ: Π½Π΅ ΡΡΠΎΠ³Π°ΠΉΡΠ΅ ΠΊΠΎΡΠ°Π»Π»Ρ, Π½Π΅ ΠΎΡΡΠ°Π²Π»ΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ ΠΈ ΡΠ²Π°ΠΆΠ°ΠΉΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»Π° Π·Π°ΠΏΠΎΠ²Π΅Π΄Π½ΠΎΠΉ Π·ΠΎΠ½Ρ. ΠΡΠΈ ΠΏΡΠ°Π²ΠΈΠ»Π° ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΠΎΡ
ΡΠ°Π½ΡΡΡ ΠΏΠΎΠ΄Π²ΠΎΠ΄Π½ΡΠΉ ΠΌΠΈΡ Π΄Π»Ρ Π±ΡΠ΄ΡΡΠΈΡ
ΠΏΠΎΠΊΠΎΠ»Π΅Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΎΡΠΏΡΠ°Π²ΠΈΡΡΡΡ Π² ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ ΠΏΠΎ ΡΡΠΊΠΈΠΌ ΡΠ²Π΅ΡΠ°ΠΌ ΠΌΠΎΡΡ
Erstellt am 12/04/25 um 05:33:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π°ΡΡΠΎΠΏΠΎΡΡ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° Π°ΡΡΠΎΠΏΠΎΡΡ β ΠΠ° ΠΠΎ ΠΠ°Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ Π°ΡΡΠΎΠΏΠΎΡΡΠ° Π½Π΅Ρ. ΠΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π²ΡΠ΅ Π³ΠΎΡΡΠΈ ΠΏΡΠΈΠ±ΡΠ²Π°ΡΡ ΡΠ΅ΡΠ΅Π· Krabi International (KBV) ΠΈΠ»ΠΈ Phuket International (HKT). ΠΠΎ ΠΏΡΠΈΠ±ΡΡΠΈΠΈ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΈ Π΅Π΄ΡΡ Π½Π° ΠΌΠ°ΡΠ΅ΡΠΈΠΊ ΠΈ Π΄Π°Π»Π΅Π΅ Π½Π° ΠΏΠ°ΡΠΎΠΌ ΡΠ΅ΡΠ΅Π· Ban Saladan Π½Π° Ko Lanta Yai. Π ΡΠ΅Π΄ΠΊΠΈΡ
ΡΠ»ΡΡΠ°ΡΡ
Π΄ΠΎΡΡΡΠΏΠ΅Π½ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠΉ Π²ΠΎΠ·Π΄ΡΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠ΅Ρ Π½Π° Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠ΅ Π°ΡΡΠΎΠ΄ΡΠΎΠΌΡ, Π½ΠΎ ΡΠ°ΠΊΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ ΡΡΠ΅Π±ΡΡΡ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ ΠΎΠ±ΡΡΠ½ΠΎ ΠΎΡΠ½ΠΎΡΡΡΡΡ ΠΊ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠΌ ΡΠ΅ΡΠ²ΠΈΡΠ°ΠΌ. ΠΡΠ° ΡΡΡΡΠΊΡΡΡΠ° Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ Π½Π΅ΠΌΠ½ΠΎΠ³ΠΎ Π΄Π»ΠΈΠ½Π½Π΅Π΅, Π½ΠΎ Π΄ΠΎΠ±Π°Π²Π»ΡΠ΅Ρ ΠΌΠ°ΡΡΡΡΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΈ ΠΏΠ»Π°Π²Π½ΠΎΠ΅ ΠΏΠΎΠ³ΡΡΠΆΠ΅Π½ΠΈΠ΅ Π² ΠΏΡΠΈΡΠΎΠ΄Ρ ΠΎΡΡΡΠΎΠ²Π°.
Erstellt am 12/04/25 um 06:05:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ β ΠΏΠΎΠ²ΡΠΎΡΠ½ΠΎ ΡΠΏΠΎΠΌΠΈΠ½Π°Π΅ΠΌΠ°Ρ ΡΠ΅ΠΌΠ° Ρ Π°ΠΊΡΠ΅Π½ΡΠΎΠΌ Π½Π° ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΠΎΡΡΡΠΎΠ²Π°: Π·Π΄Π΅ΡΡ ΠΌΠ½ΠΎΠ³ΠΎ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ
ΠΎΡΠ΅Π»Π΅ΠΉ ΠΈ ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΡ
Π²ΠΈΠ»Π», ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΎΠ·Π΄Π°ΡΡ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΡΡΠΈ. Π§Π°ΡΡΠΎ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Π²Π°ΡΠΈΠ°Π½ΡΡ Π½Π° Π±Π΅ΡΠ΅Π³Ρ Ρ ΡΠ°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΡΠ°ΡΠ°ΠΌΠΈ ΠΈ ΡΠ°Π΄ΠΎΠ²ΡΠΌΠΈ Π΄ΠΎΡΠΎΠΆΠΊΠ°ΠΌΠΈ ΠΊ ΠΏΠ»ΡΠΆΡ. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½ΠΎ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΌΠ΅ΡΡΠ° Ρ Π±Π»ΠΈΠ·ΠΎΡΡΡΡ ΠΊ ΡΡΠ½ΠΊΠ°ΠΌ Saladan ΠΈ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌ ΠΏΠ»ΡΠΆΠ°ΠΌ, ΡΡΠΎΠ±Ρ Π½Π΅ ΡΡΠ°ΡΠΈΡΡ ΠΌΠ½ΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° Π΄ΠΎΡΠΎΠ³Ρ. ΠΠ°ΠΆΠ½Π°Ρ Π΄Π΅ΡΠ°Π»Ρ β Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ Π±ΠΎΠ»ΡΡΠ΅ ΠΌΠ΅ΡΡ, ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
Π½Π° ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΠΎΡΠ΄ΡΡ
, ΡΠ΅ΠΌ Π½Π° Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ Π²Π΅ΡΠ΅ΡΠΈΠ½ΠΊΠΈ, ΠΏΠΎΡΡΠΎΠΌΡ Π·Π΄Π΅ΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Π΄Π»Ρ ΠΏΠ°Ρ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉ, ΡΠ΅Π½ΡΡΠΈΡ
ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΡΠΉ ΡΠΈΡΠΌ ΠΈ Π±Π»ΠΈΠ·ΠΎΡΡΡ ΠΊ ΠΏΡΠΈΡΠΎΠ΄Π΅.
Erstellt am 12/04/25 um 06:56:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΌΠ°ΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΡ
ΡΠΊΠ΅Ρ ΠΎΠ±ΡΡΠ½ΠΎ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΏΠ΅ΡΠ΅Π»ΡΡ Π² Phuket ΠΈΠ»ΠΈ Krabi, Π·Π°ΡΠ΅ΠΌ Π½Π°Π·Π΅ΠΌΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡ Π΄ΠΎ ΠΏΠ°ΡΠΎΠΌΠ° ΠΊ Ko Lanta Yai. ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π½Π°ΠΏΡΡΠΌΡΡ Π½Π° ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΠ΅ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠ±ΡΡΠ΅ Ρ Π·Π°ΡΠ°Π»ΠΎΠΉ Π½Π° ΠΏΠ°ΡΠΎΠΌ Π² Ao Nang ΠΈΠ»ΠΈ Krabi Town, ΠΏΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΈΠ΄ΡΡ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄ Π½Π° Ko Lanta. ΠΡΠ΅ΠΌΡ ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 3β4 ΡΠ°ΡΠ° Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²ΡΠ±ΡΠ°Π½Π½ΠΎΠ³ΠΎ Π²Π°ΡΠΈΠ°Π½ΡΠ°, ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ ΠΈ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠΉ ΠΏΠ°ΡΠΎΠΌΠΎΠ². ΠΡΡΠΌΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ ΠΏΠΎ Π²ΠΎΠ΄Π΅ ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΡΠ΅Π΄ΠΊΠΈ, ΠΏΠΎΡΡΠΎΠΌΡ ΡΠ°ΡΠ΅ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ: ΡΠ°ΠΌΠΎΠ»ΡΡ/ΡΠ°ΠΌΠΎΠ»ΡΡ Π΄ΠΎ ΡΠΎΡΠ΅Π΄Π½Π΅Π³ΠΎ Π°ΡΡΠΎΠΏΠΎΡΡΠ°, Π·Π°ΡΠ΅ΠΌ ΠΏΠ°ΡΠΎΠΌ ΠΈ Π½Π°Π·Π΅ΠΌΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡ Π΄ΠΎ ΠΎΡΡΡΠΎΠ²Π°.
Erstellt am 12/04/25 um 07:28:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ</a> Accommodation variety Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ ΠΏΠΎΡΠ°ΠΆΠ°Π΅Ρ Π΄Π°ΠΆΠ΅ ΠΈΡΠΊΡΡΡΠ½Π½ΡΡ
ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ²: ΠΎΡ ΠΏΡΠΎΡΡΡΡ
Π±ΡΠ½Π³Π°Π»ΠΎ Ρ ΠΏΠ»ΡΠΆΠ° Π΄ΠΎ ΡΡΠΈΠ»ΡΠ½ΡΡ
Π±ΡΡΠΈΠΊ-ΠΎΡΠ΅Π»Π΅ΠΉ Ρ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΠΈΡΡΠΈΡΠ½ΡΠΌ Π΄ΠΈΠ·Π°ΠΉΠ½ΠΎΠΌ. ΠΠΎΠΌΠ΅ΡΠ° ΠΎΠ±ΡΡΠ½ΠΎ ΡΠΈΡΡΡΠ΅ ΠΈ ΡΡΡΠ½ΡΠ΅, ΡΠ°ΡΡΠΎ Ρ Π²ΠΈΠ΄ΠΎΠΌ Π½Π° ΠΌΠΎΡΠ΅ ΠΈΠ»ΠΈ ΡΠ°Π΄. ΠΠ°ΡΠΈΠ°Π½ΡΡ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ Π²ΠΊΠ»ΡΡΠ°ΡΡ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π³ΠΎΡΡΠ΅Π²ΡΠ΅ Π΄ΠΎΠΌΠ°, Π°ΡΠ΅Π½Π΄ΠΎΠ²Π°Π½Π½ΡΠ΅ Π²ΠΈΠ»Π»Ρ ΠΈ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠ΅ ΠΊΡΡΠΎΡΡΠ½ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡ. Π ΡΠ΅Π½ΠΎΠ²ΠΎΠΌ Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π·Π° ΡΠΌΠ΅ΡΠ΅Π½Π½ΡΠ΅ Π΄Π΅Π½ΡΠ³ΠΈ ΠΈ Π»ΡΠΊΡΠΎΠ²ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ Ρ ΡΠ΅ΡΠ²ΠΈΡΠΎΠΌ ΡΡΠΎΠ²Π½Ρ ΠΏΡΡΠΈ Π·Π²ΡΠ·Π΄. ΠΠΎ ΠΌΠ½ΠΎΠ³ΠΈΡ
ΠΌΠ΅ΡΡΠ°Ρ
ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π°ΡΠ΅Π½Π΄Ρ Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄ΠΎΠ² ΠΈ ΡΠΊΡΡΠ΅ΡΠΎΠ², ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎ ΠΎΡΡΡΠΎΠ²Ρ Π»ΡΠ³ΠΊΠΈΠΌ ΠΈ ΠΏΡΠΈΡΡΠ½ΡΠΌ. ΠΡΡΠΆΠ΅Π»ΡΠ±Π½ΡΠΉ ΠΏΠ΅ΡΡΠΎΠ½Π°Π», Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½Π°Ρ ΡΠ±ΠΎΡΠΊΠ° ΠΈ Π±Π»ΠΈΠ·ΠΎΡΡΡ ΠΊ ΠΏΠ»ΡΠΆΡ ΡΠΎΠ·Π΄Π°ΡΡ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΎΠΌΠ°ΡΠ½Π΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ° Π½Π° ΡΠΎΠ½Π΅ ΡΠ°ΠΉΡΠΊΠΎΠΉ ΠΏΡΠΈΡΠΎΠ΄Ρ
Erstellt am 12/04/25 um 08:00:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ°ΡΠΎΠΌ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ β Π½Π° ΠΎΡΡΡΠΎΠ²Π΅ Π½Π°ΠΉΠ΄ΡΡΡΡ Π²Π°ΡΠΈΠ°Π½ΡΡ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΡ: ΠΏΡΠΎΡΡΠΆΡΠ½Π½ΡΠ΅ ΠΏΡΠΎΡΠΎΠΊΠΈ Ρ Long Beach (Phra Ae) Ρ ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌΠΈ Π²ΠΈΠ»Π»Π°ΠΌΠΈ ΠΈ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π»Π°Π³ΡΠ½ΠΎΠΉ, ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΠ΅ Π±ΡΡ
ΡΡ ΡΠΆΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ ΠΈ ΠΏΠ΅ΡΡΠ°Π½ΡΠ΅ ΠΏΠ΅ΡΡΠΈΠ½ΠΊΠΈ Π² Π·Π°Π»ΠΈΠ²Π΅ Kantiang Bay, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ ΡΠΈΡ
ΠΈΠΌ ΠΎΠΊΡΡΠΆΠ΅Π½ΠΈΠ΅ΠΌ. Π ΡΠ°ΠΉΠΎΠ½Π΅ Klong Dao ΠΈ Π½Π° ΡΠ΅Π²Π΅ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ Long Beach Π²Ρ
ΠΎΠ΄ Π² Π²ΠΎΠ΄Ρ ΠΏΠΎΡΡΠ΅ΠΏΠ΅Π½Π½ΡΠΉ ΠΈ ΠΈΠ΄Π΅Π°Π»Π΅Π½ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉ Ρ Π΄Π΅ΡΡΠΌΠΈ, Π° Ba Kan Tiang ΡΠ»Π°Π²ΠΈΡΡΡ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π°ΡΠΌΠΎΡΡΠ΅ΡΠΎΠΉ ΠΈ Π±Π»ΠΈΠ·ΠΎΡΡΡΡ ΠΊ ΡΠΎΡΠΊΠΎΡΠ½ΡΠΌ ΠΊΡΡΠΎΡΡΠ°ΠΌ. Ao Pai ΠΈ Bamboo Bay β ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΠ΅ ΡΠ³ΠΎΠ»ΠΊΠΈ Π΄Π»Ρ Π΄Π½Π΅Π²Π½ΡΡ
ΠΏΠΎΡ
ΠΎΠ΄ΠΎΠ² ΠΈ ΡΠΎΡΠΎΡΠ΅ΡΡΠΈΠΉ Π½Π° ΡΠΎΠ½Π΅ Π»Π°Π·ΡΡΠ½ΠΎΠΉ Π²ΠΎΠ΄Ρ. Π ΡΠ΅Π·ΠΎΠ½ ΡΡΡ
ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ° Π²ΠΎΠ΄Π° ΠΎΠ±ΡΡΠ½ΠΎ ΡΡΠΏΠ»Π°Ρ ΠΈ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ, Π½ΠΎ Π² ΠΏΠ΅ΡΠΈΠΎΠ΄ Π΄ΠΎΠΆΠ΄Π΅ΠΉ Π²ΠΎΠ»Π½Ρ ΠΈ ΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΡΠΎΡΠΌΡ ΠΌΠΎΠ³ΡΡ ΠΎΠ³ΡΠ°Π½ΠΈΡΠΈΡΡ ΠΊΡΠΏΠ°Π½ΠΈΠ΅ Π½Π° ΠΎΡΠ΄Π΅Π»ΡΠ½ΡΡ
ΡΡΠ°ΡΡΠΊΠ°Ρ
. Π£Π΄ΠΎΠ±ΡΡΠ²ΠΎ Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΏΠ»ΡΠΆΠΈ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Ρ ΠΎΡΠ½ΠΎΡΠΈΡΠ΅Π»ΡΠ½ΠΎ Π±Π»ΠΈΠ·ΠΊΠΎ Π΄ΡΡΠ³ ΠΊ Π΄ΡΡΠ³Ρ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π·Π° ΠΎΠ΄ΠΈΠ½ ΠΎΡΠΏΡΡΠΊ ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΡΡ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ Π±ΡΡ
Ρ ΠΈ ΠΏΠ»ΡΠΆΠ½ΡΡ
Π΄Π½Π΅ΠΉ.
Erstellt am 12/04/25 um 08:52:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ β ΠΎΡΡΡΠΎΠ² ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ Π½Π° Π»ΡΠ±ΠΎΠΉ Π²ΠΊΡΡ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ. ΠΠ°ΡΠΈΠ°Π½ΡΡ Π²Π°ΡΡΠΈΡΡΡΡΡΡ ΠΎΡ ΠΏΡΠΎΡΡΡΡ
Π±ΡΠ½Π³Π°Π»ΠΎ ΠΈ Π³ΠΎΡΡΠ΅Π²ΡΡ
Π΄ΠΎΠΌΠΎΠ² Ρ ΠΏΠ»ΡΠΆΠ° Π΄ΠΎ ΡΡΠΈΠ»ΡΠ½ΡΡ
Π±ΡΡΠΈΠΊ-ΠΎΡΠ΅Π»Π΅ΠΉ Ρ Π±Π°ΡΡΠ΅ΠΉΠ½Π°ΠΌΠΈ ΠΈ Π²ΠΈΠ΄Ρ Π½Π° ΠΌΠΎΡΠ΅. Π Π°ΠΉΠΎΠ½Ρ Ρ Π½Π°ΠΈΠ»ΡΡΡΠ΅ΠΉ ΠΏΠ»ΠΎΡΠ½ΠΎΡΡΡΡ ΠΆΠΈΠ»ΡΡ β Long Beach, Klong Dao ΠΈ Ba Kan Tiang Π½Π° ΡΠ³Π΅; Saladan Π² ΡΠ΅Π²Π΅ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ ΡΠ»ΡΠΆΠΈΡ ΠΏΠΎΡΡΠΎΠ²ΠΎΠΉ ΠΈ Π³ΠΎΡΡΠΈΠ½ΠΈΡΠ½ΠΎΠΉ Π·ΠΎΠ½ΠΎΠΉ. ΠΠΎΠΌΠ΅ΡΠ° ΡΠ°ΡΡΠΎ ΠΏΠΎΡΡΠ°ΠΆΠ½ΠΎ ΠΎΡΠ½Π°ΡΠ΅Π½Ρ Π±Π°Π»ΠΊΠΎΠ½Π°ΠΌΠΈ, Π²ΡΡ
ΠΎΠ΄Π°ΠΌΠΈ Π² ΡΠ°Π΄ ΠΈΠ»ΠΈ ΠΏΡΡΠΌΡΠΌ Π΄ΠΎΡΡΡΠΏΠΎΠΌ ΠΊ ΠΏΠ»ΡΠΆΡ; ΡΠ°ΡΡΠΎ Π²ΠΊΠ»ΡΡΡΠ½ Π·Π°Π²ΡΡΠ°ΠΊ, Π°ΡΠ΅Π½Π΄Π° Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄ΠΎΠ² ΠΈ ΡΠΊΡΡΠ΅ΡΠΎΠ² Π΄ΠΎΡΡΡΠΏΠ½Π° ΠΊΠ°ΠΊ Π΄ΠΎΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅. ΠΠ»Ρ ΡΠ΅ΠΌΠ΅ΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡ ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠ΅ Π²ΠΈΠ»Π»Ρ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ Π°ΠΏΠ°ΡΡΠ°ΠΌΠ΅Π½ΡΡ, Π΄Π»Ρ ΠΏΠ°Ρ β ΡΡΡΠ½ΡΠ΅ Π±ΡΠ½Π³Π°Π»ΠΎ ΠΈ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π»ΠΎΠ΄ΠΆΠΈ ΡΡΠ΄ΠΎΠΌ Ρ Π±Π΅ΡΠ΅Π³ΠΎΠΌ. Π¦Π΅Π½Ρ Π²Π°ΡΡΠΈΡΡΡΡΡΡ Π² ΡΠΈΡΠΎΠΊΠΈΡ
ΠΏΡΠ΅Π΄Π΅Π»Π°Ρ
: ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΊΠ°ΠΊ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π² Π½ΠΈΠ·ΠΊΠΈΠΉ ΡΠ΅Π·ΠΎΠ½, ΡΠ°ΠΊ ΠΈ Π΄ΠΎΡΡΠΎΠΉΠ½ΡΡ ΡΠΎΡΠΊΠΎΡΡ Π² ΠΏΠΈΠΊΠΎΠ²ΡΠ΅ ΠΏΠ΅ΡΠΈΠΎΠ΄Ρ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π΅ΡΠ»ΠΈ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅.
Erstellt am 12/04/25 um 09:24:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ β ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠ»Π°Π²ΠΈΡΡΡ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ Ρ Π±Π΅Π»ΡΠΌ ΠΏΠ΅ΡΠΊΠΎΠΌ ΠΈ ΠΊΡΠΈΡΡΠ°Π»ΡΠ½ΠΎ ΡΠΈΡΡΠΎΠΉ Π²ΠΎΠ΄ΠΎΠΉ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π½Π°ΠΉΠ΄ΡΡ ΡΠ²ΠΎΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π° ΠΈ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΠ΅ΠΉ. Long Beach (Pra Ae Beach) ΠΏΡΠΎΡΡΠΈΡΠ°Π΅ΡΡΡ Π²Π΄ΠΎΠ»Ρ Π΄Π»ΠΈΠ½Π½ΠΎΠΉ Π»ΠΈΠ½ΠΈΠΈ ΠΏΠ΅ΡΠΊΠ° ΠΈ Π²Π΄ΠΎΠ»Ρ Π½Π΅Π³ΠΎ ΡΡΠ½ΡΡΡΡ ΠΊΠ°ΡΠ΅, ΡΠ°ΡΡΡ ΠΈ ΡΡΡΠ½ΡΠ΅ ΡΡΠ°ΡΡΡ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ. Klong Dao β ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΡΡΠ°ΡΡΠΎΠΊ ΠΏΠ»ΡΠΆΠ°, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉ ΠΈ ΡΠ΅Ρ
, ΠΊΡΠΎ Π»ΡΠ±ΠΈΡ ΠΏΠ»Π°Π²Π°ΡΡ Π² ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠΉ Π²ΠΎΠ΄Π΅ ΠΈ Π²Π΅ΡΠ΅ΡΠ½ΠΈΠ΅ ΠΏΡΠΎΠ³ΡΠ»ΠΊΠΈ ΠΏΠΎΠ΄ ΠΏΠ°Π»ΡΠΌΠ°ΠΌΠΈ. Ba Kantiang Bay β Π±ΠΎΠ»Π΅Π΅ ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΠΉ Π±Π΅Π·ΠΌΡΡΠ΅ΠΆΠ½ΡΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ Ρ ΠΊΡΡΡΠ΅Π½ΡΠΌΠΈ ΡΠΊΠ°Π»Π°ΠΌΠΈ ΠΈ ΠΎΡΠ»ΠΈΡΠ½ΠΎΠΉ ΠΌΠΎΡΡΠΊΠΎΠΉ Π°ΡΠΌΠΎΡΡΠ΅ΡΠΎΠΉ; Π·Π΄Π΅ΡΡ ΡΠ°ΡΡΠΎ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ Π·Π°ΠΊΠ°ΡΡ. Relax Bay ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠ΅ Π±ΡΡ
ΡΡ Π½Π° ΡΠ³Π΅ ΠΎΡΡΡΠΎΠ²Π° Π΄Π°ΡΡΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΠ΅ ΠΈ Ρ
ΠΎΡΠΎΡΡΡ Π²ΠΎΠ΄Ρ Π΄Π»Ρ ΠΏΠ»Π°Π²Π°Π½ΠΈΡ ΠΈ ΡΠ½ΠΎΡΠΊΠ»ΠΈΠ½Π³Π°. ΠΠ°ΡΠΈΠ°ΡΠΈΠ²Π½ΠΎΡΡΡ ΠΏΠ»ΡΠΆΠ΅ΠΉ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΠΌΠ΅ΡΡΠΎ ΠΏΠΎΠ΄ Π±ΠΎΡΠΎΠ½ΠΎΠ³ΠΈΠΉ ΠΎΡΠ΄ΡΡ
, Π²ΠΈΠ»Π»Ρ Ρ Π²ΠΈΠ΄ΠΎΠΌ Π½Π° ΠΌΠΎΡΠ΅ ΠΈΠ»ΠΈ ΠΏΡΠΎΡΡΡΠ΅ Π³Π΅ΡΡΡ
Π°ΡΡΡ Ρ Π²ΠΎΠ΄Ρ.
Erstellt am 12/04/25 um 09:59:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Appreciating the commitment you put into your website and in depth information you present. It's great to come across a blog every once in a while that isn't the same unwanted rehashed material. Excellent read! I've saved your site and I'm adding your RSS feeds to my Google account.
<a href=https://big-ip-client.com/>https://big-ip-client.com/</a>
<a href=https://big-ip-client.com/>https://big-ip-client.com/</a>
Erstellt am 12/04/25 um 10:09:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅</a> ΠΠ° ΠΎΡΡΡΠΎΠ²Π΅ Π΅ΡΡΡ ΠΏΡΠ°Π²ΠΈΠ»Π° ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΡ Π½Π° ΠΏΠ»ΡΠΆΠ°Ρ
: Π½Π΅ ΠΎΡΡΠ°Π²Π»ΡΠΉΡΠ΅ ΠΌΡΡΠΎΡ, Π½Π΅ Π·Π°ΠΆΠΈΠ³Π°ΠΉΡΠ΅ ΠΊΠΎΡΡΡΡ ΠΈ Π½Π΅ ΡΡΠΌΠΈΡΠ΅ ΠΏΠΎΠ·Π΄Π½ΠΎ Π½ΠΎΡΡΡ. ΠΠ΅ΡΡΠ½ΡΠ΅ Π²Π»Π°Π΄Π΅Π»ΡΡΡ ΠΊΠ°ΡΠ΅ ΠΈ ΠΎΡΠ΅Π»Π΅ΠΉ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ ΡΠΈΡΡΠΎΡΡ, ΡΠΎΡΡΠΈΡΡΡ ΠΎΡΡ
ΠΎΠ΄Ρ ΠΈ ΡΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°Ρ ΠΊΠΎΠ½ΡΠ΅ΠΉΠ½Π΅ΡΡ. Π‘ΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ ΡΡΠΈΠΊΠ΅ΡΠ° Π΄Π΅Π»Π°Π΅Ρ ΠΠΎ ΠΠ°Π½ΡΡ ΠΌΠ΅ΡΡΠΎΠΌ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΡΡΠ»Π°Π±ΠΈΡΡΡΡ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΠΏΡΠΈΡΠΎΠ΄ΠΎΠΉ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
ΠΏΡΠΎΠ±Π»Π΅ΠΌ. ΠΠ΅ΡΠ΅Π΄ΠΊΠΎ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ ΡΠ°Π±Π»ΠΈΡΠΊΠΈ Ρ Π½Π°ΠΏΠΎΠΌΠΈΠ½Π°Π½ΠΈΡΠΌΠΈ ΠΈ Π²Π΅ΠΆΠ»ΠΈΠ²ΡΠΌΠΈ ΠΏΡΠΎΡΡΠ±Π°ΠΌΠΈ ΡΠΎΠ±Π»ΡΠ΄Π°ΡΡ ΡΠΈΡΠΈΠ½Ρ Π² Π½ΠΎΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π΄Π»Ρ ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΡ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ
Erstellt am 12/04/25 um 11:18:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
My spouse and I absolutely love your blog and find almost all of your post's to be precisely what I'm looking for. can you offer guest writers to write content for you personally? I wouldn't mind producing a post or elaborating on some of the subjects you write related to here. Again, awesome blog!
<a href=https://openconnect-downloa...>openconnect for windows</a>
<a href=https://openconnect-downloa...>openconnect for windows</a>
Erstellt am 12/04/25 um 12:20:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ β ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠΈ Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ
Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΠΉ: Π½Π° Π·Π°ΠΏΠ°Π΄Π΅ ΠΎΡΠΊΡΡΡΡΠ΅ Π΄Π»ΠΈΠ½Π½ΡΠ΅ ΠΏΠ»ΡΠΆΠΈ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ ΠΈ ΠΏΠΎΡ
ΠΎΠ΄ΠΎΠ² ΠΏΠΎ Π±Π΅ΡΠ΅Π³Ρ, Π½Π° Π²ΠΎΡΡΠΎΠΊΠ΅ β Π±ΠΎΠ»Π΅Π΅ ΡΠΊΡΠΎΠΌΠ½ΡΠ΅ ΡΠ³ΠΎΠ»ΠΊΠΈ ΡΡΠ΄ΠΎΠΌ Ρ Π»Π°Π²ΠΊΠ°ΠΌΠΈ ΠΈ ΠΏΠ»ΡΠΆΠ½ΡΠΌΠΈ ΠΊΠ°ΡΠ΅. ΠΠ΄ΠΎΠ»Ρ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΡΡΡΠ½ΡΠ΅ ΠΌΠ΅ΡΡΠ° ΠΏΠΎΠ΄ ΠΏΠ°Π»ΡΠΌΠ°ΠΌΠΈ Ρ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΡ
Π½Π΅ΠΉ ΠΈ ΡΠ²Π΅ΠΆΠΈΠΌΠΈ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΠ°ΠΌΠΈ; Π²ΠΎΠ΄Π° ΡΡΠΏΠ»Π°Ρ ΠΏΠΎΡΡΠΈ ΠΊΡΡΠ³Π»ΡΠΉ Π³ΠΎΠ΄, Π½ΠΎ Π² ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ ΠΌΠΎΠΆΠ΅Ρ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡΡ ΡΠ»Π΅Π³ΠΊΠ° ΠΌΡΡΠ½ΠΎΠΉ ΠΈΠ·-Π·Π° ΠΏΡΠΈΠ»ΠΈΠ²ΠΎΠ². ΠΠ°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ, ΡΡΠΎ Π² Π½Π΅ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠ΅ΡΠΈΠΎΠ΄Ρ Ρ ΠΏΠ»ΡΠΆΠ΅ΠΉ ΠΌΠΎΠ³ΡΡ Π±ΡΡΡ ΡΡΠ°ΡΡΠΊΠΈ Ρ Π²ΠΎΠ΄ΠΎΡΠΎΡΠ»ΡΠΌΠΈ ΠΈΠ»ΠΈ Π½Π΅ΠΏΠΎΠ³ΠΎΠ΄Π°, ΠΏΠΎΡΡΠΎΠΌΡ ΡΡΠΎΠΈΡ ΡΡΠΈΡΡΠ²Π°ΡΡ ΠΏΡΠΎΠ³Π½ΠΎΠ· ΠΈ Π²ΡΠ±ΡΠ°ΡΡ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠ΅Π΅ ΠΌΠ΅ΡΡΠΎ Π΄Π»Ρ ΠΏΠ»Π°Π²Π°Π½ΠΈΡ. ΠΠ½ΠΎΠ³ΠΈΠ΅ ΠΏΠ»ΡΠΆΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ Π°ΡΠ΅Π½Π΄Ρ ΠΊΠ°ΡΠΊΠΎΠ² ΠΈ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³-ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ ΠΏΡΡΠΌΠΎ Π½Π° Π±Π΅ΡΠ΅Π³Ρ, ΡΡΠΎ ΡΠ΄ΠΎΠ±Π½ΠΎ Π΄Π»Ρ Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²Π° Ρ ΠΏΠΎΠ΄Π²ΠΎΠ΄Π½ΡΠΌ ΠΌΠΈΡΠΎΠΌ.
Erstellt am 12/04/25 um 13:20:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
WOW just what I was looking for. Came here by searching for %meta_keyword%
<a href=https://secure-client.org/>cisco secure client download</a>
<a href=https://secure-client.org/>cisco secure client download</a>
Erstellt am 12/04/25 um 13:21:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Dichaellaxia schrieb:
Right now it sounds like Wordpress is the top blogging platform out there right now. (from what I've read) Is that what you're using on your blog?
<a href=https://netextender-client....>download netextender for mac</a>
<a href=https://netextender-client....>download netextender for mac</a>
Erstellt am 12/04/25 um 13:47:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https:/1c.nsdigital-official.ru/> Π½Π°ΡΡΡΠΎΠΉΠΊΠ° 1Π‘ ΠΡΡ
Π³Π°Π»ΡΠ΅ΡΠΈΡ ΠΠ°Π·ΠΎΠ²Π°Ρ Π΄Π»Ρ ΡΡΠ»ΠΈΡ </a> ΠΡ ΠΠΈΠ΄ΠΆΠΈΡΠ°Π» Π€ΡΠ°Π½ΡΠ°ΠΉΠ·ΠΈΠ½Π³ 1Π‘ ΠΡΡ
Π°Π»ΡΠ΅ΡΠΈΡ, ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² 1Ρ
Erstellt am 12/04/25 um 15:11:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisTak schrieb:
<a href=https://t.me/tripscan_1>tripscan</a> Π’ΡΠΈΠΏ ΡΠ°ΠΉΡ β ΡΡΠΎ Π²Π΅Π±-ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠ°, ΠΊΠΎΡΠΎΡΠ°Ρ ΡΠ»ΡΠΆΠΈΡ ΡΠ΅Π½ΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΠΎΡΠΊΠΎΠΉ Π΄Π»Ρ Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΡΡΠ½ΠΊΡΠΈΡΠΌ TripScan. ΠΠ΄Π΅ΡΡ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ Π½Π°Ρ
ΠΎΠ΄ΠΈΡ ΠΏΠΎΠΈΡΠΊ ΠΌΠ°ΡΡΡΡΡΠΎΠ², ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΡ ΠΈ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ Π²ΠΈΠ·ΡΠ°Π»ΠΈΠ·Π°ΡΠΈΠΈ. ΠΠΈΠ·Π°ΠΉΠ½ ΡΠΎΡΡΠ΅Π΄ΠΎΡΠΎΡΠ΅Π½ Π½Π° ΠΏΡΠΎΡΡΠΎΡΠ΅ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ: ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠΈΠ»ΡΡΡΡ ΠΏΠΎ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡΠΌ ΠΈ Π΄Π°ΡΠ°ΠΌ, Π±ΡΡΡΡΠΎΠ΅ ΡΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² ΠΈ Π΄ΠΈΠ½Π°ΠΌΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΡ ΠΎΠ± ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡΡ
ΡΠ΅Π½. Π’Π΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈ ΡΠ°ΠΉΡ ΠΏΠΎΡΡΡΠΎΠ΅Π½ Π½Π° Π°Π΄Π°ΠΏΡΠΈΠ²Π½ΠΎΠΌ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡΠ΅, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅ API Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ Ρ ΡΠ΅ΡΠ²ΠΈΡΠ°ΠΌΠΈ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π·Π°ΡΠΈΡΠ΅ Π΄Π°Π½Π½ΡΡ
ΡΠ΅ΡΠ΅Π· ΡΠΈΡΡΠΎΠ²Π°Π½ΠΈΠ΅.
Erstellt am 12/04/25 um 15:16:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ</a> ΠΠ΅ΡΡΠ½ΡΠ΅ Ρ
ΡΠ°ΠΌΡ ΠΈ ΠΊΡΠ»ΡΡΡΡΠ° ΠΠΎ ΠΠ°Π½ΡΡ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡ Π³Π»ΡΠ±ΠΈΠ½Ρ ΠΎΡΠ΄ΡΡ
Ρ. ΠΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Ρ
ΡΠ°ΠΌΠΎΠ² Π΄Π°ΡΡ ΡΠ°Π½Ρ ΡΠ²ΠΈΠ΄Π΅ΡΡ Π΄ΡΡΠ³ΡΡ ΡΡΠΎΡΠΎΠ½Ρ ΠΎΡΡΡΠΎΠ²Π°, Π³Π΄Π΅ Π²Π°ΠΆΠ½Ρ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ ΠΈ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΊ ΠΏΡΠΈΡΠΎΠ΄Π΅. ΠΠΎΠΊΡΡΠ³ Ρ
ΡΠ°ΠΌΠΎΠ² ΠΏΡΠΎΡ
Π»Π°Π΄Π½ΠΎ ΠΈ Π·Π΅Π»Π΅Π½ΠΎ, ΠΏΡΠΎΠ³ΡΠ»ΠΊΠ° ΡΠΏΠΎΠΊΠΎΠΉΠ½Π°Ρ. ΠΠ°ΠΆΠ½ΠΎ ΡΠΎΠ±Π»ΡΠ΄Π°ΡΡ ΠΏΡΠ°Π²ΠΈΠ»Π°: Π½Π°Π΄Π΅Π½ΡΡΠ΅ ΡΠΊΡΠΎΠΌΠ½ΡΡ ΠΎΠ΄Π΅ΠΆΠ΄Ρ, Π½Π΅ ΠΏΠΎΠ΄Π½ΠΈΠΌΠ°ΠΉΡΠ΅ Π³ΡΠΎΠΌΠΊΠΈΠ΅ Π³ΠΎΠ»ΠΎΡΠ° ΠΈ Π½Π΅ ΡΠΎΡΠΎΠ³ΡΠ°ΡΠΈΡΡΠΉΡΠ΅ Π±Π΅Π· ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΡ. ΠΡΠΈ ΠΌΠΎΠΌΠ΅Π½ΡΡ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΠΏΠΎΠ½ΡΡΡ Ρ
Π°ΡΠ°ΠΊΡΠ΅Ρ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΈ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ Π΅Π³ΠΎ ΡΠΈΡΠΈΠ½ΠΎΠΉ β Π°ΡΠΌΠΎΡΡΠ΅ΡΠ° ΠΏΠΎΡΡΠ΅Π½ΠΈΡ ΠΈ ΡΠΎΠ²ΠΌΠ΅ΡΡΠ½ΠΎΠΉ Π³Π°ΡΠΌΠΎΠ½ΠΈΠΈ Ρ ΠΏΡΠΈΡΠΎΠ΄ΠΎΠΉ. Π ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΡ
Ρ
ΡΠ°ΠΌΠΎΠ² ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΌΠΎΠ½Π°Ρ
ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ°ΡΡΠΎ ΠΏΡΠΈΠ²Π΅ΡΡΡΠ²ΡΡΡ Π³ΠΎΡΡΠ΅ΠΉ ΠΈ Π΄Π΅Π»ΡΡΡΡ ΠΊΡΠ°ΡΠΊΠΈΠΌΠΈ ΠΈΡΡΠΎΡΠΈΡΠΌΠΈ ΠΎ ΠΆΠΈΠ·Π½ΠΈ Π½Π° ΠΎΡΡΡΠΎΠ²Π΅
Erstellt am 12/04/25 um 15:17:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΠ΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ° β Π³Π΅ΠΎΠ³ΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΈ ΡΠ°ΠΉΠΎΠ½Π½Π°Ρ ΡΡΡΡΠΊΡΡΡΠ°: ΠΠΎ ΠΠ°Π½ΡΠ° ΡΠΎΡΡΠΎΠΈΡ ΠΈΠ· Ko Lanta Yai ΠΈ Ko Lanta Noi, ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½ΡΡ
Ρ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ ΠΡΡΠΉΠ±ΠΈ, Π² ΡΠ³ΠΎ-Π·Π°ΠΏΠ°Π΄Π½ΠΎΠΉ ΡΠ°ΡΡΠΈ Π’Π°ΠΈΠ»Π°Π½Π΄Π°. ΠΡΠ½ΠΎΠ²Π½ΠΎΠΉ ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅ΠΊΡΠΎΡ ΡΠΎΡΡΠ΅Π΄ΠΎΡΠΎΡΠ΅Π½ Π½Π° ΡΠ΅Π²Π΅ΡΠ½ΠΎΠΉ ΠΈ ΡΠ΅Π½ΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΠ°ΡΡΠΈ Ko Lanta Yai β Long Beach, Klong Dao, Ban Saladan ΠΈ Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄ Π½Π° Π²ΠΎΡΡΠΎΡΠ½ΠΎΠΌ Π±Π΅ΡΠ΅Π³Ρ. Π‘Π΅Π²Π΅ΡΠ½Π°Ρ ΡΠ°ΡΡΡ ΡΠ΄ΠΎΠ±Π½Π° Π΄Π»Ρ Π±ΡΡΡΡΠΎΠ³ΠΎ Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌ, ΡΠ΅Π²Π΅ΡΠΎ-Π·Π°ΠΏΠ°Π΄Π½Π°Ρ ΡΠ°ΡΡΡ β Π΄Π»Ρ ΠΏΠ»ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΠΊΠ°ΡΠ΅, Π²ΠΎΡΡΠΎΡΠ½Π°Ρ β Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ ΠΏΠΎ Π½Π°Π±Π΅ΡΠ΅ΠΆΠ½ΠΎΠΉ ΠΈ Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²Π° Ρ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΡ
Π½Π΅ΠΉ. ΠΡΡΡΠΎΠ² ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ½ Ρ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠΌ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌΠΈ ΠΈ Π΄ΠΎΡΠΎΠ³Π°ΠΌΠΈ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π»Π΅Π³ΠΊΠΎ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ°ΡΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ ΡΠΎΡΠ΅Π΄Π½ΠΈΠΌΠΈ ΠΎΡΡΡΠΎΠ²Π°ΠΌΠΈ.
Erstellt am 12/04/25 um 19:12:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelanIsh schrieb:
<a href=https://lk.market/ru/help/s...>ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΎΡΡΠ°ΡΠΊΠ°ΠΌΠΈ</a> ΠΠ°ΠΊ ΡΠΈΠ½Ρ
ΡΠΎΠ½ΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΎΡΡΠ°ΡΠΊΠΈ Π½Π° ΠΌΠ°ΡΠΊΠ΅ΡΠΏΠ»Π΅ΠΉΡΠ°Ρ
: ΠΠΎΡΠ°Π³ΠΎΠ²Π°Ρ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡ ΠΏΠΎ Π½Π°ΡΡΡΠΎΠΉΠΊΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΠΈΠ½Ρ
ΡΠΎΠ½ΠΈΠ·Π°ΡΠΈΠΈ ΠΎΡΡΠ°ΡΠΊΠΎΠ² ΡΠΎΠ²Π°ΡΠΎΠ² Π½Π° ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠ°ΡΠΊΠ΅ΡΠΏΠ»Π΅ΠΉΡΠ°Ρ
.
Erstellt am 12/04/25 um 20:59:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΊΠ»ΠΈΠΌΠ°Ρ Π·Π΄Π΅ΡΡ ΡΠΏΡΠ°Π²Π»ΡΠ΅ΡΡΡ ΠΌΡΡΡΠΎΠ½Π½ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΠΎΠΉ ΠΠ½Π΄ΠΈΠΈ: ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ Ρ Π½ΠΎΡΠ±ΡΡ ΠΏΠΎ Π°ΠΏΡΠ΅Π»Ρ β ΡΠ°ΠΌΠΎΠ΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ΅ ΠΎΠΊΠ½ΠΎ Π΄Π»Ρ ΠΊΡΠΏΠ°Π½ΠΈΡ ΠΈ ΠΏΡΠΎΠ³ΡΠ»ΠΎΠΊ; Π²Π»Π°ΠΆΠ½ΡΠΉ ΡΠ΅Π·ΠΎΠ½ Ρ ΠΌΠ°Ρ ΠΏΠΎ ΠΎΠΊΡΡΠ±ΡΡ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ ΡΠ°ΡΡΡΠ΅ ΠΊΡΠ°ΡΠΊΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ Π΄ΠΎΠΆΠ΄ΠΈ, Π½ΠΎ Π²ΠΎΠ΄Π° ΠΎΡΡΠ°ΡΡΡΡ ΡΡΠΏΠ»ΠΎΠΉ. Π’Π΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡΡ ΠΎΠ±ΡΡΠ½ΠΎ Π΄Π΅ΡΠΆΠ°ΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ 24 ΠΈ 32 Π³ΡΠ°Π΄ΡΡΠ°ΠΌΠΈ Π¦Π΅Π»ΡΡΠΈΡ ΠΊΡΡΠ³Π»ΡΠΉ Π³ΠΎΠ΄, Π° Π²Π΅ΡΠ΅Ρ ΠΌΠΎΠΆΠ΅Ρ ΠΌΠ΅Π½ΡΡΡ Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΡΠΈΠ»Ρ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π²ΠΎ Π²ΡΠ΅ΠΌΡ ΡΠ΅Π²Π΅ΡΠΎ-Π²ΠΎΡΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΌΠΎΠ½ΡΡΠ½Π°. ΠΡΡΡΠ΅Π΅ Π²ΡΠ΅ΠΌΡ Π΄Π»Ρ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π° ΠΈ ΠΏΠ»ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° β ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½, ΠΊΠΎΠ³Π΄Π° ΠΌΠΎΡΠ΅ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠ΅ ΠΈ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΠ΅, Π° Π½ΠΎΡΠΈ ΠΏΡΠΎΡ
Π»Π°Π΄Π½Π΅Π΅. Π Π½Π΅ΠΏΠΎΠ³ΠΎΠΆΠΈΠ΅ ΠΌΠ΅ΡΡΡΡ ΡΡΠΎΠΈΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ Ρ ΡΡΡΡΠΎΠΌ ΠΏΡΠΎΠ³Π½ΠΎΠ·Π° Π²Π΅ΡΡΠ° ΠΈ ΠΏΡΠΈΠ»ΠΈΠ²ΠΎΠ².
Erstellt am 12/04/25 um 21:07:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisTak schrieb:
<a href=https://t.me/tripscan_1>ΡΠ°ΠΉΡ ΡΡΠΈΠΏΡΠΊΠ°Π½</a> Π’ΡΠΈΠΏΡΠΊΠ°Π½ β ΡΡΠΎ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ΅ΡΠ²ΠΈΡ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ ΡΠ΅Π½ Π½Π° Π°Π²ΠΈΠ°Π±ΠΈΠ»Π΅ΡΡ, ΠΎΡΠ΅Π»ΠΈ ΠΈ Π°ΡΠ΅Π½Π΄Ρ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ. ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΠΌ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² ΠΎΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠΎΠ², ΠΏΠΎΠΌΠΎΠ³Π°Ρ ΠΈΠΌ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ ΡΠ°ΠΌΡΠ΅ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. ΠΠ½ΡΡΠΈΡΠΈΠ²Π½ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ ΠΈ ΠΌΠΎΡΠ½Π°Ρ ΠΏΠΎΠΈΡΠΊΠΎΠ²Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ° Π΄Π΅Π»Π°ΡΡ ΠΏΡΠΎΡΠ΅ΡΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΏΠΎΠ΅Π·Π΄ΠΎΠΊ Π±ΡΡΡΡΡΠΌ ΠΈ ΠΏΡΠΎΡΡΡΠΌ. ΠΠ°ΡΠ° ΠΌΠΈΡΡΠΈΡ β ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠ°ΠΌ Π»ΡΡΡΠΈΠ΅ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ Π΄Π»Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΡ
ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ. ΠΠ°Π±ΡΠ΄ΡΡΠ΅ ΠΎ Π΄ΠΎΠ»Π³ΠΈΡ
ΠΏΠΎΠΈΡΠΊΠ°Ρ
ΠΈ ΡΠ»ΠΎΠΆΠ½ΡΡ
ΡΡΠ°Π²Π½Π΅Π½ΠΈΡΡ
β Π’ΡΠΈΠΏΡΠΊΠ°Π½ ΡΠ΄Π΅Π»Π°Π΅Ρ Π²ΡΠ΅ Π·Π° Π²Π°Ρ!
Erstellt am 12/04/25 um 21:17:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ β Π·Π΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π²Π°ΡΠΈΠ°Π½ΡΡ Π½Π° Π»ΡΠ±ΠΎΠΉ Π±ΡΠ΄ΠΆΠ΅Ρ: ΠΎΡ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΡ
Π³ΠΎΡΡΠ΅Π²ΡΡ
Π΄ΠΎΠΌΠΎΠ² ΠΈ Π±ΡΠ½Π³Π°Π»ΠΎ Π΄ΠΎ ΡΡΠ΅Π΄Π½Π΅-ΡΡΠΎΠ²Π½Π΅Π²ΡΡ
ΠΊΡΡΠΎΡΡΠΎΠ² ΠΈ ΡΠΎΡΠΊΠΎΡΠ½ΡΡ
Π²ΠΈΠ»Π» Ρ ΠΌΠΎΡΡ. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΡΠ°ΠΉΠΎΠ½Ρ ΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠ°ΡΠΈΠΈ β Long Beach, Klong Khong ΠΈ Klong Dao, Π³Π΄Π΅ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΏΠ»ΡΠΆΠ½ΡΠ΅ ΡΠ΄ΠΎΠ±ΡΡΠ²Π°, ΡΠ΅ΡΡΠΎΡΠ°Π½Ρ ΠΈ ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠ΄ΠΎΠ±Π½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌ. Π Π‘ΡΠ°ΡΠΎΠΌ Π³ΠΎΡΠΎΠ΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΎΡΠ°ΡΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΠ΅ Π³ΠΎΡΡΠ΅Π²ΡΠ΅ Π΄ΠΎΠΌΠ° ΠΈ ΡΡΡΠ½ΡΠ΅ Π²ΠΈΠ»Π»Ρ, Π° Π½Π° ΡΠ³Π΅ β ΡΠΈΡ
ΠΈΠ΅ Π±ΡΡ
ΡΡ ΠΈ Π²ΠΈΠ»Π»Ρ Π½Π° ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Ba Kan Tiang. ΠΡΡΠΎΠΊΠΈΠΉ ΡΠ΅Π·ΠΎΠ½ ΠΎΠ±ΡΡΠ½ΠΎ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅Π½, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π·Π°ΡΠ°Π½Π΅Π΅; ΠΌΠ΅ΠΆΡΠ΅Π·ΠΎΠ½ΡΠ΅ ΡΠ°ΡΡΠΎ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π°Π΅ΡΡΡ ΡΠΊΠΈΠ΄ΠΊΠ°ΠΌΠΈ. ΠΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΎΡΠ΅Π»Ρ ΠΎΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° Π±Π»ΠΈΠ·ΠΎΡΡΡ ΠΊ ΠΏΠ»ΡΠΆΡ, Π½Π°Π»ΠΈΡΠΈΠ΅ Wi-Fi, ΡΡΠ°Π½ΡΡΠ΅Ρ, Π·Π°Π²ΡΡΠ°ΠΊ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π°ΡΠ΅Π½Π΄Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ°.
Erstellt am 12/04/25 um 23:12:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DarrylHeany schrieb:
<a href=https://amik-mebel.ru/>ΠΌΠ΅Π±Π΅Π»Ρ Π½Π° Π·Π°ΠΊΠ°Π· Π² ΠΌΠΎΡΠΊΠ²Π΅ ΠΏΠΎ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΌ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΠΌ</a> ΠΡΡΡΠΎΠ΅Π½Π½ΡΠ΅ ΡΠΊΠ°ΡΡ Π½Π° Π·Π°ΠΊΠ°Π·: Π Π΅Π°Π»ΠΈΠ·ΡΠΉΡΠ΅ ΡΠ²ΠΎΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΠΈΠ΄Π΅ΠΈ Ρ ΠΏΠΎΠΌΠΎΡΡΡ Π²ΡΡΡΠΎΠ΅Π½Π½ΡΡ
ΡΠΊΠ°ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½Ρ ΠΏΠΎ Π²Π°ΡΠΈΠΌ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΠΌ ΠΈ Ρ ΡΡΠ΅ΡΠΎΠΌ Π²Π°ΡΠΈΡ
ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠΉ. ΠΠ½
Erstellt am 12/05/25 um 00:42:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΎΠ΄Π½ΠΎ ΠΈΠ· ΡΠ°ΠΌΡΡ
ΡΠ΄ΠΎΠ±Π½ΡΡ
ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠΉ ΠΌΠ°ΡΡΡΡΡΠΎΠ²: Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ Krabi Town ΠΈΠ»ΠΈ Ao Nang ΠΏΠΎ Π²ΠΎΠ·Π΄ΡΡ
Ρ ΠΈΠ»ΠΈ ΠΏΠΎ ΡΡΡΠ΅, Π·Π°ΡΠ΅ΠΌ ΠΎΡΠΏΡΠ°Π²ΠΈΡΡΡΡ Π½Π° ΠΏΠ°ΡΠΎΠΌΠ΅ ΡΠ΅ΡΠ΅Π· ΠΏΠΈΡΡΡ Π΄ΠΎ Saladan Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ΠΠ°ΠΈ. ΠΠΎΠ΅Π·Π΄ΠΊΠ° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ 2β3 ΡΠ°ΡΠ° Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΠΏΡΠ½ΠΊΡΠ° ΠΎΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ. Π Π²ΡΡΠΎΠΊΠΈΠΉ ΡΠ΅Π·ΠΎΠ½ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΠ°ΡΠΎΠΌΠΎΠ² ΠΌΠΎΠΆΠ΅Ρ ΡΠ°ΡΡΠΈΡΡΡΡΡΡ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΏΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ Π·Π°Π±Π»Π°Π³ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎ ΠΈ ΡΡΠΈΡΡΠ²Π°ΠΉΡΠ΅ Π·Π°ΠΏΠ°Ρ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π½Π° Π΄ΠΎΡΠΎΠ³Ρ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΡΠ΅ Π·Π°Π΄Π΅ΡΠΆΠΊΠΈ. Π Ao Nang ΠΌΠΎΠΆΠ½ΠΎ Π²Π·ΡΡΡ ΠΏΠ°ΠΊΠ΅ΡΠ½ΡΠΉ ΡΡΡ Ρ ΡΡΠ°Π½ΡΡΠ΅ΡΠΎΠΌ Π½Π°ΠΏΡΡΠΌΡΡ Π΄ΠΎ ΠΏΠΎΡΡΠ° ΠΈ ΠΏΠΈΡΡΠ°, ΡΡΠΎ ΡΠΏΡΠΎΡΠ°Π΅Ρ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΎΡΠ΄ΡΡ
Π°.
Erstellt am 12/05/25 um 02:57:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisTak schrieb:
<a href=https://t.me/tripscan_1>ΡΠ°ΠΉΡ ΡΡΠΈΠΏΡΠΊΠ°Π½</a> Π’ΡΠΈΠΏΡΠΊΠ°Π½ β ΡΡΠΎ ΡΡΠ»ΠΎΠ²Π½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π°Π½Π°Π»ΠΈΠ·Π° ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΡΠ΅Ρ ΡΠ°Π·Π½ΠΎΡΠ΅ΡΡΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΎ ΠΌΠ°ΡΡΡΡΡΠ°Ρ
, ΡΠ΅Π½Π°Ρ
Π½Π° Π±ΠΈΠ»Π΅ΡΡ, Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ Π½ΠΎΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΡΡ
Π² ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π΄Π»Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ² ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡΠΎΠ² ΡΡΡΠΈΠ·ΠΌΠ°. Π‘ΠΈΡΡΠ΅ΠΌΠ° ΡΠΊΠ»Π°Π΄ΡΠ²Π°Π΅Ρ ΡΠ²Π΅Π΄Π΅Π½ΠΈΡ ΠΈΠ· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠ², Π½ΠΎΡΠΌΠ°Π»ΠΈΠ·ΡΠ΅Ρ ΠΈΡ
, Π° Π·Π°ΡΠ΅ΠΌ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅Ρ Π°Π»Π³ΠΎΡΠΈΡΠΌΡ ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΈΠ½ΡΠ΅Π»Π»Π΅ΠΊΡΠ° Π΄Π»Ρ Π²ΡΡΠ²Π»Π΅Π½ΠΈΡ Π»ΡΡΡΠΈΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ, ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ
ΡΠΎΡΠ΅ΠΊ ΠΏΠ΅ΡΠ΅ΡΠ°Π΄ΠΊΠΈ ΠΈ ΠΏΡΠΎΠ³Π½ΠΎΠ·ΠΎΠ² ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ ΠΌΠ°ΡΡΡΡΡΠΎΠ², ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ Π½Π° Π±ΡΠ΄ΠΆΠ΅Ρ, ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΡ, Π° Π±ΠΈΠ·Π½Π΅Ρ-ΠΏΠ°ΡΡΠ½ΡΡΡ β Π°Π½Π°Π»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π΄Π°ΡΠ±ΠΎΡΠ΄Ρ Π΄Π»Ρ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ° ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π° Π½Π° ΠΌΠ°ΡΡΡΠ°Π±ΠΈΡΡΠ΅ΠΌΠΎΡΡΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ Π΄Π°Π½Π½ΡΡ
ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ Ρ ΠΊΠ°ΡΡΠ°ΠΌΠΈ, ΠΊΠ°Π»Π΅Π½Π΄Π°ΡΡΠΌΠΈ ΠΈ ΡΠΈΡΡΠ΅ΠΌΠ°ΠΌΠΈ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 12/05/25 um 03:03:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΠ΄Π° Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ β ΠΎΡΠ΄Π΅Π»ΡΠ½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ. ΠΠ΅ΡΠ΅ΡΠΎΠΌ Π²ΠΎΠΊΡΡΠ³ ΠΏΠΈΡΡΠΎΠ² ΠΊΠΈΠΏΠΈΡ ΠΆΠΈΠ·Π½Ρ: ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ Π½Π° Π³ΡΠΈΠ»Π΅, ΠΆΠ°ΡΠ΅Π½ΡΠΉ ΡΠΈΡ Ρ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΠ°ΠΌΠΈ ΠΈ ΠΊΠ°ΡΡΠΈ, Π»ΡΠ³ΠΊΠΈΠ΅ Π·Π°ΠΊΡΡΠΊΠΈ ΠΈ Π½Π°ΠΏΠΈΡΠΊΠΈ. ΠΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΡ Π»Π°Π²ΠΊΠΈ, Π³Π΄Π΅ ΠΏΠΎΠ²Π°Ρ Π²ΡΠ±ΠΈΡΠ°Π΅Ρ ΡΡΠ±Ρ Π½Π° ΠΌΠ΅ΡΡΠ΅ ΠΈ ΠΎΠ±ΠΆΠ°ΡΠΈΠ²Π°Π΅Ρ Π΅Ρ ΠΏΡΡΠΌΠΎ ΠΏΠ΅ΡΠ΅Π΄ Π²Π°ΠΌΠΈ, ΠΏΠΎΠ΄Π°Π²Π°Ρ Ρ Π»ΡΠΊΠΎΠΌ, ΡΠΈΠ»ΠΈ ΠΈ Π»ΠΈΠΌΠΎΠ½Π½ΡΠΌ ΡΠΎΠΊΠΎΠΌ. ΠΠΊΡΡ ΠΏΡΠΎΡΡΠΎΡΡ ΠΈ ΡΠ²Π΅ΠΆΠ΅ΡΡΠΈ ΠΏΡΠΎΡΠ²Π»ΡΠ΅ΡΡΡ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ Π±Π»ΡΠ΄Π΅: ΠΈΠ½Π³ΡΠ΅Π΄ΠΈΠ΅Π½ΡΡ ΡΠ°ΡΡΠΎ ΡΠΊΡΠΎΠΌΠ½Ρ ΠΏΠΎ Π½Π°Π±ΠΎΡΡ, Π½ΠΎ ΡΡΠΊΠΎ ΠΏΠΎΠ΄ΡΡΡΠΊΠ½ΡΡΡ ΡΠ²Π΅ΠΆΠ΅ΡΡΡΡ ΠΌΠΎΡΡ. Π ΡΠ½ΠΊΠΈ ΠΎΡΠΊΡΡΡΡ Π΄ΠΎ ΠΏΠΎΠ·Π΄Π½Π΅Π³ΠΎ Π²Π΅ΡΠ΅ΡΠ°, ΠΈ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π²ΠΊΡΡΠ½ΡΠ΅ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ ΠΏΠΎ ΡΠ°Π·ΡΠΌΠ½ΠΎΠΉ ΡΠ΅Π½Π΅, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΡΠ°ΠΏΠ΅Π·Ρ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΏΡΠΈΡΡΠ½ΠΎΠΉ
Erstellt am 12/05/25 um 04:09:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ</a> ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΠ»ΠΈΠΌΠ°Ρ Ko Lanta β ΡΡΠΎΠΏΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΌΡΡΡΠΎΠ½Π½ΡΠΉ: ΠΆΠ°ΡΠΊΠΎ ΠΏΠΎΡΡΠΈ ΠΊΡΡΠ³Π»ΡΠΉ Π³ΠΎΠ΄, ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ ΠΎΠ±ΡΡΠ½ΠΎ ΠΌΠ°ΠΉβΠΎΠΊΡΡΠ±ΡΡ, ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ β Π½ΠΎΡΠ±ΡΡβΠΌΠ°ΡΡ. Π ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ ΡΠ΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡΠ° Π΄Π΅ΡΠΆΠΈΡΡΡ Π² Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π΅ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ 28β34Β°C, Π²Π»Π°ΠΆΠ½ΠΎΡΡΡ Π²ΡΡΠΎΠΊΠ°, Π° ΠΌΠΎΡΠ΅ ΠΎΠ±ΡΡΠ½ΠΎ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΠΎΠ΅. Π ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΠΆΠ΄Π΅ΠΉ Π²ΡΠΏΠ°Π΄Π°ΡΡ ΠΏΡΠΎΠ»ΠΈΠ²Π½ΡΠ΅ Π»ΠΈΠ²Π½ΠΈ, Π½ΠΎ ΠΎΠ½ΠΈ ΠΏΡΠΈΡ
ΠΎΠ΄ΡΡ ΡΠ°ΡΡΠΎ ΠΊΠΎΡΠΎΡΠΊΠΎ ΠΈ Π΄Π°ΡΡ ΡΠΎΠ»Π½Π΅ΡΠ½ΡΠ΅ ΠΎΠΊΠ½Π° ΠΌΠ΅ΠΆΠ΄Ρ Π΄ΠΎΠΆΠ΄ΡΠΌΠΈ. ΠΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π΄Π»Ρ ΠΏΠΎΡΠ΅ΡΠ΅Π½ΠΈΡ β ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½, ΠΊΠΎΠ³Π΄Π° ΠΏΠΎΠ³ΠΎΠ΄Π° Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΏΡΠ΅Π΄ΡΠΊΠ°Π·ΡΠ΅ΠΌΠ°Ρ ΠΈ Π²ΠΎΠ΄Π° ΡΡΠΏΠ»Π°Ρ, Ρ
ΠΎΡΡ Π² Π»ΡΠ±ΠΎΠΌ ΡΠ΅Π·ΠΎΠ½Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ Π΄Π½ΠΈ.
Erstellt am 12/05/25 um 05:21:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisTak schrieb:
<a href=https://t.me/tripscan_1>ΡΡΠΈΠΏΡΠΊΠ°Π½ ΡΡΡΠ»ΠΊΠ°</a> Π’ΡΠΈΠΏΡΠΊΠ°Π½ ΡΠ°ΠΉΡ Π²Ρ
ΠΎΠ΄ β ΡΡΠΎ ΡΠ°Π·Π³ΠΎΠ²ΠΎΡ ΠΎ Π²Ρ
ΠΎΠ΄Π΅ Π½Π° ΡΡΡΠ°Π½ΠΈΡΡ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ ΠΈ Π΄ΠΎΡΡΡΠΏΠ΅ ΠΊ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠΌ Π΄Π°Π½Π½ΡΠΌ. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΠΏΡΠΈΠ½ΡΠΈΠΏΡ β Π΅Π΄ΠΈΠ½Π°Ρ ΡΠΎΡΠΊΠ° Π΄ΠΎΡΡΡΠΏΠ°, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎΠ΅ ΠΎΠΏΠΎΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΎ ΡΡΠ°ΡΡΡΠ΅ Π²Ρ
ΠΎΠ΄Π°. Π ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π½ΠΎΠΉ ΡΡΠ΅Π΄Π΅ Π²Ρ
ΠΎΠ΄ ΠΌΠΎΠΆΠ΅Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ Π΅Π΄ΠΈΠ½ΡΠΉ Π²Ρ
ΠΎΠ΄ (SSO) ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΡΠ°ΠΊΡΠΎΡΠ½ΡΡ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΡ, ΡΡΠΎΠ±Ρ ΡΠ½ΠΈΠ·ΠΈΡΡ ΡΠΈΡΠΊΠΈ Π½Π΅ΡΠ°Π½ΠΊΡΠΈΠΎΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠ³ΠΎ Π΄ΠΎΡΡΡΠΏΠ°. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΠΎΠΆΠΈΠ΄Π°Π΅Ρ Π±ΡΡΡΡΡΡ Π·Π°Π³ΡΡΠ·ΠΊΡ, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΡ ΠΈ Π·Π°ΡΠΈΡΡ Π΄Π°Π½Π½ΡΡ
Π²ΠΎ Π²ΡΠ΅ΠΌΡ ΠΏΠ΅ΡΠ΅Π΄Π°ΡΠΈ.
Erstellt am 12/05/25 um 07:21:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅</a> ΠΠ΄Π° Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ β ΠΎΡΠ΄Π΅Π»ΡΠ½Π°Ρ ΠΈΡΡΠΎΡΠΈΡ. ΠΠ΅ΡΠ΅ΡΠΎΠΌ Π²ΠΎΠΊΡΡΠ³ ΠΏΠΈΡΡΠΎΠ² ΠΊΠΈΠΏΠΈΡ ΠΆΠΈΠ·Π½Ρ: ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ Π½Π° Π³ΡΠΈΠ»Π΅, ΠΆΠ°ΡΠ΅Π½ΡΠΉ ΡΠΈΡ Ρ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΠ°ΠΌΠΈ ΠΈ ΠΊΠ°ΡΡΠΈ, Π»ΡΠ³ΠΊΠΈΠ΅ Π·Π°ΠΊΡΡΠΊΠΈ ΠΈ Π½Π°ΠΏΠΈΡΠΊΠΈ. ΠΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΡ Π»Π°Π²ΠΊΠΈ, Π³Π΄Π΅ ΠΏΠΎΠ²Π°Ρ Π²ΡΠ±ΠΈΡΠ°Π΅Ρ ΡΡΠ±Ρ Π½Π° ΠΌΠ΅ΡΡΠ΅ ΠΈ ΠΎΠ±ΠΆΠ°ΡΠΈΠ²Π°Π΅Ρ Π΅Ρ ΠΏΡΡΠΌΠΎ ΠΏΠ΅ΡΠ΅Π΄ Π²Π°ΠΌΠΈ, ΠΏΠΎΠ΄Π°Π²Π°Ρ Ρ Π»ΡΠΊΠΎΠΌ, ΡΠΈΠ»ΠΈ ΠΈ Π»ΠΈΠΌΠΎΠ½Π½ΡΠΌ ΡΠΎΠΊΠΎΠΌ. ΠΠΊΡΡ ΠΏΡΠΎΡΡΠΎΡΡ ΠΈ ΡΠ²Π΅ΠΆΠ΅ΡΡΠΈ ΠΏΡΠΎΡΠ²Π»ΡΠ΅ΡΡΡ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ Π±Π»ΡΠ΄Π΅: ΠΈΠ½Π³ΡΠ΅Π΄ΠΈΠ΅Π½ΡΡ ΡΠ°ΡΡΠΎ ΡΠΊΡΠΎΠΌΠ½Ρ ΠΏΠΎ Π½Π°Π±ΠΎΡΡ, Π½ΠΎ ΡΡΠΊΠΎ ΠΏΠΎΠ΄ΡΡΡΠΊΠ½ΡΡΡ ΡΠ²Π΅ΠΆΠ΅ΡΡΡΡ ΠΌΠΎΡΡ. Π ΡΠ½ΠΊΠΈ ΠΎΡΠΊΡΡΡΡ Π΄ΠΎ ΠΏΠΎΠ·Π΄Π½Π΅Π³ΠΎ Π²Π΅ΡΠ΅ΡΠ°, ΠΈ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π²ΠΊΡΡΠ½ΡΠ΅ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ ΠΏΠΎ ΡΠ°Π·ΡΠΌΠ½ΠΎΠΉ ΡΠ΅Π½Π΅, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΡΡΠ°ΠΏΠ΅Π·Ρ Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΏΡΠΈΡΡΠ½ΠΎΠΉ
Erstellt am 12/05/25 um 07:41:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
novosti-belarus-914 schrieb:
Π½ΠΎΠ²ΠΎΡΡΠΈ Π±Π΅Π»Π°ΡΡΡΠΈ ΠΈ ΠΌΠΈΡΠ° <a href=https://novosti-belarus.ru/>Π½ΠΎΠ²ΠΎΡΡΠΈ Π±Π΅Π»Π°ΡΡΡΠΈ ΡΠ΅Π³ΠΎΠ΄Π½Ρ</a>
Erstellt am 12/05/25 um 07:49:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
novosti-belarus-937 schrieb:
ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ Π±Π΅Π»Π°ΡΡΡΠΈ <a href=https://novosti-belarus.ru/>Π½ΠΎΠ²ΠΎΡΡΠΈ Π±Π΅Π»Π°ΡΡΡΠΈ ΠΈ ΠΌΠΈΡΠ°</a>
Erstellt am 12/05/25 um 08:08:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΈ ΠΏΠΎΠΊΠ°Π·ΡΠ²Π°ΡΡ <a href=https://lerosa.com.br/>kraken onion link</a> Ρ Π·Π΅Π»Π΅Π½ΠΎΠΉ ΠΌΠ΅ΡΠΊΠΎΠΉ Π²Π΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ ΠΎΡ ΠΌΠΎΠ΄Π΅ΡΠ°ΡΠΎΡΠΎΠ² ΠΈ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎΠΉ PGP ΠΏΠΎΠ΄ΠΏΠΈΡΡΡ Π΄Π»Ρ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΡ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΠΈ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π°Π΄ΡΠ΅ΡΠ°.
Erstellt am 12/05/25 um 08:14:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
novosti-belarus-567 schrieb:
Π±Π΅Π»Π°ΡΡΡΡ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΏΡΠ°Π²Π΄Π° <a href=https://novosti-belarus.ru/>Π½ΠΎΠ²ΠΎΡΡΠΈ Π±Π΅Π»Π°ΡΡΡΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅</a>
Erstellt am 12/05/25 um 08:31:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
ΠΠΎΡΠ΅Π½Π½ΠΈΠΊΠΈ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½ΡΡΡ <a href=https://lerosa.com.br/>ΡΠΈΡΠΈΠ½Π³ ΠΊΡΠ°ΠΊΠ΅Π½</a> ΠΊΠΎΠΏΠΈΠΈ ΡΠ΅ΡΠ΅Π· ΠΏΠΎΠΈΡΠΊΠΎΠ²ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ clearnet ΠΈ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ Π²ΠΈΠ·ΡΠ°Π»ΡΠ½ΠΎ ΠΈΠ΄Π΅Π½ΡΠΈΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½ Π΄Π»Ρ ΠΊΡΠ°ΠΆΠΈ ΡΡΠ΅ΡΠ½ΡΡ
Π΄Π°Π½Π½ΡΡ
ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ.
Erstellt am 12/05/25 um 08:34:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ β Π½Π° ΠΎΡΡΡΠΎΠ²Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ: ΠΎΡ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΡ
Π³ΠΎΡΡΠ΅Π²ΡΡ
Π΄ΠΎΠΌΠΎΠ² ΠΈ Π±ΡΠ½Π³Π°Π»ΠΎ Π΄ΠΎ ΡΠΎΡΠΊΠΎΡΠ½ΡΡ
Π²ΠΈΠ»Π» ΠΈ ΠΊΡΡΠΎΡΡΠΎΠ² Π½Π° Π±Π΅ΡΠ΅Π³ΠΎΠ²ΠΎΠΉ Π»ΠΈΠ½ΠΈΠΈ. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΡΠ°ΠΉΠΎΠ½Ρ ΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠ°ΡΠΈΠΈ β Long Beach, Klong Khong ΠΈ Klong Dao, Π³Π΄Π΅ Π΅ΡΡΡ ΠΏΠ»ΡΠΆΠ½ΡΠ΅ Π±Π°ΡΡ, ΡΠ΅ΡΡΠΎΡΠ°Π½Ρ, Π°ΡΠ΅Π½Π΄Π° Π±Π°ΠΉΠΊΠΎΠ² ΠΈ Π»ΡΠ³ΠΊΠΈΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΠ°ΡΠΎΠΌΠ°ΠΌ. Π Π‘ΡΠ°ΡΠΎΠΌ Π³ΠΎΡΠΎΠ΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΎΡΠ°ΡΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΠ΅ Π³ΠΎΡΡΠ΅Π²ΡΠ΅ Π΄ΠΎΠΌΠ° ΠΈ Π°ΡΡΠ΅Π½ΡΠΈΡΠ½ΡΠ΅ Π²ΠΈΠ»Π»Ρ, Π° Π½Π° ΡΠ³Π΅ β ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠ΅ Π±ΡΡ
ΡΡ ΠΈ ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΠ΅ ΠΊΡΡΠΎΡΡΠ½ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡ. ΠΡΡΠΎΠΊΠΈΠΉ ΡΠ΅Π·ΠΎΠ½ ΠΏΡΠΈΠ½ΠΎΡΠΈΡ ΡΠΎΡΡ ΡΠ΅Π½, ΠΏΠΎΡΡΠΎΠΌΡ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅; Π² ΠΌΠ΅ΠΆΡΠ΅Π·ΠΎΠ½ΡΠ΅ ΡΠ°ΡΡΠΎ Π΄Π΅ΠΉΡΡΠ²ΡΡΡ ΡΠΊΠΈΠ΄ΠΊΠΈ. ΠΡΠΈ Π²ΡΠ±ΠΎΡΠ΅ ΠΎΡΠ΅Π»Ρ ΠΎΠ±ΡΠ°ΡΠ°ΠΉΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° Π±Π»ΠΈΠ·ΠΎΡΡΡ ΠΊ ΠΏΠ»ΡΠΆΡ, Π½Π°Π»ΠΈΡΠΈΠ΅ Wi-Fi, ΡΡΠ°Π½ΡΡΠ΅Ρ, Π·Π°Π²ΡΡΠ°ΠΊΠΈ ΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡ Π°ΡΠ΅Π½Π΄Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ° Π΄Π»Ρ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ.
Erstellt am 12/05/25 um 08:44:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
ΠΡΠΈΠΏΡΠΎΠ³ΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ Π·Π°ΡΠΈΡΠ΅Π½Π½ΡΠΉ <a href=https://lerosa.com.br/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΠ°ΠΉΡ ΠΎΠ½ΠΈΠΎΠ½</a> Π²Π΅ΡΡΠΈΠΈ v3 ΡΠΎΠ΄Π΅ΡΠΆΠΈΡ 56 ΡΠΈΠΌΠ²ΠΎΠ»ΠΎΠ² ΠΏΠ΅ΡΠ΅Π΄ ΡΠ°ΡΡΠΈΡΠ΅Π½ΠΈΠ΅ΠΌ ΡΠΎΡΠΊΠ° onion ΠΈ ΠΌΠ°ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΡΠ²ΡΠ·Π°Π½ Ρ ΠΏΡΠ±Π»ΠΈΡΠ½ΡΠΌΠΈ ΠΊΠ»ΡΡΠ°ΠΌΠΈ ΡΠ΅ΡΠ²Π΅ΡΠΎΠ² ΡΠ΅ΡΠ΅Π· ΡΠ»Π»ΠΈΠΏΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΊΡΠΈΠ²ΡΠ΅.
Erstellt am 12/05/25 um 08:58:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
This is very interesting, You are a very skilled blogger. I've joined your feed and look forward to seeking more of your excellent post. Also, I have shared your site in my social networks!
<a href=https://wisenet-viewer.com/>wisenet viewer download</a>
<a href=https://wisenet-viewer.com/>wisenet viewer download</a>
Erstellt am 12/05/25 um 09:23:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenfoump schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΎΡΠ΅Π»ΠΈ</a> ΠΠΎ ΠΠ°Π½ΡΠ° ΠΎΡΠ·ΡΠ²Ρ β ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΈ ΡΠ°ΡΡΠΎ ΠΎΡΠΌΠ΅ΡΠ°ΡΡ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΠ΅, ΡΠΈΡΡΡΠ΅ ΠΏΠ»ΡΠΆΠΈ ΠΈ Π΄ΡΡΠΆΠ΅Π»ΡΠ±Π½ΠΎΠ΅ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΆΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠΎΠ·ΠΈΡΠΈΠ²Π½ΡΠ΅ ΡΡΠΎΡΠΎΠ½Ρ: ΠΊΡΠ°ΡΠΈΠ²Π°Ρ ΠΏΡΠΈΡΠΎΠ΄Π°, Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΠ΅Π΄ΠΈΠ½ΠΈΡΡΡΡ, Π·Π°ΠΊΠ°ΡΡ Π½Π°Π΄ ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΈΠΌ ΠΌΠΎΡΠ΅ΠΌ, Ρ
ΠΎΡΠΎΡΠΈΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΡΠ½ΠΎΡΠΊΠ΅Π»ΠΈΠ½Π³Π°. ΠΠΈΠ½ΡΡΡ β ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½Π°Ρ Π½ΠΎΡΠ½Π°Ρ ΠΆΠΈΠ·Π½Ρ ΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΡ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠ³Π°ΡΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ Π±ΡΡ
ΡΠ°ΠΌΠΈ Π½Π° ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ΅, ΡΡΠΎ ΠΌΠΎΠΆΠ΅Ρ Π·Π°Π½ΠΈΠΌΠ°ΡΡ Π²ΡΠ΅ΠΌΡ. Π ΡΠ΅Π»ΠΎΠΌ ΠΠΎ ΠΠ°Π½ΡΠ° ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΌΠ΅ΡΡΠΎΠΌ Π΄Π»Ρ ΠΌΠ΅Π΄Π»Π΅Π½Π½ΠΎΠ³ΠΎ, ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΠΈΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ Π±Π»ΠΈΠ·Π»Π΅ΠΆΠ°ΡΠΈΡ
ΠΎΡΡΡΠΎΠ²ΠΊΠΎΠ², ΡΡΠ½ΠΊΠΎΠ² Π‘ΡΠ°ΡΠΎΠ³ΠΎ Π³ΠΎΡΠΎΠ΄Π° ΠΈ ΡΡΡΠ½ΡΡ
ΠΊΠ°ΡΠ΅ Π½Π° ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅.
Erstellt am 12/05/25 um 09:53:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Hi there! I know this is kinda off topic however , I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog post or vice-versa? My site addresses a lot of the same topics as yours and I believe we could greatly benefit from each other. If you happen to be interested feel free to send me an email. I look forward to hearing from you! Wonderful blog by the way!
<a href=https://admanager-plus.com/>admanager plus</a>
<a href=https://admanager-plus.com/>admanager plus</a>
Erstellt am 12/05/25 um 10:08:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Appreciating the commitment you put into your site and in depth information you offer. It's great to come across a blog every once in a while that isn't the same unwanted rehashed information. Fantastic read! I've bookmarked your site and I'm adding your RSS feeds to my Google account.
<a href=https://globalprotect-downl...>palo alto globalprotect download</a>
<a href=https://globalprotect-downl...>palo alto globalprotect download</a>
Erstellt am 12/05/25 um 10:44:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hi i am kavin, its my first time to commenting anywhere, when i read this article i thought i could also make comment due to this sensible article.
<a href=https://citrix-secure-acces...>citrix secure access</a>
<a href=https://citrix-secure-acces...>citrix secure access</a>
Erstellt am 12/05/25 um 11:04:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
It's remarkable to go to see this web page and reading the views of all friends concerning this article, while I am also eager of getting experience.
<a href=https://watchguard-vpn.com/>watchguard vpn download</a>
<a href=https://watchguard-vpn.com/>watchguard vpn download</a>
Erstellt am 12/05/25 um 11:37:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisTak schrieb:
<a href=https://t.me/tripscan_1>ΡΡΠΈΠΏΡΠΊΠ°Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a> Π’ΡΠΈΠΏΡΠΊΠ°Π½ β ΡΡΠΎ ΡΡΠ»ΠΎΠ²Π½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π°Π½Π°Π»ΠΈΠ·Π° ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΡΠ΅Ρ ΡΠ°Π·Π½ΠΎΡΠ΅ΡΡΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΎ ΠΌΠ°ΡΡΡΡΡΠ°Ρ
, ΡΠ΅Π½Π°Ρ
Π½Π° Π±ΠΈΠ»Π΅ΡΡ, Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ Π½ΠΎΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΡΡ
Π² ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π΄Π»Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ² ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡΠΎΠ² ΡΡΡΠΈΠ·ΠΌΠ°. Π‘ΠΈΡΡΠ΅ΠΌΠ° ΡΠΊΠ»Π°Π΄ΡΠ²Π°Π΅Ρ ΡΠ²Π΅Π΄Π΅Π½ΠΈΡ ΠΈΠ· ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π° ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠ², Π½ΠΎΡΠΌΠ°Π»ΠΈΠ·ΡΠ΅Ρ ΠΈΡ
, Π° Π·Π°ΡΠ΅ΠΌ ΠΏΡΠΈΠΌΠ΅Π½ΡΠ΅Ρ Π°Π»Π³ΠΎΡΠΈΡΠΌΡ ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΈΠ½ΡΠ΅Π»Π»Π΅ΠΊΡΠ° Π΄Π»Ρ Π²ΡΡΠ²Π»Π΅Π½ΠΈΡ Π»ΡΡΡΠΈΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ, ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ
ΡΠΎΡΠ΅ΠΊ ΠΏΠ΅ΡΠ΅ΡΠ°Π΄ΠΊΠΈ ΠΈ ΠΏΡΠΎΠ³Π½ΠΎΠ·ΠΎΠ² ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ ΠΌΠ°ΡΡΡΡΡΠΎΠ², ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ Π½Π° Π±ΡΠ΄ΠΆΠ΅Ρ, ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΡ, Π° Π±ΠΈΠ·Π½Π΅Ρ-ΠΏΠ°ΡΡΠ½ΡΡΡ β Π°Π½Π°Π»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π΄Π°ΡΠ±ΠΎΡΠ΄Ρ Π΄Π»Ρ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΠ° ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π° Π½Π° ΠΌΠ°ΡΡΡΠ°Π±ΠΈΡΡΠ΅ΠΌΠΎΡΡΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ Π΄Π°Π½Π½ΡΡ
ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ Ρ ΠΊΠ°ΡΡΠ°ΠΌΠΈ, ΠΊΠ°Π»Π΅Π½Π΄Π°ΡΡΠΌΠΈ ΠΈ ΡΠΈΡΡΠ΅ΠΌΠ°ΠΌΠΈ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 12/05/25 um 11:37:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https:/1c.nsdigital-official.ru/> ΠΏΠΎΠΊΡΠΏΠΊΠ° 1Π‘ Π€ΡΠ΅Ρ Ρ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ΠΌ </a> ΠΡ ΠΠΈΠ΄ΠΆΠΈΡΠ°Π» Π€ΡΠ°Π½ΡΠ°ΠΉΠ·ΠΈΠ½Π³ 1Π‘ ΠΡΡ
Π°Π»ΡΠ΅ΡΠΈΡ, ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² 1Ρ
Erstellt am 12/05/25 um 11:42:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is fantastic, let alone the content!
<a href=https://qfinder-pro.com/>Qfinder Pro</a>
<a href=https://qfinder-pro.com/>Qfinder Pro</a>
Erstellt am 12/05/25 um 11:56:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hello, all the time i used to check weblog posts here early in the morning, for the reason that i like to learn more and more.
<a href=https://fortinet-vpn.com/>fortinet vpn download</a>
<a href=https://fortinet-vpn.com/>fortinet vpn download</a>
Erstellt am 12/05/25 um 12:34:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hey! Do you use Twitter? I'd like to follow you if that would be ok. I'm definitely enjoying your blog and look forward to new posts.
<a href=https://forticlient-for-mac...>forticlient mac download</a>
<a href=https://forticlient-for-mac...>forticlient mac download</a>
Erstellt am 12/05/25 um 12:56:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ</a> ΠΊΠΎ Π»Π°Π½ΡΠ΅ ΠΎΡΠ΅Π»ΠΈ β ΠΏΠΎΠ²ΡΠΎΡΠ½ΠΎ ΡΠ°ΡΡΠΌΠΎΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΠΌΡ Ρ Π°ΠΊΡΠ΅Π½ΡΠΎΠΌ Π½Π° ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΡΡΡ ΠΈ Ρ
Π°ΡΠ°ΠΊΡΠ΅Ρ ΠΎΡΡΡΠΎΠ²Π°: Π·Π΄Π΅ΡΡ ΠΌΠ½ΠΎΠ³ΠΎ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΡ
ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ
ΠΎΡΠ΅Π»Π΅ΠΉ ΠΈ ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΡ
Π²ΠΈΠ»Π». Π§Π°ΡΡΠΎ Π²ΡΡΡΠ΅ΡΠ°ΡΡΡΡ Π²Π°ΡΠΈΠ°Π½ΡΡ Ρ ΠΌΠΎΡΡ Ρ ΡΠ°ΡΡΠ½ΡΠΌΠΈ ΡΠ΅ΡΡΠ°ΡΠ°ΠΌΠΈ, ΡΠ°Π΄ΠΎΠ²ΡΠΌΠΈ Π΄ΠΎΡΠΎΠΆΠΊΠ°ΠΌΠΈ ΠΊ ΠΏΠ»ΡΠΆΡ ΠΈ Π±Π»ΠΈΠ·ΠΎΡΡΡΡ ΠΊ ΡΡΠ½ΠΊΠ°ΠΌ Saladan ΠΈ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌ ΠΏΠ»ΡΠΆΠ°ΠΌ, ΡΡΠΎΠ±Ρ Π½Π΅ ΡΡΠ°ΡΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π½Π° Π΄ΠΎΡΠΎΠ³Ρ. ΠΠ° ΠΠΎ ΠΠ°Π½ΡΠ΅ Π±ΠΎΠ»ΡΡΠ΅ ΠΌΠ΅ΡΡ, ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
Π½Π° ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π½ΡΠΉ ΠΎΡΠ΄ΡΡ
ΠΈ Π±Π»ΠΈΠ·ΠΎΡΡΡ ΠΊ ΠΏΡΠΈΡΠΎΠ΄Π΅, ΡΠ΅ΠΌ Π½Π° Π±ΡΡΠ½ΡΡ Π½ΠΎΡΠ½ΡΡ ΠΆΠΈΠ·Π½Ρ, ΠΏΠΎΡΡΠΎΠΌΡ ΠΎΡΡΡΠΎΠ² ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π΄Π»Ρ ΠΏΠ°Ρ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉ, ΠΈΡΡΡΠΈΡ
ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΠ΅ ΠΈ ΡΠ°ΡΡΠ»Π°Π±Π»ΡΡΡΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½ΠΎ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΆΠΈΠ»ΡΡ Π² ΠΏΡΠ΅Π΄Π΅Π»Π°Ρ
ΠΏΠ΅ΡΠ΅ΠΉ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΡΡΠΈ ΠΊ ΠΏΠ»ΡΠΆΡ ΠΈΠ»ΠΈ ΠΊ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΠΌ ΡΠ·Π»Π°ΠΌ, ΡΡΠΎΠ±Ρ Π½Π΅ Π·Π°Π²ΠΈΡΠ΅ΡΡ ΠΎΡ Π°Π²ΡΠΎ Π² Π±ΠΎΠ»ΡΡΠΎΠΌ ΠΏΠΎΡΠΎΠΊΠ΅ ΡΡΡΠΈΡΡΠΎΠ².
Erstellt am 12/05/25 um 14:17:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Greetings I am so happy I found your weblog, I really found you by accident, while I was researching on Aol for something else, Nonetheless I am here now and would just like to say thank you for a remarkable post and a all round exciting blog (I also love the theme/design), I donβt have time to browse it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read much more, Please do keep up the excellent jo.
<a href=https://forticlient-for-mac...>forticlient mac download</a>
<a href=https://forticlient-for-mac...>forticlient mac download</a>
Erstellt am 12/05/25 um 15:02:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williambreag schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΡΠ°ΠΈΠ»Π°Π½Π΄</a> ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ: Π½Π° ΡΠ°ΠΌΠΎΠ»ΡΡΠ΅ Π΄ΠΎ Krabi Airport ΠΈΠ»ΠΈ Phuket Airport, Π·Π°ΡΠ΅ΠΌ ΡΡΠ°Π½ΡΡΠ΅Ρ Π½Π° Π°Π²ΡΠΎΠ±ΡΡΠ΅/ΠΌΠΈΠ½ΠΈΠ²Π΅Π½Π΅ Π΄ΠΎ ΠΏΠΈΡΡΠ° Ban Saladan ΠΈ ΠΊΠΎΡΠΎΡΠΊΠ°Ρ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π° Π½Π° Ko Lanta Yai. Π ΡΠ΅Π·ΠΎΠ½ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΏΡΡΠΌΡΠ΅ ΡΠΊΠΎΡΠΎΡΡΠ½ΡΠ΅ Π»ΠΎΠ΄ΠΊΠΈ ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π² Ko Lanta, Π½ΠΎ ΠΎΠ½ΠΈ Π·Π°Π²ΠΈΡΡΡ ΠΎΡ ΠΏΠΎΠ³ΠΎΠ΄Ρ ΠΈ ΡΠΏΡΠΎΡΠ°; Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Ρ Π²ΠΊΠ»ΡΡΠ°ΡΡ Ao Nang ΠΈΠ»ΠΈ Krabi Town ΠΊ ΠΏΠ°ΡΠΎΠΌΡ. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅, ΡΡΠΈΡΡΠ²Π°ΡΡ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΡ ΠΏΠ°ΡΠΎΠΌΠΎΠ² ΠΈ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ, ΡΡΠΎΠ±Ρ Π²ΡΠ±ΡΠ°ΡΡ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ.
Erstellt am 12/05/25 um 16:31:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Good day! This post could not be written any better! Reading through this post reminds me of my good old room mate! He always kept chatting about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!
<a href=https://forticlient-for-mac...>forticlient mac download</a>
<a href=https://forticlient-for-mac...>forticlient mac download</a>
Erstellt am 12/05/25 um 17:20:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ</a> ΠΊΠΎ Π»Π°Π½ΡΠ° Π½Π° ΠΊΠ°ΡΡΠ΅ β ΠΎΡΡΡΠΎΠ²Π½ΠΎΠΉ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ Π² ΠΠ½Π΄Π°ΠΌΠ°Π½ΡΠΊΠΎΠΌ ΠΌΠΎΡΠ΅, Π² ΡΠ³ΠΎ-Π·Π°ΠΏΠ°Π΄Π½ΠΎΠΉ ΡΠ°ΡΡΠΈ Π’Π°ΠΈΠ»Π°Π½Π΄Π°, Π² ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΠΈ ΠΡΠ°Π±Ρ, Π½Π΅Π΄Π°Π»Π΅ΠΊΠΎ ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΠΎΠΉ ΡΠ°ΡΡΠΈ ΠΡΠΎΡΠΈ ΠΈ Trang. ΠΠ° ΠΊΠ°ΡΡΠ΅ Π΅Π³ΠΎ ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈΡΠΊΠ°ΡΡ ΠΊΠ°ΠΊ Ko Lanta Yai (Π³Π»Π°Π²Π½ΡΠΉ ΠΎΡΡΡΠΎΠ²) Ρ ΠΏΡΠΈΠ»Π΅Π³Π°ΡΡΠΈΠΌΠΈ Π±ΡΡ
ΡΠ°ΠΌΠΈ ΠΈ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠΌΠΈ ΠΎΡΡΡΠΎΠ²ΠΊΠ°ΠΌΠΈ Π²ΠΎΠΊΡΡΠ³. ΠΡΠ½ΠΎΠ²Π½ΡΠ΅ ΡΠΎΡΠΊΠΈ ΠΌΠ°ΡΡΡΡΡΠΎΠ² β Saladan Π½Π° ΡΠ΅Π²Π΅ΡΠ΅ ΠΈ Long Beach Π½Π° Π·Π°ΠΏΠ°Π΄Π΅; ΠΌΠΎΡΡ ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ Ko Lanta Yai ΠΈ Ko Lanta Noi, ΡΡΠΎ ΡΠΏΡΠΎΡΠ°Π΅Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π²Π½ΡΡΡΠΈ Π°ΡΡ
ΠΈΠΏΠ΅Π»Π°Π³Π°. ΠΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ, ΡΡΠΎΠ±Ρ Π²ΠΈΠ΄Π΅ΡΡ ΠΏΠΈΡΡΡ, ΠΏΠ°ΡΠΎΠΌΡ ΠΈ Π΄ΠΎΡΠΎΠΆΠ½ΡΡ ΡΠ΅ΡΡ ΠΌΠ΅ΡΡΠ½ΠΎΡΡΠΈ.
Erstellt am 12/05/25 um 18:28:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelNak schrieb:
<a href=https://studhub.cz/>https://studhub.cz/</a>
Erstellt am 12/05/25 um 19:11:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
medim-pro-490 schrieb:
Π‘ΡΠΎΠΈΡ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ: <a href=https://medim-pro.ru/kupit-...>https://medim-pro.ru/kupit-flyuorografiyu/</a>
Erstellt am 12/05/25 um 19:31:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
medim-pro-695 schrieb:
ΠΡΡ Π»ΡΡΡΠ΅Π΅ Π·Π΄Π΅ΡΡ: <a href=https://medim-pro.ru/spravk...>https://medim-pro.ru/spravka-dlya-vyezda-za-graniczu-kupit/</a>
Erstellt am 12/05/25 um 19:51:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
medim-pro-518 schrieb:
Π‘Π°ΠΌΠΎΠ΅ ΠΏΠΎΠ»Π΅Π·Π½ΠΎΠ΅ Π΄Π»Ρ Π²Π°Ρ: <a href=https://medim-pro.ru/kupit-...>https://medim-pro.ru/kupit-spravku-o-privivkakh/</a>
Erstellt am 12/05/25 um 20:15:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ ΠΊΠΎ Π»Π°Π½ΡΡ β Π‘Π°ΠΌΡΠΉ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½ΡΠ½Π½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ ΠΏΡΠΈΠ»ΡΡΠ° Π² Krabi International (KBV) ΠΈΠ»ΠΈ Phuket International (HKT). ΠΡ Π°ΡΡΠΎΠΏΠΎΡΡΠ° Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ Π½Π° Π°Π²ΡΠΎΠ±ΡΡΠ΅ ΠΈΠ»ΠΈ ΡΠ°ΠΊΡΠΈ Π΄ΠΎ ΠΏΠΈΡΡΠ° Π½Π° ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠ΅, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΡΠ΅ΠΊΠ°ΡΡ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Ρ Π½Π° Ko Lanta ΡΠ΅ΡΠ΅Π· Ban Saladan. Π Krabi Town ΠΈΠ»ΠΈ Ao Nang ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Ko Lanta Yai; Π΄ΠΎΡΠΎΠ³Π° Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ 2β3 ΡΠ°ΡΠ° Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΠΎΡΠ΅ΡΠ΅Π΄Π΅ΠΉ Π½Π° ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π΅. ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΡΠ°ΡΡΠΎ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΌΠ°ΡΡΡΡΡ Β«Π°Π²ΡΠΎΠ±ΡΡ/ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡ + ΠΏΠ°ΡΠΎΠΌΒ» ΡΠ΅ΡΠ΅Π· ΠΌΠ°ΡΠ΅ΡΠΈΠΊ ΠΈ Ao Nang ΠΈΠ»ΠΈ Krabi Town; ΠΎΠ±ΡΠ΅Π΅ Π²ΡΠ΅ΠΌΡ β 4β6 ΡΠ°ΡΠΎΠ². Π Π½Π΅ΠΊΠΎΡΠΎΡΡΡ
ΡΠ»ΡΡΠ°ΡΡ
ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠ°ΡΡΠ½ΡΠΉ ΡΡΠ°Π½ΡΡΠ΅Ρ Β«Π°Π²ΡΠΎ + ΠΏΠ°ΡΠΎΠΌΒ» Π΄Π»Ρ Π±ΠΎΠ»ΡΡΠ΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΠΈ ΡΠΊΠΎΡΠΎΡΡΠΈ. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π½ΠΎ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΠΌΠ°ΡΡΡΡΡ Π·Π°ΡΠ°Π½Π΅Π΅ ΠΈ ΡΡΠΈΡΡΠ²Π°ΡΡ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ.
Erstellt am 12/05/25 um 22:06:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williambreag schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° β ΠΌΠ°ΡΡΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ ΠΡ
ΡΠΊΠ΅ΡΠΎΠΌ ΠΈ Ko Lanta ΡΠ°ΡΠ΅ Π²ΡΠ΅Π³ΠΎ ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅ΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΏΠ°ΡΠΎΠΌ ΠΈΠ»ΠΈ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΡΠ΅ΡΠ΅Π· Krabi Ao Nang. ΠΡΡΠΌΡΠ΅ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Ρ ΠΌΠ΅ΠΆΠ΄Ρ ΠΡ
ΡΠΊΠ΅ΡΠΎΠΌ ΠΈ Ko Lanta ΡΡΡΠ΅ΡΡΠ²ΡΡΡ ΡΠ΅Π·ΠΎΠ½Π½ΠΎ ΠΈ Π·Π°Π½ΠΈΠΌΠ°ΡΡ ΠΏΡΠΈΠΌΠ΅ΡΠ½ΠΎ 2,5β3,5 ΡΠ°ΡΠ°, ΠΎΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΡ Π½Π΅ΡΠ΅Π΄ΠΊΠΎ ΠΏΡΠΈΡ
ΠΎΠ΄ΡΡ ΠΊ ΠΏΠΎΡΡΡ Rassada Π² ΠΡ
ΡΠΊΠ΅ΡΠ΅ ΠΈ ΠΏΡΠΈΠ±ΡΠ²Π°ΡΡ ΠΊ Saladan Pier Π½Π° Ko Lanta Yai. ΠΠ½Π΅ ΡΠ΅Π·ΠΎΠ½Π° ΠΈΠ»ΠΈ Π΄Π»Ρ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΡΡΡΠΈΡΡΡ ΡΠ°ΡΡΠΎ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΏΡΡΡ: ΠΡ
ΡΠΊΠ΅Ρ > Krabi > Ko Lanta, Π³Π΄Π΅ ΠΏΡΡΡ Π½Π° ΠΌΠ°ΡΠΈΠ½Π΅/Π°Π²ΡΠΎΠ±ΡΡΠ΅ Π΄ΠΎ Ao Nang ΠΈΠ»ΠΈ Krabi Town, Π·Π°ΡΠ΅ΠΌ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Π° Π½Π° ΠΏΠ°ΡΠΎΠΌΠ΅ Π΄ΠΎ ΠΎΡΡΡΠΎΠ²Π°. Π Π»ΡΠ±ΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ ΡΠ»Π΅Π΄ΡΠ΅Ρ ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π², ΡΠ°ΠΊ ΠΊΠ°ΠΊ Π²ΠΎΠ»Π½Ρ ΠΈ Π²Π΅ΡΠ΅Ρ ΠΌΠΎΠ³ΡΡ Π²Π»ΠΈΡΡΡ Π½Π° Π²ΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ. ΠΠΎ ΠΏΡΠΈΠ±ΡΡΠΈΠΈ Π½Π° Ko Lanta ΠΌΠΎΠΆΠ½ΠΎ Π°ΡΠ΅Π½Π΄ΠΎΠ²Π°ΡΡ ΡΠΊΡΡΠ΅Ρ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, ΡΡΠΎΠ±Ρ ΡΠ²ΠΎΠ±ΠΎΠ΄Π½ΠΎ ΠΏΠ΅ΡΠ΅ΠΌΠ΅ΡΠ°ΡΡΡΡ ΠΌΠ΅ΠΆΠ΄Ρ ΠΏΠ»ΡΠΆΠ°ΠΌΠΈ ΠΈ Π΄ΠΎΡΡΠΎΠΏΡΠΈΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΡΡΡΠΌΠΈ, Π²ΠΊΠ»ΡΡΠ°Ρ Mu Ko Lanta National Park ΠΈ Π‘ΡΠ°ΡΡΠΉ Π³ΠΎΡΠΎΠ΄. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ: Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ
ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡΠΎΠ² ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π², ΡΡΠΈΡΡΠ²Π°ΠΉΡΠ΅ ΡΠ΅Π·ΠΎΠ½Π½ΠΎΡΡΡ (ΡΡΡ
ΠΎΠΉ ΡΠ΅Π·ΠΎΠ½ ΡΠ°ΡΠ΅ ΡΡΠ°Π±ΠΈΠ»Π΅Π½), ΠΈ ΠΏΠ»Π°Π½ΠΈΡΡΠΉΡΠ΅ Π½ΠΎΡΡΠ²ΠΊΡ Π·Π°ΡΠ°Π½Π΅Π΅ Π² ΠΏΠΈΠΊΠΎΠ²ΡΠ΅ Π΄Π°ΡΡ.
Erstellt am 12/06/25 um 00:06:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> P.S. ΠΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ Π² ΠΠΎ ΠΠ°Π½ΡΡ ΠΎΠ±ΡΡΠ½ΠΎ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΈΡΡΠΎΡΠΈΠ΅ΠΉ ΠΌΠ°Π»Π΅Π½ΡΠΊΠΈΡ
ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠΉ: ΡΠΈΡ
ΠΈΠ΅ ΠΏΠ»ΡΠΆΠΈ, Π΄ΡΡΠΆΠ΅Π»ΡΠ±Π½ΡΠ΅ Π»ΡΠ΄ΠΈ ΠΈ ΡΠΈΡΠΎΠΊΠΈΠ΅ ΠΏΡΠΎΡΡΠΎΡΡ ΠΏΡΠΈΡΠΎΠ΄Ρ. ΠΠ΅Π±ΠΎΠ»ΡΡΠΈΠ΅ ΡΠ°ΡΡΡΠΎΡΠ½ΠΈΡ ΠΌΠ΅ΠΆΠ΄Ρ ΠΎΡΠ½ΠΎΠ²Π½ΡΠΌΠΈ ΠΌΠ΅ΡΡΠ°ΠΌΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ Π·Π° ΠΎΠ΄ΠΈΠ½ ΠΎΡΠΏΡΡΠΊ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΡΠ°Π·Π½ΡΠ΅ Π»ΠΈΡΠ° ΠΎΡΡΡΠΎΠ²Π° β ΠΎΡ ΡΠ΅Π΄ΠΈΠ½ΡΠ½Π½ΡΡ
Π±ΡΡ
Ρ Π΄ΠΎ ΠΆΠΈΠ²ΠΎΠΉ Π½Π°Π±Π΅ΡΠ΅ΠΆΠ½ΠΎΠΉ Ρ ΡΡΠ½ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠ΅ΡΡΠΎΡΠ°Π½Π°ΠΌΠΈ. Π Π»ΡΠ±ΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ ΠΠΎ ΠΠ°Π½ΡΠ° ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΎΡΡΡΠ΅Π½ΠΈΠ΅ ΡΠΏΠΎΠΊΠΎΠΉΡΡΠ²ΠΈΡ ΠΈ ΠΆΠ΅Π»Π°Π½ΠΈΡ Π²Π΅ΡΠ½ΡΡΡΡΡ ΡΠ½ΠΎΠ²Π°
Erstellt am 12/06/25 um 00:15:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΏΡΡΠΌΡΡ
ΠΌΠ°ΡΡΡΡΡΠΎΠ² ΠΈΠ½ΠΎΠ³Π΄Π° Π½Π΅ ΡΡΡΠ΅ΡΡΠ²ΡΠ΅Ρ, ΡΠ°ΡΠ΅ Π²ΡΠ΅Π³ΠΎ ΠΏΡΡΡ ΠΈΠ΄ΡΡ ΡΠ΅ΡΠ΅Π· ΠΡΠ°Π±Π±ΠΈ: ΠΎΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π½Π° Π°Π²ΡΠΎΠ±ΡΡΠ΅ ΠΈΠ»ΠΈ ΡΠ°ΠΌΠΎΠ»ΡΡΠΎΠΌ Π² Krabi ΠΈΠ»ΠΈ Trang, Π·Π°ΡΠ΅ΠΌ ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Saladan Π½Π° ΠΠΎ ΠΠ°Π½ΡΠ΅. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΡΡΠΌΠΎΠΉ ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΉ ΠΊΠ°ΡΠ΅Ρ ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ°, Π½ΠΎ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΎ ΠΈ ΡΠ΅Π½Ρ Π²ΡΡΠ΅. ΠΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 4β5 ΡΠ°ΡΠΎΠ² Ρ ΡΡΡΡΠΎΠΌ ΠΏΠ΅ΡΠ΅ΡΠ°Π΄ΠΎΠΊ ΠΈ ΠΎΠΆΠΈΠ΄Π°Π½ΠΈΡ. ΠΡΠ»ΠΈ Ρ
ΠΎΡΠ΅ΡΡΡ Π±ΠΎΠ»ΡΡΠ΅Π³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ°, ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π΄ΠΎ Krabi ΠΏΠΎ Π²ΠΎΠ·Π΄ΡΡ
Ρ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠ±ΡΡΠΎΠΌ, Π° Π·Π°ΡΠ΅ΠΌ ΡΠ΄Π΅Π»Π°ΡΡ ΠΊΠΎΡΠΎΡΠΊΡΡ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΠΎΠ΅Π·Π΄ΠΊΡ Π½Π° ΠΏΠ°ΡΠΎΠΌΠ΅.
Erstellt am 12/06/25 um 02:07:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π΄ΠΎ Ko Lanta ΠΎΠ±ΡΡΠ½ΠΎ Π΄ΠΎΠ±ΠΈΡΠ°ΡΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠΎΠ²ΡΠΉ ΡΠ΅ΠΊΡΠΎΡ ΠΈ ΠΏΠ°ΡΠΎΠΌ: Π°Π²ΡΠΎΠ±ΡΡ/ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ Π΄ΠΎ ΠΏΠΈΡΡΠ° Π½Π° ΠΌΠ°ΡΠ΅ΡΠΈΠΊΠ΅, Π·Π°ΡΠ΅ΠΌ ΠΏΠ°ΡΠΎΠΌ Π΄ΠΎ Ko Lanta Yai. ΠΡΡΠΌΡΡ
ΡΠΊΠΎΡΠΎΡΡΠ½ΡΡ
ΠΏΠ°ΡΠΎΠΌΠΎΠ² ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° Π΄ΠΎ Ko Lanta Π½Π΅ΠΌΠ½ΠΎΠ³ΠΎ; ΡΠ°ΡΠ΅ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡ ΠΌΠ°ΡΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· Ao Nang ΠΈΠ»ΠΈ Krabi Town. ΠΡΠ΅ΠΌΡ Π² ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 4β6 ΡΠ°ΡΠΎΠ² Ρ ΡΡΡΡΠΎΠΌ ΠΏΠ΅ΡΠ΅ΠΏΡΠ°Π²Ρ ΠΈ ΠΎΠΏΠΎΠ·Π΄Π°Π½ΠΈΠΉ ΠΏΠΎ ΠΏΠΎΠ³ΠΎΠ΄Π΅. ΠΡΡΡ Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Ρ Ρ ΡΠ°ΡΡΠ½ΡΠΌΠΈ ΡΡΠ°Π½ΡΡΠ΅ΡΠ°ΠΌΠΈ ΠΈ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΌΠΈ ΡΡΡΠ°ΠΌΠΈ Β«Π°Π²ΡΠΎΠ±ΡΡ+ΠΏΠ°ΡΠΎΠΌΒ» Π΄Π»Ρ Π±ΠΎΠ»Π΅Π΅ ΠΏΠ»Π°Π²Π½ΠΎΠ³ΠΎ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΌΠ°ΡΡΡΡΡΠ°. Π Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π·Π°ΡΠ°Π½Π΅Π΅, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π² ΠΏΠΈΠΊΠΎΠ²ΡΠ΅ ΡΠ΅Π·ΠΎΠ½Ρ, ΡΡΠΎΠ±Ρ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΏΡΠΎΡΡΠΎΠ΅Π².
Erstellt am 12/06/25 um 04:09:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ</a> Klong Dao Beach β Π½Π΅ΠΏΡΠΈΡΡΠ·Π°ΡΠ΅Π»ΡΠ½ΡΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ Π½Π° ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅, Π³Π΄Π΅ ΠΏΠ΅ΡΠΎΠΊ Π³Π»Π°Π΄ΠΊΠΈΠΉ, Π²ΠΎΠ΄Π° ΡΠΏΠΎΠΊΠΎΠΉΠ½Π°Ρ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½Π°Ρ Π΄Π»Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΡ
Π½ΡΡΡΠ»ΡΡΠΈΠΊΠΎΠ² Ρ Π΄Π΅ΡΡΠΌΠΈ. ΠΠ»ΡΠΆ Π½Π΅ ΡΠ»ΠΈΡΠΊΠΎΠΌ ΠΏΡΠΎΡΡΠΆΠ΅Π½Π½ΡΠΉ, Π½ΠΎ ΠΎΠ½ ΠΈΠΌΠ΅Π΅Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅: ΡΡΠ΄ΠΎΠΌ ΡΡΡΠ½ΡΠ΅ Π±ΡΠ½Π³Π°Π»ΠΎ ΠΈ Π½Π΅Π±ΠΎΠ»ΡΡΠΈΠ΅ Π±Π°ΡΡ ΠΏΡΡΠΌΠΎ Ρ Π²ΠΎΠ΄Ρ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠΏΡΠΎΠ±ΠΎΠ²Π°ΡΡ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΌΠΎΡΠ΅ΠΏΡΠΎΠ΄ΡΠΊΡΡ ΠΈ ΡΠ°ΠΉΡΠΊΠΈΠ΅ Π±Π»ΡΠ΄Π°. Π£ΡΡΠΎ Π·Π΄Π΅ΡΡ Π½Π°ΡΠΈΠ½Π°Π΅ΡΡΡ Ρ Π»ΡΠ³ΠΊΠΎΠ³ΠΎ ΡΠ΅ΠΏΠΎΡΠ° Π²ΠΎΠ»Π½ ΠΈ Π°ΡΠΎΠΌΠ°ΡΠΎΠ² ΠΊΠΎΡΠ΅ ΠΈΠ· ΡΠΎΡΠ΅Π΄Π½ΠΈΡ
ΠΊΠ°ΡΠ΅, Π΄Π½ΡΠΌ β ΠΌΠΎΠΆΠ½ΠΎ Π°ΡΠ΅Π½Π΄ΠΎΠ²Π°ΡΡ ΠΊΠ°ΡΠΊ ΠΈΠ»ΠΈ ΠΏΡΠΎΡΡΠΎ ΠΏΡΠΎΠ³ΡΠ»ΡΡΡΡΡ ΠΏΠΎ ΠΏΠ°Π»ΡΠΌΠ°ΠΌ, Π° Π²Π΅ΡΠ΅ΡΠΎΠΌ Π½Π°Π΄ Π²ΠΎΠ΄ΠΎΠΉ ΠΊΡΠ°ΡΠΈΠ²ΠΎ ΠΌΠ΅ΡΡΠ°ΡΡ ΠΎΠ³Π½ΠΈ Π»ΠΎΠ΄ΠΎΠΊ. ΠΠΎΡΡΡ Π½Π°Π±Π΅ΡΠ΅ΠΆΠ½Π°Ρ Π±ΠΎΠ»Π΅Π΅ ΡΠΏΠΎΠΊΠΎΠΉΠ½Π°, Π° Π·Π²ΡΠ·Π΄Ρ Π½Π°Π΄ ΠΌΠΎΡΠ΅ΠΌ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡ ΠΌΠΈΠΌΠΈΡΠ½ΠΎΠΉ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ. ΠΡΠΎΡ ΠΏΠ»ΡΠΆ ΡΠ°ΡΡΠΎ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΡΠ΅ΠΌΡΠΈ ΠΈ ΠΏΠ°ΡΡ Π·Π° ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΉ ΡΠΈΡΠΌ ΠΈ ΡΠΌΠ΅ΡΠ΅Π½Π½ΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ Π»ΡΠ΄Π΅ΠΉ
Erstellt am 12/06/25 um 06:11:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSpAnt schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΡ
ΡΠΊΠ΅Ρ ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ β ΠΌΠ°ΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΡ
ΡΠΊΠ΅Ρ ΠΎΠ±ΡΡΠ½ΠΎ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΏΠ΅ΡΠ΅Π»ΡΡ Π² Phuket ΠΈΠ»ΠΈ Krabi, Π·Π°ΡΠ΅ΠΌ Π½Π°Π·Π΅ΠΌΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡ Π΄ΠΎ ΠΏΠ°ΡΠΎΠΌΠ° ΠΊ Ko Lanta Yai. ΠΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Π½Π°ΠΏΡΡΠΌΡΡ Π½Π° ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΠ΅ ΠΈΠ»ΠΈ Π°Π²ΡΠΎΠ±ΡΡΠ΅ Ρ Π·Π°ΡΠ°Π»ΠΎΠΉ Π½Π° ΠΏΠ°ΡΠΎΠΌ Π² Ao Nang ΠΈΠ»ΠΈ Krabi Town, ΠΏΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΈΠ΄ΡΡ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄ Π½Π° Ko Lanta. ΠΡΠ΅ΠΌΡ ΠΏΡΡΠΈ ΠΎΠ±ΡΡΠ½ΠΎ 3β4 ΡΠ°ΡΠ° Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²ΡΠ±ΡΠ°Π½Π½ΠΎΠ³ΠΎ Π²Π°ΡΠΈΠ°Π½ΡΠ°, ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ ΠΈ ΡΠ°ΡΠΏΠΈΡΠ°Π½ΠΈΠΉ ΠΏΠ°ΡΠΎΠΌΠΎΠ². ΠΡΡΠΌΡΠ΅ ΠΌΠ°ΡΡΡΡΡΡ ΠΏΠΎ Π²ΠΎΠ΄Π΅ ΠΈΠ· ΠΡ
ΡΠΊΠ΅ΡΠ° ΡΠ΅Π΄ΠΊΠΈ, ΠΏΠΎΡΡΠΎΠΌΡ ΡΠ°ΡΠ΅ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ: ΡΠ°ΠΌΠΎΠ»ΡΡ/ΡΠ°ΠΌΠΎΠ»ΡΡ Π΄ΠΎ ΡΠΎΡΠ΅Π΄Π½Π΅Π³ΠΎ Π°ΡΡΠΎΠΏΠΎΡΡΠ°, Π·Π°ΡΠ΅ΠΌ ΠΏΠ°ΡΠΎΠΌ ΠΈ Π½Π°Π·Π΅ΠΌΠ½ΡΠΉ ΡΡΠ°Π½ΡΠΏΠΎΡΡ Π΄ΠΎ ΠΎΡΡΡΠΎΠ²Π°.
Erstellt am 12/06/25 um 08:06:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buchmacher kappe schrieb:
kombiwetten bonus
Erstellt am 12/06/25 um 10:10:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³Π΄Π΅ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΠ΅ΡΡΠ½ΡΠ΅ Ρ
ΡΠ°ΠΌΡ ΠΈ ΠΊΡΠ»ΡΡΡΡΠ° ΠΠΎ ΠΠ°Π½ΡΡ Π΄ΠΎΠ±Π°Π²Π»ΡΡΡ Π³Π»ΡΠ±ΠΈΠ½Ρ ΠΎΡΠ΄ΡΡ
Ρ. ΠΠΎΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Ρ
ΡΠ°ΠΌΠΎΠ² Π΄Π°ΡΡ ΡΠ°Π½Ρ ΡΠ²ΠΈΠ΄Π΅ΡΡ Π΄ΡΡΠ³ΡΡ ΡΡΠΎΡΠΎΠ½Ρ ΠΎΡΡΡΠΎΠ²Π°, Π³Π΄Π΅ Π²Π°ΠΆΠ½Ρ ΡΡΠ°Π΄ΠΈΡΠΈΠΈ ΠΈ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ ΠΊ ΠΏΡΠΈΡΠΎΠ΄Π΅. ΠΠΎΠΊΡΡΠ³ Ρ
ΡΠ°ΠΌΠΎΠ² ΠΏΡΠΎΡ
Π»Π°Π΄Π½ΠΎ ΠΈ Π·Π΅Π»Π΅Π½ΠΎ, ΠΏΡΠΎΠ³ΡΠ»ΠΊΠ° ΡΠΏΠΎΠΊΠΎΠΉΠ½Π°Ρ. ΠΠ°ΠΆΠ½ΠΎ ΡΠΎΠ±Π»ΡΠ΄Π°ΡΡ ΠΏΡΠ°Π²ΠΈΠ»Π°: Π½Π°Π΄Π΅Π½ΡΡΠ΅ ΡΠΊΡΠΎΠΌΠ½ΡΡ ΠΎΠ΄Π΅ΠΆΠ΄Ρ, Π½Π΅ ΠΏΠΎΠ΄Π½ΠΈΠΌΠ°ΠΉΡΠ΅ Π³ΡΠΎΠΌΠΊΠΈΠ΅ Π³ΠΎΠ»ΠΎΡΠ° ΠΈ Π½Π΅ ΡΠΎΡΠΎΠ³ΡΠ°ΡΠΈΡΡΠΉΡΠ΅ Π±Π΅Π· ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΡ. ΠΡΠΈ ΠΌΠΎΠΌΠ΅Π½ΡΡ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΠΏΠΎΠ½ΡΡΡ Ρ
Π°ΡΠ°ΠΊΡΠ΅Ρ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΈ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ Π΅Π³ΠΎ ΡΠΈΡΠΈΠ½ΠΎΠΉ β Π°ΡΠΌΠΎΡΡΠ΅ΡΠ° ΠΏΠΎΡΡΠ΅Π½ΠΈΡ ΠΈ ΡΠΎΠ²ΠΌΠ΅ΡΡΠ½ΠΎΠΉ Π³Π°ΡΠΌΠΎΠ½ΠΈΠΈ Ρ ΠΏΡΠΈΡΠΎΠ΄ΠΎΠΉ. Π ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΡ
Ρ
ΡΠ°ΠΌΠΎΠ² ΠΌΠΎΠΆΠ½ΠΎ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΌΠΎΠ½Π°Ρ
ΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ°ΡΡΠΎ ΠΏΡΠΈΠ²Π΅ΡΡΡΠ²ΡΡΡ Π³ΠΎΡΡΠ΅ΠΉ ΠΈ Π΄Π΅Π»ΡΡΡΡ ΠΊΡΠ°ΡΠΊΠΈΠΌΠΈ ΠΈΡΡΠΎΡΠΈΡΠΌΠΈ ΠΎ ΠΆΠΈΠ·Π½ΠΈ Π½Π° ΠΎΡΡΡΠΎΠ²Π΅
Erstellt am 12/06/25 um 12:23:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Hi there to all, the contents present at this site are in fact amazing for people knowledge, well, keep up the good work fellows.
<a href=https://fortinet-vpn.com/>fortinet vpn client</a>
<a href=https://fortinet-vpn.com/>fortinet vpn client</a>
Erstellt am 12/06/25 um 12:50:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Why visitors still make use of to read news papers when in this technological world the whole thing is existing on web?
<a href=https://fortinet-vpn.com/>fortinet vpn</a>
<a href=https://fortinet-vpn.com/>fortinet vpn</a>
Erstellt am 12/06/25 um 12:57:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!
<a href=https://qfinder-pro.com/>Qfinder Pro</a>
<a href=https://qfinder-pro.com/>Qfinder Pro</a>
Erstellt am 12/06/25 um 18:02:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Hey! I understand this is sort of off-topic but I needed to ask. Does operating a well-established blog like yours require a massive amount work? I'm completely new to blogging but I do write in my journal everyday. I'd like to start a blog so I will be able to share my own experience and thoughts online. Please let me know if you have any kind of recommendations or tips for brand new aspiring blog owners. Appreciate it!
<a href=https://qfinder-pro.com/>Qfinder Pro download</a>
<a href=https://qfinder-pro.com/>Qfinder Pro download</a>
Erstellt am 12/06/25 um 18:09:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
emerald-chat-554 schrieb:
Free video chat <a href=https://emerald-chat.app/>emerald chat online</a> find people from all over the world in seconds. Anonymous, no registration or SMS required. A convenient alternative to Omegle: minimal settings, maximum live communication right in your browser, at home or on the go, without unnecessary ads.
Erstellt am 12/06/25 um 19:37:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
emerald-chat-934 schrieb:
Free video chat <a href=https://emerald-chat.app/>emerald chat webcam chat</a> find people from all over the world in seconds. Anonymous, no registration or SMS required. A convenient alternative to Omegle: minimal settings, maximum live communication right in your browser, at home or on the go, without unnecessary ads.
Erstellt am 12/06/25 um 19:55:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
emerald-chat-843 schrieb:
Free video chat <a href=https://emerald-chat.app/>emerald-chat.app</a> and a convenient alternative to Omegle. Instant connections, live communication without registration, usernames, or phone numbers. Just click "Start" and meet new people from all over the world, whenever you like and whatever your mood.
Erstellt am 12/06/25 um 20:11:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
emerald-chat-896 schrieb:
Free video chat <a href=https://emerald-chat.app/>this website</a> and a convenient alternative to Omegle. Instant connections, live communication without registration, usernames, or phone numbers. Just click "Start" and meet new people from all over the world, whenever you like and whatever your mood.
Erstellt am 12/06/25 um 20:11:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
emerald-chat-349 schrieb:
Free video chat <a href=https://emerald-chat.app/>http://www.emerald-chat.app</a> find people from all over the world in seconds. Anonymous, no registration or SMS required. A convenient alternative to Omegle: minimal settings, maximum live communication right in your browser, at home or on the go, without unnecessary ads.
Erstellt am 12/06/25 um 20:16:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΎΠ±Π·ΠΎΡ</a> ΠΏΠ°ΡΠΎΠ½Π³ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/06/25 um 20:53:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BobbySuent schrieb:
<a href=https://www.stovemaker.ru/>ΠΏΡΠΎΠ΅ΠΊΡ ΠΏΠ΅ΡΠΈ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ</a> ΠΡΠΏΠΈΡΡ ΠΏΠΎΡΡΠ΄ΠΎΠ²ΠΊΡ ΠΏΠ΅ΡΠΈ β ΡΡΠΎ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΡ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡ ΠΏΠΎ ΠΊΠ»Π°Π΄ΠΊΠ΅ ΠΏΠ΅ΡΠΈ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ. ΠΠ°ΡΠΈ ΠΏΠΎΡΡΠ΄ΠΎΠ²ΠΊΠΈ ΡΠΎΠ΄Π΅ΡΠΆΠ°Ρ Π²ΡΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄Π»Ρ ΡΡΠΏΠ΅ΡΠ½ΠΎΠΉ ΠΊΠ»Π°Π΄ΠΊΠΈ ΠΏΠ΅ΡΠΈ, Π²ΠΊΠ»ΡΡΠ°Ρ ΡΡ
Π΅ΠΌΡ, ΡΠ°Π·ΠΌΠ΅ΡΡ ΠΈ ΠΏΠ΅ΡΠ΅ΡΠ΅Π½Ρ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². ΠΡΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ ΠΈ ΠΏΠΎΡΡΡΠΎΠΈΡΡ ΠΏΠ΅ΡΡ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ.
Erstellt am 12/06/25 um 23:03:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΡ ΠΊΡΠ°Π±ΠΈ ΡΠΎΡΠΎ</a> Π°Π±Ρ Π΄Π°Π±ΠΈ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/06/25 um 23:08:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΡΠ°Π½ΡΡΠ΅Ρ ΠΎΡ Π°ΡΡΠΎΠΏΠΎΡΡΠ° ΠΏΡ
ΡΠΊΠ΅Ρ Π΄ΠΎ ΠΊΡΠ°Π±ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΠΎΠ±Π·ΠΎΡ β ΠΎΠ±Π·ΠΎΡ ΡΠ΅Π³ΠΈΠΎΠ½Π° ΠΈ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ
ΡΠΎΡΠ΅ΠΊ
Erstellt am 12/07/25 um 01:05:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΡΠ±Π°Π»ΠΊΠ° Π² Π°ΠΎ Π½Π°Π½Π³ ΠΊΡΠ°Π±ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΡΠΎΡΠΎ ΡΡΡΠΈΡΡΠΎΠ²
Erstellt am 12/07/25 um 02:47:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠΎΠ³ΠΎΠ΄Π° Π½Π° ΠΊΡΠ°Π±ΠΈ Π² Π½ΠΎΡΠ±ΡΠ΅</a> ΠΊΡΠ°Π±ΠΈ ΡΠΎΡΠΎ
Erstellt am 12/07/25 um 04:27:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π·ΠΎΠΎΠΏΠ°ΡΠΊ ΠΊΡΠ°Π±ΠΈ</a> ao nang ΠΊΡΠ°Π±ΠΈ ΠΎΡΠ·ΡΠ²Ρ β ΠΎΡΠ·ΡΠ²Ρ ΠΎ Ao Nang
Erstellt am 12/07/25 um 06:08:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠΏΠΈΡΡ Π°Π²ΠΈΠ° Π±Π°Π½Π³ΠΊΠΎΠΊ ΠΊΡΠ°Π±ΠΈ</a> ΠΎΡΠ΅Π»ΠΈ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/07/25 um 07:50:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>aonang villa resort ΠΊΡΠ°Π±ΠΈ</a> Π²ΡΠ΅ΠΌΡ Π² ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/07/25 um 09:35:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΡΡΠΎΠ² ΠΊΡΠ°Π±ΠΈ ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ Ρ ΠΏΡ
ΡΠΊΠ΅ΡΠ°</a> ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΡ ΠΊΡΠ°Π±ΠΈ Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅ Π½Π° ΠΊΠ°ΡΡΠ΅
Erstellt am 12/07/25 um 11:46:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ ΠΈΠ· Π°ΡΡΠΎΠΏΠΎΡΡΠ°</a> ΠΏΠ΅ΡΠ΅Π»Π΅Ρ ΠΌΠΎΡΠΊΠ²Π° ΠΊΡΠ°Π±ΠΈ β ΠΌΠ°ΡΡΡΡΡ ΡΠ΅ΡΠ΅Π· ΠΠ°Π½Π³ΠΊΠΎΠΊ/ΠΠΎΡ
Ρ
Erstellt am 12/07/25 um 13:55:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΡ ΠΊΡΠ°Π±ΠΈ ΡΠΎΡΠΎ</a> ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΈΠ»Π°Π½Π΄ ΠΎΡΠ·ΡΠ²Ρ ΡΡΡΠΈΡΡΠΎΠ²
Erstellt am 12/07/25 um 16:07:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BryanexopS schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΌΡΠΈ ΡΠ½Π°ΠΉΡΠ΅Π΄</a> ΠΎΡΡΡΠΎΠ² ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΉΠ»Π°Π½Π΄ Π½Π° ΠΊΠ°ΡΡΠ΅ β ΠΊΠ°ΡΡΠ° ΠΎΡΡΡΠΎΠ²ΠΎΠ² Π² ΡΠ΅Π³ΠΈΠΎΠ½Π΅ Krabi
Erstellt am 12/07/25 um 18:24:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>3 ΠΊΡΠ°Π±ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΈΠ»Π°Π½Π΄ Π½Π° ΠΊΠ°ΡΡΠ΅ ΡΠ°ΠΉΠ»Π°Π½Π΄Π° β ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π°Ρ ΠΊΠ°ΡΡΠ° ΡΠ΅Π³ΠΈΠΎΠ½Π°
Erstellt am 12/07/25 um 20:41:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdwinZen schrieb:
Expand details: <a href=https://sushi-han.ru/2025/1...>https://sushi-han.ru/2025/10/27/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5-%D1%81%D0%B5%D0%BB%D0%BB%D0%B5%D1%80%D1%8B-%D1%80%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%BD%D1%8B%D1%85-%D0%B0%D0%BA%D0%BA%D0%B0%D1%83%D0%BD%D1%82%D0%BE%D0%B2/</a>
Erstellt am 12/07/25 um 21:16:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdwinZen schrieb:
New in the Category: <a href=http://gendou.com/forum/thr...>http://gendou.com/forum/thread.php?thr=57625</a>
Erstellt am 12/07/25 um 21:35:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EdwinZen schrieb:
Premium selection: <a href=https://shebl.policyguides....>https://shebl.policyguides.com/famebolt-buy-tiktok-accounts-buy-instagram-accounts-youtube-channels-twitter-accounts-and-facebook-pages/</a>
Erstellt am 12/07/25 um 21:58:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΠΎΡ ΡΡΠ°Π½ΡΠ²Π΅ΡΡΠΈΡΠΎΠ² Π½Π° ΠΊΡΠ°Π±ΠΈ</a> Π³ΡΠ³Π» ΠΊΠ°ΡΡΡ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/07/25 um 22:50:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ΅ΡΠ΅Π»Π΅Ρ ΠΌΠΎΡΠΊΠ²Π° ΠΊΡΠ°Π±ΠΈ</a> ΡΠ°ΠΉΠ»Π°Π½Π΄ ΠΊΡΠ°Π±ΠΈ ΡΠ΅Π½Ρ
Erstellt am 12/08/25 um 00:30:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΡΠ°Π΄Π° ΡΠ΅Π·ΠΎΡΡ</a> ΡΠ°ΠΊΡΠΈ ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/08/25 um 02:06:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°ΡΠΈΠ²ΡΠ΅ ΠΏΠ»ΡΠΆΠΈ Π½Π° ΠΊΡΠ°Π±ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΡΠ°ΡΠ½
Erstellt am 12/08/25 um 03:44:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΡΠ°Π±ΠΈ Π½ΠΎΡΠ±ΡΡ 2025</a> ΠΏΠ»ΡΠΆ ΡΠΎΠ½ΡΠ°ΠΉ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/08/25 um 05:27:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΡΡΡ Π½Π° ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΈΠ»Π°Π½Π΄ ΠΈΠ· ΠΌΠΎΡΠΊΠ²Ρ</a> ΡΠ΅ΠΉΠ»ΠΈ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/08/25 um 07:09:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΎΡΠ·ΡΠ²Ρ 2024</a> Π±Π°Π½Π³ΠΊΠΎΠΊ ΠΊΡΠ°Π±ΠΈ Π°Π²ΠΈΠ°Π±ΠΈΠ»Π΅ΡΡ
Erstellt am 12/08/25 um 09:28:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken 249 schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ <a href=https://gorcsonyiskola.hu/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΠΎΡ</a> Π±ΡΠ°ΡΠ·Π΅Ρ ΡΠΊΠ°ΡΠΈΠ²Π°ΠΉΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ Ρ ΡΠ°ΠΉΡΠ° torproject.org Π΄Π»Ρ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ³ΠΎ Π²Ρ
ΠΎΠ΄Π° Π½Π° ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΡ Ρ ΠΌΠ½ΠΎΠ³ΠΎΡΡΠΎΠ²Π½Π΅Π²ΡΠΌ ΡΠΈΡΡΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ Π²ΡΠ΅Π³ΠΎ ΡΡΠ°ΡΠΈΠΊΠ°.
Erstellt am 12/08/25 um 10:25:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Chrisunina schrieb:
<a href=https://rti-land.ru/>https://rti-land.ru/</a> Β«Π Π΅Π·ΠΈΠ½ΠΎΠΠΈΡΒ»: ΠΠ°Ρ ΠΠ°Π΄ΡΠΆΠ½ΡΠΉ ΠΠ°ΡΡΠ½ΡΡ Π² ΠΠΈΡΠ΅ Π Π΅Π·ΠΈΠ½ΠΎΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΠ·Π΄Π΅Π»ΠΈΠΉ Ρ 2009 ΠΠΎΠ΄Π° Π ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΌ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΎΠΌ ΠΌΠΈΡΠ΅, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄Π°Ρ Π΄Π΅ΡΠ°Π»Ρ ΠΈΠΌΠ΅Π΅Ρ Π·Π½Π°ΡΠ΅Π½ΠΈΠ΅, Π²ΡΠ±ΠΎΡ Π½Π°Π΄ΡΠΆΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ° ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΡΠ΅Π·ΠΈΠ½ΠΎΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ (Π Π’Π) ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΊΠ»ΡΡΠ΅Π²ΡΠΌ ΡΠ°ΠΊΡΠΎΡΠΎΠΌ ΡΡΠΏΠ΅Ρ
Π° Π»ΡΠ±ΠΎΠ³ΠΎ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΡ. Π‘ 2009 Π³ΠΎΠ΄Π° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«Π Π΅Π·ΠΈΠ½ΠΎΠΠΈΡΒ» ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎ Π·Π°Π½ΠΈΠΌΠ°Π΅Ρ Π»ΠΈΠ΄ΠΈΡΡΡΡΠΈΠ΅ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ Π½Π° ΡΡΠ½ΠΊΠ΅ Π ΠΎΡΡΠΈΠΈ ΠΈ ΡΡΡΠ°Π½ Π‘ΠΠ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΠ²ΠΎΠΈΠΌ B2B-ΠΏΠ°ΡΡΠ½ΡΡΠ°ΠΌ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π° ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠ΅ ΠΈ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π² ΠΎΠ±Π»Π°ΡΡΠΈ Π Π’Π. ΠΡ Π³ΠΎΡΠ΄ΠΈΠΌΡΡ ΡΠ΅ΠΌ, ΡΡΠΎ ΡΠ²Π»ΡΠ΅ΠΌΡΡ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠΎΠΌ, Π° ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π΅Π½Π½ΡΠΌ ΠΏΠ°ΡΡΠ½ΡΡΠΎΠΌ, ΡΠΏΠΎΡΠΎΠ±Π½ΡΠΌ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΠΈΡΡ ΡΠ°ΠΌΡΠ΅ Π²Π·ΡΡΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 12/08/25 um 10:28:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynegoora schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΠ°ΠΊΡΠΈ Π°ΡΡΠΎΠΏΠΎΡΡ ΠΏΡ
ΡΠΊΠ΅Ρ ΠΊΡΠ°Π±ΠΈ</a> ΠΊΡΠ°Π±ΠΈ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠ°ΠΌΠ΅ΡΡ β Π²Π΅Π±-ΠΊΠ°ΠΌΠ΅ΡΡ ΠΏΠΎΠ±Π»ΠΈΠ·ΠΎΡΡΠΈ
Erstellt am 12/08/25 um 11:46:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
I get pleasure from, lead to I discovered just what I used to be looking for. You've ended my 4 day lengthy hunt! God Bless you man. Have a great day. Bye
<a href=https://netextender-client....>sonicwall netextender mac</a>
<a href=https://netextender-client....>sonicwall netextender mac</a>
Erstellt am 12/08/25 um 12:00:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Good day! Do you know if they make any plugins to protect against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any suggestions?
<a href=https://netextender-client....>sonicwall netextender mac</a>
<a href=https://netextender-client....>sonicwall netextender mac</a>
Erstellt am 12/08/25 um 12:09:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
At this time it appears like Wordpress is the top blogging platform out there right now. (from what I've read) Is that what you're using on your blog?
<a href=https://urist-rt.ru/>ΠΊΠ°Π·ΠΈΠ½ΠΎ banda</a>
<a href=https://urist-rt.ru/>ΠΊΠ°Π·ΠΈΠ½ΠΎ banda</a>
Erstellt am 12/08/25 um 16:57:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnygEx schrieb:
<a href=https://dispatch42.school/t...>ΠΊΡΡΡ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π³ΡΡΠ·ΠΎΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ Π΄Π»Ρ ΡΠ½Π³ Ρ Π½ΡΠ»Ρ</a> ΡΠ΅Π½Π° ΠΊΡΡΡΠ° Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π³ΡΡΠ·ΠΎΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ Π΄Π»Ρ ΡΠ½Π³ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ°
Erstellt am 12/08/25 um 18:55:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
I'm not sure exactly why but this website is loading very slow for me. Is anyone else having this problem or is it a issue on my end? I'll check back later and see if the problem still exists.
<a href=https://dm-magazine.ru/>ΡΠΈΠΎ Π±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://dm-magazine.ru/>ΡΠΈΠΎ Π±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 12/08/25 um 19:41:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken 931 schrieb:
ΠΠ»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π½ΡΠ΅ ΡΠΎΡΠΊΠΈ Π΄ΠΎΡΡΡΠΏΠ° <a href=https://gorcsonyiskola.hu/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a> ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠ΅ΡΠ΅Π· Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΠΏΠ΅ΡΠ΅Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ Π½Π° ΠΎΡΠ½ΠΎΠ²Π½ΠΎΠΉ ΠΎΠ½ΠΈΠΎΠ½ Π°Π΄ΡΠ΅Ρ Ρ ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΠ΅ΠΌ Π²ΡΠ΅Ρ
ΡΡΠ½ΠΊΡΠΈΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ ΡΠΈΡΡΠΎΠ²Π°Π½ΠΈΡ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΡ.
Erstellt am 12/09/25 um 02:26:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Glennnem schrieb:
<a href=https://lucky-jet333.ru/>https://lucky-jet333.ru/</a> lucky jet ΠΈΠ³ΡΠ°ΡΡ β ΠΈΠ³ΡΠ°ΡΡ Π² lucky jet ΠΌΠΎΠΆΠ½ΠΎ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ Π½Π° Π΄Π΅Π½ΡΠ³ΠΈ, Π½ΠΎ ΠΈ Π² Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎΠΉ Π΄Π΅ΠΌΠΎ-Π²Π΅ΡΡΠΈΠΈ, ΡΡΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΡΠΎΠ²Π°ΡΡ ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ ΠΈ ΠΏΠΎΠ½ΡΡΡ, ΠΊΠ°ΠΊ ΡΠ°ΡΡΡΡ ΠΊΠΎΡΡΡΠΈΡΠΈΠ΅Π½ΡΡ. Π ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΠΈΠ³ΡΡ Π²Π°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ: ΡΡΠΎ Π°Π·Π°ΡΡΠ½Π°Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ, ΡΠΈΡΠΊΠΎΠ²Π°Π½Π½Π°Ρ ΠΏΠΎ ΡΠ²ΠΎΠ΅ΠΉ ΠΏΡΠΈΡΠΎΠ΄Π΅, ΠΈ Π²ΡΠΈΠ³ΡΡΡ Π½Π΅ Π³Π°ΡΠ°Π½ΡΠΈΡΠΎΠ²Π°Π½. Π§ΡΠΎΠ±Ρ ΠΏΠΎΠ²ΡΡΠΈΡΡ ΠΊΠΎΠΌΡΠΎΡΡ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΠ΅ΡΡΡ ΡΡΡΠ°Π½Π°Π²Π»ΠΈΠ²Π°ΡΡ Π»ΠΈΠΌΠΈΡΡ, ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ Π΄Π΅ΠΌΠΎ-ΡΠ΅ΠΆΠΈΠΌΠ°ΠΌΠΈ ΠΈ Π½Π΅ ΡΡΠ°Π²ΠΈΡΡ ΡΡΠ΅Π΄ΡΡΠ²Π°, Π²ΡΡ
ΠΎΠ΄ΡΡΠΈΠ΅ Π·Π° ΡΠ°ΠΌΠΊΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. Π Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ, lucky jet ΠΈΠ³ΡΠ°ΡΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ΅ΡΠ΅Π· Π±ΡΠ°ΡΠ·Π΅Ρ ΠΈΠ»ΠΈ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅, ΠΎΡΠΈΠ΅Π½ΡΠΈΡΡΡΡΡ Π½Π° ΡΠ΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΈ ΡΠΊΠΎΡΠΎΡΡΡ Π²ΡΠΏΠ»Π°Ρ.
Erstellt am 12/09/25 um 02:33:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken 24 schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½Π°Ρ <a href=https://gorcsonyiskola.hu/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΡΡΠ»ΠΊΠ°</a> ΠΈΠ· Π²ΡΠΏΠ»ΡΠ²Π°ΡΡΠ΅Π³ΠΎ ΠΎΠΊΠ½Π° ΡΠΎΠ΄Π΅ΡΠΆΠΈΡ Π²ΡΠ΅ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΎΠ½ΠΈΠΎΠ½ Π°Π΄ΡΠ΅ΡΠ° ΠΈ ΠΊΠ»ΠΈΡ-Π·Π΅ΡΠΊΠ°Π»Π° Π΄Π»Ρ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΡΠΎΡΠ΅ΠΊ Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΠΌΠ°ΡΠΊΠ΅ΡΡ.
Erstellt am 12/09/25 um 02:42:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dispatch42-918 schrieb:
ΠΡΠΆΠ½Π° ΡΠ°Π±ΠΎΡΠ° Π² Π‘Π¨Π? <a href=https://dispatch42.school/t...>ΠΎΠ½Π»Π°ΠΉΠ½ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π³ΡΡΠ·ΠΎΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ Π² ΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ Π΄Π»Ρ Π½ΠΎΠ²ΠΈΡΠΊΠΎΠ²</a> : ΡΠ°Π±ΠΎΡΠ° Ρ Π·Π°ΡΠ²ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠ΅ΠΉΡΠ°ΠΌΠΈ, ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ, ΡΠ°ΠΉΠΌ-ΠΌΠ΅Π½Π΅Π΄ΠΆΠΌΠ΅Π½Ρ ΠΈ ΡΠ΅ΡΠ²ΠΈΡ. ΠΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ ΠΈ ΡΠ΅ΠΌ, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π²ΡΠΉΡΠΈ Π½Π° ΡΡΠ½ΠΎΠΊ ΡΡΡΠ΄Π° Π‘Π¨Π ΠΈ Π·Π°ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡ Π² Π΄ΠΎΠ»Π»Π°ΡΠ°Ρ
.
Erstellt am 12/09/25 um 03:18:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dispatch42-383 schrieb:
ΠΡΠΆΠ½Π° ΡΠ°Π±ΠΎΡΠ° Π² Π‘Π¨Π? <a href=https://dispatch42.school/t...>ΠΊΡΡΡ ΡΡΠ°ΠΊ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π² ΡΡΠ° Π΄Π»Ρ ΡΡΡΡΠΊΠΎΡΠ·ΡΡΠ½ΡΡ
</a> : ΡΠ°Π±ΠΎΡΠ° Ρ Π·Π°ΡΠ²ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠ΅ΠΉΡΠ°ΠΌΠΈ, ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ, ΡΠ°ΠΉΠΌ-ΠΌΠ΅Π½Π΅Π΄ΠΆΠΌΠ΅Π½Ρ ΠΈ ΡΠ΅ΡΠ²ΠΈΡ. ΠΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ ΠΈ ΡΠ΅ΠΌ, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π²ΡΠΉΡΠΈ Π½Π° ΡΡΠ½ΠΎΠΊ ΡΡΡΠ΄Π° Π‘Π¨Π ΠΈ Π·Π°ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡ Π² Π΄ΠΎΠ»Π»Π°ΡΠ°Ρ
.
Erstellt am 12/09/25 um 03:40:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dispatch42-1 schrieb:
ΠΡΠΆΠ½Π° ΡΠ°Π±ΠΎΡΠ° Π² Π‘Π¨Π? <a href=https://dispatch42.school/t...>ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π² Π°ΠΌΠ΅ΡΠΈΠΊΠ΅ Π² ΠΊΠ°Π½Π°Π΄Π΅ Ρ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΎΠΉ</a> : ΡΠ°Π±ΠΎΡΠ° Ρ Π·Π°ΡΠ²ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠ΅ΠΉΡΠ°ΠΌΠΈ, ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ, ΡΠ°ΠΉΠΌ-ΠΌΠ΅Π½Π΅Π΄ΠΆΠΌΠ΅Π½Ρ ΠΈ ΡΠ΅ΡΠ²ΠΈΡ. ΠΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ ΠΈ ΡΠ΅ΠΌ, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π²ΡΠΉΡΠΈ Π½Π° ΡΡΠ½ΠΎΠΊ ΡΡΡΠ΄Π° Π‘Π¨Π ΠΈ Π·Π°ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡ Π² Π΄ΠΎΠ»Π»Π°ΡΠ°Ρ
.
Erstellt am 12/09/25 um 04:01:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnygEx schrieb:
<a href=https://dispatch42.school/t...>ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π² Π°ΠΌΠ΅ΡΠΈΠΊΠ΅ Π΄Π»Ρ Π»ΡΠ΄Π΅ΠΉ Π±Π΅Π· ΠΎΠΏΡΡΠ°</a> ΠΊΡΡΡ ΡΡΠ°ΠΊ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π² ΡΡΠ° Π² ΡΡΠ° ΠΎΠ½Π»Π°ΠΉΠ½ Ρ ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°ΡΠΎΠΌ
Erstellt am 12/09/25 um 04:14:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnygEx schrieb:
<a href=https://dispatch42.school/t...>ΠΎΠ½Π»Π°ΠΉΠ½ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π³ΡΡΠ·ΠΎΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ Π² ΡΡΠ° Ρ ΡΠ΅Π°Π»ΡΠ½ΡΠΌΠΈ ΠΊΠ΅ΠΉΡΠ°ΠΌΠΈ</a> ΠΎΠ½Π»Π°ΠΉΠ½ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° Π³ΡΡΠ·ΠΎΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ Ρ Π½ΡΠ»Ρ
Erstellt am 12/09/25 um 07:09:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LanceWourb schrieb:
Read more on the website: <a href=https://forlight.adamstore....>https://forlight.adamstore.co.kr/bbs/board.php?bo_table=free&wr_id=4</a>
Erstellt am 12/09/25 um 15:36:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LanceWourb schrieb:
What's out now: <a href=http://news.illinoisnewsdes...>http://news.illinoisnewsdesk.com/story/588598/the-ultimate-guide-to-buying-facebook-advertising-accounts-what-must-be-known.html</a>
Erstellt am 12/09/25 um 16:06:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LanceWourb schrieb:
All the Details: <a href=http://xn--hg3b25hm0h.com/b...>http://xn--hg3b25hm0h.com/bbs/board.php?bo_table=free&wr_id=1761539</a>
Erstellt am 12/09/25 um 16:34:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ShaunRar schrieb:
<a href=https://dispatch42.school/t...>ΠΊΠ°ΠΊ ΡΡΠ°ΡΡ truck dispatcher ΠΏΠΎΡΠ°Π³ΠΎΠ²Π°Ρ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡ</a> ΠΊΡΡΡΡ ΡΡΠ°ΠΊ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΠ° ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ Π΄Π»Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΡ
Erstellt am 12/09/25 um 17:01:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Israelrig schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π±ΡΠΊΠΈΠ½Π³ ΠΊΡΠ°Π±ΠΈ</a> Π³ΠΎΡΡΡΠΈΠ΅ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΈ ΠΊΡΠ°Π±ΠΈ ΠΎΡΠ·ΡΠ²Ρ
Erstellt am 12/09/25 um 17:22:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamhon schrieb:
<p>Vavada gaming club offers convenient navigation and quick game search by categories. Current Vavada mirrors for access are posted at https://museo.precolombino.cl/ with instructions. Newcomers to Vavada get welcome bonuses and free spins upon registration. Vavada support service works around the clock and helps solve any issues. Players value stable Vavada operation and fast payouts.</p>
Erstellt am 12/09/25 um 18:20:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TikTok-views-264 schrieb:
Visibility expansion when you <a href=https://www.reddit.com/r/Di...>buy tiktok views</a> reaches target demographics. Geographic and interest targeting ensures content appears before relevant audiences most likely to convert into followers.
Erstellt am 12/09/25 um 19:34:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RicardoPlats schrieb:
ΠΠΎΠ²ΠΈΠ½Π½ΠΈΠΉ ΠΏΠΎΡΡΠ°Π» Π£ΠΆΠ³ΠΎΡΠΎΠ΄Π° <a href=https://88000.com.ua/>https://88000.com.ua</a> Π³ΠΎΠ»ΠΎΠ²Π½Ρ ΠΏΠΎΠ΄ΡΡ ΠΌΡΡΡΠ°, ΠΏΠΎΠ»ΡΡΠΈΠΊΠ°, Π΅ΠΊΠΎΠ½ΠΎΠΌΡΠΊΠ°, ΠΊΡΠ»ΡΡΡΡΠ°, ΡΠΏΠΎΡΡ ΡΠ° ΠΆΠΈΡΡΡ Π³ΠΎΡΠΎΠ΄ΡΠ½. ΠΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Ρ Π½ΠΎΠ²ΠΈΠ½ΠΈ, ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΡ, ΡΠ½ΡΠ΅ΡΠ²'Ρ ΡΠ° Π°Π½Π°Π»ΡΡΠΈΠΊΠ°. ΠΡΠ΅ Π²Π°ΠΆΠ»ΠΈΠ²Π΅ ΠΏΡΠΎ Π£ΠΆΠ³ΠΎΡΠΎΠ΄ Π² ΠΎΠ΄Π½ΠΎΠΌΡ ΠΌΡΡΡΡ, Π·ΡΡΡΠ½ΠΎ Π· ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ ΡΠ° ΠΊΠΎΠΌΠΏ'ΡΡΠ΅ΡΠ°.
Erstellt am 12/09/25 um 20:18:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelmoity schrieb:
VIP ΡΡΠΊΠΎΡΡ Π² ΠΠΎΡΠΊΠ²Π΅, ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΡΡΡ: <a href=https://t.me/eskort_moskva_...>ΡΡΠΊΠΎΡΡ ΡΠ°ΠΉΡ</a> ΠΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ ΠΈ Π²ΡΡΠΎΠΊΠΈΠΉ ΡΡΠΎΠ²Π΅Π½Ρ ΡΠ΅ΡΠ²ΠΈΡΠ°.
Erstellt am 12/09/25 um 21:00:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kolasin-hotels.-501 schrieb:
A cozy <a href=https://www.kolasin-hotels.me/>swissotel Kolasin</a> for mountain lovers. Ski slopes, trekking trails, and local cuisine are nearby. Rooms are equipped with amenities, Wi-Fi, parking, and friendly staff are available to help you plan your vacation.
Erstellt am 12/09/25 um 22:02:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rodneyskecy schrieb:
<a href=https://t.me/trans_saratov>ΡΡΠ°Π½ΡΡ ΡΠ°ΡΠ°ΡΠΎΠ²</a> Π’ΡΠ°Π½ΡΡ Π‘Π°ΡΠ°ΡΠΎΠ² β ΡΡΠΎ ΠΈΡΡΠΎΡΠΈΡ ΠΎ ΠΏΠΎΠΈΡΠΊΠ΅ ΠΈΠ΄Π΅Π½ΡΠΈΡΠ½ΠΎΡΡΠΈ Π² Π³ΠΎΡΠΎΠ΄Π΅ Π½Π° ΠΠΎΠ»Π³Π΅, Π³Π΄Π΅ ΡΡΠ°ΡΠΈΠ½Π° ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΡΡΡ ΠΏΠ΅ΡΠ΅ΠΏΠ»Π΅ΡΠ°ΡΡΡΡ Π² ΠΏΡΠΈΡΡΠ΄Π»ΠΈΠ²ΠΎΠΌ ΡΠ°Π½ΡΠ΅. Π‘Π°ΡΠ°ΡΠΎΠ², Ρ Π΅Π³ΠΎ Π±ΠΎΠ³Π°ΡΡΠΌ ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠΌ Π½Π°ΡΠ»Π΅Π΄ΠΈΠ΅ΠΌ ΠΈ ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΠ°Π»ΡΠ½ΡΠΌ ΠΎΡΠ°ΡΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ, ΠΊΠ°ΠΆΠ΅ΡΡΡ Π΄Π°Π»Π΅ΠΊΠΈΠΌ ΠΎΡ ΠΌΠΈΡΠΎΠ²ΡΡ
ΡΠ΅Π½ΡΡΠΎΠ² ΠΠΠΠ’Π+ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ. Π’Π΅ΠΌ Π½Π΅ ΠΌΠ΅Π½Π΅Π΅, ΠΈ Π·Π΄Π΅ΡΡ ΠΆΠΈΠ²ΡΡ Π»ΡΠ΄ΠΈ, ΡΡΡ Π³Π΅Π½Π΄Π΅ΡΠ½Π°Ρ ΠΈΠ΄Π΅Π½ΡΠΈΡΠ½ΠΎΡΡΡ ΠΎΡΠ»ΠΈΡΠ°Π΅ΡΡΡ ΠΎΡ ΠΏΡΠΈΠΏΠΈΡΠ°Π½Π½ΠΎΠΉ ΠΏΡΠΈ ΡΠΎΠΆΠ΄Π΅Π½ΠΈΠΈ, ΠΈ ΠΈΡ
ΠΈΡΡΠΎΡΠΈΠΈ Π·Π°ΡΠ»ΡΠΆΠΈΠ²Π°ΡΡ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΈ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΡ. Π Π‘Π°ΡΠ°ΡΠΎΠ²Π΅, ΠΊΠ°ΠΊ ΠΈ Π² Π»ΡΠ±ΠΎΠΌ Π΄ΡΡΠ³ΠΎΠΌ Π³ΠΎΡΠΎΠ΄Π΅, ΡΡΠ°Π½ΡΠ³Π΅Π½Π΄Π΅ΡΠ½ΡΠ΅ Π»ΡΠ΄ΠΈ ΡΡΠ°Π»ΠΊΠΈΠ²Π°ΡΡΡΡ Ρ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌΠΈ Π²ΡΠ·ΠΎΠ²Π°ΠΌΠΈ, ΡΠ²ΡΠ·Π°Π½Π½ΡΠΌΠΈ Ρ ΠΏΡΠΈΠ½ΡΡΠΈΠ΅ΠΌ ΡΠ΅Π±Ρ ΠΈ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠ΅ΠΉ Π² ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΠΊΠΎΡΠΎΡΠΎΠ΅ Π½Π΅ Π²ΡΠ΅Π³Π΄Π° Π³ΠΎΡΠΎΠ²ΠΎ ΠΊ ΠΏΠΎΠ½ΠΈΠΌΠ°Π½ΠΈΡ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅.
Erstellt am 12/10/25 um 10:11:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
oferta hondrolife 78 euros schrieb:
HondroLife para inflamaciΓ³n de articulaciones es increΓble.
Β‘Lo uso y me siento genial!
Β‘Lo uso y me siento genial!
Erstellt am 12/10/25 um 13:01:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Inbet Nigeria β thousands of live sports events <a href=https://inbet.com.ng>https://inbet.com.ng</a> . Fast payouts, high odds, 24/7 support, and match broadcasts. Bet on sports and play slots, roulette, blackjack at Inbet Nigeria. Mobile app, jackpots, promos, welcome & deposit bonuses.
Erstellt am 12/10/25 um 14:31:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LouisBip schrieb:
<a href=https://hstq.net/>Ρ
ΠΎΡΡΠΈΠ½Π³ ΠΏΡΠΎΠ²Π°ΠΉΠ΄Π΅Ρ</a> HSTQ β ΡΡΠΎ ΠΈΠΌΡ, ΠΊΠΎΡΠΎΡΠΎΠ΅ Π²ΡΠ΅ ΡΠ°ΡΠ΅ Π·Π²ΡΡΠΈΡ Π² ΠΊΠΎΠ½ΡΠ΅ΠΊΡΡΠ΅ ΠΈΠ½Π½ΠΎΠ²Π°ΡΠΈΠΎΠ½Π½ΡΡ
Ρ
ΠΎΡΡΠΈΠ½Π³-ΡΠ΅ΡΠ΅Π½ΠΈΠΉ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΏΠΎΠ·ΠΈΡΠΈΠΎΠ½ΠΈΡΡΠ΅Ρ ΡΠ΅Π±Ρ ΠΊΠ°ΠΊ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ Π΄Π»Ρ Π±ΠΈΠ·Π½Π΅ΡΠ°, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, ΠΎΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΠΎΠ³ΠΎ Π²ΠΈΡΡΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Ρ
ΠΎΡΡΠΈΠ½Π³Π° Π΄ΠΎ ΡΠ»ΠΎΠΆΠ½ΡΡ
ΠΎΠ±Π»Π°ΡΠ½ΡΡ
ΠΈΠ½ΡΡΠ°ΡΡΡΡΠΊΡΡΡ. HSTQ Π°ΠΊΡΠ΅Π½ΡΠΈΡΡΠ΅Ρ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ, ΡΠΊΠΎΡΠΎΡΡΠΈ ΡΠ΅ΡΠΈ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅, ΡΡΡΠ΅ΠΌΡΡΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ ΠΎΡΠ΄Π°ΡΡ ΠΎΡ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΠΉ.
Erstellt am 12/10/25 um 14:33:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelfut schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΠΌΠΎΡΡΠΎΠ²Π°Ρ ΠΊΡΠ°Π±ΠΈ</a> ΠΎΡΡΡΠΎΠ² ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΈΠ»Π°Π½Π΄ ΡΡΠΎ ΠΏΠΎΡΠΌΠΎΡΡΠ΅ΡΡ
Erstellt am 12/10/25 um 16:00:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LouisBip schrieb:
<a href=https://fazendarf.ru>ΠΠ΄Π΅ΠΈ Π΄Π»Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π°</a> ΠΠ΄Π΅ΠΈ Π΄Π»Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½Ρ ΠΈ ΠΌΠΎΠ³ΡΡ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΡΡΠΈΠ΅ Π·Π°Π½ΡΡΠΈΡ Π΄Π»Ρ Π»ΡΠ±ΠΎΠ³ΠΎ ΡΠ΅Π·ΠΎΠ½Π°. ΠΡΠ»ΠΈ Π²Ρ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΠ΅ΡΡ Π½Π° ΠΏΡΠΈΡΠΎΠ΄Π΅ Π² Π»Π΅ΡΠ½Π΅Π΅ Π²ΡΠ΅ΠΌΡ, ΠΎΡΠ»ΠΈΡΠ½ΡΠΌΠΈ Π²Π°ΡΠΈΠ°Π½ΡΠ°ΠΌΠΈ Π±ΡΠ΄ΡΡ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄Π½ΡΠ΅ ΠΏΠΎΡ
ΠΎΠ΄Ρ ΠΏΠΎ ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΠΌ ΠΌΠ°ΡΡΡΡΡΠ°ΠΌ, Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄Π½ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ»ΠΊΠΈ ΠΈΠ»ΠΈ Π΄Π°ΠΆΠ΅ ΠΊΠ°ΡΠΊΠΈΠ½Π³ ΠΏΠΎ ΡΠΏΠΎΠΊΠΎΠΉΠ½ΡΠΌ ΡΠ΅ΠΊΠ°ΠΌ. Π’Π°ΠΊΠΈΠ΅ Π·Π°Π½ΡΡΠΈΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΡΡ Π½Π°Π³ΡΡΠ·ΠΊΡ, Π½ΠΎ ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡΡ Π½Π°ΡΠ»Π°Π΄ΠΈΡΡΡΡ ΠΎΠΊΡΡΠΆΠ°ΡΡΠΈΠΌΠΈ ΠΏΠ΅ΠΉΠ·Π°ΠΆΠ°ΠΌΠΈ. ΠΠ°ΠΆΠ½ΠΎ ΠΏΠΎΠΌΠ½ΠΈΡΡ, ΡΡΠΎ Π°ΠΊΡΠΈΠ²Π½ΡΠΉ ΠΎΡΠ΄ΡΡ
Π΄ΠΎΠ»ΠΆΠ΅Π½ Π±ΡΡΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΠΈ Π°ΠΊΡΠΈΠ²Π½ΡΠΌ, Π½ΠΎ ΠΈ ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ Π½Π°ΠΏΠΎΠ»Π½ΡΡΡΠΈΠΌ. ΠΠ°ΠΏΡΠΈΠΌΠ΅Ρ, ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΠΉΡΠ΅ Π²ΡΠ΅Π·Π΄ Π½Π° ΠΏΠΈΠΊΠ½ΠΈΠΊ Ρ Π΄ΡΡΠ·ΡΡΠΌΠΈ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΠΈΡΡ Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ ΠΈΠ³ΡΡ ΠΈ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ Π½Π° ΡΠ²Π΅ΠΆΠ΅ΠΌ Π²ΠΎΠ·Π΄ΡΡ
Π΅, ΡΠΎΠ·Π΄Π°Π²Π°Ρ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ.
Erstellt am 12/10/25 um 18:37:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ervinbrind schrieb:
Want to obtain an <a href=https://www.whitecirclegrou...>investor visa uae</a>? We guide you through business setup or property investment requirements, prepare documentation, submit your application and ensure smooth processing. Transparent, efficient and tailored to your goals.
Erstellt am 12/10/25 um 20:11:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlesFuera schrieb:
<a href=https://t.me/Bitcoin_Pump_S...>Funding rate monitoring</a> AI-powered crypto pump signals, once relegated to the fringes of the digital financial ecosystem, now command a central, albeit controversial, position. Born from the fusion of artificial intelligence and the inherent volatility of cryptocurrencies, these signals promise to unveil the secrets of orchestrated price surges, offering a glimpse into the potential for exponential gains. However, the siren song of quick profits is often masked by the treacherous undercurrents of pump and dump crypto schemes, demanding a cautious approach fortified by sophisticated crypto pump detector technology.
Erstellt am 12/11/25 um 00:00:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharlesFuera schrieb:
<a href=https://t.me/Bitcoin_Pump_S...>Binance VIP signals</a> Effective risk management crypto rules are paramount for navigating the inherent volatility of cryptocurrency markets. Resisting the urge to engage in FOMO crypto trading, suppressing the corrosive influence of greed in crypto markets, and avoiding the destructive cycle of revenge trading avoidance are essential for preserving capital and achieving long-term success.
Erstellt am 12/11/25 um 03:11:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΊΠ°Π·ΠΈΠ½ΠΎ lex schrieb:
ΠΠΎΡΠ»Π΅ Π΄ΠΎΠ»Π³ΠΈΡ
ΠΏΠΎΠΈΡΠΊΠΎΠ² Π½ΠΎΡΠΌΠ°Π»ΡΠ½ΠΎΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ ΠΎΡΡΠ°Π½ΠΎΠ²ΠΈΠ»ΡΡ Π½Π° ΡΡΠΎΠΉ
β ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ ΡΠ΄ΠΎΠ±Π½ΡΠΉ, Π²ΡΡ Π·Π°Π³ΡΡΠΆΠ°Π΅ΡΡΡ Π±ΡΡΡΡΠΎ,
Π° Π»ΠΈΠΌΠΈΡΡ Π½Π° Π²ΡΠ²ΠΎΠ΄Ρ Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΡΠ΅.
ΠΠΎΠ½ΡΠ°Π²ΠΈΠ»ΠΎΡΡ, ΡΡΠΎ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ ΡΠ°ΡΠ°ΠΌΠΈ, ΠΏΠΎΠΊΠ° Π²ΡΠΈΠ³ΡΡΡ ΠΏΡΠΎΠ²Π΅ΡΡΡ
β ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ ΡΠ΄ΠΎΠ±Π½ΡΠΉ, Π²ΡΡ Π·Π°Π³ΡΡΠΆΠ°Π΅ΡΡΡ Π±ΡΡΡΡΠΎ,
Π° Π»ΠΈΠΌΠΈΡΡ Π½Π° Π²ΡΠ²ΠΎΠ΄Ρ Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΡΠ΅.
ΠΠΎΠ½ΡΠ°Π²ΠΈΠ»ΠΎΡΡ, ΡΡΠΎ Π½Π΅ Π½ΡΠΆΠ½ΠΎ ΠΆΠ΄Π°ΡΡ ΡΠ°ΡΠ°ΠΌΠΈ, ΠΏΠΎΠΊΠ° Π²ΡΠΈΠ³ΡΡΡ ΠΏΡΠΎΠ²Π΅ΡΡΡ
Erstellt am 12/11/25 um 07:28:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΊΠ°Π·ΠΈΠ½ΠΎ ΡΠΎΠΊΡ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ schrieb:
Π£Π΄ΠΎΠ±Π½ΡΠΉ Π»ΠΈΡΠ½ΡΠΉ ΠΊΠ°Π±ΠΈΠ½Π΅Ρ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡΡΠ»Π΅ΠΆΠΈΠ²Π°ΡΡ Π±ΠΎΠ½ΡΡΡ, ΠΈΡΡΠΎΡΠΈΡ Π²ΡΠ²ΠΎΠ΄ΠΎΠ² ΠΈ Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ Π°ΠΊΡΠΈΠΈ
Erstellt am 12/11/25 um 07:58:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rutiti-789 schrieb:
ΡΡΡΠΈΡΠΈ ΡΠ΅ ΡΠ°ΠΌΡΠ΅ Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²Π° <a href=https://rutiti.ru/>Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²Π° Π² Π ΠΎΡΡΠΈΠΈ</a>1. ΠΊΠ°ΠΊ Π»ΡΡΡΠ΅ Π½Π°ΠΏΠΈΡΠ°ΡΡ?2. Π’ΠΈΠΏΡ Π»ΡΠ΄Π΅ΠΉ ΠΊΠΎΡΠΎΡΡΠ΅ Π±ΡΠ΄ΡΡ ΠΏΠΎΠΏΠ°Π΄Π°ΡΡΡΡ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ.
Erstellt am 12/11/25 um 08:01:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mostbet-880 schrieb:
Platforma internetowa <a href=https://mostbet-bk.pl/>mostbet pl</a>: zaklady przedmeczowe i na zywo, wysokie kursy, akumulatory, zaklady na sumy i handicapy, a takze popularne sloty i kasyno na zywo. Bonus powitalny, regularne promocje, szybkie wyplaty na karty i portfele.
Erstellt am 12/11/25 um 08:06:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KeithRoalo schrieb:
<a href=https://bravomos.ru/>https://bravomos.ru/</a> bravomos
Erstellt am 12/11/25 um 08:38:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kup-drevo-137 schrieb:
Prodej reziva <a href=https://www.kup-drevo.cz/>https://www.kup-drevo.cz</a> v Ceske republice: siroky vyber reziva, stavebniho a dokoncovaciho reziva, tramu, prken a stepky. Dodavame soukromym klientum i firmam stalou kvalitu, konkurenceschopne ceny a dodavky po cele Ceske republice.
Erstellt am 12/11/25 um 11:10:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vps-europe-648 schrieb:
Professional <a href=https://www.en.ee/services/...>secure cloud storage</a> secure, efficient, fast and privacy-focused reliable FTP Backup storage in Europe. 100% Dropbox European alternative. Protection on storage account. Choose European Backup Storage for peace of mind, security, and reliable 24x7x365 data management service.
Erstellt am 12/11/25 um 11:25:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelAdado schrieb:
<a href=https://vk.com/bk_buyer>Π°ΡΠ΅Π½Π΄Π° Π°ΠΊΠΊΠ°ΡΠ½ΡΠΎΠ² Π±ΡΠΊΠΌΠ΅ΠΊΠ΅ΡΡΠΊΠΈΡ
ΠΊΠΎΠ½ΡΠΎ</a> ΠΠΎΠΊΡΠΏΠΊΠ° ΠΈ Π°ΡΠ΅Π½Π΄Π° Π°ΠΊΠΊΠ°ΡΠ½ΡΠΎΠ² Π±ΡΠΊΠΌΠ΅ΠΊΠ΅ΡΡΠΊΠΈΡ
ΠΊΠΎΠ½ΡΠΎΡ β ΡΡΠ΅ΡΠ° ΠΎΠΊΡΡΠ°Π½Π½Π°Ρ ΡΡΠΌΠ°Π½ΠΎΠΌ Π½Π΅ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½Π½ΠΎΡΡΠΈ, Π³Π΄Π΅ Π³ΡΠ°Π½Ρ ΠΌΠ΅ΠΆΠ΄Ρ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΠΉ Π²ΡΠ³ΠΎΠ΄ΠΎΠΉ ΠΈ ΠΎΡΡΡΠΈΠΌΡΠΌ ΡΠΈΡΠΊΠΎΠΌ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π½Π΅ΡΠ°Π·Π»ΠΈΡΠΈΠΌΠΎΠΉ. ΠΡΡΠΏΠΏΡ, ΡΠΎΡΠΌΠΈΡΡΡΡΠΈΠ΅ΡΡ Π²ΠΎΠΊΡΡΠ³ ΡΡΠΎΠΉ Π΄Π΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ, Π΄Π²ΠΈΠΆΠΈΠΌΡ ΠΎΠ±ΡΠΈΠΌΠΈ ΡΠ΅Π»ΡΠΌΠΈ: ΠΎΠ±ΠΎΠΉΡΠΈ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΡ, ΠΌΠ°ΠΊΡΠΈΠΌΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΠΏΡΠΈΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠ΅ Π±ΠΎΠ½ΡΡΡ, ΠΎΠΏΡΠΈΠΌΠΈΠ·ΠΈΡΠΎΠ²Π°ΡΡ ΡΡΡΠ°ΡΠ΅Π³ΠΈΠΈ ΡΡΠ°Π²ΠΎΠΊ. ΠΠΎ Π·Π°ΠΌΠ°Π½ΡΠΈΠ²Π°Ρ ΠΏΠ΅ΡΡΠΏΠ΅ΠΊΡΠΈΠ²Π° ΠΎΠ±ΠΎΠ³Π°ΡΠ΅Π½ΠΈΡ ΠΎΠΌΡΠ°ΡΠ°Π΅ΡΡΡ ΡΡΡΠΎΠ²ΠΎΠΉ ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΡΡ: ΠΏΠΎΠ΄ΠΎΠ±Π½ΡΠ΅ Π΄Π΅ΠΉΡΡΠ²ΠΈΡ ΠΏΠΎΡΡΠΈ Π²ΡΠ΅Π³Π΄Π° ΠΏΡΠΎΡΠΈΠ²ΠΎΡΠ΅ΡΠ°Ρ ΠΏΡΠ°Π²ΠΈΠ»Π°ΠΌ Π±ΡΠΊΠΌΠ΅ΠΊΠ΅ΡΡΠΊΠΈΡ
ΠΊΠΎΠ½ΡΠΎΡ, ΡΡΠΎ ΡΡΠ΅Π²Π°ΡΠΎ Π±Π»ΠΎΠΊΠΈΡΠΎΠ²ΠΊΠΎΠΉ Π°ΠΊΠΊΠ°ΡΠ½ΡΠ° ΠΈ Π°Π½Π½ΡΠ»ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ Π²ΡΠΈΠ³ΡΡΡΠ΅ΠΉ.
Erstellt am 12/11/25 um 11:32:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JosephSog schrieb:
<a href=https://vk.com/remote_job_2>ΡΡΠΈΠ»Π°Π½Ρ</a> ΠΠ°Ρ
ΠΎΠ΄ΠΊΠΈ ΠΠ Π΄Π»Ρ Π΄ΠΎΠΌΠ° β ΡΡΠΎ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡ ΡΠΎΠ²Π°ΡΠΎΠ², ΠΏΡΠΈΠ·Π²Π°Π½Π½Π°Ρ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΡ ΠΈ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΡ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ ΡΠ³ΠΎΠ»ΠΊΠ΅ Π½Π°ΡΠ΅Π³ΠΎ ΠΆΠΈΠ»ΠΈΡΠ°. ΠΡ ΡΡΠΈΠ»ΡΠ½ΡΡ
ΠΏΡΠ΅Π΄ΠΌΠ΅ΡΠΎΠ² ΠΈΠ½ΡΠ΅ΡΡΠ΅ΡΠ° Π΄ΠΎ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΡ
ΠΊΡΡ
ΠΎΠ½Π½ΡΡ
ΠΏΡΠΈΠ½Π°Π΄Π»Π΅ΠΆΠ½ΠΎΡΡΠ΅ΠΉ, ΠΎΡ ΡΡΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΊΡΡΠΈΠ»Ρ Π΄ΠΎ ΠΈΠ½Π½ΠΎΠ²Π°ΡΠΈΠΎΠ½Π½ΡΡ
Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ² - Π²ΡΠ΅ ΡΡΠΎ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΡΠ΄Π΅Π»Π°ΡΡ Π΄ΠΎΠΌ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΠΌΠ΅ΡΡΠΎΠΌ ΠΏΡΠΎΠΆΠΈΠ²Π°Π½ΠΈΡ, Π° Π½Π°ΡΡΠΎΡΡΠΈΠΌ ΠΎΠ°Π·ΠΈΡΠΎΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΠΈ Π³Π°ΡΠΌΠΎΠ½ΠΈΠΈ. ΠΡΠ±ΠΎΡ ΠΌΠ΅ΠΆΠ΄Ρ Π½Π°Ρ
ΠΎΠ΄ΠΊΠ°ΠΌΠΈ ΠΠ ΠΈΠ»ΠΈ ΠΠ·ΠΎΠ½ ΡΠ°ΡΡΠΎ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ Π²ΠΎΠΏΡΠΎΡΠΎΠΌ Π»ΠΈΡΠ½ΡΡ
ΠΏΡΠ΅Π΄ΠΏΠΎΡΡΠ΅Π½ΠΈΠΉ ΠΈ ΡΠ΄ΠΎΠ±ΡΡΠ²Π°, Π²Π΅Π΄Ρ ΠΎΠ±Π° ΠΌΠ°ΡΠΊΠ΅ΡΠΏΠ»Π΅ΠΉΡΠ° ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ Π΄ΠΎΠΌΠ°.
Erstellt am 12/11/25 um 11:55:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
CharleyTrorm schrieb:
<a href=https://t.me/Azino777_regis...>azino777 ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½Π°Ρ Π²Π΅ΡΡΠΈΡ Π·Π΅ΡΠΊΠ°Π»ΠΎ ΡΠ°Π±ΠΎΡΠ΅Π΅</a> Azino777 β Π²Π°Ρ ΠΏΠΎΡΡΠ°Π» Π² ΠΌΠΈΡ Π°Π·Π°ΡΡΠ½ΡΡ
ΠΈΠ³Ρ. Π‘Π»ΠΎΡΡ, Π½Π°ΡΡΠΎΠ»ΡΠ½ΡΠ΅ ΠΈΠ³ΡΡ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄ΡΡΠ³ΠΎΠ΅ ΠΆΠ΄ΡΡ Π²Π°Ρ. ΠΠ³ΡΠ°ΠΉΡΠ΅ Ρ ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅ΠΌ Π½Π° Azino777
Erstellt am 12/11/25 um 12:08:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vash-elektrik-342 schrieb:
ΠΡΠ·ΠΎΠ² ΡΠ»Π΅ΠΊΡΡΠΈΠΊΠ° <a href=https://vash-elektrik24.ru/>https://vash-elektrik24.ru</a> Π½Π° Π΄ΠΎΠΌ Π² ΠΠΎΡΠΊΠ²Π΅: ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠΉ Π²ΡΠ΅Π·Π΄, ΠΏΠΎΠΈΡΠΊ ΠΈ ΡΡΡΡΠ°Π½Π΅Π½ΠΈΠ΅ Π½Π΅ΠΈΡΠΏΡΠ°Π²Π½ΠΎΡΡΠ΅ΠΉ, ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° ΡΠΎΠ·Π΅ΡΠΎΠΊ ΠΈ Π²ΡΠΊΠ»ΡΡΠ°ΡΠ΅Π»Π΅ΠΉ, ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ, ΡΠ΅ΠΌΠΎΠ½Ρ ΠΏΡΠΎΠ²ΠΎΠ΄ΠΊΠΈ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ°, ΡΠΎΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π° ΡΠ°Π±ΠΎΡΡ ΠΈ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΏΡΠΈΠ΅Π·Π΄Π°.
Erstellt am 12/11/25 um 13:58:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vykup-auto-309 schrieb:
Π₯ΠΎΡΠ΅ΡΡ ΡΠ΄Π°ΡΡ Π°Π²ΡΠΎ? <a href=https://vykup-auto78.ru/>ΡΠΊΡΠΏΠΊΠ° Π°Π²ΡΠΎ ΡΠΏΠ±</a> Π±ΡΡΡΡΠΎ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ: ΠΌΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½Π°Ρ ΠΎΡΠ΅Π½ΠΊΠ°, Π²ΡΠ΅Π·Π΄ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°, ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ ΠΈ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½Π°Ρ Π²ΡΠΏΠ»Π°ΡΠ° Π½Π°Π»ΠΈΡΠ½ΡΠΌΠΈ ΠΈΠ»ΠΈ Π½Π° ΠΊΠ°ΡΡΡ. ΠΠΎΠΊΡΠΏΠ°Π΅ΠΌ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ Π²ΡΠ΅Ρ
ΠΌΠ°ΡΠΎΠΊ ΠΈ Π³ΠΎΠ΄ΠΎΠ², Π²ΠΊΠ»ΡΡΠ°Ρ Π±ΠΈΡΡΠ΅ ΠΈ ΠΏΠΎΡΠ»Π΅ ΠΠ’Π. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Π±Π΅Π· ΡΠΊΡΡΡΡΡ
ΠΊΠΎΠΌΠΈΡΡΠΈΠΉ.
Erstellt am 12/11/25 um 14:07:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vsu-427 schrieb:
Π£Π½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅Ρ <a href=https://vsu.by/>Π²Π³Ρ ΠΌΠ°ΡΠ΅ΡΠΎΠ²Π°</a> β Π²Π΅Π΄ΡΡΠΈΠΉ ΡΡΠ΅ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΠΈΡΠ΅Π±ΡΠΊΠ° Ρ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΠΌΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°ΠΌΠΈ, ΡΠΈΠ»ΡΠ½ΡΠΌ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»ΡΡΠΊΠΈΠΌ ΡΠΎΡΡΠ°Π²ΠΎΠΌ ΠΈ ΡΠ°Π·Π²ΠΈΡΠΎΠΉ Π½Π°ΡΡΠ½ΠΎΠΉ Π±Π°Π·ΠΎΠΉ. Π¨ΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΠ΅ΠΉ, ΠΏΡΠ°ΠΊΡΠΈΠΊΠ°, ΡΡΠ°ΠΆΠΈΡΠΎΠ²ΠΊΠΈ, ΡΡΡΠ΄Π΅Π½ΡΠ΅ΡΠΊΠ°Ρ ΠΆΠΈΠ·Π½Ρ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ°.
Erstellt am 12/11/25 um 14:28:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shaunte schrieb:
online wetten ohne oasis
Erstellt am 12/11/25 um 14:58:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarioSlump schrieb:
<a href=https://wa.me/message/7DDC3...>WhatsApp Business ΠΠΠ Π’ΠΎΡΠ³ΠΎΠ²ΠΎ-ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠ΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ "ΠΡΡΡΠΎΠ΅ ΠΠ°Π»ΠΎ"</a>
Erstellt am 12/11/25 um 17:43:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vyvod-iz-zapoya-733 schrieb:
ΠΡΠΎΠ±Π»Π΅ΠΌΡ Ρ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Π΅ΠΌ? <a href=https://protivzapoya.ru/>Π²ΡΠ²ΠΎΠ΄ ΠΈΠ· Π·Π°ΠΏΠΎΡ Π½Π° Π΄ΠΎΠΌΡ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ</a>: Π°Π½ΠΎΠ½ΠΈΠΌΠ½Π°Ρ ΠΏΠΎΠΌΠΎΡΡ, ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΡΠΉ Π²ΡΠ΅Π·Π΄ Π²ΡΠ°ΡΠ°, Π΄Π΅ΡΠΎΠΊΡΠΈΠΊΠ°ΡΠΈΡ, ΠΊΠ°ΠΏΠ΅Π»ΡΠ½ΠΈΡΡ, ΡΡΠ°Π±ΠΈΠ»ΠΈΠ·Π°ΡΠΈΡ ΡΠΎΡΡΠΎΡΠ½ΠΈΡ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ°. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΌΠ΅ΡΠΎΠ΄Ρ ΠΈ ΠΊΠΎΠ½ΡΡΠΎΠ»Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΡ. ΠΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ.
Erstellt am 12/11/25 um 18:40:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KeithRoalo schrieb:
<a href=https://pnz.ru/>ΠΡΠ³ΠΎΡΠ° ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅Ρ</a> ΠΡΠ΅Π΄ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π½ΡΠΉ Π²ΠΎΠ·ΡΠ°ΡΡ β ΠΎΡΠΎΠ±ΡΠΉ ΠΏΠ΅ΡΠΈΠΎΠ΄ Π² ΠΆΠΈΠ·Π½ΠΈ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊΠ°, ΠΊΠΎΠ³Π΄Π° ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π²Π°ΠΆΠ½Π° ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Π³ΠΎΡΡΠ΄Π°ΡΡΡΠ²Π° ΠΈ ΠΎΠ±ΡΠ΅ΡΡΠ²Π°. ΠΡΠ³ΠΎΡΡ ΠΏΡΠ΅Π΄ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅ΡΠ°ΠΌ ΠΏΡΠΈΠ·Π²Π°Π½Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΏΠ»Π°Π²Π½ΡΠΉ ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄ ΠΊ ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ, Π·Π°ΡΠΈΡΠΈΡΡ ΠΎΡ Π΄ΠΈΡΠΊΡΠΈΠΌΠΈΠ½Π°ΡΠΈΠΈ Π½Π° ΡΡΠ½ΠΊΠ΅ ΡΡΡΠ΄Π°, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π΄Π»Ρ ΠΏΠ΅ΡΠ΅ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ. ΠΠ°Π±ΠΎΡΠ° ΠΎ ΠΏΡΠ΅Π΄ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅ΡΠ°Ρ
β ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² Π±ΡΠ΄ΡΡΠ΅Π΅, Π³Π°ΡΠ°Π½ΡΠΈΡ ΡΠΎΠ³ΠΎ, ΡΡΠΎ Π»ΡΠ΄ΠΈ, Π³ΠΎΡΠΎΠ²ΡΡΠΈΠ΅ΡΡ ΠΊ Π·Π°ΡΠ»ΡΠΆΠ΅Π½Π½ΠΎΠΌΡ ΠΎΡΠ΄ΡΡ
Ρ, Π±ΡΠ΄ΡΡ ΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠ΅Π±Ρ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎ ΠΈ Π·Π°ΡΠΈΡΠ΅Π½Π½ΠΎ.
Erstellt am 12/11/25 um 18:46:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GregoryDOUBS schrieb:
<a href=https:/1c.nsdigital-official.ru/> ΠΏΡΠΎΠ΄Π°ΠΆΠ° 1Π‘ ΠΠ»Π΅ΠΊΡΡΠΎΠ½Π½Π°Ρ ΠΏΠΎΠ΄ΠΏΠΈΡΡ Π΄Π»Ρ ΠΠ </a> ΠΡ ΠΠΈΠ΄ΠΆΠΈΡΠ°Π» Π€ΡΠ°Π½ΡΠ°ΠΉΠ·ΠΈΠ½Π³ 1Π‘ ΠΡΡ
Π³Π°Π»ΡΠ΅ΡΠΈΡ, ΠΏΡΠΎΠ΄Π°ΠΆΠ° ΠΈ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ² 1Ρ
Erstellt am 12/11/25 um 18:56:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamdog schrieb:
<a href=https://polysintez.ru/>ΠΏΠΎΠ»ΠΈΡΡΠΈΠ»Π΅Π½ΠΎΠ²Π°Ρ ΠΏΠ»Π΅Π½ΠΊΠ°</a> Π’Π΅Π½ΡΡ β ΡΡΠΎ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½Π°Ρ ΠΊΡΡΡΠ° Π½Π°Π΄ Π³ΠΎΠ»ΠΎΠ²ΠΎΠΉ, Π³ΠΎΡΠΎΠ²Π°Ρ Π·Π°ΡΠΈΡΠΈΡΡ ΠΎΡ Π΄ΠΎΠΆΠ΄Ρ, ΡΠΎΠ»Π½ΡΠ° ΠΈ Π²Π΅ΡΡΠ° Π² Π»ΡΠ±ΠΎΠΉ ΡΠΈΡΡΠ°ΡΠΈΠΈ. Π’ΡΡΠΈΡΡΡ, ΡΡΡΠΎΠΈΡΠ΅Π»ΠΈ, Π΄Π°ΡΠ½ΠΈΠΊΠΈ β Π²ΡΠ΅ Π½Π°ΠΉΠ΄ΡΡ Π² ΡΠ΅Π½ΡΠ΅ Π²Π΅ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΠ·Π½ΠΈΠΊΠ°, ΡΠΏΠΎΡΠΎΠ±Π½ΠΎΠ³ΠΎ ΡΠΎΠ·Π΄Π°ΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ ΠΈ ΠΎΡΠ΄ΡΡ
Π°. Π Π°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΠ΅ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ², ΡΠΎΡΠΌ ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΡΠ΅Π½Ρ, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡΠΈΠΉ ΠΏΠΎΡΡΠ°Π²Π»Π΅Π½Π½ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅.
Erstellt am 12/11/25 um 19:59:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MarioSlump schrieb:
<a href=https://www.superjob.ru/cli...>ΠΠ°ΠΊΠ°Π½ΡΠΈΠΈ ΠΠΠ Π’ΠΎΡΠ³ΠΎΠ²ΠΎ-ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠ΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ "ΠΡΡΡΠΎΠ΅ ΠΠ°Π»ΠΎ" Π½Π° superjob. ru</a>
Erstellt am 12/11/25 um 22:18:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KeithRoalo schrieb:
<a href=https://pnz.ru/>ΠΡΠ΅Π΄ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅Ρ Π»ΡΠ³ΠΎΡΡ</a> ΠΡΠ³ΠΎΡΠ° ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅Ρ β ΡΡΠΎ ΡΠΈΡΠΎΠΊΠΈΠΉ ΡΠΏΠ΅ΠΊΡΡ ΠΌΠ΅Ρ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΈ, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌΡΡ
Π³ΡΠ°ΠΆΠ΄Π°Π½Π°ΠΌ, Π΄ΠΎΡΡΠΈΠ³ΡΠΈΠΌ ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π½ΠΎΠ³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ°. ΠΡΠΈ Π»ΡΠ³ΠΎΡΡ ΠΌΠΎΠ³ΡΡ Π²ΠΊΠ»ΡΡΠ°ΡΡ ΡΠΊΠΈΠ΄ΠΊΠΈ Π½Π° ΠΎΠΏΠ»Π°ΡΡ ΠΆΠΈΠ»ΠΈΡΠ½ΠΎ-ΠΊΠΎΠΌΠΌΡΠ½Π°Π»ΡΠ½ΡΡ
ΡΡΠ»ΡΠ³, Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΏΡΠΎΠ΅Π·Π΄ Π² ΠΎΠ±ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΌ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ΅, Π½Π°Π»ΠΎΠ³ΠΎΠ²ΡΠ΅ Π²ΡΡΠ΅ΡΡ, ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅, Π° ΡΠ°ΠΊΠΆΠ΅ Π΄ΡΡΠ³ΠΈΠ΅ Π²ΠΈΠ΄Ρ ΠΏΠΎΠΌΠΎΡΠΈ, Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½Π½ΡΠ΅ Π½Π° ΡΠ»ΡΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΆΠΈΠ·Π½ΠΈ ΠΏΠ΅Π½ΡΠΈΠΎΠ½Π΅ΡΠΎΠ². ΠΠ΅ΡΠ΅ΡΠ΅Π½Ρ ΠΈ ΡΠ°Π·ΠΌΠ΅Ρ Π»ΡΠ³ΠΎΡ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΡΠ΅ΡΡΡ Π·Π°ΠΊΠΎΠ½ΠΎΠ΄Π°ΡΠ΅Π»ΡΡΡΠ²ΠΎΠΌ Π½Π° ΡΠ΅Π΄Π΅ΡΠ°Π»ΡΠ½ΠΎΠΌ ΠΈ ΡΠ΅Π³ΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΌ ΡΡΠΎΠ²Π½ΡΡ
.
Erstellt am 12/12/25 um 06:13:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Armandolyday schrieb:
<a href=https://qwertyoop.com>https://qwertyoop.com</a> qwertyoop
Erstellt am 12/12/25 um 08:28:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HaydenBen schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://forthenaturalwoman....>https://forthenaturalwoman.com</a> ΠΎ ΠΆΠΈΠ·Π½ΠΈ, ΠΊΡΠ°ΡΠΎΡΠ΅ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠΈ: ΠΌΠΎΠ΄Π°, ΡΡ
ΠΎΠ΄ Π·Π° ΡΠΎΠ±ΠΎΠΉ, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΠΊΠ°ΡΡΠ΅ΡΠ° ΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΡΠΈΠ½Π°Π½ΡΡ. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ ΠΈΡΡΠΎΡΠΈΠΈ ΡΠ΅Π°Π»ΡΠ½ΡΡ
ΠΆΠ΅Π½ΡΠΈΠ½. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Ρ ΠΈ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΠ΅ ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/12/25 um 12:21:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Mylesmum schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://mynewsmonitor.com/>https://mynewsmonitor.com</a> ΠΎΠ½Π»Π°ΠΉΠ½: ΡΠ°ΠΌΡΠ΅ Π²Π°ΠΆΠ½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π΄Π½Ρ Π² ΡΠΆΠ°ΡΠΎΠΌ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎΠΌ ΡΠΎΡΠΌΠ°ΡΠ΅. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΠΌΠΈΡ, Π½Π°ΡΠΊΠ° ΠΈ ΠΊΡΠ»ΡΡΡΡΠ°. ΠΡΠ°ΡΠΊΠΈΠ΅ ΡΠ²ΠΎΠ΄ΠΊΠΈ, ΡΠ°Π·Π²ΡΡΠ½ΡΡΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΌΠ½Π΅Π½ΠΈΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π»Π΅Π½ΡΠ°, ΠΊΠΎΡΠΎΡΠ°Ρ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΡΠ΅Π°Π»ΡΠ½ΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ.
Erstellt am 12/12/25 um 12:24:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Johnnievem schrieb:
ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΈ Π³Π»Π°Π²Π½ΡΠ΅ <a href=https://allnews.in.ua/>https://allnews.in.ua</a> Π½ΠΎΠ²ΠΎΡΡΠΈ: ΠΊΠΎΡΠΎΡΠΊΠΈΠ΅ Π·Π°ΠΌΠ΅ΡΠΊΠΈ ΠΎ ΡΡΠΎΡΠ½ΡΡ
ΡΠΎΠ±ΡΡΠΈΡΡ
ΠΈ ΡΠ°Π·Π²ΡΡΠ½ΡΡΡΠ΅ Π°Π½Π°Π»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΠΏΠΎΠ½ΡΡΡ, ΡΡΠΎ ΠΏΡΠΎΠΈΠ·ΠΎΡΠ»ΠΎ, ΠΏΠΎΡΠ΅ΠΌΡ ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ ΠΈ ΠΊ ΡΠ΅ΠΌΡ ΠΌΠΎΠΆΠ΅Ρ ΠΏΡΠΈΠ²Π΅ΡΡΠΈ. ΠΠ΅Π½ΡΠ° ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ Π² ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π½Ρ, ΡΡΠΎΠ±Ρ Π²Ρ Π½Π΅ ΡΠΏΡΡΡΠΈΠ»ΠΈ Π½ΠΈΡΠ΅Π³ΠΎ Π·Π½Π°ΡΠΈΠΌΠΎΠ³ΠΎ.
Erstellt am 12/12/25 um 12:30:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Rogerslupe schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://newsline.in.ua/>https://newsline.in.ua</a> ΠΎΠ½Π»Π°ΠΉΠ½: ΠΎΡ ΡΡΠΎΡΠ½ΡΡ
ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ Π΄ΠΎ Π³Π»ΡΠ±ΠΎΠΊΠΈΡ
ΠΎΠ±Π·ΠΎΡΠΎΠ² ΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΡ
ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠ΅Π². ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΈ ΠΊΡΠ»ΡΡΡΡΠ°. Π’ΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ°ΠΊΡΡ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π»Π΅Π½ΡΠ°, ΡΡΠΎΠ±Ρ Π±ΡΡΡΡΠΎ ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°ΡΡΡΡ Π²ΠΎ Π²ΡΡΠΌ, ΡΡΠΎ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ.
Erstellt am 12/12/25 um 12:31:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mostbet-370 schrieb:
logowanie do mostbet <a href=https://mostbet-bk.pl/>mostbet</a>
Erstellt am 12/12/25 um 12:34:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelgag schrieb:
ΠΡΠ΅ Π³Π»Π°Π²Π½ΡΠ΅ <a href=https://ua-news.com.ua/>https://ua-news.com.ua</a> Π½ΠΎΠ²ΠΎΡΡΠΈ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΏΠΎΡΠΎΠΊΠ΅: Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ, Π²Π°ΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ, ΠΏΡΠΎΠ³Π½ΠΎΠ·Ρ, ΠΌΠ½Π΅Π½ΠΈΡ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΠΏΠΎΠ½ΡΡΡ, ΡΡΠΎ ΡΡΠΎΠΈΡ Π·Π° Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠ°ΠΌΠΈ, ΠΊΠ°ΠΊ ΡΠΎΠ±ΡΡΠΈΡ ΡΠ²ΡΠ·Π°Π½Ρ ΠΌΠ΅ΠΆΠ΄Ρ ΡΠΎΠ±ΠΎΠΉ ΠΈ ΠΏΠΎΡΠ΅ΠΌΡ ΠΎΠ½ΠΈ Π·Π½Π°ΡΠΈΠΌΡ. ΠΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΡΠ΅Π°Π»ΡΠ½ΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ.
Erstellt am 12/12/25 um 15:27:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ronaldheple schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://ukrnews.in.ua/>https://ukrnews.in.ua</a> ΡΠ΅Π³ΠΎΠ΄Π½Ρ: ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ, Π½Π°ΡΠΊΠ°, ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΠΎΠ±ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΡΠ΅ΠΌΡ. ΠΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠ΅ ΡΠ²ΠΎΠ΄ΠΊΠΈ, Π°Π½Π°Π»ΠΈΠ· ΠΈ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ. ΠΠΎΠ»Π½Π°Ρ ΠΊΠ°ΡΡΠΈΠ½Π° Π΄Π½Ρ, ΡΠΎΠ±ΡΠ°Π½Π½Π°Ρ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅ Π΄Π»Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠ³ΠΎ ΠΈ Π±ΡΡΡΡΠΎΠ³ΠΎ ΡΡΠ΅Π½ΠΈΡ.
Erstellt am 12/12/25 um 15:28:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PatrickGer schrieb:
ΠΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://ua-today.com.ua/>https://ua-today.com.ua</a> Ρ Π°ΠΊΡΠ΅Π½ΡΠΎΠΌ Π½Π° Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ: ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΈ, ΡΠ°ΠΊΡΡ, ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ Π³Π»ΡΠ±ΠΎΠΊΠ°Ρ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. Π£Π΄ΠΎΠ±Π½Π°Ρ Π»Π΅Π½ΡΠ° ΡΠΎΠ±ΡΡΠΈΠΉ, ΡΠΈΠ»ΡΡΡΡ ΠΏΠΎ ΡΠ΅ΠΌΠ°ΠΌ, Π°ΡΡ
ΠΈΠ² ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ Π±ΡΡΡΡΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ Π³Π»Π°Π²Π½ΠΎΠΌΡ Π·Π° Π΄Π΅Π½Ρ.
Erstellt am 12/12/25 um 15:28:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeorgeFoota schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π°Π²ΡΠΎ <a href=https://cargurus.com.ua/>https://cargurus.com.ua</a> ΠΏΠΎΡΡΠ°Π»: ΡΠ²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΠΏΡΠ΅ΠΌΡΠ΅ΡΡ, ΠΎΠ±Π·ΠΎΡΡ Π½ΠΎΠ²ΡΡ
ΠΈ ΠΏΠΎΠ΄Π΅ΡΠΆΠ°Π½Π½ΡΡ
Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ ΠΈ ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ΠΈΡ. Π£Π΄ΠΎΠ±Π½ΡΠΉ ΠΏΠΎΠΈΡΠΊ ΠΏΠΎ ΠΌΠ°ΡΠΊΠ°ΠΌ ΠΈ ΠΌΠΎΠ΄Π΅Π»ΡΠΌ, ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π΄Π»Ρ Π°Π²ΡΠΎΠ»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ Π»ΡΠ±ΠΎΠ³ΠΎ ΡΡΠΎΠ²Π½Ρ.
Erstellt am 12/12/25 um 15:29:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertLop schrieb:
ΠΠ½Π»Π°ΠΉΠ½ Π°Π²ΡΠΎ <a href=https://autoindustriya.com.ua/>https://autoindustriya.com.ua</a> ΠΏΠΎΡΡΠ°Π»: Π²ΡΡ ΠΎΠ± Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΡ
ΠΈ Π°Π²ΡΠΎΠΆΠΈΠ·Π½ΠΈ. ΠΠ±Π·ΠΎΡΡ ΠΈ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΠΈ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ, ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΠΊΡΠ΅Π΄ΠΈΡΠ°Ρ
ΠΈ Π»ΠΈΠ·ΠΈΠ½Π³Π΅, Π½ΠΎΠ²ΠΎΡΡΠΈ ΡΡΠ½ΠΊΠ°. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ Π²ΡΠ±ΡΠ°ΡΡ ΠΌΠ°ΡΠΈΠ½Ρ, ΠΏΠΎΠ½ΡΡΡ ΡΠΎΠ½ΠΊΠΎΡΡΠΈ Π²Π»Π°Π΄Π΅Π½ΠΈΡ ΠΈ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π½Π° ΡΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠΈ.
Erstellt am 12/12/25 um 17:57:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Danielwax schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://womanstyle.com.ua/>https://womanstyle.com.ua</a> ΠΏΠΎΡΡΠ°Π» Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΡΡΠΏΠ΅Π²Π°ΡΡ Π²ΡΡ: ΡΡΠΈΠ»Ρ ΠΈ ΠΊΡΠ°ΡΠΎΡΠ°, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΡΠ²ΠΎ, Π΄ΠΎΠΌ, ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΡ ΠΈ ΡΠ°Π±ΠΎΡΠ°. ΠΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ ΠΈ ΠΌΠΎΡΠΈΠ²Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π·Π°Π±ΠΎΡΠΈΡΡΡΡ ΠΎ ΡΠ΅Π±Π΅ ΠΈ ΠΆΠΈΡΡ Π² Π±Π°Π»Π°Π½ΡΠ΅.
Erstellt am 12/12/25 um 17:57:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesNat schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://womanblog.com.ua/>https://womanblog.com.ua</a> Ρ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌΠΈ ΡΠ΅ΠΌΠ°ΠΌΠΈ: ΡΡΠ΅Π½Π΄Ρ ΠΌΠΎΠ΄Ρ ΠΈ ΠΌΠ°ΠΊΠΈΡΠΆΠ°, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΡΠΈΡΠ½Π΅Ρ, ΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠ΅ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΡΡΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ. ΠΠΆΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ ΠΈΠ΄Π΅ΠΉ Π΄Π»Ρ ΠΏΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ, ΠΊΠ°ΡΡΠ΅ΡΡ ΠΈ Π»ΠΈΡΠ½ΠΎΠ³ΠΎ ΡΡΠ°ΡΡΡΡ.
Erstellt am 12/12/25 um 17:58:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SamuelBef schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ <a href=https://arguments.com.ua/>https://arguments.com.ua</a> ΠΏΠΎΡΡΠ°Π»: Π³Π»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ Π΄Π½Ρ, ΠΏΠΎΡΡΠ½ΡΡΡΠ°Ρ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°, ΠΌΠ½Π΅Π½ΠΈΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ Ρ ΠΌΠ΅ΡΡ ΡΠΎΠ±ΡΡΠΈΠΉ. ΠΠ΅Π½ΡΠ° Π² ΡΠ΅Π°Π»ΡΠ½ΠΎΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ, ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠ±ΡΠΈΠΊΠΈ, ΡΠΎΡΠΎ ΠΈ Π²ΠΈΠ΄Π΅ΠΎ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΡΠ°Π·ΠΎΠ±ΡΠ°ΡΡΡΡ Π² ΡΠΎΠΌ, ΡΡΠΎ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ Π² ΡΡΡΠ°Π½Π΅ ΠΈ ΠΌΠΈΡΠ΅.
Erstellt am 12/12/25 um 17:58:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LarryRog schrieb:
ΠΠ²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://automotive-news.com...>https://automotive-news.com.ua</a> Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΆΠΈΠ²ΡΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠΌΠΈ: Π½ΠΎΠ²ΠΎΡΡΠΈ Π°Π²ΡΠΎΠΏΡΠΎΠΌΠ°, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠΈΠ½, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ Π²ΡΠ±ΠΎΡΡ ΠΈ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ, ΡΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡ Π°Π²ΡΠΎ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ. Π€ΠΎΡΠΎ, Π²ΠΈΠ΄Π΅ΠΎ, ΠΌΠ½Π΅Π½ΠΈΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ ΡΠ΅Π°Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅.
Erstellt am 12/12/25 um 20:26:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelnoimb schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://garden-story.com/>https://garden-story.com</a> Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ ΡΠ°ΡΡΠ½ΡΡ
ΠΌΠ°ΡΡΠ΅ΡΠΎΠ²: ΡΡΠ°ΡΡΠΈ ΠΈ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ, ΠΎΡΠ΄Π΅Π»ΠΊΠ΅ ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Ρ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΊΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡΡ, ΡΠΌΠ΅ΡΡ, ΡΠΎΡΠΎ-ΠΏΡΠΈΠΌΠ΅ΡΡ ΠΈ ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ². ΠΡΡ, ΡΡΠΎΠ±Ρ Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎ ΡΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΠΈ Π²ΡΠΏΠΎΠ»Π½ΠΈΡΡ ΡΠ°Π±ΠΎΡΡ.
Erstellt am 12/12/25 um 20:30:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesamock schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ <a href=https://remont-sam.com/>https://remont-sam.com</a> ΠΈ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅: ΠΎΡ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠΈ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΈ ΡΠΌΠ΅ΡΡ Π΄ΠΎ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ ΠΈ Π΄Π΅ΠΊΠΎΡΠ°. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΡΠ΅ΠΉΡΠΈΠ½Π³ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΠΎΡΠΎ-ΠΏΡΠΈΠΌΠ΅ΡΡ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ. Π£Π΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎ ΡΠ΅ΠΌΠ°ΠΌ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π±ΡΡΡΡΠΎ Π½Π°ΠΉΡΠΈ Π½ΡΠΆΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΎΠ±ΡΠ΅ΠΊΡΠ°.
Erstellt am 12/12/25 um 20:32:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RichardGat schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΠ½ΡΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://sovetremont.com/>https://sovetremont.com</a> Ρ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠΌΠΈ ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ: ΡΠ΅ΠΌΠΎΠ½Ρ ΠΊΠ²Π°ΡΡΠΈΡ, ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π΄ΠΎΠΌΠΎΠ², ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ, ΠΎΡΠ΄Π΅Π»ΠΊΠ°, ΡΠ°ΡΠ°Π΄Ρ, ΠΊΡΠΎΠ²Π»Ρ ΠΈ Π±Π»Π°Π³ΠΎΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ. Π ΡΠΊΠΎΠ²ΠΎΠ΄ΡΡΠ²Π°, Π²ΠΈΠ΄Π΅ΠΎ, ΡΠ°ΡΡΡΡΡ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π²ΡΠ΅ΠΌΡ ΠΈ Π΄Π΅Π½ΡΠ³ΠΈ.
Erstellt am 12/13/25 um 07:00:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidAbops schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ <a href=https://stroyline.com/>https://stroyline.com</a> ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅: ΠΏΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΠΊΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡΡ, ΠΈΠ΄Π΅ΠΈ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΎΠΊ ΠΈ Π΄ΠΈΠ·Π°ΠΉΠ½Π°, ΡΠΎΠ²Π΅ΡΡ ΠΌΠ°ΡΡΠ΅ΡΠΎΠ² ΠΈ ΡΠ΅Π°Π»ΡΠ½ΡΠ΅ ΠΏΡΠΈΠΌΠ΅ΡΡ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΡΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ ΡΠ°Π±ΠΎΡΡ, ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΡΠΈΠΏΠΈΡΠ½ΡΡ
ΠΎΡΠΈΠ±ΠΎΠΊ ΠΈ ΡΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΡ Π²ΡΠ΅ΠΌΡ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ.
Erstellt am 12/13/25 um 07:01:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ThomasReday schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΠΏΠΎΡΡΠ°Π» <a href=https://stroyinfo.com/>https://stroyinfo.com</a> ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ΅ Π΄Π»Ρ Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² ΠΊΠ²Π°ΡΡΠΈΡ, Π΄ΠΎΠΌΠΎΠ² ΠΈ Π΄Π°Ρ: ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΡΡ
Π΅ΠΌΡ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ, ΠΏΠΎΠ΄Π±ΠΎΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΠΎΡΠ΄Π΅Π»ΠΊΠ΅ ΠΈ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΠΌ ΡΠΈΡΡΠ΅ΠΌΠ°ΠΌ. ΠΡΡ, ΡΡΠΎΠ±Ρ ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ ΠΈΠ»ΠΈ Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎ ΠΊΠΎΠ½ΡΡΠΎΠ»ΠΈΡΠΎΠ²Π°ΡΡ ΠΏΠΎΠ΄ΡΡΠ΄ΡΠΈΠΊΠΎΠ².
Erstellt am 12/13/25 um 07:01:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Kennethfut schrieb:
Π‘Π²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://ukrportal.com.ua/>https://ukrportal.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ ΠΈ ΠΌΠΈΡΠ°: ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΠΏΡΠΎΠΈΡΡΠ΅ΡΡΠ²ΠΈΡ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΈ Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ 24/7, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ°ΠΊΡΡ ΠΈ ΠΎΠ±ΡΠ΅ΠΊΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΠ΄Π°ΡΠ°. Π‘Π»Π΅Π΄ΠΈΡΠ΅ Π·Π° ΠΊΠ»ΡΡΠ΅Π²ΡΠΌΠΈ ΡΠΎΠ±ΡΡΠΈΡΠΌΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΎΡΠΌΠΈΡΡΡΡ Π±ΡΠ΄ΡΡΠ΅Π΅ ΡΡΡΠ°Π½Ρ ΠΈ Π²ΡΠ΅Π³ΠΎ ΠΌΠΈΡΠ°.
Erstellt am 12/13/25 um 07:02:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dragon money schrieb:
ΠΡΠΎΠΌΠΎΠΊΠΎΠ΄ ΠΡΠ°Π³ΠΎΠ½ ΠΠ°Π½ΠΈ ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΡΠΈΡΡΠ½ΡΠΌ
Π±ΠΎΠ½ΡΡΠ°ΠΌ
Π±ΠΎΠ½ΡΡΠ°ΠΌ
Erstellt am 12/13/25 um 09:12:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RickeyJup schrieb:
ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://ukrmedia24.com.ua/>https://ukrmedia24.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ ΠΈ ΠΌΠΈΡΠ° Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅: Π³Π»Π°Π²Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π΄Π½Ρ, ΠΎΠ±Π·ΠΎΡΡ, ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ ΠΈ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΡΠΏΠΎΡΡ. ΠΡΡΡΡΠΎ, Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎ ΠΈ ΡΠ΄ΠΎΠ±Π½ΠΎ Π΄Π»Ρ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎΠ³ΠΎ ΡΡΠ΅Π½ΠΈΡ.
Erstellt am 12/13/25 um 10:19:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertguart schrieb:
ΠΠΎΠ²ΠΎΡΡΠΈ Π£ΠΊΡΠ°ΠΈΠ½Ρ <a href=https://ukrinfo24.com.ua/>https://ukrinfo24.com.ua</a> ΠΈ ΠΌΠΈΡΠ°: ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΠ°Π·Π±ΠΎΡ ΠΊΠ»ΡΡΠ΅Π²ΡΡ
ΡΠΎΠ±ΡΡΠΈΠΉ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ, ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. Π’ΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΈ ΠΈ ΠΎΠ±ΡΠ΅ΠΊΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΠ΄Π°ΡΠ°. ΠΡΠ΄ΡΡΠ΅ Π² ΠΊΡΡΡΠ΅ ΡΠΎΠ³ΠΎ, ΡΡΠΎ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ Π² ΡΡΡΠ°Π½Π΅ ΠΈ Π½Π° ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ Π°ΡΠ΅Π½Π΅ ΠΏΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ.
Erstellt am 12/13/25 um 10:19:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DominicBed schrieb:
ΠΠ΅Π½ΡΠ° Π½ΠΎΠ²ΠΎΡΡΠ΅ΠΉ <a href=https://uavesti.com.ua/>https://uavesti.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ ΠΈ ΠΌΠΈΡΠ°: ΡΠ°ΠΌΡΠ΅ Π²Π°ΠΆΠ½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π΄Π½Ρ, Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅ΠΌΡ, ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΠ΅ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΈ Π³Π»ΡΠ±ΠΎΠΊΠ°Ρ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. Π£Π΄ΠΎΠ±Π½ΡΠΉ ΡΠΎΡΠΌΠ°Ρ, Π±ΡΡΡΡΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ, ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΠΌΠΈΡΠΎΠ²ΡΠ΅ ΡΠ΅Π½Π΄Π΅Π½ΡΠΈΠΈ β Π²ΡΡ Π½Π° ΠΎΠ΄Π½ΠΎΠΉ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ΅.
Erstellt am 12/13/25 um 10:19:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JustinVeimi schrieb:
ΠΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://uanews24.com.ua/>https://uanews24.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ ΠΈ ΠΌΠΈΡΠ° β Π±ΡΡΡΡΠΎ, Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎ: ΡΠΎΠ±ΡΡΠΈΡ Π² ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ΅, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ΅, Π½Π°ΡΠΊΠ΅, ΠΊΡΠ»ΡΡΡΡΠ΅ ΠΈ ΡΠΏΠΎΡΡΠ΅. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΠ²ΠΈΠ΄Π΅ΡΡ ΠΏΠΎΠ»Π½ΡΡ ΠΊΠ°ΡΡΠΈΠ½Ρ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΡΡΠ΅Π³ΠΎ. ΠΠΆΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ.
Erstellt am 12/13/25 um 10:20:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ScottCaf schrieb:
<a href=https://long-living.ru/>https://long-living.ru/</a>
Erstellt am 12/13/25 um 10:30:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hi there to every body, it's my first go to see of this website; this website consists of remarkable and truly fine information in favor of readers.
<a href=https://www.juegosfriv.com/...>juegos fri</a>
<a href=https://www.juegosfriv.com/...>juegos fri</a>
Erstellt am 12/13/25 um 10:50:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hiramoneta schrieb:
<a href=https://dzen.ru/id/69329d30...>Π±ΡΡΠΎΠ²ΡΠ΅ ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΡ</a> ΠΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ ΡΠΈΡΡΠ°ΡΠΈΠΈ ΡΠ°ΡΡΠΎ ΠΏΠΎΠ»Π½Ρ ΡΠΎΠ½ΠΊΠΎΠΉ ΠΈΡΠΎΠ½ΠΈΠΈ. ΠΡΠΈΡ
ΠΎΠ΄ΠΈΡΡ Π½Π° ΡΠ°Π±ΠΎΡΡ ΠΈ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ²Π°Π΅ΡΡ, ΡΡΠΎ ΡΠ²ΠΎΠΉ ΠΊΠ°Π»Π΅Π½Π΄Π°ΡΡ ΠΏΠ΅ΡΠ΅ΠΏΡΡΠ°Π» Π΄Π°ΡΡ Ρ Π΄Π½ΡΠΌΠΈ Π½Π΅Π΄Π΅Π»ΠΈ, ΠΈ ΡΡ ΡΠ»ΠΎΠ²Π½ΠΎ ΠΆΠΈΠ²ΡΡΡ Π² Π΄ΡΡΠ³ΠΎΠΌ Π³ΠΎΡΠΎΠ΄Π΅, Π³Π΄Π΅ ΠΏΠΎΠ½Π΅Π΄Π΅Π»ΡΠ½ΠΈΠΊ β ΡΡΠΎ Π²ΠΎΡΠΊΡΠ΅ΡΠ΅Π½ΡΠ΅ ΠΈ Π½Π°ΠΎΠ±ΠΎΡΠΎΡ. Π ΡΡΠΏΠ΅ΡΠΌΠ°ΡΠΊΠ΅ΡΠ΅, Π³Π΄Π΅ ΡΡ ΠΈΡΠ΅ΡΡ ΠΊΠ΅ΡΡΡΠΏ, ΡΠ΅Π±Ρ ΠΎΠ΄ΠΎΠ»Π΅Π²Π°Π΅Ρ ΡΠ΅Π»Π°Ρ ΠΏΠ°Π»ΠΈΡΡΠ° Β«ΠΏΠΎΠΌΠ½ΠΈΡΡ Π»ΠΈ ΡΡ?Β» β Π½Π° ΡΡΠΈΠΊΠ΅ΡΠΊΠ°Ρ
ΡΠΌΠ΅ΡΠ½ΡΠ΅ ΠΏΠΎΠ΄ΡΠΊΠ°Π·ΠΊΠΈ: Β«Π²Π΅Π³Π΅ΡΠ°ΡΠΈΠ°Π½ΡΠΊΠ°Ρ Π»Π°Π²ΠΊΠ°Β», Β«Ρ
ΠΎΠ»ΠΎΠ΄Π½ΡΠ΅ Π³Π»Π°Π·Π°Β», Β«ΠΌΡΡRing ΠΏΡΠΎΠ΄Π°Π²Π΅ΡΒ». ΠΠΎ ΠΊΠΎΠ³Π΄Π° ΡΡ Π²ΡΡ-ΡΠ°ΠΊΠΈ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ Π½ΡΠΆΠ½ΠΎΠ΅, ΡΠ΅Π±Ρ Π²ΡΡΡΠ΅ΡΠ°Π΅Ρ ΡΠ»ΡΠ±ΠΊΠ° ΠΊΠ°ΡΡΠΈΡΠ°, ΠΈ Π΄Π΅Π½Ρ β ΠΊΠ°ΠΆΠ΅ΡΡΡ, ΡΠ½ΠΎΠ²Π° ΠΈΠ΄ΡΡ ΠΏΠΎ ΠΏΠ»Π°Π½Ρ. ΠΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΠΎΡΡΡ Π΄Π°ΡΠΈΡ Π½Π°ΠΌ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ ΠΌΠΈΠ½ΠΈ-ΡΠ°Π΄ΠΎΡΡΠ΅ΠΉ, Π΅ΡΠ»ΠΈ Π·Π°ΠΌΠ΅ΡΠ°ΡΡ ΠΈΡ
Π²ΠΎΠ²ΡΠ΅ΠΌΡ.
Erstellt am 12/13/25 um 11:57:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Edwardjiz schrieb:
<a href=https://t.me/detivetrachat>ΠΊΠ°ΠΉΡΠΈΠ½Π³ Π²ΠΈΠ΄Ρ</a> kitehurghada.ru
Erstellt am 12/13/25 um 12:08:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Randalltor schrieb:
Π‘Π°ΠΉΡ Π΄Π»Ρ ΠΆΠ΅Π½ΡΠΈΠ½ <a href=https://golosiyiv.kiev.ua/>https://golosiyiv.kiev.ua</a> ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ΅Π½ΡΡ ΡΠ΅Π±Ρ ΠΈ ΡΠ²ΠΎΡ Π²ΡΠ΅ΠΌΡ: ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΎ ΠΌΠΎΠ΄Π΅ ΠΈ ΡΡ
ΠΎΠ΄Π΅, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΠΈ, Π΄Π΅ΡΡΡ
, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΡ
, ΡΠ°Π±ΠΎΡΠ΅ ΠΈ Ρ
ΠΎΠ±Π±ΠΈ. ΠΠΎΠ΄Π±ΠΎΡΠΊΠΈ ΠΈΠ΄Π΅ΠΉ, Π³Π°ΠΉΠ΄Ρ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΡΡΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ Π±Π°Π»Π°Π½Ρ ΠΌΠ΅ΠΆΠ΄Ρ Π·Π°Π±ΠΎΡΠΎΠΉ ΠΎ Π΄ΡΡΠ³ΠΈΡ
ΠΈ Π·Π°Π±ΠΎΡΠΎΠΉ ΠΎ ΡΠ΅Π±Π΅.
Erstellt am 12/13/25 um 12:39:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Matthewhap schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΡΠ°ΠΉΡ <a href=https://funtura.com.ua/>https://funtura.com.ua</a> Π΄Π»Ρ ΠΆΠ΅Π½ΡΠΈΠ½ Π»ΡΠ±ΠΎΠ³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ°: ΡΡΠ΅Π½Π΄Ρ ΠΌΠΎΠ΄Ρ ΠΈ ΠΌΠ°ΠΊΠΈΡΠΆΠ°, Π·Π΄ΠΎΡΠΎΠ²ΡΠΉ ΠΎΠ±ΡΠ°Π· ΠΆΠΈΠ·Π½ΠΈ, ΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΡΠΈΡΠ½Π΅Ρ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ ΠΈ ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠ΅. Π Π΅Π³ΡΠ»ΡΡΠ½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ, ΡΠΎΠ²Π΅ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΡΡΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠ΅Π±Ρ ΡΠ²Π΅ΡΠ΅Π½Π½Π΅Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/13/25 um 12:39:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StevenCom schrieb:
Π‘Π°ΠΉΡ Π΄Π»Ρ ΠΆΠ΅Π½ΡΠΈΠ½ <a href=https://e-times.com.ua/>https://e-times.com.ua</a> ΠΎ ΠΆΠΈΠ·Π½ΠΈ, ΠΊΡΠ°ΡΠΎΡΠ΅ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠΈ: ΠΌΠΎΠ΄Π°, ΠΌΠ°ΠΊΠΈΡΠΆ, ΡΡ
ΠΎΠ΄ Π·Π° ΡΠΎΠ±ΠΎΠΉ, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΡΠ΅ΠΌΡΡ ΠΈ ΠΊΠ°ΡΡΠ΅ΡΠ°. ΠΡΠ°ΠΊΡΠΈΡΠ½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ ΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ Π·Π°Π±ΠΎΡΠΈΡΡΡΡ ΠΎ ΡΠ΅Π±Π΅, ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡΡΡ ΠΈ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ Π½ΠΎΠ²ΡΠ΅ ΠΈΠ΄Π΅ΠΈ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/13/25 um 12:40:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JustinTen schrieb:
ΠΠ½Π»Π°ΠΉΠ½ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://womenclub.kr.ua/>https://womenclub.kr.ua</a> ΠΏΠΎΡΡΠ°Π» Π΄Π»Ρ Π΄Π΅Π²ΡΡΠ΅ΠΊ ΠΈ ΠΆΠ΅Π½ΡΠΈΠ½ Π»ΡΠ±ΠΎΠ³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ°: ΡΡΠ°ΡΡΠΈ ΠΏΡΠΎ ΠΊΡΠ°ΡΠΎΡΡ ΠΈ ΡΡ
ΠΎΠ΄, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΡΠ΅ΠΌΡΡ, Π΄Π΅ΡΠ΅ΠΉ, ΠΊΠ°ΡΡΠ΅ΡΡ ΠΈ Ρ
ΠΎΠ±Π±ΠΈ. Π£Π΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎ ΡΠ°Π·Π΄Π΅Π»Π°ΠΌ, ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΡΠ΅ΡΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ ΠΎΡΠ²Π΅ΡΡ Π½Π° Π²Π°ΠΆΠ½ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ.
Erstellt am 12/13/25 um 12:40:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΊΡΡΠ±ΡΠΊ Π΄ΡΠ°Π³ΠΎΠ½ ΠΌΠ°Π½ΠΈ schrieb:
ΠΠ° ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠΌ ΡΠ°ΠΉΡΠ΅ Π΄ΡΠ°Π³ΠΎΠ½ ΠΌΠ°Π½ΠΈ
Π»Π΅Π³ΠΊΠΎ Π½Π°ΠΉΡΠΈ Π½ΡΠΆΠ½ΡΠ΅ ΡΠ°Π·Π΄Π΅Π»Ρ
Π»Π΅Π³ΠΊΠΎ Π½Π°ΠΉΡΠΈ Π½ΡΠΆΠ½ΡΠ΅ ΡΠ°Π·Π΄Π΅Π»Ρ
Erstellt am 12/13/25 um 13:29:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RobertNaift schrieb:
ΠΡΡΠ½Π°Π» ΠΎ ΠΆΠΈΠ²ΠΎΡΠ½ΡΡ
<a href=https://zoo-park.com/>https://zoo-park.com</a> Π΄ΠΈΠΊΠ°Ρ ΠΏΡΠΈΡΠΎΠ΄Π° ΠΈ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΠ΅ ΠΏΠΈΡΠΎΠΌΡΡ. ΠΠΎΠ·Π½Π°Π²Π°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠΎΡΠΎΠΈΡΡΠΎΡΠΈΠΈ, ΡΠ΅Π΄ΠΊΠΈΠ΅ Π²ΠΈΠ΄Ρ, ΠΏΠΎΠ²Π°Π΄ΠΊΠΈ, ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΡΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅. ΠΠΎΠ½ΡΡΠ½ΡΠ΅ Π³Π°ΠΉΠ΄Ρ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ, Π²ΡΠ±ΠΎΡΡ ΠΏΠΈΡΠΎΠΌΡΠ° ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠΌΡ ΠΎΠ±ΡΠ΅Π½ΠΈΡ Ρ ΠΆΠΈΠ²ΠΎΡΠ½ΡΠΌΠΈ.
Erstellt am 12/13/25 um 14:57:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Donaldson schrieb:
ΠΡΡΠ½Π°Π» ΠΎ ΠΆΠΈΠ²ΠΎΡΠ½ΡΡ
<a href=https://myzoofriend.com/>https://myzoofriend.com</a> ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΠΏΠΈΡΠΎΠΌΡΠ°ΠΌΠΈ, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΏΠΈΡΠ°Π½ΠΈΠ΅, Π²ΠΎΡΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅. ΠΠ±Π·ΠΎΡΡ ΠΊΠΎΡΠΌΠΎΠ² ΠΈ Π°ΠΊΡΠ΅ΡΡΡΠ°ΡΠΎΠ², ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π²Π΅ΡΠ΅ΡΠΈΠ½Π°ΡΠΎΠ², ΠΈΡΡΠΎΡΠΈΠΈ ΡΠΏΠ°ΡΠ΅Π½ΠΈΡ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΠ΅ ΡΠ°ΠΊΡΡ ΠΎ ΠΊΠΎΡΠΊΠ°Ρ
, ΡΠΎΠ±Π°ΠΊΠ°Ρ
ΠΈ Π΄ΠΈΠΊΠΎΠΉ ΠΏΡΠΈΡΠΎΠ΄Π΅.
Erstellt am 12/13/25 um 14:59:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Hermanelulp schrieb:
ΠΠ²ΡΠΎ ΠΏΠΎΡΡΠ°Π» <a href=https://just-forum.com/>https://just-forum.com</a> Ρ ΠΏΠΎΠ»Π½ΡΠΌ Π½Π°Π±ΠΎΡΠΎΠΌ ΡΠ°Π·Π΄Π΅Π»ΠΎΠ²: Π½ΠΎΠ²ΠΎΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠ΅ΡΡΡ, ΠΏΠΎΠ΄Π΅ΡΠΆΠ°Π½Π½ΡΠ΅ Π°Π²ΡΠΎ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΠΏΠΎΠΊΡΠΏΠΊΠ΅, ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ ΠΈ ΠΏΡΠΎΠ΄Π°ΠΆΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ. Π§Π΅ΡΡΠ½ΡΠ΅ ΠΌΠ½Π΅Π½ΠΈΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ², ΡΠ΅Π°Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ Π»ΡΡΡΠΈΡ
ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎ ΠΌΠ°ΡΠΊΠ°ΠΌ ΠΈ ΠΊΠ»Π°ΡΡΠ°ΠΌ.
Erstellt am 12/13/25 um 15:05:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TerryVup schrieb:
ΠΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://infonews.com.ua/>https://infonews.com.ua</a> Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΠΎΡ
Π²Π°ΡΠΎΠΌ ΡΠΎΠ±ΡΡΠΈΠΉ: ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ Π»Π΅Π½ΡΠ°, Π±ΠΎΠ»ΡΡΠΈΠ΅ ΡΠ΅ΠΊΡΡΡ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΡΠΏΠΎΡΡ. ΠΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΡΠ΅Π°Π»ΡΠ½ΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ ΡΡΡΡΠΊΡΡΡΠ° ΡΠ°Π·Π΄Π΅Π»ΠΎΠ² Π΄Π»Ρ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎΠ³ΠΎ ΡΡΠ΅Π½ΠΈΡ.
Erstellt am 12/13/25 um 15:06:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WalterSag schrieb:
<a href=https://kitehurghada.ru/>https://kitehurghada.ru/</a> ΠΊΠ°ΠΉΡ Ρ
ΡΡΠ³Π°Π΄Π°
Erstellt am 12/13/25 um 16:57:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
KevinBrupt schrieb:
<a href=https://dzen.ru/xroniki_xaosa>ΡΠ²Π»Π΅Π½ΠΈΠ΅ Π΄Π·Π΅Π½</a> ΠΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ ΠΠ·Π΅Π½: ΠΏΡΠΎΠ²Π΅ΡΡΠ΅ΠΌ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΡΡΠΎΠ±Ρ Π²Ρ Π·Π½Π°Π»ΠΈ ΠΏΡΠ°Π²Π΄Ρ!
Erstellt am 12/13/25 um 17:17:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JimmieHah schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ Π΄Π°ΡΠ΅ <a href=https://sovetyogorod.com/>https://sovetyogorod.com</a> ΡΠ°Π΄Π΅ ΠΈ ΠΎΠ³ΠΎΡΠΎΠ΄Π΅: ΡΡΠ°ΡΡΠΈ ΠΈ Π³Π°ΠΉΠ΄Ρ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΠΏΠΎΡΠ²ΠΎΠΉ, ΠΏΠΎΡΠ°Π΄ΠΊΠ΅, ΠΎΠ±ΡΠ΅Π·ΠΊΠ΅, ΠΌΡΠ»ΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π±ΠΎΡΡΠ±Π΅ Ρ Π±ΠΎΠ»Π΅Π·Π½ΡΠΌΠΈ ΡΠ°ΡΡΠ΅Π½ΠΈΠΉ. ΠΠ±Π·ΠΎΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ ΡΠ΅ΠΏΠ»ΠΈΡ ΠΈ ΠΊΠΎΠΌΠΏΠΎΡΡΠ΅ΡΠΎΠ², Π»Π°Π½Π΄ΡΠ°ΡΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ Π΄Π»Ρ ΡΡΠΎΠΆΠ°Ρ.
Erstellt am 12/13/25 um 17:45:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephanStutt schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://dreamywoman.com/>https://dreamywoman.com</a> ΠΎ ΡΡΠΈΠ»Π΅ ΠΆΠΈΠ·Π½ΠΈ: ΠΊΡΠ°ΡΠΎΡΠ° ΠΈ ΡΡ
ΠΎΠ΄, ΠΌΠΎΠ΄Π°, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΡΠ΅ΠΌΡΡ ΠΈ ΠΊΠ°ΡΡΠ΅ΡΠ°. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π»ΡΡΡΠΈΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ. ΠΡΡ, ΡΡΠΎΠ±Ρ Π·Π°Π±ΠΎΡΠΈΡΡΡΡ ΠΎ ΡΠ΅Π±Π΅, ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡΡΡ ΠΈ Π½Π°Ρ
ΠΎΠ΄ΠΈΡΡ ΠΈΠ΄Π΅ΠΈ Π½Π° ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/13/25 um 17:45:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eugeneabows schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://nova-woman.com/>https://nova-woman.com</a> ΡΠ°ΠΉΡ Π΄Π»Ρ Π΄Π΅Π²ΡΡΠ΅ΠΊ ΠΈ ΠΆΠ΅Π½ΡΠΈΠ½: ΡΡΠ΅Π½Π΄Ρ ΠΌΠΎΠ΄Ρ ΠΈ ΠΌΠ°ΠΊΠΈΡΠΆΠ°, ΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΡΠΈΡΠ½Π΅Ρ, ΡΠΌΠΎΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ ΠΈ ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠ΅. ΠΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠ΅ΡΡΡ ΠΈ ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΡΠ²ΡΡΠ²ΠΎΠ²Π°ΡΡ ΡΠ΅Π±Ρ ΡΠ²Π΅ΡΠ΅Π½Π½Π΅Π΅ ΠΈ ΡΡΠ°ΡΡΠ»ΠΈΠ²Π΅Π΅.
Erstellt am 12/13/25 um 17:48:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Angelchome schrieb:
ΠΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://ua24news.com.ua/>https://ua24news.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ: ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π΄Π½Ρ, ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, ΠΏΡΠΎΠΈΡΡΠ΅ΡΡΠ²ΠΈΡ ΠΈ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½Π°Ρ ΠΏΠΎΠ²Π΅ΡΡΠΊΠ°. ΠΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΡΠ°ΠΊΡΡ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ ΠΈ ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ. Π£Π·Π½Π°Π²Π°ΠΉΡΠ΅ Π³Π»Π°Π²Π½ΠΎΠ΅ ΠΎ ΠΆΠΈΠ·Π½ΠΈ ΡΡΡΠ°Π½Ρ ΠΈ ΠΌΠΈΡΠ° Π² ΡΠ΄ΠΎΠ±Π½ΠΎΠΌ ΡΠΎΡΠΌΠ°ΡΠ΅ 24/7.
Erstellt am 12/13/25 um 17:49:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DaronLed schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ <a href=https://smi24.com.ua/>https://smi24.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅: Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ, ΠΌΠ½Π΅Π½ΠΈΡ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠΎΠ², ΡΠ°ΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ, ΡΠ΅ΠΏΠΎΡΡΠ°ΠΆΠΈ ΠΈ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠ°Ρ Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΏΠΎΠ½ΠΈΠΌΠ°ΡΡ, ΡΡΠΎ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ Π² ΡΡΡΠ°Π½Π΅ ΠΈ ΠΊΠ°ΠΊ ΡΠΎΠ±ΡΡΠΈΡ Π²Π»ΠΈΡΡΡ Π½Π° ΠΆΠΈΠ·Π½Ρ Π»ΡΠ΄Π΅ΠΉ.
Erstellt am 12/13/25 um 20:23:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JefferyNex schrieb:
ΠΠ½Π»Π°ΠΉΠ½-Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ <a href=https://novosti24online.com...>https://novosti24online.com.ua</a> ΠΏΠΎΡΡΠ°Π» Π£ΠΊΡΠ°ΠΈΠ½Ρ: Π»Π΅Π½ΡΠ° Π½ΠΎΠ²ΠΎΡΡΠ΅ΠΉ, Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΊΠΎΠ»ΠΎΠ½ΠΊΠΈ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ, ΠΎΠ±Π·ΠΎΡΡ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ°, ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ β Π²ΡΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ, Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΠΎ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΡΠΈΡΠ°ΡΠ΅Π»Ρ.
Erstellt am 12/13/25 um 20:23:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Scottbet schrieb:
ΠΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://mediasfera.com.ua/>https://mediasfera.com.ua</a> Π£ΠΊΡΠ°ΠΈΠ½Ρ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π±ΡΡΡ Π² ΠΊΡΡΡΠ΅: ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΏΡΠ±Π»ΠΈΠΊΠ°ΡΠΈΠΈ, ΡΠ°Π·Π±ΠΎΡ ΠΊΠ»ΡΡΠ΅Π²ΡΡ
ΡΠΎΠ±ΡΡΠΈΠΉ, ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΠ΅ ΠΎΡΠ΅Π½ΠΊΠΈ ΠΈ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΎ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ΅, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠ΅ ΠΈ ΠΎΠ±ΡΠ΅ΡΡΠ²Π΅. ΠΡΡΡΡΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ, ΡΠ΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ.
Erstellt am 12/13/25 um 20:24:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RoyceCrisk schrieb:
ΠΠΎΠ²ΠΎΡΡΠΈ Π£ΠΊΡΠ°ΠΈΠ½Ρ <a href=https://mediaportal.com.ua/>https://mediaportal.com.ua</a> Π² ΡΠ΄ΠΎΠ±Π½ΠΎΠΌ ΡΠΎΡΠΌΠ°ΡΠ΅: Π»Π΅Π½ΡΠ° ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΡ
ΡΠΎΠ±ΡΡΠΈΠΉ, ΡΠ°Π·Π΄Π΅Π»Ρ ΠΏΠΎ ΡΠ΅ΠΌΠ°ΠΌ, Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΊΠΎΠ»ΠΎΠ½ΠΊΠΈ ΠΈ Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ°. ΠΡΠ²Π΅ΡΠ°Π΅ΠΌ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΡ, ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ, ΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΠ΅ Π²ΠΎΠΏΡΠΎΡΡ ΠΈ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΠ΅ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ. ΠΠΎΡΡΠ°Π» Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΏΠΎΠ»Π½ΡΡ ΠΊΠ°ΡΡΠΈΠ½Ρ Π΄Π½Ρ.
Erstellt am 12/13/25 um 20:24:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamestycle schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΡΠ°ΠΉΡ <a href=https://loveliness.kyiv.ua/>https://loveliness.kyiv.ua</a> Ρ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠΌ ΠΊΠΎΠ½ΡΠ΅Π½ΡΠΎΠΌ: ΡΡ
ΠΎΠ΄ Π·Π° ΠΊΠΎΠΆΠ΅ΠΉ ΠΈ Π²ΠΎΠ»ΠΎΡΠ°ΠΌΠΈ, ΡΡΠΈΠ»ΡΠ½ΡΠ΅ ΠΎΠ±ΡΠ°Π·Ρ, Π΄ΠΎΠΌ ΠΈ ΡΡΡ, Π΄Π΅ΡΠΈ, ΡΠ°Π±ΠΎΡΠ° ΠΈ ΡΠΈΠ½Π°Π½ΡΡ. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ, ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ Π±Π΅Π· Π»ΠΈΡΠ½Π΅ΠΉ Β«Π²ΠΎΠ΄ΡΒ». Π£Π΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎ ΡΡΠ±ΡΠΈΠΊΠ°ΠΌ ΠΈ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ.
Erstellt am 12/13/25 um 23:04:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Sidneydet schrieb:
Π£Π½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΡΠΉ Π°Π²ΡΠΎ <a href=https://kolesnitsa.com.ua/>https://kolesnitsa.com.ua</a> ΠΏΠΎΡΡΠ°Π» Π΄Π»Ρ Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ ΠΈ Π±ΡΠ΄ΡΡΠΈΡ
Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π²: ΠΎΠ±Π·ΠΎΡΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ, ΡΡΠ°Π²Π½Π΅Π½ΠΈΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΠΉ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²Ρ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ Π’Π ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΡ, ΠΏΠΎΠ΄Π±ΠΎΡ ΡΠΈΠ½ ΠΈ Π°ΠΊΡΠ΅ΡΡΡΠ°ΡΠΎΠ². ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, Π°Π½Π°Π»ΠΈΡΠΈΠΊΠ° ΡΡΠ½ΠΊΠ° ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π΄Π΅Π»Π°ΡΡ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΡΠΉ Π²ΡΠ±ΠΎΡ.
Erstellt am 12/13/25 um 23:05:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Josephlop schrieb:
Π£ΠΊΡΠ°ΠΈΠ½ΡΠΊΠΈΠΉ Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ <a href=https://mediacentr.com.ua/>https://mediacentr.com.ua</a> ΠΏΠΎΡΡΠ°Π» Ρ Π°ΠΊΡΠ΅Π½ΡΠΎΠΌ Π½Π° ΠΎΠ±ΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ ΠΈ ΡΠ°ΠΊΡΡ: ΡΠ²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, Π°Π½Π°Π»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠ°ΡΡΠΈ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ ΠΈ ΡΠΏΠ΅ΡΠΏΡΠΎΠ΅ΠΊΡΡ. ΠΡΠ²Π΅ΡΠ°Π΅ΠΌ ΠΆΠΈΠ·Π½Ρ ΡΡΡΠ°Π½Ρ, ΡΠ΅ΡΠΎΡΠΌΡ, ΡΡΠΎΠ½Ρ, Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°ΡΠΈΡ ΠΈ ΠΏΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ Π»ΡΠ΄Π΅ΠΉ. ΠΡΡ Π²Π°ΠΆΠ½ΠΎΠ΅ β Π½Π° ΠΎΠ΄Π½ΠΎΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠ΅.
Erstellt am 12/13/25 um 23:05:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AndrewShugh schrieb:
ΠΠ½Π»Π°ΠΉΠ½ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ <a href=https://lugor.org.ua/>https://lugor.org.ua</a> ΡΠ°ΠΉΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΡ Π²ΡΠ΅ΠΌΡ: Π³Π°ΠΉΠ΄Ρ ΠΏΠΎ ΠΊΡΠ°ΡΠΎΡΠ΅ ΠΈ ΡΡΠΈΠ»Ρ, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ°, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ, ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΡΠ²ΠΎ ΠΈ ΠΊΠ°ΡΡΠ΅ΡΠ½ΡΠ΅ ΡΠ΅Π»ΠΈ. ΠΠΎΠ΄Π±ΠΎΡΠΊΠΈ, ΡΠ΅ΠΊ-Π»ΠΈΡΡΡ, ΠΈΡΡΠΎΡΠΈΠΈ ΠΈ ΡΠΎΠ²Π΅ΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ΅Π°Π»ΡΠ½ΠΎ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π² ΠΏΠΎΠ²ΡΠ΅Π΄Π½Π΅Π²Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ.
Erstellt am 12/13/25 um 23:06:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AlonzoDex schrieb:
<a href=https://t.me/Furniture_LT>ΡΠ°ΠΉΡ ΠΌΠ΅Π±Π΅Π»ΠΈ ΠΌΠΎΡΠΊΠ²Π°</a> Telegram ΡΡΠ°Π» ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΠΉ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠΎΠΉ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ ΠΏΠΎΠΊΡΠΏΠΊΠΈ ΠΌΠ΅Π±Π΅Π»ΠΈ. ΠΠ°Π½Π°Π»Ρ ΠΈ Π³ΡΡΠΏΠΏΡ, ΠΏΠΎΡΠ²ΡΡΠ΅Π½Π½ΡΠ΅ ΠΌΠ΅Π±Π΅Π»ΠΈ Telegram, ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΠΎΠ²Π°ΡΠΎΠ², ΠΎΡ Π³ΠΎΡΠΎΠ²ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΠΉ Π΄ΠΎ ΠΌΠ΅Π±Π΅Π»ΠΈ Π½Π° Π·Π°ΠΊΠ°Π·. Π Telegram ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΠΌΠ΅Π±Π΅Π»ΠΈ, ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ Π½ΠΎΠ²ΠΈΠ½ΠΊΠ°ΠΌΠΈ ΠΈ Π°ΠΊΡΠΈΡΠΌΠΈ ΠΎΡ ΠΌΠ΅Π±Π΅Π»ΡΠ½ΡΡ
ΡΠ°Π±ΡΠΈΠΊ, ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΏΠΎ Π΄ΠΈΠ·Π°ΠΉΠ½Ρ ΠΈ Π²ΡΠ±ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². ΠΡΠΎΠ²Π°ΡΡ Telegram, ΠΊΡΠ΅ΡΠ»ΠΎ Telegram ΠΈΠ»ΠΈ ΡΠ΅Π»ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½-ΠΏΡΠΎΠ΅ΠΊΡ Telegram β Π²ΡΠ΅ ΡΡΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΠΎ ΠΏΡΡΠΌΠΎ Π² Π²Π°ΡΠ΅ΠΌ ΡΠΌΠ°ΡΡΡΠΎΠ½Π΅.
Erstellt am 12/14/25 um 03:21:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MohamedLaf schrieb:
<a href=https://t.me/obucheniexrumer>Π±Π°Π·Π° xrumer ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ</a> ΠΊΠ°ΠΊ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ xrumer 5.0 platinum: ΠΊΠ°ΠΊ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ xrumer 5.0 platinum β ΡΡΠΎ Π²ΠΎΠΏΡΠΎΡ, ΠΊΠ°ΡΠ°ΡΡΠΈΠΉΡΡ ΠΏΡΠΈΠ½ΡΠΈΠΏΠΎΠ² ΡΠ°Π±ΠΎΡΡ Π±ΠΎΠ»Π΅Π΅ ΡΡΠ°ΡΠΎΠΉ Π²Π΅ΡΡΠΈΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ Xrumer.
Erstellt am 12/14/25 um 04:58:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
PedroSkers schrieb:
ΠΠ½Π»Π°ΠΉΠ½ Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ <a href=https://expressnews.com.ua/>https://expressnews.com.ua</a> ΠΏΠΎΡΡΠ°Π» Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Ρ
ΠΎΡΠ΅Ρ Π±ΡΡΡ Π² ΠΊΡΡΡΠ΅: ΡΠ²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΠΎΠ±Π·ΠΎΡΡ, ΡΠΏΠ΅ΡΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ Π°Π²ΡΠΎΡΡΠΊΠΈΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠΎΠ»ΠΈΡΠΈΠΊΠ°, Π±ΠΈΠ·Π½Π΅Ρ, ΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ, Π½Π°ΡΠΊΠ°, ΠΊΡΠ»ΡΡΡΡΠ° ΠΈ ΡΠΏΠΎΡΡ β Π²ΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅, Ρ ΠΏΠΎΠ½ΡΡΠ½ΠΎΠΉ ΠΏΠΎΠ΄Π°ΡΠ΅ΠΉ ΠΈ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΡΠΌΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡΠΌΠΈ 24/7.
Erstellt am 12/14/25 um 07:28:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenasymn schrieb:
Π£ΠΊΡΠ°ΠΈΠ½ΡΠΊΠΈΠΉ Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ <a href=https://medicalanswers.com.ua/>https://medicalanswers.com.ua</a> ΠΏΠΎΡΡΠ°Π»: Π³Π»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΡΠ°ΡΡΠΈΡΠ΅Π½Π½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ, ΡΠ°Π·Π±ΠΎΡ ΡΠ΅ΡΠ΅Π½ΠΈΠΉ Π²Π»Π°ΡΡΠΈ, ΡΠΈΡΡΠ°ΡΠΈΠΈ Π½Π° ΡΡΠΎΠ½ΡΠ΅ ΠΈ ΠΆΠΈΠ·Π½ΠΈ Π³ΡΠ°ΠΆΠ΄Π°Π½. Π€ΠΎΡΠΎ, Π²ΠΈΠ΄Π΅ΠΎ, ΠΈΠ½ΡΠΎΠ³ΡΠ°ΡΠΈΠΊΠ° ΠΈ ΠΌΠ½Π΅Π½ΠΈΡ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ Π³Π»ΡΠ±ΠΆΠ΅ ΠΏΠΎΠ½ΡΡΡ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΡΡΠ΅Π΅ Π² Π£ΠΊΡΠ°ΠΈΠ½Π΅ ΠΈ Π²ΠΎΠΊΡΡΠ³ Π½Π΅Ρ.
Erstellt am 12/14/25 um 07:28:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BobbyNob schrieb:
ΠΠΎΡΡΠ°Π» ΡΠΌΠ°ΡΠ½ΠΈΡ
ΡΠ΄Π΅ΠΉ <a href=https://mallinaproject.com.ua/>https://mallinaproject.com.ua</a> ΠΏΡΠΎΡΡΡ ΡΠ΅ΡΠ΅ΠΏΡΠΈ Π½Π° ΡΠΎΠ΄Π΅Π½Ρ, ΡΠ²ΡΡΠΊΠΎΠ²Ρ ΡΡΡΠ°Π²ΠΈ, Π΄Π΅ΡΠ΅ΡΡΠΈ, Π²ΠΈΠΏΡΡΠΊΠ° ΡΠ° ΠΊΠΎΡΠΈΡΠ½Ρ ΠΏΠ΅ΡΠ΅ΠΊΡΡΠΈ. ΠΠΎΠΊΡΠΎΠΊΠΎΠ²Ρ ΡΠ½ΡΡΡΡΠΊΡΡΡ, ΠΏΠΎΡΠ°Π΄ΠΈ, ΠΏΡΠ΄Π±ΡΡΠΊΠΈ ΠΌΠ΅Π½Ρ ΠΉ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ Π΄Π»Ρ ΠΊΡΡ
Π½Ρ. ΠΠΎΡΡΠΉΡΠ΅ ΡΠ²ΠΈΠ΄ΠΊΠΎ, ΡΠΌΠ°ΡΠ½ΠΎ ΡΠ° Π· Π½Π°ΡΡ
Π½Π΅Π½Π½ΡΠΌ ΡΠ°Π·ΠΎΠΌ ΡΠ· Π½Π°ΠΌΠΈ.
Erstellt am 12/14/25 um 07:29:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Arthurwrola schrieb:
ΠΠΎΡΡΠ°Π» ΠΎ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
<a href=https://technocom.dp.ua/>https://technocom.dp.ua</a> Π½ΠΎΠ²ΠΎΡΡΠΈ IT ΠΈ Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ², ΠΎΠ±Π·ΠΎΡΡ ΡΠΌΠ°ΡΡΡΠΎΠ½ΠΎΠ² ΠΈ Π½ΠΎΡΡΠ±ΡΠΊΠΎΠ², ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ, ΡΠ΅ΡΡΡ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΈ Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ. ΠΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΈΠ½ΡΠ΅Π»Π»Π΅ΠΊΡ, ΠΊΠΈΠ±Π΅ΡΠ±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ, ΡΠΎΡΡ, ΡΠΈΡΡΠΎΠ²ΡΠ΅ ΡΠ΅ΡΠ²ΠΈΡΡ ΠΈ ΡΡΠ΅Π½Π΄Ρ β ΠΏΡΠΎΡΡΡΠΌ ΡΠ·ΡΠΊΠΎΠΌ ΠΈ Ρ ΠΏΠΎΠ»ΡΠ·ΠΎΠΉ Π΄Π»Ρ ΡΠΈΡΠ°ΡΠ΅Π»Ρ.
Erstellt am 12/14/25 um 07:29:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrandonFrara schrieb:
ΠΡΠΆΡΠΊΠΎΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://phizmat.org.ua/>https://phizmat.org.ua</a> ΠΎ ΡΡΠΈΠ»Π΅, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡΡ
ΠΈ Π΄Π΅Π½ΡΠ³Π°Ρ
. Π‘Π²Π΅ΠΆΠΈΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ² ΠΈ Π°Π²ΡΠΎ, ΡΡΠ΅Π½ΠΈΡΠΎΠ²ΠΊΠΈ ΠΈ ΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ ΡΠΈΠ»ΡΠΌΠΎΠ² ΠΈ ΠΈΠ³Ρ, Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ ΠΈ ΠΎΡΠ΄ΡΡ
Π° β Π±Π΅Π· Π²ΠΎΠ΄Ρ ΠΈ ΠΊΠ»ΠΈΠΊΠ±Π΅ΠΉΡΠ°. Π‘ΠΎΠ²Π΅ΡΡ, ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΈ ΡΠ΅ΡΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/14/25 um 10:12:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Gregorynoice schrieb:
Π’ΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΏΠΎΡΡΠ°Π» <a href=https://prostokarta.com.ua/>https://prostokarta.com.ua</a> ΠΎ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΡΡ
ΠΏΠΎ Π ΠΎΡΡΠΈΠΈ ΠΈ ΠΌΠΈΡΡ: ΠΌΠ°ΡΡΡΡΡΡ, Π³ΠΎΡΠΎΠ΄Π° ΠΈ ΡΡΡΠ°Π½Ρ, ΡΠΎΠ²Π΅ΡΡ ΡΡΡΠΈΡΡΠ°ΠΌ, Π²ΠΈΠ·Ρ ΠΈ ΠΏΠ΅ΡΠ΅Π»ΡΡΡ, ΠΎΡΠ΅Π»ΠΈ ΠΈ ΠΆΠΈΠ»ΡΡ, ΠΎΠ±Π·ΠΎΡΡ ΠΊΡΡΠΎΡΡΠΎΠ², ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ ΠΎΡΠ΄ΡΡ
Π°, Π»Π°ΠΉΡΡ
Π°ΠΊΠΈ, Π»ΠΈΡΠ½ΡΠΉ ΠΎΠΏΡΡ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΡΡΡΠΈΠ·ΠΌΠ°.
Erstellt am 12/14/25 um 10:12:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Henrymes schrieb:
ΠΠ΅Π½ΡΠΊΠΈΠΉ ΠΆΡΡΠ½Π°Π» <a href=https://eternaltown.com.ua/>https://eternaltown.com.ua</a> ΠΎ ΡΡΠΈΠ»Π΅, ΠΊΡΠ°ΡΠΎΡΠ΅ ΠΈ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅. ΠΠΎΠ΄Π° ΠΈ ΡΡΠ΅Π½Π΄Ρ, ΡΡ
ΠΎΠ΄ Π·Π° ΠΊΠΎΠΆΠ΅ΠΉ ΠΈ Π²ΠΎΠ»ΠΎΡΠ°ΠΌΠΈ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ ΠΈ ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ, Π΄ΠΎΠΌ ΠΈ ΡΠ΅ΠΌΡΡ, ΠΊΠ°ΡΡΠ΅ΡΠ° ΠΈ ΡΠ°ΠΌΠΎΡΠ°Π·Π²ΠΈΡΠΈΠ΅. ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΠΏΠΎΠ΄Π±ΠΎΡΠΊΠΈ, ΠΈΠ½ΡΠ΅ΡΠ²ΡΡ ΠΈ Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ.
Erstellt am 12/14/25 um 10:12:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-dmitrov-872 schrieb:
Π‘ΡΠΎΡΠ½ΡΠΉ <a href=https://avto-evakuatsia.ru/>ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ ΠΠΌΠΈΡΡΠΎΠ²</a>: ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠΉ Π²ΡΠ΅Π·Π΄, ΠΏΠΎΠ΄Π°ΡΠ° ΠΎΡ 20 ΠΌΠΈΠ½ΡΡ. ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΌΠ΅ΠΆΠ³ΠΎΡΠΎΠ΄, Π±Π΅ΡΠ΅ΠΆΠ½Π°Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠ°. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ, Π±Π΅Π· ΡΠΊΡΡΡΡΡ
Π΄ΠΎΠΏΠ»Π°Ρ, ΠΏΡΠΈΠ½ΠΈΠΌΠ°Π΅ΠΌ Π·Π°ΡΠ²ΠΊΠΈ Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ.
Erstellt am 12/14/25 um 10:13:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
agentstvo-internet-marketinga-90 schrieb:
ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ <a href=https://pro-site.org/>Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΌΠ°ΡΠΊΠ΅ΡΠΈΠ½Π³Π°</a> Π΄Π»Ρ ΠΌΠ°Π»ΠΎΠ³ΠΎ ΠΈ ΡΡΠ΅Π΄Π½Π΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°. ΠΠ°ΡΡΡΠΎΠΉΠΊΠ° ΡΠ΅ΠΊΠ»Π°ΠΌΡ, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ², ΡΠΎΡΡ Π·Π°ΡΠ²ΠΎΠΊ ΠΈ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΠ½Π°Π»ΠΈΡΠΈΠΊΠ°, ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΠΈ ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΠΉ ΠΊΠΎΠ½ΡΡΠΎΠ»Ρ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΡ
ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΉ.
Erstellt am 12/14/25 um 12:36:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
e-battery-228 schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
<a href=https://e-battery.ru/>https://e-battery.ru</a> Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² - Π½Π°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ. ΠΠΎΠ΄Π±ΠΎΡ ΠΠΠ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ°, ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ°, Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΠ΅ΡΡΡΡ ΠΈ Π²ΡΡΠΎΠΊΠ°Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΠΎΠΉ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ
Erstellt am 12/14/25 um 12:38:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BEST-AKB-508 schrieb:
ΠΡΠΆΠ΅Π½ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡ? <a href=https://bestakbspb.ru/>Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΡ Π΄Π»Ρ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΡΠΏΠ±</a> ΠΏΠΎΠ΄Π±ΠΎΡ ΠΠΠ ΠΏΠΎ ΠΌΠ°ΡΠΊΠ΅ ΠΈ ΠΌΠΎΠ΄Π΅Π»ΠΈ Π°Π²ΡΠΎ, Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠΌΠΊΠΎΡΡΠΈ ΠΈ ΠΏΡΡΠΊΠΎΠ²ΠΎΠ³ΠΎ ΡΠΎΠΊΠ°. ΠΠΎΡΡΠ°Π²ΠΊΠ°, ΡΠ°ΠΌΠΎΠ²ΡΠ²ΠΎΠ·, Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΠΏΠΎΠΌΠΎΡΡ Π² ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅.
Erstellt am 12/14/25 um 13:02:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Bookernow schrieb:
View all: <a href=https://vps52850.bloggosite...>https://vps52850.bloggosite.com/46409543/dive-into-the-world-of-digital-jigsaw-puzzles</a>
Erstellt am 12/14/25 um 13:03:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DanielNam schrieb:
ΠΡΡΡΡ Π°ΡΠ°Π±ΡΠΊΠΎΠ³ΠΎ ΡΠ·ΡΠΊΠ° <a href=https://shams-arab.ru/>https://shams-arab.ru</a> Π±Π»ΠΎΠ³ Ρ ΠΏΠΎΠ»Π΅Π·Π½ΡΠΌΠΈ ΡΡΠ°ΡΡΡΠΌΠΈ, ΡΠΏΡΠ°ΠΆΠ½Π΅Π½ΠΈΡΠΌΠΈ ΠΈ ΠΏΡΠΈΠΌΠ΅ΡΠ°ΠΌΠΈ. Π Π°Π·Π±ΠΈΡΠ°Π΅ΠΌ Π³ΡΠ°ΠΌΠΌΠ°ΡΠΈΠΊΡ, Π»Π΅ΠΊΡΠΈΠΊΡ, Π΄ΠΈΠ°Π»ΠΎΠ³ΠΈ ΠΈ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΡΠ·ΡΠΊΠ°. ΠΠ΅Π»ΠΈΠΌΡΡ ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ ΠΏΠΎ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ, ΠΌΠΎΡΠΈΠ²Π°ΡΠΈΠΈ ΠΈ Π²ΡΠ±ΠΎΡΡ ΡΠΎΡΠΌΠ°ΡΠ° Π·Π°Π½ΡΡΠΈΠΉ.
Erstellt am 12/14/25 um 15:31:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Kevinvoipt schrieb:
Π‘Π΅ΡΠ²ΠΈΡ ΠΏΠΎΠΌΠΎΡΠΈ <a href=https://students-helper.ru/>https://students-helper.ru</a> ΡΡΡΠ΄Π΅Π½ΡΠ°ΠΌ Ρ ΡΡΠ΅Π±Π½ΡΠΌΠΈ ΡΠ°Π±ΠΎΡΠ°ΠΌΠΈ. ΠΡΡΡΠΎΠ²ΡΠ΅, ΠΊΠΎΠ½ΡΡΠΎΠ»ΡΠ½ΡΠ΅, ΡΠ΅ΡΠ΅ΡΠ°ΡΡ, ΠΎΡΡΡΡΡ ΠΈ ΠΏΡΠ΅Π·Π΅Π½ΡΠ°ΡΠΈΠΈ. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ ΡΡΠΎΠΊΠΎΠ², Π΄ΠΎΡΠ°Π±ΠΎΡΠΊΠΈ ΠΏΠΎ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ ΠΈ ΠΊΠΎΠ½ΡΠΈΠ΄Π΅Π½ΡΠΈΠ°Π»ΡΠ½ΠΎΡΡΡ.
Erstellt am 12/14/25 um 15:32:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TrevorNex schrieb:
ΠΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΡΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ <a href=https://mother-massage.ru/>https://mother-massage.ru</a> ΠΌΠ°ΡΡΠ°ΠΆΡ ΠΈ Π³ΠΈΠΌΠ½Π°ΡΡΠΈΠΊΠ΅ Π΄Π»Ρ Π΄Π΅ΡΠ΅ΠΉ ΠΎΡ ΡΠΎΠΆΠ΄Π΅Π½ΠΈΡ Π΄ΠΎ Π³ΠΎΠ΄Π°. ΠΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π·Π°Π½ΡΡΠΈΡ, Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ, ΡΠ°Π·Π²ΠΈΡΠΈΠ΅ ΠΌΠΎΡΠΎΡΠΈΠΊΠΈ ΠΈ ΡΠΊΡΠ΅ΠΏΠ»Π΅Π½ΠΈΠ΅ Π·Π΄ΠΎΡΠΎΠ²ΡΡ ΠΌΠ°Π»ΡΡΠ°. ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°, ΠΏΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΈ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΡ ΡΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ.
Erstellt am 12/14/25 um 15:48:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jamesdrano schrieb:
ΠΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΠΉ Π±Π»ΠΎΠ³ <a href=https://za-obrazovanie.ru/>https://za-obrazovanie.ru</a> ΠΎ ΠΌΠ΅ΡΠΎΠ΄ΠΈΠΊΠ°Ρ
ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ ΠΈ ΡΠ°Π·Π²ΠΈΡΠΈΠΈ Π½Π°Π²ΡΠΊΠΎΠ². Π‘ΡΠ°ΡΡΠΈ ΠΎ ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°Π½ΠΈΠΈ, ΠΏΠ΅Π΄Π°Π³ΠΎΠ³ΠΈΠΊΠ΅, ΠΎΡΠ΅Π½ΠΈΠ²Π°Π½ΠΈΠΈ, ΠΌΠΎΡΠΈΠ²Π°ΡΠΈΠΈ ΠΈ ΡΠ°Π±ΠΎΡΠ΅ Ρ Π΄Π΅ΡΡΠΌΠΈ ΠΈ Π²Π·ΡΠΎΡΠ»ΡΠΌΠΈ. ΠΡΠ°ΠΊΡΠΈΠΊΠ°, ΠΊΠ΅ΠΉΡΡ ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ.
Erstellt am 12/14/25 um 15:48:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-395 schrieb:
Site web de <a href=https://parifoot-rd-congo.com/>pari foot rdc</a>: paris sportifs, championnats de football, resultats des matchs et cotes. Informations detaillees sur la plateforme, les conditions dβutilisation, les fonctionnalites et les evenements sportifs disponibles.
Erstellt am 12/14/25 um 18:17:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-593 schrieb:
Site web de <a href=https://parifoot-rd-congo.com/>parifoot rd congo</a>: paris sportifs, championnats de football, resultats des matchs et cotes. Informations detaillees sur la plateforme, les conditions dβutilisation, les fonctionnalites et les evenements sportifs disponibles.
Erstellt am 12/14/25 um 18:17:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-congo-141 schrieb:
Site web <a href=https://1xbet-congo.com/>1xbet apk rdc</a> β paris sportifs en ligne sur le football et autres sports. Propose des paris en direct et a l'avance, des cotes, des resultats et des tournois. Description detaillee du service, des fonctionnalites du compte et de son utilisation au Congo.
Erstellt am 12/14/25 um 18:18:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-congo-624 schrieb:
Site web <a href=https://1xbet-congo.com/>1xbet apk rdc</a> β paris sportifs en ligne sur le football et autres sports. Propose des paris en direct et a l'avance, des cotes, des resultats et des tournois. Description detaillee du service, des fonctionnalites du compte et de son utilisation au Congo.
Erstellt am 12/14/25 um 18:18:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-burkina-faso-987 schrieb:
La plateforme en ligne <a href=https://1xbet-burkina-faso....>1xbet burkina</a>: paris sportifs en ligne, matchs de football, evenements en direct et statistiques. Description du service, marches disponibles, cotes et principales fonctionnalites du site.
Erstellt am 12/14/25 um 18:34:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-burkina-faso-731 schrieb:
La plateforme en ligne <a href=https://1xbet-burkina-faso....>1xbet burkina</a>: paris sportifs en ligne, matchs de football, evenements en direct et statistiques. Description du service, marches disponibles, cotes et principales fonctionnalites du site.
Erstellt am 12/14/25 um 18:34:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-498 schrieb:
Application mobile <a href=https://1xbet-burkina-apk.com/>1xbet apk burkina</a>. Paris sportifs en ligne, football et tournois populaires, evenements en direct et statistiques. Presentation de l'application et de ses principales fonctionnalites.
Erstellt am 12/14/25 um 18:38:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-511 schrieb:
Application mobile <a href=https://1xbet-burkina-apk.com/>1xbet apk</a>. Paris sportifs en ligne, football et tournois populaires, evenements en direct et statistiques. Presentation de l'application et de ses principales fonctionnalites.
Erstellt am 12/14/25 um 18:38:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-congo-212 schrieb:
Site web <a href=https://1xbet-congo.com/>1xbet rdc</a> β paris sportifs en ligne sur le football et autres sports. Propose des paris en direct et a l'avance, des cotes, des resultats et des tournois. Description detaillee du service, des fonctionnalites du compte et de son utilisation au Congo.
Erstellt am 12/15/25 um 03:11:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-941 schrieb:
Site web de <a href=https://parifoot-rd-congo.com/>parifoot rd congo</a>: paris sportifs, championnats de football, resultats des matchs et cotes. Informations detaillees sur la plateforme, les conditions dβutilisation, les fonctionnalites et les evenements sportifs disponibles.
Erstellt am 12/15/25 um 03:31:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-burkina-faso-57 schrieb:
La plateforme en ligne <a href=https://1xbet-burkina-faso....>1xbet apk burkina</a>: paris sportifs en ligne, matchs de football, evenements en direct et statistiques. Description du service, marches disponibles, cotes et principales fonctionnalites du site.
Erstellt am 12/15/25 um 03:43:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JasonPoops schrieb:
ΠΠ»ΠΎΠ³ ΠΠ»Π΅Π½Ρ ΠΠ΅Π»ΡΠ΅Π²ΠΎΠΉ <a href=https://bestyleacademy.ru/>https://bestyleacademy.ru</a> ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠΈΠ»ΠΈΡΡΠ°. Π Π°Π·Π±ΠΎΡΡ Π³Π°ΡΠ΄Π΅ΡΠΎΠ±Π°, ΠΊΠ°ΠΏΡΡΠ»ΡΠ½ΡΠ΅ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΠΈ, ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΡΡΠΈΠ»Ρ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌ ΡΡΠ΅Π½Π΄Π°ΠΌ. ΠΡΠ°ΠΊΡΠΈΠΊΠ°, Π²Π΄ΠΎΡ
Π½ΠΎΠ²Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π΄Π»Ρ ΠΆΠ΅Π½ΡΠΈΠ½ ΠΈ ΠΌΡΠΆΡΠΈΠ½.
Erstellt am 12/15/25 um 04:23:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MichaelRency schrieb:
Π¨ΠΊΠΎΠ»Π° Π±Π»ΠΎΠ³Π΅ΡΠΎΠ² <a href=https://vdskill.ru/>https://vdskill.ru</a> ΠΈ Π²ΠΈΠ΄Π΅ΠΎΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ Π΄Π»Ρ Π°Π²ΡΠΎΡΠΎΠ² ΠΈ ΠΏΡΠ΅Π΄ΠΏΡΠΈΠ½ΠΈΠΌΠ°ΡΠ΅Π»Π΅ΠΉ. Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ Π²ΠΈΠ΄Π΅ΠΎ, ΡΡΠΎΡΠΈΡΠ΅Π»Π»ΠΈΠ½Π³, ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΈ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅. ΠΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π·Π°Π½ΡΡΠΈΡ, ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Π½Π°ΡΡΠ°Π²Π½ΠΈΠΊΠΎΠ² ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ Π΄Π»Ρ ΡΠΎΡΡΠ°.
Erstellt am 12/15/25 um 04:24:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brianorarp schrieb:
ΠΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΠΉ Π±Π»ΠΎΠ³ <a href=https://educationruss.ru/>https://educationruss.ru</a> ΠΎΠ± ΠΎΠ±ΡΡΠ΅Π½ΠΈΠΈ Π·Π° Π³ΡΠ°Π½ΠΈΡΠ΅ΠΉ. Π£Π½ΠΈΠ²Π΅ΡΡΠΈΡΠ΅ΡΡ ΠΈ ΠΊΠΎΠ»Π»Π΅Π΄ΠΆΠΈ, ΡΠ·ΡΠΊΠΎΠ²ΡΠ΅ ΠΊΡΡΡΡ, ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΏΠΎΡΡΡΠΏΠ»Π΅Π½ΠΈΡ, ΡΡΠΎΠΈΠΌΠΎΡΡΡ, Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ ΠΈ ΠΆΠΈΠ·Π½Ρ ΡΡΡΠ΄Π΅Π½ΡΠΎΠ². ΠΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΡΠ°ΡΡΠΈ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ Π΄Π»Ρ Π°Π±ΠΈΡΡΡΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΡΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ.
Erstellt am 12/15/25 um 04:24:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-291 schrieb:
Application mobile <a href=https://1xbet-burkina-apk.com/>1xbet burkina faso</a>. Paris sportifs en ligne, football et tournois populaires, evenements en direct et statistiques. Presentation de l'application et de ses principales fonctionnalites.
Erstellt am 12/15/25 um 04:59:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Eugeneirose schrieb:
ΠΠ»Π°ΡΡΠ½ΡΠ΅ Π°ΠΊΡΠΈΠΈ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΡΠ΅Π·ΠΎΠ½Π½ΡΠ΅
<a href=https://ktteatr.ru/>Π΄ΡΠ°Π³ΠΎΠ½ ΠΌΠ°Π½ΠΈ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
<a href=https://ktteatr.ru/>Π΄ΡΠ°Π³ΠΎΠ½ ΠΌΠ°Π½ΠΈ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
Erstellt am 12/15/25 um 09:34:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Peterced schrieb:
<a href=https://t.me/Official_1winn>ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ 1Π²ΠΈΠ½</a> ΠΠ»Ρ Π²Ρ
ΠΎΠ΄Π° Π² Π»ΠΈΡΠ½ΡΠΉ ΠΊΠ°Π±ΠΈΠ½Π΅Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ Π»ΠΎΠ³ΠΈΠ½ ΠΈ ΠΏΠ°ΡΠΎΠ»Ρ, ΡΠΊΠ°Π·Π°Π½Π½ΡΠ΅ ΠΏΡΠΈ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ. ΠΡΠ»ΠΈ Π²Ρ Π·Π°Π±ΡΠ»ΠΈ ΡΠ²ΠΎΠΈ Π΄Π°Π½Π½ΡΠ΅, Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ ΡΡΠ½ΠΊΡΠΈΠ΅ΠΉ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΏΠ°ΡΠΎΠ»Ρ.
Erstellt am 12/15/25 um 18:20:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
stomatologiya-voronezh-186 schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ <a href=https://aldente.clinic/>Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡ Π² ΠΠΎΡΠΎΠ½Π΅ΠΆΠ΅</a> Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠΈΠ΅ΡΠ°, ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΡ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ Π³ΠΈΠ³ΠΈΠ΅Π½Π° ΠΈ ΡΡΡΠ΅ΡΠΈΠΊΠ° ΡΠ»ΡΠ±ΠΊΠΈ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΡΠΎΡΠ½Π°Ρ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ° ΠΈ Π·Π°Π±ΠΎΡΠ° ΠΎ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°Ρ
.
Erstellt am 12/15/25 um 21:29:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
stomatologiya-voronezh-511 schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ <a href=https://aldente.clinic/>Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡ Π² ΠΠΎΡΠΎΠ½Π΅ΠΆΠ΅</a> Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠΈΠ΅ΡΠ°, ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΡ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ Π³ΠΈΠ³ΠΈΠ΅Π½Π° ΠΈ ΡΡΡΠ΅ΡΠΈΠΊΠ° ΡΠ»ΡΠ±ΠΊΠΈ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΡΠΎΡΠ½Π°Ρ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ° ΠΈ Π·Π°Π±ΠΎΡΠ° ΠΎ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°Ρ
.
Erstellt am 12/15/25 um 21:29:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DavidLem schrieb:
Full version of the article: <a href=https://docs.google.com/doc...>https://docs.google.com/document/d/1g_qezkoapvzq8tumfrpmj-tafrtwq-wkrn2o3wf9k04</a>
Erstellt am 12/15/25 um 21:29:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-134 schrieb:
Machines a sous 1xbet <a href=https://1xbet-apk-rdc1.com/>1xbet rdc telecharger</a>
Erstellt am 12/16/25 um 00:05:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-rdc-252 schrieb:
Compte 1xbet <a href=https://1xbet-rdc-apk1.com/>telecharger 1xbet pour android</a>
Erstellt am 12/16/25 um 00:08:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
stomatologiya-voronezh-237 schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ <a href=https://aldente.clinic/>Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡ Π² ΠΠΎΡΠΎΠ½Π΅ΠΆΠ΅</a> Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠΈΠ΅ΡΠ°, ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΡ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ Π³ΠΈΠ³ΠΈΠ΅Π½Π° ΠΈ ΡΡΡΠ΅ΡΠΈΠΊΠ° ΡΠ»ΡΠ±ΠΊΠΈ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΡΠΎΡΠ½Π°Ρ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠ° ΠΈ Π·Π°Π±ΠΎΡΠ° ΠΎ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°Ρ
.
Erstellt am 12/16/25 um 06:34:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Attractive component to content. I simply stumbled upon your weblog and in accession capital to assert that I get in fact loved account your blog posts. Anyway I will be subscribing in your augment or even I fulfillment you get admission to constantly quickly.
<a href=https://888pcom.org/>888p com</a>
<a href=https://888pcom.org/>888p com</a>
Erstellt am 12/16/25 um 12:19:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Williamzelry schrieb:
<a href=https://t.me/s/atom_officialy>Π°ΡΠΎΠΌ ΠΊΠ°Π·ΠΈΠ½ΠΎ Π±ΠΎΠ½ΡΡΡ</a> ΠΠ³ΡΠ°ΡΡ Π² ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΡΠΎΠΌ β ΡΡΠΎ ΡΠ°Π½Ρ ΠΈΡΠΏΡΡΠ°ΡΡ ΡΠ΄Π°ΡΡ ΠΈ ΡΠΎΡΠ²Π°ΡΡ ΠΊΡΡ. ΠΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π»ΡΠ±ΠΈΠΌΡΠ΅ ΠΈΠ³ΡΡ, Π΄Π΅Π»Π°ΠΉΡΠ΅ ΡΡΠ°Π²ΠΊΠΈ ΠΈ Π²ΡΠΈΠ³ΡΡΠ²Π°ΠΉΡΠ΅!
Erstellt am 12/16/25 um 13:08:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamSub schrieb:
<a href=http://usk-rus.ru/>ΠΠΎΠ»ΠΈΠΌΠ΅ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ Π² ΠΠΠ£ ΠΈΠ·ΠΎΠ»ΡΡΠΈΠΈ</a> Π’ΡΡΠ±Π° ΠΠΠ Π‘ΠΠ‘ ΠΈ Π’ΡΡΠ±Π° ΠΠ ΠΠΠΠ β ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΡΡ
ΡΠ΅ΡΠ΅ΠΉ, ΠΎΡΠ»ΠΈΡΠ°ΡΡΠΈΠ΅ΡΡ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡΡ ΠΈ ΠΏΡΠΎΡΡΠΎΡΠΎΠΉ ΠΌΠΎΠ½ΡΠ°ΠΆΠ°.
Erstellt am 12/16/25 um 13:20:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Vancepalty schrieb:
<a href=https://www.stovemaker.ru/>ΠΡΠΏΠΈΡΡ ΠΏΡΠΎΠ΅ΠΊΡ Π±Π°Π½Π½ΠΎΠΉ ΠΏΠ΅ΡΠΈ</a> ΠΡΠΏΠΈΡΡ ΠΏΡΠΎΠ΅ΠΊΡ ΠΊΠ°ΠΌΠΈΠ½ΠΎΠΏΠ΅ΡΠΈ β ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΠΈΡΡ Π² ΠΎΠ΄Π½ΠΎΠΌ ΡΡΡΡΠΎΠΉΡΡΠ²Π΅ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΡ ΠΏΠ΅ΡΠΈ ΠΈ ΡΡΡΠ΅ΡΠΈΠΊΡ ΠΊΠ°ΠΌΠΈΠ½Π°, ΡΠΎΠ·Π΄Π°Π² Π½Π΅ΠΏΠΎΠ²ΡΠΎΡΠΈΠΌΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ ΠΈ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ ΡΠ΅ΠΏΠ»Π°.
Erstellt am 12/16/25 um 13:51:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Hi i am kavin, its my first time to commenting anywhere, when i read this paragraph i thought i could also create comment due to this good paragraph.
<a href=https://dominobet.id/>dominobet slot</a>
<a href=https://dominobet.id/>dominobet slot</a>
Erstellt am 12/16/25 um 14:00:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
prostostroy-573 schrieb:
ΠΡΡΠ½Π°Π» ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π΅ <a href=https://prostostroy.com/>https://prostostroy.com</a> ΠΠ°Ρ Π³ΠΈΠ΄ Π² ΠΌΠΈΡΠ΅ ΡΡΡΠΎΠΉΠΊΠΈ ΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ°. ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠ΅Π½Π΄Ρ, ΡΠΊΡΠΏΠ΅ΡΡΠ½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ. ΠΡ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ° Π΄ΠΎ ΠΊΡΡΡΠΈ β Π²ΡΠ΅, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π·Π½Π°ΡΡ Π΄Π»Ρ ΡΡΠΏΠ΅ΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΠ΅ΠΊΡΠ°.
Erstellt am 12/16/25 um 15:03:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
inpenza-856 schrieb:
ΠΠ»Π°Π²Π½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΠ΅Π½Π·Ρ <a href=https://inpenza.ru/>https://inpenza.ru</a> ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ ΠΈ Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΠΎ. ΠΡ ΠΎΡΠ²Π΅ΡΠ°Π΅ΠΌ Π²ΡΠ΅ Π·Π½Π°ΡΠΈΠΌΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ, ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΡΡΠΈΠ΅ Π² ΠΠ΅Π½Π·Π΅ ΠΈ ΠΠ΅Π½Π·Π΅Π½ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠ°ΠΆΠ½ΡΠ΅ ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΡ, Π°ΡΠΈΡΠ°, ΠΏΠΎΠ»Π΅Π·Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄Π»Ρ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ ΠΆΠΈΡΠ΅Π»Ρ. ΠΠ°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΈΡΡΠΎΡΠ½ΠΈΠΊ Π½ΠΎΠ²ΠΎΡΡΠ΅ΠΉ.
Erstellt am 12/16/25 um 15:08:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zapisnapriemrostov-80 schrieb:
ΠΡΠ΅ ΠΎ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½Π΅ <a href=https://zapisnapriemrostov.ru/>https://zapisnapriemrostov.ru</a> ΠΈ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ Π² ΠΎΠ΄Π½ΠΎΠΌ ΠΌΠ΅ΡΡΠ΅! ΠΠΎΠ»ΡΡΠΈΡΠ΅ Π΄ΠΎΡΡΡΠΏ ΠΊ Π΄ΠΎΡΡΠΎΠ²Π΅ΡΠ½ΡΠΌ ΡΡΠ°ΡΡΡΠΌ, ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΈ ΠΏΠΎΠ»Π΅Π·Π½ΡΠΌ Π»Π°ΠΉΡΡ
Π°ΠΊΠ°ΠΌ Π΄Π»Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΡ ΠΎΡΠ»ΠΈΡΠ½ΠΎΠ³ΠΎ ΡΠ°ΠΌΠΎΡΡΠ²ΡΡΠ²ΠΈΡ. ΠΡΠ΄ΡΡΠ΅ Π² ΠΊΡΡΡΠ΅ ΠΈ ΠΆΠΈΠ²ΠΈΡΠ΅ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΡΡ!
Erstellt am 12/16/25 um 17:43:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ctoda-43 schrieb:
Π‘ΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ ΠΈ ΡΠ΅ΠΌΠΎΠ½Ρ <a href=https://ctoday.ru/>https://ctoday.ru</a> Π²ΡΡ, ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π·Π½Π°ΡΡ. ΠΠ»Π°Π½ΠΈΡΡΠ΅ΡΠ΅ ΡΡΡΠΎΠΉΠΊΡ ΠΈΠ»ΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅? ΠΠ°Ρ ΡΠ°ΠΉΡ β Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊ. ΠΠΊΡΡΠ°Π»ΡΠ½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°Ρ
, ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
, Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ ΠΈ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΈΡ
Π°ΡΠΏΠ΅ΠΊΡΠ°Ρ
. Π‘ Π½Π°ΠΌΠΈ ΡΠ΅ΠΌΠΎΠ½Ρ ΡΡΠ°Π½Π΅Ρ ΠΏΡΠΎΡΠ΅ ΠΈ ΠΏΡΠΈΡΡΠ½Π΅Π΅!
Erstellt am 12/16/25 um 17:49:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Vancepalty schrieb:
<a href=https://www.stovemaker.ru/>ΠΡΠΏΠΈΡΡ ΠΏΡΠΎΠ΅ΠΊΡ ΠΊΠ°ΠΌΠΈΠ½ΠΎΠΏΠ΅ΡΠΈ ΠΏΠ΅ΡΠΈ</a> ΠΡΠΏΠΈΡΡ ΠΏΡΠΎΠ΅ΠΊΡ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ° Π±Π°ΡΠ±Π΅ΠΊΡ β ΡΠΎΠ·Π΄Π°ΡΡ ΠΏΠΎΠ»Π½ΠΎΡΠ΅Π½Π½ΡΡ Π·ΠΎΠ½Ρ ΠΎΡΠ΄ΡΡ
Π° Π½Π° ΡΠ²ΠΎΠ΅ΠΌ ΡΡΠ°ΡΡΠΊΠ΅, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π³ΠΎΡΠΎΠ²ΠΈΡΡ Π²ΠΊΡΡΠ½Π΅ΠΉΡΠΈΠ΅ Π±Π»ΡΠ΄Π° Π½Π° ΠΎΡΠΊΡΡΡΠΎΠΌ Π²ΠΎΠ·Π΄ΡΡ
Π΅ ΠΈ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°ΡΡΡΡ ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ΠΌ Ρ Π΄ΡΡΠ·ΡΡΠΌΠΈ ΠΈ ΡΠ΅ΠΌΡΠ΅ΠΉ.
Erstellt am 12/16/25 um 19:00:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Good post. I learn something totally new and challenging on websites I stumbleupon everyday. It will always be helpful to read articles from other authors and practice a little something from their sites.
<a href=https://teosyalrus.ru/>Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://teosyalrus.ru/>Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 12/16/25 um 19:07:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Danielomisa schrieb:
<a href=https://t.me/uhrenGermany026>https://t.me/uhrenGermany026</a>
Erstellt am 12/16/25 um 19:33:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
providers-606 schrieb:
ΠΡΠ΅ ΠΎ ΠΏΡΠΎΠ²Π°ΠΉΠ΄Π΅ΡΠ°Ρ
<a href=https://providers.by/>https://providers.by</a> ΠΠ΅Π»Π°ΡΡΡΠΈ! ΠΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ ΠΈ Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ ΡΠ°ΡΠΈΡΠΎΠ². ΠΠΎΠΌΠΎΠΆΠ΅ΠΌ Π²ΡΠ±ΡΠ°ΡΡ Π»ΡΡΡΠ΅Π³ΠΎ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΏΡΠΎΠ²Π°ΠΉΠ΄Π΅ΡΠ°, Π°Π½Π°Π»ΠΈΠ·ΠΈΡΡΠ΅ΠΌ ΡΡΠ½ΠΎΠΊ ΠΈ ΡΠ΅Π½Π΄Π΅Π½ΡΠΈΠΈ. ΠΡΠ΄ΡΡΠ΅ Π² ΠΊΡΡΡΠ΅ Π²ΡΠ΅Ρ
ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ!
Erstellt am 12/16/25 um 20:10:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
software-expert-547 schrieb:
ΠΡΡ ΠΎ ΡΠ΅ΠΊΡΠ΅ΡΠ°Ρ
ΠΠ <a href=https://software-expert.ru/>https://software-expert.ru</a> Π²Π°Ρ Π³ΠΈΠ΄. ΠΡΠΊΡΠΎΠΉΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΌΠΈΡ ΡΠΊΡΡΡΡΡ
Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ, ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΡΡ
ΡΡΡΠ°ΡΠ΅Π³ΠΈΠΉ ΠΈ Π½Π΅ΠΎΡΠ΅Π²ΠΈΠ΄Π½ΡΡ
Π»Π°ΠΉΡΡ
Π°ΠΊΠΎΠ² Π² ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ. ΠΠΎΠΉΠΌΠΈΡΠ΅, ΠΊΠ°ΠΊ ΡΠΎΠ·Π΄Π°Π²Π°ΡΡ ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΠ Π½Π° Π½ΠΎΠ²ΠΎΠΌ ΡΡΠΎΠ²Π½Π΅.
Erstellt am 12/16/25 um 20:10:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kfaktiv-871 schrieb:
Π’ΡΠΌΠ΅Π½Ρ ΡΠ΅Π³ΠΎΠ΄Π½Ρ <a href=https://kfaktiv.ru/>https://kfaktiv.ru</a> Π³Π»Π°Π²Π½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ Π³ΠΎΡΠΎΠ΄Π°! Π£Π·Π½Π°ΠΉΡΠ΅ ΠΎ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΡ
Π½ΠΎΠ²ΠΎΡΡΡΡ
, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΎΡΠΌΠΈΡΡΡΡ ΠΆΠΈΠ·Π½Ρ Π’ΡΠΌΠ΅Π½ΠΈ. ΠΡ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΈΡ
ΠΈΠ½ΠΈΡΠΈΠ°ΡΠΈΠ² Π΄ΠΎ ΠΊΡΠ»ΡΡΡΡΠ½ΡΡ
ΡΠΎΠ±ΡΡΠΈΠΉ ΠΈ Π²Π°ΠΆΠ½ΡΡ
ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠΉ β Π±ΡΠ΄ΡΡΠ΅ Π² ΠΊΡΡΡΠ΅ Π²ΡΠ΅Π³ΠΎ, ΡΡΠΎ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ Π² Π½Π°ΡΠ΅ΠΌ Π»ΡΠ±ΠΈΠΌΠΎΠΌ Π³ΠΎΡΠΎΠ΄Π΅. ΠΠ°ΡΠ° ΠΏΠΎΡΡΠΈΡ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ!
Erstellt am 12/16/25 um 20:11:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
omaske-250 schrieb:
Π‘ΠΈΡΡΡΠ°Ρ ΠΊΠΎΠΆΠ° <a href=https://omaske.ru/>https://omaske.ru</a> ΠΈ ΡΠΎΡΠΊΠΎΡΠ½ΡΠ΅ Π»ΠΎΠΊΠΎΠ½Ρ β Π»Π΅Π³ΠΊΠΎ! ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠ΅ΠΊΡΠ΅ΡΡ ΠΏΡΠΈΡΠΎΠ΄Ρ Π΄Π»Ρ ΠΊΡΠ°ΡΠΎΡΡ. ΠΠ°ΡΠΈ Π΄ΠΎΠΌΠ°ΡΠ½ΠΈΠ΅ ΠΌΠ°ΡΠΊΠΈ Π΄Π»Ρ Π»ΠΈΡΠ° ΠΈ Π²ΠΎΠ»ΠΎΡ ΠΏΠΎΠ΄Π°ΡΡΡ Π²Π°ΠΌ Π½Π°ΡΡΡΠ°Π»ΡΠ½ΡΠΉ ΡΡ
ΠΎΠ΄, Π³Π»ΡΠ±ΠΎΠΊΠΎΠ΅ ΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ Π²ΠΈΠ΄ΠΈΠΌΡΠΉ ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ. ΠΠ°Π±ΡΠ΄ΡΡΠ΅ ΠΎ Ρ
ΠΈΠΌΠΈΠΈ, ΠΏΠΎΡΡΠ²ΡΡΠ²ΡΠΉΡΠ΅ ΡΠΈΠ»Ρ ΡΡΠ°Π² ΠΈ ΡΡΡΠΊΡΠΎΠ²!
Erstellt am 12/16/25 um 20:36:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pic4you-90 schrieb:
Π Π΅ΠΌΠΎΠ½Ρ ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ <a href=https://pic4you.ru/>https://pic4you.ru</a> ΠΏΠΎΡΡΠ°Π» Ρ ΠΏΠΎΠ½ΡΡΠ½ΡΠΌΠΈ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΡΠΌΠΈ ΠΈ ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ. ΠΡΠ°ΠΏΡ ΡΠ°Π±ΠΎΡ, Π²ΡΠ±ΠΎΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ² ΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΠ°ΡΡΡΡΡ ΠΈ ΠΏΡΠΈΠΌΠ΅ΡΡ. ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΡΠ΄Π΅Π»Π°ΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
Π·Π°ΡΡΠ°Ρ.
Erstellt am 12/16/25 um 23:36:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
moidomiks-563 schrieb:
ΠΡΠ°ΡΠΈΠ²ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ <a href=https://moidomiks.ru/>https://moidomiks.ru</a> ΡΠ²ΠΎΠΈΠΌΠΈ ΡΡΠΊΠ°ΠΌΠΈ β ΠΈΠ΄Π΅ΠΈ, ΡΠΎΠ²Π΅ΡΡ ΠΈ ΠΏΠΎΡΠ°Π³ΠΎΠ²ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ° ΠΈ ΠΊΠ²Π°ΡΡΠΈΡΡ. ΠΠ΅ΠΊΠΎΡ, ΠΎΡΠ΄Π΅Π»ΠΊΠ°, ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠ° ΠΈ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΡΠ²Π΅ΡΠΎΠ². ΠΠΎΠΌΠΎΠ³Π°Π΅ΠΌ ΡΠΎΠ·Π΄Π°ΡΡ ΡΡΡΠ½ΠΎΠ΅ ΠΈ ΡΡΠΈΠ»ΡΠ½ΠΎΠ΅ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Π±Π΅Π· Π»ΠΈΡΠ½ΠΈΡ
Π·Π°ΡΡΠ°Ρ.
Erstellt am 12/16/25 um 23:36:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DarrenMuh schrieb:
Skip to details: <a href=https://theweekly-horoscope...>https://theweekly-horoscope.com/aries-horoscope/</a>
Erstellt am 12/16/25 um 23:57:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenshics schrieb:
<a href=https://ast-it.kz/interakti...>Π£ΡΡΠ°Π½ΠΎΠ²ΠΊΠ° ΠΈΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ²Π½ΡΡ
ΠΏΠ°Π½Π΅Π»Π΅ΠΉ Π² ΠΠ»ΠΌΠ°ΡΡ</a> ΠΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ²Π½Π°Ρ ΠΏΠ°Π½Π΅Π»Ρ 75 Π΄ΡΠΉΠΌΠΎΠ²: Π£Π½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½Π°Ρ Π΄ΠΈΠ°Π³ΠΎΠ½Π°Π»Ρ Π΄Π»Ρ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΠΎΠ³ΠΎ ΠΊΠ»Π°ΡΡΠ° (30-50 ΠΊΠ².ΠΌ). ΠΡΠ»ΠΈΡΠ½Π°Ρ Π²ΠΈΠ΄ΠΈΠΌΠΎΡΡΡ Ρ Π·Π°Π΄Π½ΠΈΡ
ΡΡΠ΄ΠΎΠ².
Erstellt am 12/17/25 um 12:50:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Bryancrexy schrieb:
<a href=https://ai-seedfinder.com/a...>lost bitcoin recovery</a> Earning bitcoin without investment tantalizes, ideas like faucets and airdrops offer minuscule gains, while affiliate marketing and content creation require effort and savvy.
Erstellt am 12/17/25 um 13:16:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kvartira-spb-129 schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ Π² ΠΠΎΡΠΊΠ²Π΅ <a href=https://kvartira-spb-pokupk...>https://kvartira-spb-pokupka.ru</a> Π΄Π»Ρ ΠΏΠΎΠΊΡΠΏΠΊΠΈ β Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ² Π² ΡΠ°Π·Π½ΡΡ
ΡΠ°ΠΉΠΎΠ½Π°Ρ
Π³ΠΎΡΠΎΠ΄Π°. ΠΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈ ΠΈ Π²ΡΠΎΡΠΈΡΠ½ΡΠΉ ΡΡΠ½ΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ, ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΎΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ² ΠΈ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠΎΠ².
Erstellt am 12/17/25 um 13:47:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Nathanjip schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ Π² ΡΠ°ΡΡΡΠΎΡΠΊΡ <a href=https://kupikvartiru-piter.ru/>https://kupikvartiru-piter.ru</a> ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΡΠΏΠΎΡΠΎΠ± ΠΏΠΎΠΊΡΠΏΠΊΠΈ ΠΆΠΈΠ»ΡΡ Π±Π΅Π· ΠΈΠΏΠΎΡΠ΅ΠΊΠΈ. ΠΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈ ΠΈ Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΎΠ±ΡΠ΅ΠΊΡΡ, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ, ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΡΠ΅Π½Π° ΠΈ ΠΏΠΎΠΌΠΎΡΡ Π² ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠΈ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΎΠ². ΠΠΎΠ΄Π±ΠΎΡ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² ΠΏΠΎΠ΄ Π²Π°ΡΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ.
Erstellt am 12/17/25 um 14:53:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kvartira-umetro-238 schrieb:
ΠΠ΅Π΄ΠΎΡΠΎΠ³ΠΈΠ΅ ΠΊΠ²Π°ΡΡΠΈΡΡ <a href=https://kvartira-umetro.ru/>https://kvartira-umetro.ru</a> Π΄Π»Ρ ΠΏΠΎΠΊΡΠΏΠΊΠΈ: Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ, ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΏΠΎΠΈΡΠΊ ΠΏΠΎ ΡΠ΅Π½Π΅, ΡΠ°ΠΉΠΎΠ½Ρ ΠΈ ΠΌΠ΅ΡΡΠ°ΠΆΡ. ΠΠΎΠ΄Π±ΠΎΡ Π±ΡΠ΄ΠΆΠ΅ΡΠ½ΡΡ
Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ², ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΈ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ.
Erstellt am 12/17/25 um 16:29:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Bryancrexy schrieb:
<a href=https://ai-seedfinder.com/a...>bitcoin private key recovery</a> AI-driven seed phrase finders represent an emerging frontier, albeit currently theoretical, in wallet recovery, leveraging machine learning to decipher lost access codes.
Erstellt am 12/17/25 um 16:31:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EugeneAmado schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ ΠΎΡ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠ° <a href=https://kvartiravgorod.ru/>https://kvartiravgorod.ru</a> ΠΏΠΎΠΊΡΠΏΠΊΠ° Π½Π°ΠΏΡΡΠΌΡΡ Π±Π΅Π· ΠΏΠ΅ΡΠ΅ΠΏΠ»Π°Ρ. ΠΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈ Π½Π° ΡΠ°Π·Π½ΡΡ
ΡΡΠ°Π΄ΠΈΡΡ
Π³ΠΎΡΠΎΠ²Π½ΠΎΡΡΠΈ, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠΈ, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ ΠΈ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ ΠΎΡ Π²ΡΠ±ΠΎΡΠ° Π΄ΠΎ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΊΠ»ΡΡΠ΅ΠΉ.
Erstellt am 12/17/25 um 17:53:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Howdy I am so glad I found your blog, I really found you by mistake, while I was browsing on Askjeeve for something else, Regardless I am here now and would just like to say thanks a lot for a fantastic post and a all round exciting blog (I also love the theme/design), I don't have time to look over it all at the minute but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome job.
<a href=https://immigrantinvest.com...>ΠΎΡΠΎΡΠΌΠΈΡΡ Π³ΡΠ°ΠΆΠ΄Π°Π½ΡΡΠ²ΠΎ ΡΡΠΌΡΠ½ΠΈΠΈ</a>
<a href=https://immigrantinvest.com...>ΠΎΡΠΎΡΠΌΠΈΡΡ Π³ΡΠ°ΠΆΠ΄Π°Π½ΡΡΠ²ΠΎ ΡΡΠΌΡΠ½ΠΈΠΈ</a>
Erstellt am 12/17/25 um 18:19:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EugeneAmado schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ ΠΎΡ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠ° <a href=https://kvartiravgorod.ru/>https://kvartiravgorod.ru</a> ΠΏΠΎΠΊΡΠΏΠΊΠ° Π½Π°ΠΏΡΡΠΌΡΡ Π±Π΅Π· ΠΏΠ΅ΡΠ΅ΠΏΠ»Π°Ρ. ΠΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠΈ Π½Π° ΡΠ°Π·Π½ΡΡ
ΡΡΠ°Π΄ΠΈΡΡ
Π³ΠΎΡΠΎΠ²Π½ΠΎΡΡΠΈ, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠΈ, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ ΠΈ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ ΠΎΡ Π²ΡΠ±ΠΎΡΠ° Π΄ΠΎ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΊΠ»ΡΡΠ΅ΠΉ.
Erstellt am 12/17/25 um 19:06:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kvartiradlyazhizni-32 schrieb:
ΠΠ΄Π½ΠΎΠΊΠΎΠΌΠ½Π°ΡΠ½ΡΠ΅ ΠΊΠ²Π°ΡΡΠΈΡΡ <a href=https://kvartiradlyazhizni.ru/>https://kvartiradlyazhizni.ru</a> Π² ΠΠΎΡΠΊΠ²Π΅ Π΄Π»Ρ ΠΏΠΎΠΊΡΠΏΠΊΠΈ. ΠΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² Π² ΡΠ°Π·Π½ΡΡ
ΡΠ°ΠΉΠΎΠ½Π°Ρ
Π³ΠΎΡΠΎΠ΄Π°, ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΏΠΎΠΈΡΠΊ ΠΏΠΎ ΡΠ΅Π½Π΅ ΠΈ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠ΅. ΠΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ΅ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ.
Erstellt am 12/17/25 um 19:53:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Stevenshics schrieb:
<a href=https://ast-it.kz/interakti...>Π‘Π΅Π½ΡΠΎΡΠ½Π°Ρ Π΄ΠΎΡΠΊΠ° (ΡΠ°Ρ)</a> ΠΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ²Π½Π°Ρ ΠΏΠ°Π½Π΅Π»Ρ 98 Π΄ΡΠΉΠΌΠΎΠ² ΠΠ°Π·Π°Ρ
ΡΡΠ°Π½: ΠΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΠ΅ ΠΏΠ°Π½Π΅Π»ΠΈ 98 Π΄ΡΠΉΠΌΠΎΠ² ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· Π² ΠΠ°Π·Π°Ρ
ΡΡΠ°Π½. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ ΠΈΠ½ΡΡΠ°Π»Π»ΡΡΠΈΡ.
Erstellt am 12/17/25 um 20:30:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
I think everything published made a ton of sense. However, consider this, suppose you typed a catchier title? I mean, I don't wish to tell you how to run your blog, but what if you added a post title to maybe get folk's attention? I mean %BLOG_TITLE% is a little boring. You should peek at Yahoo's front page and note how they write news headlines to grab people to click. You might try adding a video or a picture or two to grab people interested about everything've written. In my opinion, it might bring your website a little livelier.
<a href=https://immigrantinvest.com...>ΡΠ΄Π΅Π»Π°ΡΡ Π³ΡΠ°ΠΆΠ΄Π°Π½ΡΡΠ²ΠΎ ΡΡΠΌΡΠ½ΠΈΠΈ</a>
<a href=https://immigrantinvest.com...>ΡΠ΄Π΅Π»Π°ΡΡ Π³ΡΠ°ΠΆΠ΄Π°Π½ΡΡΠ²ΠΎ ΡΡΠΌΡΠ½ΠΈΠΈ</a>
Erstellt am 12/17/25 um 20:38:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pari-foot-342 schrieb:
Paris sportifs <a href=https://pari-foot2.com/>1xbet apk cameroun</a> : matchs, tournois, cotes et resultats, lignes de paris et evenements en direct. Presentation detaillee des fonctionnalites et du fonctionnement du service.
Erstellt am 12/17/25 um 22:14:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
parifoot-afrique-79 schrieb:
Envie de parier? <a href=https://parifoot-afrique.com/>top article</a> Service de paris sportifs et footballistiques. Presentation des evenements disponibles, des cotes, du mode direct et des principales fonctionnalites de la plateforme. Informations utiles pour les utilisateurs.
Erstellt am 12/17/25 um 22:17:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-258 schrieb:
Le site web <a href=https://1xbet-apk2.com/>telecharger 1xbet</a> propose des informations sur les paris sportifs, les cotes et les evenements en direct. Football, tournois populaires, cotes et statistiques y sont presentes. Ce site est ideal pour se familiariser avec les fonctionnalites de la plateforme.
Erstellt am 12/17/25 um 22:43:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-338 schrieb:
Le site web <a href=https://1xbet-apk2.com/>1xbet apk rdc</a> propose des informations sur les paris sportifs, les cotes et les evenements en direct. Football, tournois populaires, cotes et statistiques y sont presentes. Ce site est ideal pour se familiariser avec les fonctionnalites de la plateforme.
Erstellt am 12/17/25 um 22:43:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-922 schrieb:
Envie de parier <a href=https://1xbet-apk-rdc1.com/>telecharger 1xbet pour android</a> est une plateforme de paris sportifs en ligne pour la Republique democratique du Congo. Football et autres sports, paris en direct et d'avant-match, cotes, resultats et statistiques. Presentation des fonctionnalites du service.
Erstellt am 12/17/25 um 23:01:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-826 schrieb:
Envie de parier <a href=https://1xbet-apk-rdc1.com/>telecharger 1xbet</a> est une plateforme de paris sportifs en ligne pour la Republique democratique du Congo. Football et autres sports, paris en direct et d'avant-match, cotes, resultats et statistiques. Presentation des fonctionnalites du service.
Erstellt am 12/17/25 um 23:01:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-apk-84 schrieb:
Plateforme en ligne <a href=https://parifoot-afrique1.com/>useful link</a> paris sportifs, matchs de football, evenements en direct et statistiques. Decouvrez les fonctionnalites du service, les marches disponibles et comment lβutiliser.
Erstellt am 12/18/25 um 00:46:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kvartirav-vygodno-563 schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ ΠΎΡ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠ° <a href=https://kvartirav-vygodno.ru/>https://kvartirav-vygodno.ru</a> Π½Π°ΠΏΡΡΠΌΡΡ β Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ Π²ΡΠ±ΠΎΡ Π½ΠΎΠ²ΠΎΡΡΡΠΎΠ΅ΠΊ. ΠΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΠΌΠΈ, ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ ΠΈ ΡΠ°ΡΡΡΠΎΡΠΊΠΎΠΉ. ΠΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΈ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ.
Erstellt am 12/18/25 um 00:48:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-rdc-3 schrieb:
Online <a href=https://1xbet-rdc-apk1.com/>telecharger 1xbet pour android</a> est une plateforme de paris sportifs en ligne. Championnats de football, cotes en direct et resultats sont disponibles. Page d'information sur le service et ses fonctionnalites pour les utilisateurs de la region.
Erstellt am 12/18/25 um 05:34:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet-rdc-479 schrieb:
Online <a href=https://1xbet-rdc-apk1.com/>telecharger 1xbet</a> est une plateforme de paris sportifs en ligne. Championnats de football, cotes en direct et resultats sont disponibles. Page d'information sur le service et ses fonctionnalites pour les utilisateurs de la region.
Erstellt am 12/18/25 um 05:34:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
LewisSnild schrieb:
I'm gone to inform my little brother, that he should also pay a quick visit this weblog on regular basis to get updated from newest news update.
<a href=https://hela.bet/>children sex images</a>
<a href=https://hela.bet/>children sex images</a>
Erstellt am 12/18/25 um 09:01:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
WilliamBer schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ ΠΎΡ Π·Π°ΡΡΡΠΎΠΉΡΠΈΠΊΠ° <a href=https://tltdomik.ru/>https://tltdomik.ru</a> ΠΏΠΎΠΊΡΠΏΠΊΠ° Π² Π½ΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠ°Ρ
Π½Π° ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
. Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²ΠΊΠΈ, ΡΠ°Π·Π½ΡΠ΅ ΡΡΠ°Π΄ΠΈΠΈ Π³ΠΎΡΠΎΠ²Π½ΠΎΡΡΠΈ, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΈΠΏΠΎΡΠ΅ΠΊΠΎΠΉ ΠΈ ΡΠ°ΡΡΡΠΎΡΠΊΠΎΠΉ. Π‘ΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π°Π΅ΠΌ ΡΠ΄Π΅Π»ΠΊΡ ΠΎΡ Π²ΡΠ±ΠΎΡΠ° Π΄ΠΎ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΊΠ»ΡΡΠ΅ΠΉ.
Erstellt am 12/18/25 um 09:41:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DennisShipt schrieb:
ΠΠ²Π°ΡΡΠΈΡΡ Π² Π½ΠΎΠ²ΠΎΡΡΡΠΎΠΉΠΊΠ°Ρ
<a href=https://tltnewflat24.ru/>https://tltnewflat24.ru</a> ΠΈ Π½Π° Π²ΡΠΎΡΠΈΡΠ½ΠΎΠΌ ΡΡΠ½ΠΊΠ΅ β ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ². ΠΠ½Π°Π»ΠΈΠ· ΠΏΠ»ΡΡΠΎΠ² ΠΈ ΠΌΠΈΠ½ΡΡΠΎΠ², ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎΠ΄ Π²Π°ΡΠΈ Π·Π°Π΄Π°ΡΠΈ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΈ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΠΏΠΎΠΊΡΠΏΠΊΠΈ.
Erstellt am 12/18/25 um 09:41:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
malish-nash-884 schrieb:
ΠΠ°Ρ ΠΠ°Π»ΡΡ: <a href=https://malish-nash.ru/>https://malish-nash.ru</a> ΠΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΡΠΎΠ²Π°ΡΠΎΠ² Π΄Π»Ρ Π΄Π΅ΡΠ΅ΠΉ ΠΈ Π½ΠΎΠ²ΠΎΡΠΎΠΆΠ΄Π΅Π½Π½ΡΡ
. ΠΡΠ΅ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠ΅ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ° ΠΈ ΡΠ°Π·Π²ΠΈΡΠΈΡ Π²Π°ΡΠ΅Π³ΠΎ ΡΠ΅Π±Π΅Π½ΠΊΠ°.
Erstellt am 12/20/25 um 12:05:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MatthewDax schrieb:
<a href=https://enran.ua/>https://enran.ua/</a>
Erstellt am 12/20/25 um 15:03:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Johnniesot schrieb:
<a href=https://litclubtip.ru/%D1%8...>https://litclubtip.ru/%D1%81%D0%B5%D0%BB%D0%B5%D0%B7%D0%B8%D0%BD%D0%BA%D0%B0-%D0%B0%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80/</a> Π‘Π΅Π»Π΅Π·ΠΈΠ½ΠΊΠ° ΠΠ»Π΅ΠΊΡΠ°Π½Π΄Ρ ΠΠΈΡ
Π°ΠΉΠ»ΠΎΠ²ΠΈΡ ΡΠΎΠ΄ΠΈΠ»ΡΡ Π² 1976 Π³. ΠΡΠΎΠΆΠΈΠ²Π°Π΅Ρ Π² Ρ. ΠΠΈΠ²Π΅Π΅Π²ΠΎ ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΎΡΡΡΠ½ΡΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΊ ΠΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΠΈΡΠΊΡΡΡΡΠ², ΠΊΠ°Π½Π΄ΠΈΠ΄Π°Ρ ΡΠΈΠ»ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
Π½Π°ΡΠΊ, ΡΠ΅ΠΊΡΠΏΠΈΡΠΎΠ²Π΅Π΄, ΠΏΠΎΡΡ, Ρ
ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊ, ΠΠΎΡΠ΅ΡΠ½ΡΠΉ ΡΡΠΈΡΠ΅Π»Ρ Π ΠΎΡΡΠΈΠΈ, ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠ³ΠΎ, Π½Π΅ΠΌΠ΅ΡΠΊΠΎΠ³ΠΎ, ΡΡΡΡΠΊΠΎΠ³ΠΎ ΡΠ·ΡΠΊΠΎΠ², Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΠ·ΠΎΠ±ΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΈΡΠΊΡΡΡΡΠ²Π°. ΠΠ²ΡΠΎΡ ΠΌΠΎΠ½ΠΎΠ³ΡΠ°ΡΠΈΠΈ "ΠΠΈΠ±Π»Π΅ΠΉΡΠΊΠΈΠ΅ Π°Π»Π»ΡΠ·ΠΈΠΈ Π² ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²Π΅ Π. Π¨Π΅ΠΊΡΠΏΠΈΡΠ°", ΡΠΎΠ°Π²ΡΠΎΡ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄Π° 154 ΡΠΎΠ½Π΅ΡΠΎΠ² Π Π¨Π΅ΠΊΡΠΏΠΈΡΠ° Π½Π° ΡΡΡΡΠΊΠΈΠΉ ΡΠ·ΡΠΊ, ΠΌΠΎΠ½ΠΎΠ³ΡΠ°ΡΠΈΠΈ "ΠΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΡΠ²ΠΎΡΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΌΠ΅ΡΠΎΠ΄Π° Π. Π¨Π΅ΠΊΡΠΏΠΈΡΠ°" ΠΈ ΡΠ΅ΡΡΡΠ΅Ρ
ΡΠ°ΡΡΠ΅ΠΉ ΠΊΠ½ΠΈΠ³ΠΈ Β«ΠΡΡ
ΠΎΠ²Π½ΡΠ΅ ΡΠΎΠ½Π΅ΡΡΒ». Π£ΡΠ°ΡΡΠ½ΠΈΠΊ Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π²ΡΡΡΠ°Π²ΠΎΠΊ. ΠΡΠΊΡΡΠ» 5 ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΡ
Π²ΡΡΡΠ°Π²ΠΎΠΊ. Π§Π»Π΅Π½ Π‘ΠΎΡΠ·Π° ΡΡΡΡΠΊΠΈΡ
Ρ
ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊΠΎΠ². Π§Π»Π΅Π½ ΠΠ²ΡΠ°Π·ΠΈΠΉΡΠΊΠΎΠ³ΠΎ Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠΎΡΠ·Π°. Π§Π»Π΅Π½ Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ½ΠΎΠ³ΠΎ ΠΊΠ»ΡΠ±Π° Β«Π’Π²ΠΎΡΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»Β» Π§Π»Π΅Π½ Π‘ΠΎΡΠ·Π° ΠΏΠΈΡΠ°ΡΠ΅Π»Π΅ΠΉ Π ΡΠ½Π΅ΡΠ°. Π§Π»Π΅Π½ Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΡΠΎΡΠ·Π° ΠΏΠΈΡΠ°ΡΠ΅Π»Π΅ΠΉ. ΠΠ°ΡΡΠ΅Π°Ρ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠ³ΠΎ ΠΊΠΎΠ½ΠΊΡΡΡ ΠΈΡΠΊΡΡΡΡΠ² "Artex Awards". ΠΠ°ΡΡΠ΅Π°Ρ ΠΊΠΎΠ½ΠΊΡΡΡΠ° "ΠΠ²Π΅Π·Π΄Π° ΠΠΈΡΡΡΠΎΠ·Π°". ΠΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Ρ ΠΠ°ΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΠΎΡΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΠΎΠ½ΠΊΡΡΡΠ° Poetfestβ24. ΠΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Ρ ΠΊΠΎΠ½ΠΊΡΡΡΠ° Β«ΠΠΎΠ»ΠΎΡΠ° ΡΠΏΠΎΡ
ΠΈΒ» Π² Π½ΠΎΠΌΠΈΠ½Π°ΡΠΈΠΈ Β«ΠΡΠ±ΠΎΡ ΡΠ΅Π΄Π°ΠΊΡΠΈΠΈΒ». ΠΠ°Π³ΡΠ°ΠΆΠ΄Π΅Π½ ΠΌΠ΅Π΄Π°Π»ΡΡ Β«225 Π»Π΅Ρ Π. Π‘. ΠΡΡΠΊΠΈΠ½ΡΒ», Π·Π½Π°ΠΊΠΎΠΌ Β«ΠΠΎΠ»ΠΎΡΠΎΠ΅ ΠΏΠ΅ΡΠΎ ΡΡΡΡΠΊΠΎΠΉ Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΡΒ», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«ΠΠ° ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΠ΅ ΡΡΡΡΠΊΠΈΡ
Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ½ΡΡ
ΡΡΠ°Π΄ΠΈΡΠΈΠΉΒ» ΠΈΠΌ. ΠΠ΅Π»ΠΈΠΊΠΎΠΉ ΠΊΠ½ΡΠ³ΠΈΠ½ΠΈ ΠΠ»ΡΠ³ΠΈ, ΠΌΠ΅Π΄Π°Π»ΡΡ ΠΈΠΌΠ΅Π½ΠΈ Π. Π. Π’ΠΎΠ»ΡΡΠΎΠ³ΠΎ Β«ΠΠ° Π²ΠΎΡΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΠΏΡΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ Π½Π°ΡΡΠ°Π²Π½ΠΈΡΠ΅ΡΡΠ²ΠΎΒ» ΠΎΡ ΠΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΈ ΡΡΡΡΠΊΠΎΠΉ ΡΠ»ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ, ΠΌΠ΅Π΄Π°Π»ΡΡ ΠΈΠΌΠ΅Π½ΠΈ ΠΠΈΡ
Π°ΠΈΠ»Π° ΠΡΠ°Π½Π°ΡΡΠ΅Π²ΠΈΡΠ° ΠΡΠ»Π³Π°ΠΊΠΎΠ²Π° Β«ΠΠ°ΡΡΠ΅ΡΡ ΡΠ²ΠΎΠ΅Π³ΠΎ Π΄Π΅Π»Π°Β», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«ΠΠ° Π·Π°ΡΠ»ΡΠ³ΠΈ Π² ΠΊΡΠ»ΡΡΡΡΠ΅ ΠΈ ΠΈΡΠΊΡΡΡΡΠ²Π΅Β», ΠΏΠΎΡΠ΅ΡΠ½ΠΎΠΉ ΠΏΠ°ΠΌΡΡΠ½ΠΎΠΉ ΠΌΠ΅Π΄Π°Π»ΡΡ ΡΡΠ°ΡΡΠ½ΠΈΠΊΠ° ΠΡΠ΅ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΠΊΠΎΠ½ΠΊΡΡΡΠ° Β«ΠΠ΅ΡΠΎΠΈ ΠΠ΅Π»ΠΈΠΊΠΎΠΉ ΠΠΎΠ±Π΅Π΄ΡΒ», ΠΏΠΎΡΠ΅ΡΠ½ΠΎΠΉ ΠΏΠ°ΠΌΡΡΠ½ΠΎΠΉ ΠΌΠ΅Π΄Π°Π»ΡΡ "ΠΠ° ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΡΡΠ°ΡΡΠΈΠ΅ Π² ΠΏΠ°ΡΡΠΈΠΎΡΠΈΡΠ΅ΡΠΊΠΎΠΌ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠΈ Π ΠΎΡΡΠΈΠΈ", ΠΌΠ΅Π΄Π°Π»ΡΡ Π. Π. ΠΠΎΠ³ΠΎΠ»Ρ Β«ΠΠ° ΠΎΡΠΎΠ±ΡΠ΅ Π·Π°ΡΠ»ΡΠ³ΠΈΒ», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«130 Π»Π΅Ρ Π‘. Π. ΠΡΠ΅Π½ΠΈΠ½ΡΒ».
Erstellt am 12/20/25 um 15:08:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
stomatologiya-v-bare-3 schrieb:
ΠΡΠΎΠ±Π»Π΅ΠΌΡ Ρ Π·ΡΠ±Π°ΠΌΠΈ? <a href=https://www.stomatologiya-v...>https://www.stomatologiya-v-bare.com</a> Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΡΠΈΠ΅ΡΠ° ΠΈ ΠΊΠ°Π½Π°Π»ΠΎΠ², Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΡΠΎΡΠΌΡ ΠΈ ΡΠ²Π΅ΡΠ° Π·ΡΠ±Π°, Π·Π°ΠΌΠ΅Π½Π° ΡΡΠ°ΡΡΡ
ΠΏΠ»ΠΎΠΌΠ±. ΠΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈ, ΡΡΠ΅ΡΠΈΠ»ΡΠ½ΠΎΡΡΡ. ΠΠ°ΠΏΠΈΡΠΈΡΠ΅ΡΡ Π½Π° ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΠΏΠ»Π°Π½ Π»Π΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 12/20/25 um 15:34:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgeven schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΡΠ»ΡΡ ΠΊΡΠ°Π±ΠΈ ΠΊΡΠΏΠΈΡΡ</a> ΠΠ΄Π΅ ΠΠ°Ρ
ΠΎΠ΄ΠΈΡΡΡ ΠΡΠ°Π±ΠΈ: Π§ΡΠΎΠ±Ρ Π΄ΠΎΠ΅Ρ
Π°ΡΡ Π΄ΠΎ ΠΏΡΠΎΠ²ΠΈΠ½ΡΠΈΠΈ, Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΡΠΌ Π±ΡΠ΄Π΅Ρ ΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΏΠΎ ΠΊΠ°ΡΡΠ΅.
Erstellt am 12/20/25 um 16:55:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Johnniesot schrieb:
<a href=https://litclubtip.ru/%D1%8...>Π§Π»Π΅Π½ Π‘ΠΎΡΠ·Π° ΠΏΠΈΡΠ°ΡΠ΅Π»Π΅ΠΉ Π ΡΠ½Π΅ΡΠ°.</a> Π‘Π΅Π»Π΅Π·ΠΈΠ½ΠΊΠ° ΠΠ»Π΅ΠΊΡΠ°Π½Π΄Ρ ΠΠΈΡ
Π°ΠΉΠ»ΠΎΠ²ΠΈΡ ΡΠΎΠ΄ΠΈΠ»ΡΡ Π² 1976 Π³. ΠΡΠΎΠΆΠΈΠ²Π°Π΅Ρ Π² Ρ. ΠΠΈΠ²Π΅Π΅Π²ΠΎ ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΎΡΡΡΠ½ΡΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΊ ΠΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΠΈΡΠΊΡΡΡΡΠ², ΠΊΠ°Π½Π΄ΠΈΠ΄Π°Ρ ΡΠΈΠ»ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
Π½Π°ΡΠΊ, ΡΠ΅ΠΊΡΠΏΠΈΡΠΎΠ²Π΅Π΄, ΠΏΠΎΡΡ, Ρ
ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊ, ΠΠΎΡΠ΅ΡΠ½ΡΠΉ ΡΡΠΈΡΠ΅Π»Ρ Π ΠΎΡΡΠΈΠΈ, ΠΏΡΠ΅ΠΏΠΎΠ΄Π°Π²Π°ΡΠ΅Π»Ρ Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠ³ΠΎ, Π½Π΅ΠΌΠ΅ΡΠΊΠΎΠ³ΠΎ, ΡΡΡΡΠΊΠΎΠ³ΠΎ ΡΠ·ΡΠΊΠΎΠ², Π° ΡΠ°ΠΊΠΆΠ΅ ΠΈΠ·ΠΎΠ±ΡΠ°Π·ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΈΡΠΊΡΡΡΡΠ²Π°. ΠΠ²ΡΠΎΡ ΠΌΠΎΠ½ΠΎΠ³ΡΠ°ΡΠΈΠΈ "ΠΠΈΠ±Π»Π΅ΠΉΡΠΊΠΈΠ΅ Π°Π»Π»ΡΠ·ΠΈΠΈ Π² ΡΠ²ΠΎΡΡΠ΅ΡΡΠ²Π΅ Π. Π¨Π΅ΠΊΡΠΏΠΈΡΠ°", ΡΠΎΠ°Π²ΡΠΎΡ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄Π° 154 ΡΠΎΠ½Π΅ΡΠΎΠ² Π Π¨Π΅ΠΊΡΠΏΠΈΡΠ° Π½Π° ΡΡΡΡΠΊΠΈΠΉ ΡΠ·ΡΠΊ, ΠΌΠΎΠ½ΠΎΠ³ΡΠ°ΡΠΈΠΈ "ΠΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ ΡΠ²ΠΎΡΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΌΠ΅ΡΠΎΠ΄Π° Π. Π¨Π΅ΠΊΡΠΏΠΈΡΠ°" ΠΈ ΡΠ΅ΡΡΡΠ΅Ρ
ΡΠ°ΡΡΠ΅ΠΉ ΠΊΠ½ΠΈΠ³ΠΈ Β«ΠΡΡ
ΠΎΠ²Π½ΡΠ΅ ΡΠΎΠ½Π΅ΡΡΒ». Π£ΡΠ°ΡΡΠ½ΠΈΠΊ Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π²ΡΡΡΠ°Π²ΠΎΠΊ. ΠΡΠΊΡΡΠ» 5 ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΡΡ
Π²ΡΡΡΠ°Π²ΠΎΠΊ. Π§Π»Π΅Π½ Π‘ΠΎΡΠ·Π° ΡΡΡΡΠΊΠΈΡ
Ρ
ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊΠΎΠ². Π§Π»Π΅Π½ ΠΠ²ΡΠ°Π·ΠΈΠΉΡΠΊΠΎΠ³ΠΎ Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠΎΡΠ·Π°. Π§Π»Π΅Π½ Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ½ΠΎΠ³ΠΎ ΠΊΠ»ΡΠ±Π° Β«Π’Π²ΠΎΡΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΠΏΠΎΡΠ΅Π½ΡΠΈΠ°Π»Β» Π§Π»Π΅Π½ Π‘ΠΎΡΠ·Π° ΠΏΠΈΡΠ°ΡΠ΅Π»Π΅ΠΉ Π ΡΠ½Π΅ΡΠ°. Π§Π»Π΅Π½ Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΡΠΎΡΠ·Π° ΠΏΠΈΡΠ°ΡΠ΅Π»Π΅ΠΉ. ΠΠ°ΡΡΠ΅Π°Ρ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠ³ΠΎ ΠΊΠΎΠ½ΠΊΡΡΡ ΠΈΡΠΊΡΡΡΡΠ² "Artex Awards". ΠΠ°ΡΡΠ΅Π°Ρ ΠΊΠΎΠ½ΠΊΡΡΡΠ° "ΠΠ²Π΅Π·Π΄Π° ΠΠΈΡΡΡΠΎΠ·Π°". ΠΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Ρ ΠΠ°ΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΠΎΡΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΠΎΠ½ΠΊΡΡΡΠ° Poetfestβ24. ΠΠΎΠ±Π΅Π΄ΠΈΡΠ΅Π»Ρ ΠΊΠΎΠ½ΠΊΡΡΡΠ° Β«ΠΠΎΠ»ΠΎΡΠ° ΡΠΏΠΎΡ
ΠΈΒ» Π² Π½ΠΎΠΌΠΈΠ½Π°ΡΠΈΠΈ Β«ΠΡΠ±ΠΎΡ ΡΠ΅Π΄Π°ΠΊΡΠΈΠΈΒ». ΠΠ°Π³ΡΠ°ΠΆΠ΄Π΅Π½ ΠΌΠ΅Π΄Π°Π»ΡΡ Β«225 Π»Π΅Ρ Π. Π‘. ΠΡΡΠΊΠΈΠ½ΡΒ», Π·Π½Π°ΠΊΠΎΠΌ Β«ΠΠΎΠ»ΠΎΡΠΎΠ΅ ΠΏΠ΅ΡΠΎ ΡΡΡΡΠΊΠΎΠΉ Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΡΒ», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«ΠΠ° ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΠ΅ ΡΡΡΡΠΊΠΈΡ
Π»ΠΈΡΠ΅ΡΠ°ΡΡΡΠ½ΡΡ
ΡΡΠ°Π΄ΠΈΡΠΈΠΉΒ» ΠΈΠΌ. ΠΠ΅Π»ΠΈΠΊΠΎΠΉ ΠΊΠ½ΡΠ³ΠΈΠ½ΠΈ ΠΠ»ΡΠ³ΠΈ, ΠΌΠ΅Π΄Π°Π»ΡΡ ΠΈΠΌΠ΅Π½ΠΈ Π. Π. Π’ΠΎΠ»ΡΡΠΎΠ³ΠΎ Β«ΠΠ° Π²ΠΎΡΠΏΠΈΡΠ°Π½ΠΈΠ΅, ΠΏΡΠΎΡΠ²Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΈ Π½Π°ΡΡΠ°Π²Π½ΠΈΡΠ΅ΡΡΠ²ΠΎΒ» ΠΎΡ ΠΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ Π°ΠΊΠ°Π΄Π΅ΠΌΠΈΠΈ ΡΡΡΡΠΊΠΎΠΉ ΡΠ»ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ, ΠΌΠ΅Π΄Π°Π»ΡΡ ΠΈΠΌΠ΅Π½ΠΈ ΠΠΈΡ
Π°ΠΈΠ»Π° ΠΡΠ°Π½Π°ΡΡΠ΅Π²ΠΈΡΠ° ΠΡΠ»Π³Π°ΠΊΠΎΠ²Π° Β«ΠΠ°ΡΡΠ΅ΡΡ ΡΠ²ΠΎΠ΅Π³ΠΎ Π΄Π΅Π»Π°Β», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«ΠΠ° Π·Π°ΡΠ»ΡΠ³ΠΈ Π² ΠΊΡΠ»ΡΡΡΡΠ΅ ΠΈ ΠΈΡΠΊΡΡΡΡΠ²Π΅Β», ΠΏΠΎΡΠ΅ΡΠ½ΠΎΠΉ ΠΏΠ°ΠΌΡΡΠ½ΠΎΠΉ ΠΌΠ΅Π΄Π°Π»ΡΡ ΡΡΠ°ΡΡΠ½ΠΈΠΊΠ° ΠΡΠ΅ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΠΊΠΎΠ½ΠΊΡΡΡΠ° Β«ΠΠ΅ΡΠΎΠΈ ΠΠ΅Π»ΠΈΠΊΠΎΠΉ ΠΠΎΠ±Π΅Π΄ΡΒ», ΠΏΠΎΡΠ΅ΡΠ½ΠΎΠΉ ΠΏΠ°ΠΌΡΡΠ½ΠΎΠΉ ΠΌΠ΅Π΄Π°Π»ΡΡ "ΠΠ° ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ ΡΡΠ°ΡΡΠΈΠ΅ Π² ΠΏΠ°ΡΡΠΈΠΎΡΠΈΡΠ΅ΡΠΊΠΎΠΌ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠΈ Π ΠΎΡΡΠΈΠΈ", ΠΌΠ΅Π΄Π°Π»ΡΡ Π. Π. ΠΠΎΠ³ΠΎΠ»Ρ Β«ΠΠ° ΠΎΡΠΎΠ±ΡΠ΅ Π·Π°ΡΠ»ΡΠ³ΠΈΒ», ΠΌΠ΅Π΄Π°Π»ΡΡ Β«130 Π»Π΅Ρ Π‘. Π. ΠΡΠ΅Π½ΠΈΠ½ΡΒ».
Erstellt am 12/20/25 um 19:26:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaklepka-vytyazhnaya-313 schrieb:
ΠΡΠΆΠ½Ρ Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠΈ? <a href=https://zaklepka-vytyazhnay...>Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠΈ Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠΈΠ΅ Π²ΡΡΡΠΆΠ½ΡΠ΅ 4</a> Π΄Π»Ρ ΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΡ Π»ΠΈΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΌΠ΅ΡΠ°Π»Π»Π° ΠΈ ΠΏΡΠΎΡΠΈΠ»Ρ. Π‘ΡΠΎΠΉΠΊΠΎΡΡΡ ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ, Π°ΠΊΠΊΡΡΠ°ΡΠ½Π°Ρ Π³ΠΎΠ»ΠΎΠ²ΠΊΠ°, Π½Π°Π΄Π΅ΠΆΠ½Π°Ρ ΡΠΈΠΊΡΠ°ΡΠΈΡ Π΄Π°ΠΆΠ΅ ΠΏΡΠΈ Π²ΠΈΠ±ΡΠ°ΡΠΈΡΡ
. ΠΠΎΠ΄Π±ΠΎΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠΈΠΏΠ° Π±ΠΎΡΡΠ°, Π±ΡΡΡΡΠ°Ρ ΠΎΡΠ³ΡΡΠ·ΠΊΠ° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°.
Erstellt am 12/21/25 um 00:56:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-622 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>Π²ΡΠ·Π²Π°ΡΡ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ Π΄Π΅ΡΠ΅Π²ΠΎ ΠΈ Π±ΡΡΡΡΠΎ</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 00:56:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-398 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>Π²ΡΠ·ΠΎΠ² ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠ° Π΄Π΅ΡΠ΅Π²ΠΎ Π±ΡΡΡΡΠΎ</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 01:28:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaklepka-vytyazhnaya-603 schrieb:
ΠΡΠΆΠ½Ρ Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠΈ? <a href=https://zaklepka-vytyazhnay...>Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠΈ Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠΈΠ΅ Π²ΡΡΡΠΆΠ½ΡΠ΅ 4.8</a> Π΄Π»Ρ ΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΡ Π»ΠΈΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΌΠ΅ΡΠ°Π»Π»Π° ΠΈ ΠΏΡΠΎΡΠΈΠ»Ρ. Π‘ΡΠΎΠΉΠΊΠΎΡΡΡ ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ, Π°ΠΊΠΊΡΡΠ°ΡΠ½Π°Ρ Π³ΠΎΠ»ΠΎΠ²ΠΊΠ°, Π½Π°Π΄Π΅ΠΆΠ½Π°Ρ ΡΠΈΠΊΡΠ°ΡΠΈΡ Π΄Π°ΠΆΠ΅ ΠΏΡΠΈ Π²ΠΈΠ±ΡΠ°ΡΠΈΡΡ
. ΠΠΎΠ΄Π±ΠΎΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠΈΠΏΠ° Π±ΠΎΡΡΠ°, Π±ΡΡΡΡΠ°Ρ ΠΎΡΠ³ΡΡΠ·ΠΊΠ° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°.
Erstellt am 12/21/25 um 01:29:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-943 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>Π²ΡΠ·ΠΎΠ² ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠ° ΡΠΏΠ± ΡΠ΅Π½Π°</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 01:53:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zaklepka-vytyazhnaya-385 schrieb:
ΠΡΠΆΠ½Ρ Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠΈ? <a href=https://zaklepka-vytyazhnay...>Π·Π°ΠΊΠ»Π΅ΠΏΠΊΠ° Π²ΡΡΡΠΆΠ½Π°Ρ Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ°Ρ 3.2</a> Π΄Π»Ρ ΠΏΡΠΎΡΠ½ΠΎΠ³ΠΎ ΡΠΎΠ΅Π΄ΠΈΠ½Π΅Π½ΠΈΡ Π»ΠΈΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΌΠ΅ΡΠ°Π»Π»Π° ΠΈ ΠΏΡΠΎΡΠΈΠ»Ρ. Π‘ΡΠΎΠΉΠΊΠΎΡΡΡ ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ, Π°ΠΊΠΊΡΡΠ°ΡΠ½Π°Ρ Π³ΠΎΠ»ΠΎΠ²ΠΊΠ°, Π½Π°Π΄Π΅ΠΆΠ½Π°Ρ ΡΠΈΠΊΡΠ°ΡΠΈΡ Π΄Π°ΠΆΠ΅ ΠΏΡΠΈ Π²ΠΈΠ±ΡΠ°ΡΠΈΡΡ
. ΠΠΎΠ΄Π±ΠΎΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠΈΠΏΠ° Π±ΠΎΡΡΠ°, Π±ΡΡΡΡΠ°Ρ ΠΎΡΠ³ΡΡΠ·ΠΊΠ° ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°.
Erstellt am 12/21/25 um 01:53:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldRab schrieb:
Π‘Π°ΠΌΠΎΠ΅ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎΠ΅: <a href=https://skupix.su/skupka/te...>ΠΡΠ΄Π° ΡΠ΄Π°ΡΡ ΡΠ΅Π»Π΅ΡΠΎΠ½ Alcatel Π΄ΠΎΡΠΎΠ³ΠΎ β ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½Π°Ρ ΡΠΊΡΠΏΠΊΠ° ΡΡΠ΄ΠΎΠΌ ΡΠΎ ΠΌΠ½ΠΎΠΉ</a>
Erstellt am 12/21/25 um 03:21:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldRab schrieb:
Π’Π΅ΠΊΡΡΠΈΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ: <a href=https://skupix.su/skupka/an...>ΠΡΠΎΠ΄Π°ΡΡ ΡΡΡΠ°ΠΉΠΊΠ±ΠΎΠ»ΡΠ½ΠΎΠ΅ ΠΎΡΡΠΆΠΈΠ΅ β ΡΠΊΡΠΏΠΊΠ° Π² ΠΠΎΡΠΊΠ²Π΅</a>
Erstellt am 12/21/25 um 03:52:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DonaldRab schrieb:
ΠΡΡΠΌΠΎ ΡΠ΅ΠΉΡΠ°Ρ: <a href=https://skupix.su/skupka/no...>ΠΠ΄Π΅ ΠΏΡΠΎΠ΄Π°ΡΡ Π½ΠΎΡΡΠ±ΡΠΊ Huawei Π²ΡΠ³ΠΎΠ΄Π½ΠΎ β Π°Π΄ΡΠ΅ΡΠ° ΡΠΊΡΠΏΠΊΠΈ Ρ Π±Π»ΠΈΠΆΠ°ΠΉΡΠ΅Π³ΠΎ ΠΌΠ΅ΡΡΠΎ</a>
Erstellt am 12/21/25 um 04:12:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertpsync schrieb:
<a href=https://t.me/obucheniexrumer>ΠΠ°Π·Ρ Π₯ΡΡΠΌΠ΅Ρ 23</a> ΡΠ΅ΡΠ²Π΅ΡΠ° Π΄Π»Ρ xrumer: ΠΡΠ΄Π΅Π»Π΅Π½Π½ΡΠ΅ ΡΠ΅ΡΠ²Π΅ΡΡ, ΠΏΡΠ΅Π΄Π½Π°Π·Π½Π°ΡΠ΅Π½Π½ΡΠ΅ Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ Xrumer. ΠΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ ΠΈ Π²ΡΡΠΎΠΊΡΡ ΡΠΊΠΎΡΠΎΡΡΡ ΡΠ°ΡΡΡΠ»ΠΊΠΈ. ΠΡΠ±ΠΎΡ ΡΠ΅ΡΠ²Π΅ΡΠ° Π·Π°Π²ΠΈΡΠΈΡ ΠΎΡ ΠΎΠ±ΡΠ΅ΠΌΠ° ΡΠ°ΡΡΡΠ»ΠΊΠΈ ΠΈ ΡΡΠ΅Π±ΡΠ΅ΠΌΠΎΠΉ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ.
Erstellt am 12/21/25 um 07:26:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgeven schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΏΠ»ΡΠΆ ΠΊΠ»ΠΎΠ½Π³ ΠΌΡΠ°Π½Π³</a> ΠΡΠ°Π±ΠΈ ΠΠΎ ΠΠΈΠΏΠ΅ ΠΠ°ΠΊ ΠΠΎΠ±ΡΠ°ΡΡΡΡ: Π»ΠΎΠ΄ΠΊΠΈ Ρ
ΠΎΠ΄ΡΡ.
Erstellt am 12/21/25 um 08:18:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-620 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>Π²ΡΠ·Π²Π°ΡΡ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ ΡΠΏΠ± Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 11:11:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DouglasAlles schrieb:
<a href=https://video-camer.ru/>ΠΠ΅Π»ΠΈΠ½Π½Π΅ΠΉΠ½ΡΠΉ Π»ΠΎΠΊΠ°ΡΠΎΡ</a>
Erstellt am 12/21/25 um 11:18:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-259 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>Π²ΡΠ·ΠΎΠ² ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠ° ΡΠΏΠ±</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 12:39:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
evakuator-spb-126 schrieb:
ΠΡΠΆΠ΅Π½ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡ? <a href=https://evakuator-vyzvat-sp...>ΡΡΠ»ΡΠ³ΠΈ ΡΠ²Π°ΠΊΡΠ°ΡΠΎΡΠ°</a> Π±ΡΡΡΡΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΏΠΎ Π‘Π°Π½ΠΊΡ-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³Ρ ΠΈ ΠΎΠ±Π»Π°ΡΡΠΈ. ΠΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΠΏΠΎΠ³ΡΡΠ·ΠΈΠΌ Π»Π΅Π³ΠΊΠΎΠ²ΠΎΠ΅ Π°Π²ΡΠΎ, ΠΊΡΠΎΡΡΠΎΠ²Π΅Ρ, ΠΌΠΎΡΠΎΡΠΈΠΊΠ». ΠΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ° ΠΏΠΎΡΠ»Π΅ ΠΠ’Π ΠΈ ΠΏΠΎΠ»ΠΎΠΌΠΎΠΊ, ΠΏΠΎΠΌΠΎΡΡ Ρ Π·Π°ΠΏΡΡΠΊΠΎΠΌ/ΠΊΠΎΠ»Π΅ΡΠΎΠΌ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΡΠ΅Π½Π°, Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠ²Π°Π½ΠΈΠΉ.
Erstellt am 12/21/25 um 13:08:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnyTum schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΏΠ°ΡΠΎΠΌ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΎΡΡΡΠΎΠ² ΠΊΠΎ Π»Π°Π½ΡΠ° Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅
Erstellt am 12/21/25 um 18:34:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jasonspema schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ΅</a> ΠΊΠΎ Π»Π°Π½ΡΠ΅
Erstellt am 12/21/25 um 20:44:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgeven schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π³ΡΠ³Π» ΠΊΡΠ°Π±ΠΈ</a> ΠΠ»ΡΠΆΠΈ ΠΠΎ ΠΠ°Π½ΡΡ: Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π½Π° ΡΠ²ΠΎΠΉ Π²ΠΊΡΡ, Π²ΡΠ΅ ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½Ρ.
Erstellt am 12/21/25 um 21:34:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnyTum schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΏΠ»ΡΠΆΠΈ</a> https://t.me/KohLantaKrabiT...
Erstellt am 12/21/25 um 23:01:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnyTum schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠΎ Π»Π°Π½ΡΠ°</a> ΠΊΠΎ Π»Π°Π½ΡΠ°
Erstellt am 12/22/25 um 10:03:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JohnnyTum schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΠΎ Π»Π°Π½ΡΠ° ΠΊΠ°ΠΊ Π΄ΠΎΠ±ΡΠ°ΡΡΡΡ</a> ΠΏΠ»ΡΠΆΠΈ ΠΊΠΎ Π»Π°Π½ΡΡ
Erstellt am 12/22/25 um 12:33:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EmailBombEt schrieb:
<a href=https://t.me/Flood_Service>email spam checker</a>
Email Bombing - email flood or email hoax (DOS attack) or cluster email bombing, what are they actually doing?
A huge number of emails are sent to e-mail. This usually means that the @Flood_email_bot specifically targets the victim's mailbox associated with your email.
These emails are intended to make fun of friends or distract the victim from any security messages or other emails.
I am glad to present you a mail flood bot with a convenient menu and flexible settings!
The cost of the service is $ 1 = 1000 letters.
You specify the time of the flood and the number of letters yourself, or choose the "FAST FLOOD" function
During the flood, a sufficient number of letters arrive so that the owner would miss an important letter!
The bot will flood more than you ordered. On average, 30% more than ordered.
Flood email, Floods Email, Email flooding, gmail flood, email bomber, flood hotmail, flood online,email flooding, email flood bot, email flooded with spam, email flooding service, email flooded with subscriptions, email flooder bot, email bomber 2023, email bomber 2024, email spam bot online, email spammer bot free, spam bot, Π±ΠΎΡ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ ΠΏΠΎΡΡ, ΡΠ΅ΡΠ²ΠΈΡ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ ΠΏΠΎΡΡ, ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ, ΡΠ»ΡΠ΄ ΡΡΠ»ΡΠ³ΠΈ.
@Flood_email_bot - ΠΡΡΡΠΈΠΉ Π΅ΠΌΠ°ΠΈΠ» Π±ΠΎΠΌΠ±Π΅Ρ Π½Π° ΡΡΠ½ΠΊΠ΅!
Email Bombing - email flood or email hoax (DOS attack) or cluster email bombing, what are they actually doing?
A huge number of emails are sent to e-mail. This usually means that the @Flood_email_bot specifically targets the victim's mailbox associated with your email.
These emails are intended to make fun of friends or distract the victim from any security messages or other emails.
I am glad to present you a mail flood bot with a convenient menu and flexible settings!
The cost of the service is $ 1 = 1000 letters.
You specify the time of the flood and the number of letters yourself, or choose the "FAST FLOOD" function
During the flood, a sufficient number of letters arrive so that the owner would miss an important letter!
The bot will flood more than you ordered. On average, 30% more than ordered.
Flood email, Floods Email, Email flooding, gmail flood, email bomber, flood hotmail, flood online,email flooding, email flood bot, email flooded with spam, email flooding service, email flooded with subscriptions, email flooder bot, email bomber 2023, email bomber 2024, email spam bot online, email spammer bot free, spam bot, Π±ΠΎΡ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ ΠΏΠΎΡΡ, ΡΠ΅ΡΠ²ΠΈΡ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ ΠΏΠΎΡΡ, ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΠ»ΡΠ΄Ρ, ΡΠ»ΡΠ΄ ΡΡΠ»ΡΠ³ΠΈ.
@Flood_email_bot - ΠΡΡΡΠΈΠΉ Π΅ΠΌΠ°ΠΈΠ» Π±ΠΎΠΌΠ±Π΅Ρ Π½Π° ΡΡΠ½ΠΊΠ΅!
Erstellt am 12/22/25 um 14:57:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrandonSix schrieb:
<a href=https://advokat1.kz//>ΠΠ°ΡΠΈΡΠ° ΠΎΡ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΎΡΠΎΠ² ΠΠ°Π·Π°Ρ
ΡΡΠ°Π½</a> ΠΠ΄Π²ΠΎΠΊΠ°Ρ ΠΠ°Π½Π°ΠΎΠ·Π΅Π½: ΠΠ°ΡΠΈΡΠ° ΡΡΡΠ΄ΠΎΠ²ΡΡ
ΠΏΡΠ°Π² Π½Π΅ΡΡΡΠ½ΠΈΠΊΠΎΠ², Π³ΡΠ°ΠΆΠ΄Π°Π½ΡΠΊΠΈΠ΅ ΠΈ ΡΠ³ΠΎΠ»ΠΎΠ²Π½ΡΠ΅ Π΄Π΅Π»Π° Π² ΠΠ°Π½Π°ΠΎΠ·Π΅Π½Π΅. ΠΡΠ΅Π΄ΡΡΠ°Π²ΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ Π² ΡΡΠ΄Π°Ρ
ΠΠ°Π½Π³ΠΈΡΡΠ°Ρ.
Erstellt am 12/24/25 um 11:47:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Great post but I was wondering if you could write a litte more on this topic? I'd be very grateful if you could elaborate a little bit further. Bless you!
http://klmpolimer.com/decou...
http://klmpolimer.com/decou...
Erstellt am 12/24/25 um 17:16:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
Thank you for sharing your info. I really appreciate your efforts and I am waiting for your further write ups thank you once again.
<a href=https://girlvisor.com/>Escorts en Barcelona</a>
<a href=https://girlvisor.com/>Escorts en Barcelona</a>
Erstellt am 12/24/25 um 18:42:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ismaelshive schrieb:
Appreciating the dedication you put into your site and in depth information you offer. It's awesome to come across a blog every once in a while that isn't the same out of date rehashed material. Excellent read! I've bookmarked your site and I'm including your RSS feeds to my Google account.
<a href=https://girlvisor.com/>Call-girls Barcelona</a>
<a href=https://girlvisor.com/>Call-girls Barcelona</a>
Erstellt am 12/24/25 um 21:01:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jeromenow schrieb:
<a href=https://qpotok.ru/?view=art...>Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΈΠΉ ΡΠ·ΡΠΊ Π΄Π»Ρ Π΄Π΅ΡΠ΅ΠΉ 3 Π»Π΅Ρ</a>
Erstellt am 12/25/25 um 05:56:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
BrandonSix schrieb:
<a href=https://advokat1.kz//>ΠΡΠΈΡΡ ΠΏΠΎ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠΌ ΡΠΏΠΎΡΠ°ΠΌ ΠΠ°Π·Π°Ρ
ΡΡΠ°Π½</a> Π‘ΠΎΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ Π°ΠΏΠ΅Π»Π»ΡΡΠΈΠΎΠ½Π½ΠΎΠΉ ΠΆΠ°Π»ΠΎΠ±Ρ: ΠΡΠ°ΠΌΠΎΡΠ½ΠΎΠ΅ ΠΎΠ±ΠΆΠ°Π»ΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠΉ ΡΡΠ΄ΠΎΠ² ΠΏΠ΅ΡΠ²ΠΎΠΉ ΠΈΠ½ΡΡΠ°Π½ΡΠΈΠΈ. ΠΠ΅ΡΠ°Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· Π΄Π΅Π»Π°, ΠΏΠΎΠΈΡΠΊ ΠΏΡΠΎΡΠ΅ΡΡΡΠ°Π»ΡΠ½ΡΡ
Π½Π°ΡΡΡΠ΅Π½ΠΈΠΉ, Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΡΡΠΎΠΊΠΎΠ².
Erstellt am 12/25/25 um 06:48:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
koreyskaya-kosmetika-465 schrieb:
ΠΡΠΆΠ½Π° ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ°? <a href=https://koreyskaya-kosmetik...>ΠΊΠΎΡΠ΅ΠΉΡΠΊΠ°Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ° ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»</a> Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΡ
ΡΡΠ΅Π΄ΡΡΠ² K-beauty. Π£Ρ
ΠΎΠ΄ Π΄Π»Ρ Π²ΡΠ΅Ρ
ΡΠΈΠΏΠΎΠ² ΠΊΠΎΠΆΠΈ, Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΈ Ρ
ΠΈΡΡ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΡ, Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΠ΅Π½Ρ, Π°ΠΊΡΠΈΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ ΠΠ»ΠΌΠ°ΡΡ.
Erstellt am 12/25/25 um 09:51:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
koreyskaya-kosmetika-376 schrieb:
ΠΡΠΆΠ½Π° ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ°? <a href=https://koreyskaya-kosmetik...>Π»ΡΡΡΠ°Ρ ΠΊΠΎΡΠ΅ΠΉΡΠΊΠ°Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ° Π΄Π»Ρ Π»ΠΈΡΠ°</a> Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΡ
ΡΡΠ΅Π΄ΡΡΠ² K-beauty. Π£Ρ
ΠΎΠ΄ Π΄Π»Ρ Π²ΡΠ΅Ρ
ΡΠΈΠΏΠΎΠ² ΠΊΠΎΠΆΠΈ, Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΈ Ρ
ΠΈΡΡ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΡ, Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΠ΅Π½Ρ, Π°ΠΊΡΠΈΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ ΠΠ»ΠΌΠ°ΡΡ.
Erstellt am 12/25/25 um 10:22:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
koreyskaya-kosmetika-431 schrieb:
ΠΡΠΆΠ½Π° ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ°? <a href=https://koreyskaya-kosmetik...>ΠΊΠΎΡΠ΅ΠΉΡΠΊΠ°Ρ ΠΊΠΎΡΠΌΠ΅ΡΠΈΠΊΠ° ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»</a> Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΡ
ΡΡΠ΅Π΄ΡΡΠ² K-beauty. Π£Ρ
ΠΎΠ΄ Π΄Π»Ρ Π²ΡΠ΅Ρ
ΡΠΈΠΏΠΎΠ² ΠΊΠΎΠΆΠΈ, Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΈ Ρ
ΠΈΡΡ ΠΏΡΠΎΠ΄Π°ΠΆ. ΠΠΎΠΌΠΎΠΆΠ΅ΠΌ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΡ, Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΠ΅Π½Ρ, Π°ΠΊΡΠΈΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎ ΠΠ»ΠΌΠ°ΡΡ.
Erstellt am 12/25/25 um 10:47:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
askbrainy-889 schrieb:
Experience Brainy <a href=https://askbrainy.com/>https://askbrainy.com</a> the free & open-source AI assistant. Get real-time web search, deep research, and voice message support directly on Telegram and the web. No subscriptions, just powerful answers.
Erstellt am 12/25/25 um 14:43:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
askbrainy-46 schrieb:
Experience Brainy <a href=https://askbrainy.com/>https://askbrainy.com</a> the free & open-source AI assistant. Get real-time web search, deep research, and voice message support directly on Telegram and the web. No subscriptions, just powerful answers.
Erstellt am 12/25/25 um 14:43:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
askbrainy-11 schrieb:
Experience Brainy <a href=https://askbrainy.com/>https://askbrainy.com</a> the free & open-source AI assistant. Get real-time web search, deep research, and voice message support directly on Telegram and the web. No subscriptions, just powerful answers.
Erstellt am 12/25/25 um 14:43:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Hello there, You have done an excellent job. I will definitely digg it and personally suggest to my friends. I am confident they will be benefited from this web site.
https://fprcislamabad.com/2...
https://fprcislamabad.com/2...
Erstellt am 12/26/25 um 10:13:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
What a information of un-ambiguity and preserveness of valuable knowledge about unpredicted feelings.
https://jkprohost.com/dostu...
https://jkprohost.com/dostu...
Erstellt am 12/26/25 um 10:43:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelhem schrieb:
<a href=https://almatyeliteescorts.com >ΡΡΠΊΠΎΡΡ</a> ?ΡΠ·Π΄Π°Ρ Π½Π΅Ρ: (ΠΏΠΎΠ²ΡΠΎΡ) - Π‘Π»ΠΎΠ²Π½ΠΎ Π·Π°Π΅Π²ΡΠ°Ρ ΠΏΠ»Π°ΡΡΠΈΠ½ΠΊΠ°, Π½Π°ΠΏΠΎΠΌΠΈΠ½Π°Π΅Ρ ΠΎ ΠΏΡΡΡΠΎΡΠ΅, ΠΎ Π·ΠΈΡΡΡΠ΅ΠΉ Π΄ΡΡΠ΅ Π² ΡΠ΅ΡΠ΄ΡΠ΅, ΠΊΠΎΡΠΎΡΡΡ Π½Π΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ Π·Π°ΠΏΠΎΠ»Π½ΠΈΡΡ Π΄Π΅Π½ΡΠ³Π°ΠΌΠΈ ΠΈΠ»ΠΈ ΠΌΠΈΠΌΠΎΠ»Π΅ΡΠ½ΡΠΌΠΈ ΡΠ²ΡΠ·ΡΠΌΠΈ. ΠΡΠΎ ΠΎΡΡΠ°ΡΠ½Π½Π°Ρ ΠΏΠΎΠΏΡΡΠΊΠ° Π½Π°ΠΉΡΠΈ ΡΠΌΡΡΠ» ΠΆΠΈΠ·Π½ΠΈ, ΡΡΠΊΠΎΠ»ΡΠ·Π°ΡΡΠΈΠΉ ΡΠΊΠ²ΠΎΠ·Ρ ΠΏΠ°Π»ΡΡΡ. ΠΠΈΠ·Π΄Π°Ρ Π½Π΅Ρ: (ΠΈΡΠΊΠ°ΠΆΠ΅Π½Π½ΠΎΠ΅ Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠ΅) - Π΄Π°ΠΆΠ΅ ΠΎΡΠΈΠ±ΠΊΠ° Π² Π½Π°ΠΏΠΈΡΠ°Π½ΠΈΠΈ Π½Π΅ ΠΌΠΎΠΆΠ΅Ρ ΡΠΊΡΡΡΡ ΡΠΎΡΠΊΡ ΠΈ Π±ΠΎΠ»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΠΈΡΠ΅Ρ Π½Π°ΡΡΠΎΡΡΡΡ Π»ΡΠ±ΠΎΠ²Ρ, Π° Π½Π°Ρ
ΠΎΠ΄ΠΈΡ Π»ΠΈΡΡ ΡΠ°Π·ΠΎΡΠ°ΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΠΎΠ±ΠΌΠ°Π½. Π ΡΡΠΎΠΌ ΡΠ»ΠΎΠ²Π΅ β Π²ΡΡ ΡΡΠ°Π³Π΅Π΄ΠΈΡ ΠΏΠΎΠΊΠΎΠ»Π΅Π½ΠΈΡ, ΠΏΠΎΡΠ΅ΡΡΠ½Π½ΠΎΠ³ΠΎ Π² ΡΠΏΠΎΡ
Ρ ΠΏΠΎΡΡΠ΅Π±Π»Π΅Π½ΠΈΡ ΠΈ ΠΏΠΎΠ²Π΅ΡΡ
Π½ΠΎΡΡΠ½ΡΡ
ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠΉ.
Erstellt am 12/26/25 um 17:17:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynelar schrieb:
<a href=https://vbetam.ru/>vbet am</a> Vbet.am: ΠΠ°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΡΠΎΠ²ΠΎΠ΄Π½ΠΈΠΊ Π² ΠΌΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΠΉ
Erstellt am 12/26/25 um 17:59:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
HarryNeica schrieb:
<a href=https://spb-elite-escorts.com/>ΡΡΠΊΠΎΡΡ ΠΏΠΈΡΠ΅Ρ</a> ΠΡΠΊΠΎΡΡ ΠΠΎΡΠΊΠ²Π°: ΠΠΌΠΏΠ΅ΡΠΈΡ ΠΈΠ»Π»ΡΠ·ΠΈΠΉ, Π²ΠΎΠ·Π²Π΅Π΄Π΅Π½Π½Π°Ρ Π½Π° ΠΏΠ΅ΡΠΊΠ΅ ΡΠ°Π·ΠΎΡΠ°ΡΠΎΠ²Π°Π½ΠΈΠΉ. Π ΠΌΠ΅Π³Π°ΠΏΠΎΠ»ΠΈΡΠ΅, Π³Π΄Π΅ ΠΏΡΠ°Π²ΡΡ Π΄Π΅Π½ΡΠ³ΠΈ ΠΈ Π²Π»Π°ΡΡΡ, ΡΡΠΊΠΎΡΡ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ ΡΠ±Π΅ΠΆΠ°ΡΡ ΠΎΡ ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΠΈ, ΠΎΡΡΡΠΈΡΡ ΡΠ΅Π±Ρ ΠΊΠΎΡΠΎΠ»Π΅ΠΌ Π½Π° ΠΎΠ΄ΠΈΠ½ Π²Π΅ΡΠ΅Ρ, ΡΡΠΎΠ»ΠΈΡΡ ΠΆΠ°ΠΆΠ΄Ρ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΈ Π²ΠΎΡΡ
ΠΈΡΠ΅Π½ΠΈΡ. ΠΠΎ Π·Π° ΡΠ°ΡΠ°Π΄ΠΎΠΌ ΡΠΎΡΠΊΠΎΡΠΈ ΡΠΊΡΡΠ²Π°Π΅ΡΡΡ ΠΆΠ΅ΡΡΠΎΠΊΠ°Ρ ΠΏΡΠ°Π²Π΄Π°: ΡΡΠ°ΡΡΡΠ΅ Π½Π΅Π»ΡΠ·Ρ ΠΊΡΠΏΠΈΡΡ, Π° Π»ΡΠ±ΠΎΠ²Ρ Π½Π΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠ΄ΠΌΠ΅Π½ΠΈΡΡ ΡΠ°Π»ΡΡΠΈΠ²ΡΠΌΠΈ ΡΠΌΠΎΡΠΈΡΠΌΠΈ.
Erstellt am 12/26/25 um 20:36:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ErnestLit schrieb:
<a href=https://moscow-elite-escort...>ΡΡΠΊΠΎΡΡ ΠΌΠΎΡΠΊΠ²Π°</a> ΠΡΠΊΠΎΡΡΠ½ΠΈΡΡ: Π¦Π²Π΅ΡΡ Π½ΠΎΡΠΈ, ΠΎΠΊΡΡΠ°Π½Π½ΡΠ΅ ΠΎΡΠ΅ΠΎΠ»ΠΎΠΌ ΡΠ°ΠΈΠ½ΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΠΎΠ±Π»Π°Π·Π½Π°. ΠΠ° ΠΌΠ°ΡΠΊΠΎΠΉ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎΡΡΠΈ ΠΈ Π½Π΅Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΡΠΊΡΡΠ²Π°ΡΡΡΡ ΡΠ»ΠΎΠΆΠ½ΡΠ΅ ΡΠ΅Π»ΠΎΠ²Π΅ΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠ΄ΡΠ±Ρ, ΠΏΠΎΠ»Π½ΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ΄, ΡΠ°Π·ΠΎΡΠ°ΡΠΎΠ²Π°Π½ΠΈΠΉ ΠΈ ΡΡΡΠ΅ΠΌΠ»Π΅Π½ΠΈΡ ΠΊ Π»ΡΡΡΠ΅ΠΉ ΠΆΠΈΠ·Π½ΠΈ. ΠΠ½ΠΈ β ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Ρ ΡΠ²ΠΎΠ΅Π³ΠΎ Π΄Π΅Π»Π°, ΡΠΌΠ΅Π»ΠΎ ΡΠΎΡΠ΅ΡΠ°ΡΡΠΈΠ΅ ΠΊΡΠ°ΡΠΎΡΡ ΠΈ ΠΈΠ½ΡΠ΅Π»Π»Π΅ΠΊΡ, ΡΡΠΎΠ±Ρ ΡΠ΄ΠΎΠ²Π»Π΅ΡΠ²ΠΎΡΠΈΡΡ ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠΈ ΡΠ²ΠΎΠΈΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ Π·Π°ΡΠ°Π±ΠΎΡΠ°ΡΡ Π½Π° ΠΆΠΈΠ·Π½Ρ Π² ΡΡΠΎΠΌ Π½Π΅ΠΏΡΠΎΡΡΠΎΠΌ ΠΈ Π·Π°ΡΠ°ΡΡΡΡ ΠΆΠ΅ΡΡΠΎΠΊΠΎΠΌ ΠΌΠΈΡΠ΅.
Erstellt am 12/27/25 um 06:29:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Michaelthymn schrieb:
<a href=https://ronex-m.ru/>Π½ΠΎΠ²ΠΎΡΡΠ½ΠΎΠΉ ΡΠ°ΠΉΡ</a>
Erstellt am 12/27/25 um 16:10:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EugeneWouff schrieb:
<a href=https://federalgaz.ru/>https://federalgaz.ru/</a>
Erstellt am 12/27/25 um 17:34:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DarylSet schrieb:
<a href=https://t.me/ozonFix>ΡΠΎΠ²Π°Ρ Π΄Π»Ρ ΠΏΠ΅ΡΠ΅ΠΏΡΠΎΠ΄Π°ΠΆΠΈ Ozon</a> ΠΠΎΠ·Π²ΡΠ°ΡΡ Ozon ΠΎΠΏΡΠΎΠΌ β ΡΡΠΎ ΡΠ°Π½Ρ ΠΏΠΎΠ»ΡΡΠΈΡΡ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΡΡ ΡΠΊΠΈΠ΄ΠΊΡ Π½Π° ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠΎΠ²Π°ΡΠΎΠ², Π½Π°ΡΠΈΠ½Π°Ρ ΠΎΡ ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠΈ ΠΈ Π·Π°ΠΊΠ°Π½ΡΠΈΠ²Π°Ρ ΠΎΠ΄Π΅ΠΆΠ΄ΠΎΠΉ ΠΈ ΡΠΎΠ²Π°ΡΠ°ΠΌΠΈ Π΄Π»Ρ Π΄ΠΎΠΌΠ°. ΠΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π²ΠΎΠ·Π²ΡΠ°ΡΠΎΠ² ΠΎΠΏΡΠΎΠΌ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΡΠΎΡΠΌΠΈΡΠΎΠ²Π°ΡΡ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΌΠ°Π³Π°Π·ΠΈΠ½Π° ΠΈΠ»ΠΈ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»ΡΠΌ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ.
Erstellt am 12/28/25 um 05:50:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
DarylSet schrieb:
<a href=https://t.me/ozonFix>ΠΏΠ°Π»Π»Π΅ΡΡ Π΄Π»Ρ ΠΏΠ΅ΡΠ΅ΠΏΡΠΎΠ΄Π°ΠΆΠΈ</a> ΠΠ°Π»Π»Π΅ΡΡ Ρ Π²ΠΎΠ·Π²ΡΠ°ΡΠ°ΠΌΠΈ Ozon β ΡΡΠΎ ΠΊΠ»Π°Π΄Π΅Π·Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ Π΄Π»Ρ ΠΏΡΠ΅Π΄ΠΏΡΠΈΠ½ΠΈΠΌΠ°ΡΠ΅Π»Π΅ΠΉ, ΡΡΡΠ΅ΠΌΡΡΠΈΡ
ΡΡ Π½Π°ΡΠ°ΡΡ ΠΈΠ»ΠΈ ΡΠ°ΡΡΠΈΡΠΈΡΡ ΡΠ²ΠΎΠΉ Π±ΠΈΠ·Π½Π΅Ρ Π² ΡΡΠ΅ΡΠ΅ ΠΏΠ΅ΡΠ΅ΠΏΡΠΎΠ΄Π°ΠΆΠΈ ΡΠΎΠ²Π°ΡΠΎΠ². ΠΠΎΠ·Π²ΡΠ°ΡΠ΅Π½Π½ΡΠ΅ ΡΠΎΠ²Π°ΡΡ, Π±ΡΠ΄Ρ ΡΠΎ ΠΈΠ·-Π·Π° Π½Π΅Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΡΡ
Π΄Π΅ΡΠ΅ΠΊΡΠΎΠ² ΡΠΏΠ°ΠΊΠΎΠ²ΠΊΠΈ, Π½Π΅ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΠ°Π·ΠΌΠ΅ΡΠ° ΠΈΠ»ΠΈ ΠΏΡΠΎΡΡΠΎΠ³ΠΎ ΠΎΡΠΊΠ°Π·Π° ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Ρ, ΡΠ°ΡΡΠΎ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΡΡ ΡΠΎΠ±ΠΎΠΉ Π½Π΅ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΈΠ»ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ΄ΡΠΊΡΡ, Π΄ΠΎΡΡΡΠΏΠ½ΡΠ΅ ΠΏΠΎ Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠ½ΠΈΠΆΠ΅Π½Π½ΠΎΠΉ ΡΠ΅Π½Π΅.
Erstellt am 12/28/25 um 08:16:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Geraldbug schrieb:
<a href=https://kotel-rs.ru/>https://kotel-rs.ru/</a>
Erstellt am 12/28/25 um 11:59:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Brentdic schrieb:
I need to tell you something nearly all septic companies won't: there are two types of people in this reality. Those who assume septic systems are simply "subterranean tanks for waste," and those who have had raw sewage erupting into their backyard at midnight. I understood this distinction the difficult way in 2005βwaist-deep in sludge, trembling in a Washington rainstorm, as my family and I aided a weathered installer repair our family's broken system. I was 14. My hands were raw. My clothes were ruined. But that night, something changed: This is not just dirt work. It's people's lives we are protecting.
Here's the harsh truth: the majority of septic companies just maintain tanks. They act like temporary salesmen at a demolition convention. But Septic Solutions? These guys are special. It all began back in the beginning of the 2000s when Art and his siblingsβjust kids scarcely tall enough to lift a shovelβaided install their family's septic system alongside a weathered pro. Imagine this: three youngsters waist-deep in Pennsylvania clay, understanding how soil absorption affects drainage while their friends played Xbox. "We never just dig holes," Art shared with me last winter, steaming coffee cup in hand. "We learned how soil whispers mysteries. A patch of marsh plants here? That's Mother Nature shouting 'high water table.'"
https://zenwriting.net/abbo...
Here's the harsh truth: the majority of septic companies just maintain tanks. They act like temporary salesmen at a demolition convention. But Septic Solutions? These guys are special. It all began back in the beginning of the 2000s when Art and his siblingsβjust kids scarcely tall enough to lift a shovelβaided install their family's septic system alongside a weathered pro. Imagine this: three youngsters waist-deep in Pennsylvania clay, understanding how soil absorption affects drainage while their friends played Xbox. "We never just dig holes," Art shared with me last winter, steaming coffee cup in hand. "We learned how soil whispers mysteries. A patch of marsh plants here? That's Mother Nature shouting 'high water table.'"
https://zenwriting.net/abbo...
Erstellt am 12/29/25 um 04:05:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldSkage schrieb:
<a href=https://www.diggerslist.com...>https://www.diggerslist.com/69412d5714bf0/about</a>
Erstellt am 12/29/25 um 10:10:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldSkage schrieb:
<a href=http://leng.org.cn/home.php...>http://leng.org.cn/home.php?mod=space&uid=292279&do=profile</a>
Erstellt am 12/29/25 um 11:53:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Willieunago schrieb:
<a href=https://melbetorigin.ru/>ΠΌΠ΅Π»Π±Π΅Ρ Π±ΠΎΠ½ΡΡΡ</a> ΠΠ΅Π»Π±Π΅Ρ Π±ΠΎΠ½ΡΡΡ β ΡΡΠΎ ΡΠ΅Π»Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ° ΠΏΠΎΠΎΡΡΠ΅Π½ΠΈΠΉ, ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½Π½Π°Ρ Π΄Π»Ρ ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΡ Π»ΠΎΡΠ»ΡΠ½ΠΎΡΡΠΈ ΠΈΠ³ΡΠΎΠΊΠΎΠ². ΠΠ΄Π΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π±ΠΎΠ½ΡΡΡ Π½Π° ΠΏΠ΅ΡΠ²ΡΠΉ Π΄Π΅ΠΏΠΎΠ·ΠΈΡ, Π±ΠΎΠ½ΡΡΡ Π·Π° ΡΠΊΡΠΏΡΠ΅ΡΡΡ, ΠΊΡΡΠ±ΡΠΊ Π·Π° ΠΏΡΠΎΠΈΠ³ΡΠ°Π½Π½ΡΠ΅ ΡΡΠ°Π²ΠΊΠΈ ΠΈ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ Π΄ΡΡΠ³ΠΈΡ
ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ. ΠΠΎΠ½ΡΡΡ ΠΠ΅Π»Π±Π΅Ρ Π΄Π΅Π»Π°ΡΡ ΠΈΠ³ΡΡ Π±ΠΎΠ»Π΅Π΅ ΡΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΈ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ, ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ ΠΈΠ³ΡΠΎΠΊΠ°ΠΌ ΠΏΠΎΠ»ΡΡΠ°ΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ Π΄Π»Ρ Π²ΡΠΈΠ³ΡΡΡΠ°. ΠΠ°ΠΆΠ½ΠΎ Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΠΈΠ·ΡΡΠ°ΡΡ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΈ ΠΎΡΡΠ³ΡΡΡΠ° Π±ΠΎΠ½ΡΡΠΎΠ², ΡΡΠΎΠ±Ρ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎ ΠΈΡ
ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ.
Erstellt am 12/29/25 um 13:45:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Howardbit schrieb:
I need to share with you something the majority of septic companies will not: there are two types of people in this reality. Those who think septic systems are just "subterranean tanks for waste," and those who have had raw sewage erupting into their backyard at 2 AM. I understood this distinction the tough way in 2005βstanding in mud, trembling in a Washington downpour, as my siblings and I assisted a veteran installer fix our family's failed system. I was 14. My hands ached. My jeans were ruined. But that night, something clicked: This is not just dirt work. It's families' lives we're safeguarding.
Here's the dirty truth: most septic companies just pump tanks. They act like quick-fix salesmen at a demolition convention. But Septic Solutions? They're special. It all originated back in the beginning of the 2000s when Art and his siblingsβjust kids hardly tall enough to shoulder a shovelβaided install their family's septic system alongside a weathered pro. Imagine this: three youngsters buried in Pennsylvania clay, learning how soil porosity affects drainage while their peers played Xbox. "We did not just dig ditches," Art told me last winter, warm coffee cup in hand. "We discovered how soil whispers mysteries. A patch of wetland vegetation here? That's Mother Nature screaming 'high water table.'"
https://www.hotfrog.com/com...
Here's the dirty truth: most septic companies just pump tanks. They act like quick-fix salesmen at a demolition convention. But Septic Solutions? They're special. It all originated back in the beginning of the 2000s when Art and his siblingsβjust kids hardly tall enough to shoulder a shovelβaided install their family's septic system alongside a weathered pro. Imagine this: three youngsters buried in Pennsylvania clay, learning how soil porosity affects drainage while their peers played Xbox. "We did not just dig ditches," Art told me last winter, warm coffee cup in hand. "We discovered how soil whispers mysteries. A patch of wetland vegetation here? That's Mother Nature screaming 'high water table.'"
https://www.hotfrog.com/com...
Erstellt am 12/29/25 um 15:55:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
avigroup schrieb:
ΠΡΠΆΠ΅Π½ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π»ΠΈΠ΄Ρ? <a href=https://avigroup.pro/kazan/>ΡΡΡΠ΄ΠΈΡ avigroup ΠΊΠ°Π·Π°Π½Ρ</a> SEO-ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² ΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΠ° Π² Π―Π½Π΄Π΅ΠΊΡ ΠΠΈΡΠ΅ΠΊΡ: ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΠΌ ΡΠ΅Π»Π΅Π²ΠΎΠΉ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π·Π°ΡΠ²ΠΊΠΈ. ΠΡΠ΄ΠΈΡ, ΡΠ΅ΠΌΠ°Π½ΡΠΈΠΊΠ°, ΠΊΠΎΠ½ΡΠ΅Π½Ρ, ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠ΅ SEO, Π½Π°ΡΡΡΠΎΠΉΠΊΠ° ΠΈ Π²Π΅Π΄Π΅Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Π½Π° ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ β ΡΠΎΡΡ Π»ΠΈΠ΄ΠΎΠ², ΠΏΡΠΎΠ΄Π°ΠΆ ΠΈ ΠΏΠΎΠ·ΠΈΡΠΈΠΉ.
Erstellt am 12/29/25 um 21:06:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
avigroup schrieb:
ΠΡΠΆΠ΅Π½ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π»ΠΈΠ΄Ρ? <a href=https://avigroup.pro/kazan/>Π°Π³Π΅Π½ΡΡΡΠ²ΠΎ Π°Π²ΠΈΠ³ΡΡΠΏΠΏ Π² ΠΊΠ°Π·Π°Π½ΠΈ</a> SEO-ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² ΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΠ° Π² Π―Π½Π΄Π΅ΠΊΡ ΠΠΈΡΠ΅ΠΊΡ: ΠΏΡΠΈΠ²ΠΎΠ΄ΠΈΠΌ ΡΠ΅Π»Π΅Π²ΠΎΠΉ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π·Π°ΡΠ²ΠΊΠΈ. ΠΡΠ΄ΠΈΡ, ΡΠ΅ΠΌΠ°Π½ΡΠΈΠΊΠ°, ΠΊΠΎΠ½ΡΠ΅Π½Ρ, ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΎΠ΅ SEO, Π½Π°ΡΡΡΠΎΠΉΠΊΠ° ΠΈ Π²Π΅Π΄Π΅Π½ΠΈΠ΅ ΡΠ΅ΠΊΠ»Π°ΠΌΡ. Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Π½Π° ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ β ΡΠΎΡΡ Π»ΠΈΠ΄ΠΎΠ², ΠΏΡΠΎΠ΄Π°ΠΆ ΠΈ ΠΏΠΎΠ·ΠΈΡΠΈΠΉ.
Erstellt am 12/29/25 um 21:06:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesHem schrieb:
<a href=https://pokerapps.ru/>pokerok ΡΠΊΠ°ΡΠ°ΡΡ</a> GGPokerok β ΡΡΠΎ ΡΠ°ΡΡΡ Π±ΠΎΠ»ΡΡΠΎΠΉ ΡΠ΅ΡΠΈ GGPoker, ΡΡΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ ΡΡΠ°ΡΠΈΠΊ ΠΈΠ³ΡΠΎΠΊΠΎΠ² ΠΈ ΡΠ΅Π΄ΡΡΠ΅ ΠΏΡΠΈΠ·ΠΎΠ²ΡΠ΅ ΡΠΎΠ½Π΄Ρ Π² ΡΡΡΠ½ΠΈΡΠ°Ρ
. ΠΡΠΎ Π΄Π°Π΅Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΈΡΠΏΡΡΠ°ΡΡ ΡΠ΅Π±Ρ Π² ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠΈΠΈ Ρ Π»ΡΡΡΠΈΠΌΠΈ, Π½ΠΎ ΠΈ Π·Π°ΡΠ°Π±ΠΎΡΠ°ΡΡ ΡΠΎΠ»ΠΈΠ΄Π½ΡΠ΅ Π΄Π΅Π½ΡΠ³ΠΈ. GGPokerok β ΡΡΠΎ ΠΌΠ΅ΡΡΠΎ, Π³Π΄Π΅ ΠΌΠ΅ΡΡΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ ΡΠ΅Π°Π»ΡΠ½ΠΎΡΡΡΡ.
Erstellt am 12/29/25 um 22:24:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mercadona exodermin schrieb:
Exodermin: un tratamiento cΓ³modo y eficaz
El bienestar de nuestros pies es fundamental para mantener la calidad de
vida. Muchas personas sufren en silencio debido a diversas incomodidades.
La busqueda de alternativas para aliviar estos problemas es anhelada
por muchos. ΒΏTe imaginas poder calmar esas molestias de manera sencilla?
La modernidad nos brinda opciones que prometen ayudar.
Sin embargo, no todos los productos son iguales.
A veces, encontrar el adecuado puede parecer una tarea difΓcil.
Pero hay una opciΓ³n que estΓ‘ ganando popularidad entre quienes padecen estos inconvenientes.
Con una fΓ³rmula innovadora, se convierte en la respuesta que muchos han estado esperando.
Este producto estΓ‘ diseΓ±ado para usarse con facilidad, adaptΓ‘ndose
a las necesidades del usuario. Sin complicaciones, se convierte en parte de tu rutina diaria de manera natural.
AdemΓ‘s, no requiere grandes esfuerzos ni cambios drΓ‘sticos en tu estilo de vida.
La idea es simple: ofrecer una soluciΓ³n que conviva en armonΓa
con tu dΓa a dΓa.
La efectividad es, sin duda, uno de los puntos mΓ‘s atractivos de esta propuesta.
Su formulaciΓ³n estΓ‘ pensada para atacar la raΓz del problema, proporcionando resultados visibles.
ImagΓnate disfrutar de cada paso sin el peso de incomodidades.
Al final, lo que mΓ‘s deseamos es vivir plenamente, y esta opciΓ³n abre la puerta a esa posibilidad.
Con un enfoque en el bienestar personal, este recurso se
presenta como una aliada valiosa. Atrae la atenciΓ³n de
quienes buscan sentirse mejor sin complicaciones.
Por eso, explorar lo que ofrece es un paso que vale la pena dar.
La combinaciΓ³n de sencillez y eficacia es lo que muchos anhelan en un producto de cuidado personal.
Beneficios de Exodermin en el cuidado de la
piel
La piel es un Γ³rgano vital que necesita atenciΓ³n y cuidado.
Hay mΓΊltiples productos diseΓ±ados para mejorar
su salud y apariencia. Uno de estos productos se destaca por sus beneficios ΓΊnicos.
Su acciΓ³n se centra en la restauraciΓ³n y protecciΓ³n de la epidermis.
Esto resulta en una piel mΓ‘s suave y saludable. AdemΓ‘s, la fΓ³rmula utilizada promueve la regeneraciΓ³n celular.
La hidrataciΓ³n es fundamental. Mantener la humedad adecuada
puede prevenir problemas cutΓ‘neos. Este producto ayuda a que la piel retenga
la hidrataciΓ³n de forma efectiva. Con su uso regular, se observa
una mejora notable en la textura cutΓ‘nea.
AsΓ, los resultados son visibles en poco tiempo y sin esfuerzo excesivo.
Por otro lado, este producto actΓΊa sobre las imperfecciones visibles, ayudando a reducirlas.
Esto es especialmente ΓΊtil para quienes enfrentan desafΓos como el acnΓ© o manchas.
La composiciΓ³n especial se enfoca en combatir las causas subyacentes,
ofreciendo una soluciΓ³n duradera. Gracias a su tecnologΓa innovadora, no solo se ocultan los problemas, sino que se atacan de raΓz.
Esto proporciona una libertad que pocos productos pueden garantizar.
AdemΓ‘s de todo esto, el cuidado de la piel
tambiΓ©n tiene un impacto emocional. Sentirse bien con uno mismo influye en la confianza.
Al ver resultados, la autoestima tiende a aumentar de forma significativa.
El uso de este producto puede transformar la rutina de
cuidado personal en un momento deleitoso. Cada aplicaciΓ³n se convierte en un paso hacia una piel mΓ‘s radiante.
En resumen, elegir productos que realmente cuiden la piel
es esencial. La combinaciΓ³n de hidrataciΓ³n, mejora
de textura y tratamiento de imperfecciones lo convierte en una opciΓ³n muy atractiva.
AsΓ, la salud cutΓ‘nea se convierte en un objetivo alcanzable para todos.
Tratar la piel bien nunca habΓa sido tan ventajoso.
CΓ³mo utilizar Exodermin correctamente
Para obtener los mejores resultados, es importante aplicar la fΓ³rmula de
manera adecuada. Primero, asegΓΊrate de
tener la piel limpia y seca. Aplica una pequeΓ±a cantidad del
producto en las Γ‘reas deseadas. Masajea suavemente con movimientos circulares hasta que se absorba completamente.
Esta acciΓ³n ayuda a que los ingredientes activos
penetren en la piel de forma mΓ‘s efectiva.
Es fundamental seguir las recomendaciones del fabricante en cuanto a la frecuencia de uso.
Generalmente, se sugiere aplicar el producto dos veces al dΓa, en la maΓ±ana
y en la noche. Esto garantizarΓ‘ que tu piel reciba
el cuidado necesario para lucir rejuvenecida. No olvides ser constante en el uso para notar
una mejorΓa significativa en el estado de tu piel.
Si bien la aplicaciΓ³n es sencilla, siempre es recomendable realizar una prueba en una pequeΓ±a Γ‘rea antes
de usarlo en todo el rostro o en zonas extensas. De esta manera, podrΓ‘s descartar
cualquier posible reacciΓ³n alΓ©rgica o sensibilidad.
Una vez que te sientas seguro, sigue disfrutando de los beneficios que
aporta. Recuerda que la paciencia y la rutina son aliadas en el camino hacia una
piel saludable y radiante.
El bienestar de nuestros pies es fundamental para mantener la calidad de
vida. Muchas personas sufren en silencio debido a diversas incomodidades.
La busqueda de alternativas para aliviar estos problemas es anhelada
por muchos. ΒΏTe imaginas poder calmar esas molestias de manera sencilla?
La modernidad nos brinda opciones que prometen ayudar.
Sin embargo, no todos los productos son iguales.
A veces, encontrar el adecuado puede parecer una tarea difΓcil.
Pero hay una opciΓ³n que estΓ‘ ganando popularidad entre quienes padecen estos inconvenientes.
Con una fΓ³rmula innovadora, se convierte en la respuesta que muchos han estado esperando.
Este producto estΓ‘ diseΓ±ado para usarse con facilidad, adaptΓ‘ndose
a las necesidades del usuario. Sin complicaciones, se convierte en parte de tu rutina diaria de manera natural.
AdemΓ‘s, no requiere grandes esfuerzos ni cambios drΓ‘sticos en tu estilo de vida.
La idea es simple: ofrecer una soluciΓ³n que conviva en armonΓa
con tu dΓa a dΓa.
La efectividad es, sin duda, uno de los puntos mΓ‘s atractivos de esta propuesta.
Su formulaciΓ³n estΓ‘ pensada para atacar la raΓz del problema, proporcionando resultados visibles.
ImagΓnate disfrutar de cada paso sin el peso de incomodidades.
Al final, lo que mΓ‘s deseamos es vivir plenamente, y esta opciΓ³n abre la puerta a esa posibilidad.
Con un enfoque en el bienestar personal, este recurso se
presenta como una aliada valiosa. Atrae la atenciΓ³n de
quienes buscan sentirse mejor sin complicaciones.
Por eso, explorar lo que ofrece es un paso que vale la pena dar.
La combinaciΓ³n de sencillez y eficacia es lo que muchos anhelan en un producto de cuidado personal.
Beneficios de Exodermin en el cuidado de la
piel
La piel es un Γ³rgano vital que necesita atenciΓ³n y cuidado.
Hay mΓΊltiples productos diseΓ±ados para mejorar
su salud y apariencia. Uno de estos productos se destaca por sus beneficios ΓΊnicos.
Su acciΓ³n se centra en la restauraciΓ³n y protecciΓ³n de la epidermis.
Esto resulta en una piel mΓ‘s suave y saludable. AdemΓ‘s, la fΓ³rmula utilizada promueve la regeneraciΓ³n celular.
La hidrataciΓ³n es fundamental. Mantener la humedad adecuada
puede prevenir problemas cutΓ‘neos. Este producto ayuda a que la piel retenga
la hidrataciΓ³n de forma efectiva. Con su uso regular, se observa
una mejora notable en la textura cutΓ‘nea.
AsΓ, los resultados son visibles en poco tiempo y sin esfuerzo excesivo.
Por otro lado, este producto actΓΊa sobre las imperfecciones visibles, ayudando a reducirlas.
Esto es especialmente ΓΊtil para quienes enfrentan desafΓos como el acnΓ© o manchas.
La composiciΓ³n especial se enfoca en combatir las causas subyacentes,
ofreciendo una soluciΓ³n duradera. Gracias a su tecnologΓa innovadora, no solo se ocultan los problemas, sino que se atacan de raΓz.
Esto proporciona una libertad que pocos productos pueden garantizar.
AdemΓ‘s de todo esto, el cuidado de la piel
tambiΓ©n tiene un impacto emocional. Sentirse bien con uno mismo influye en la confianza.
Al ver resultados, la autoestima tiende a aumentar de forma significativa.
El uso de este producto puede transformar la rutina de
cuidado personal en un momento deleitoso. Cada aplicaciΓ³n se convierte en un paso hacia una piel mΓ‘s radiante.
En resumen, elegir productos que realmente cuiden la piel
es esencial. La combinaciΓ³n de hidrataciΓ³n, mejora
de textura y tratamiento de imperfecciones lo convierte en una opciΓ³n muy atractiva.
AsΓ, la salud cutΓ‘nea se convierte en un objetivo alcanzable para todos.
Tratar la piel bien nunca habΓa sido tan ventajoso.
CΓ³mo utilizar Exodermin correctamente
Para obtener los mejores resultados, es importante aplicar la fΓ³rmula de
manera adecuada. Primero, asegΓΊrate de
tener la piel limpia y seca. Aplica una pequeΓ±a cantidad del
producto en las Γ‘reas deseadas. Masajea suavemente con movimientos circulares hasta que se absorba completamente.
Esta acciΓ³n ayuda a que los ingredientes activos
penetren en la piel de forma mΓ‘s efectiva.
Es fundamental seguir las recomendaciones del fabricante en cuanto a la frecuencia de uso.
Generalmente, se sugiere aplicar el producto dos veces al dΓa, en la maΓ±ana
y en la noche. Esto garantizarΓ‘ que tu piel reciba
el cuidado necesario para lucir rejuvenecida. No olvides ser constante en el uso para notar
una mejorΓa significativa en el estado de tu piel.
Si bien la aplicaciΓ³n es sencilla, siempre es recomendable realizar una prueba en una pequeΓ±a Γ‘rea antes
de usarlo en todo el rostro o en zonas extensas. De esta manera, podrΓ‘s descartar
cualquier posible reacciΓ³n alΓ©rgica o sensibilidad.
Una vez que te sientas seguro, sigue disfrutando de los beneficios que
aporta. Recuerda que la paciencia y la rutina son aliadas en el camino hacia una
piel saludable y radiante.
Erstellt am 12/30/25 um 01:53:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
JamesRig schrieb:
<a href=https://ayatservice.kz/remo...>ΠΠΎΡΡΡΠΏΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ Indesit. Π’ΠΈΠΏΠΎΠ²ΡΠ΅ ΠΏΠΎΠ»ΠΎΠΌΠΊΠΈ F05, F08 ΡΡΡΡΠ°Π½ΡΠ΅ΠΌ Π·Π° 40 ΠΌΠΈΠ½ΡΡ. ΠΠ°ΠΏΡΠ°ΡΡΠΈ Π²ΡΠ΅Π³Π΄Π° Π² Π½Π°Π»ΠΈΡΠΈΠΈ.Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Hotpoint-Ariston ΠΠ»ΠΌΠ°ΡΡ</a> Π‘ΠΈΠ»ΡΠ½ΡΠΉ Π³ΡΠ» ΠΊΠ°ΠΊ Ρ Π²Π·Π»Π΅ΡΠ°ΡΡΠ΅Π³ΠΎ ΡΠ°ΠΌΠΎΠ»Π΅ΡΠ° ΠΏΡΠΈ ΠΎΡΠΆΠΈΠΌΠ΅? ΠΡΠΎ ΠΏΡΠΈΠ·Π½Π°ΠΊ ΡΠ°Π·ΡΡΡΠ΅Π½ΠΈΡ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ². ΠΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΠΌ Π·Π°ΠΌΠ΅Π½Ρ ΠΏΠΎΠ΄ΡΠΈΠΏΠ½ΠΈΠΊΠΎΠ² ΠΈ ΡΠ°Π»ΡΠ½ΠΈΠΊΠΎΠ² (SKF, NSK) Ρ ΡΠ°Π·Π±ΠΎΡΠΎΠΌ Π±Π°ΠΊΠ°. Π’Π°ΠΊΠΆΠ΅ ΡΡΡΡΠ°Π½ΡΠ΅ΠΌ ΡΡΠΌ ΡΠ»ΠΈΠ²Π½ΠΎΠ³ΠΎ Π½Π°ΡΠΎΡΠ°. Π‘ΡΠΈΡΠ°Π»ΡΠ½Π°Ρ ΠΌΠ°ΡΠΈΠ½Π° ΠΏΡΡΠ³Π°Π΅Ρ ΠΏΡΠΈ ΠΎΡΠΆΠΈΠΌΠ΅
Erstellt am 12/30/25 um 05:18:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Hi there, I wish for to subscribe for this weblog to take most recent updates, thus where can i do it please assist.
<a href=https://arctic-energo.ru/>ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ ΡΠΈΠΎ Π±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://arctic-energo.ru/>ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ ΡΠΈΠΎ Π±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 12/30/25 um 13:21:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Why visitors still make use of to read news papers when in this technological globe everything is available on web?
<a href=https://arctic-energo.ru/>ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π ΠΈΠΎΠΠ΅Ρ</a>
<a href=https://arctic-energo.ru/>ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΡ Π ΠΈΠΎΠΠ΅Ρ</a>
Erstellt am 12/30/25 um 13:32:09
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hiyumBrask schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΠΊΠΈΠ½ΠΎΡΠ΅Π°ΡΡ <a href=https://rosseriaall.net/>https://rosseriaall.net/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΏΡΠΎΡΠΌΠΎΡΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π±Π΅Π· ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ. ΠΠ°ΡΠ°Π»ΠΎΠ³ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Ρ, ΠΊΡΠΈΠΌΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ, Π²ΠΎΠ΅Π½Π½ΡΠ΅ Π΄ΡΠ°ΠΌΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ, ΡΡΠΈΠ»Π»Π΅ΡΡ, ΡΠ°Π½ΡΠ°ΡΡΠΈΠΊΡ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ ΡΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΎΠΉ ΠΏΠΎ ΠΆΠ°Π½ΡΠ°ΠΌ ΠΈ Π³ΠΎΠ΄Π°ΠΌ. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΌΠΈΠ½ΡΠ²ΡΠΈΡ
ΡΠ΅Π·ΠΎΠ½ΠΎΠ² ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΏΡΠ΅ΠΌΡΠ΅ΡΡ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ Π³ΠΎΠ΄Π°. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎΠ΅ ΠΏΠΎΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ° ΠΏΠΎΠΈΡΠΊΠ° Π΄Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΡΡ Π½ΡΠΆΠ½ΡΠΉ ΡΠ΅ΡΠΈΠ°Π» ΠΈ Π·Π°ΠΏΡΡΡΠΈΡΡ Π΅Π³ΠΎ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ.
Erstellt am 12/30/25 um 16:31:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vagursat schrieb:
Π ΠΌΠΈΡΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠ½ΠΈΠ½Π³Π° ΡΡΡΠ΄ΠΈΡ "Individual Design" Π² ΠΠΎΡΠΊΠ²Π΅ Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΠΊΠ°ΠΊ Π½Π°ΡΡΠΎΡΡΠΈΠΉ ΡΠΊΡΠΏΠ΅ΡΡ ΠΏΠΎ ΠΎΠΊΠ»Π΅ΠΉΠΊΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ ΠΏΠ»Π΅Π½ΠΊΠΎΠΉ, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΠΎΡ Π°Π½ΡΠΈΠ³ΡΠ°Π²ΠΈΠΉΠ½ΠΎΠΉ Π·Π°ΡΠΈΡΡ Π΄ΠΎ ΡΡΠΈΠ»ΡΠ½ΡΡ
ΡΠ²Π΅ΡΠ½ΡΡ
ΡΡΠ°Π½ΡΡΠΎΡΠΌΠ°ΡΠΈΠΉ Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΠΏΡΠ΅ΠΌΠΈΡΠΌ-ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΎΡ LLumar, SunTek ΠΈ 3M. Π ΡΡΠΎΠΉ ΡΡΡΠ΄ΠΈΠΈ ΠΎΠΏΡΡΠ½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ Π·Π° ΡΠ°ΡΡ ΠΏΡΠ΅ΠΎΠ±ΡΠ°ΠΆΠ°ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΉ ΠΊΡΠ·ΠΎΠ² Π² Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΎΠ±ΡΠ΅ΠΊΡ, Π΄Π°Π²Π°Ρ Π½Π΅ ΠΏΡΠΎΡΡΠΎ Π²ΠΈΠ·ΡΠ°Π»ΡΠ½ΡΠΉ Π°ΠΏΠ³ΡΠ΅ΠΉΠ΄, Π½ΠΎ ΠΈ ΠΊΡΠ΅ΠΏΠΊΡΡ ΠΎΠ±ΠΎΡΠΎΠ½Ρ ΠΎΡ ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠΉ, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ Π΄Π»Ρ ΠΆΠ΅ΡΡΠΊΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ° ΠΠΎΡΠΊΠ²Ρ; ΠΏΠ»Π΅Π½ΠΊΠ° Π²ΠΈΠ½ΠΈΠ»ΠΎΠ²Π°Ρ ΠΈΠ»ΠΈ ΠΏΠΎΠ»ΠΈΡΡΠ΅ΡΠ°Π½ΠΎΠ²Π°Ρ ΠΏΡΠΎΡΡΠΎ ΠΊΠ»Π΅ΠΈΡΡΡ ΠΈ ΡΠ΄Π°Π»ΡΠ΅ΡΡΡ Π±Π΅Π· ΠΎΡΡΠ°ΡΠΊΠ°, ΠΏΡΠ΅Π²ΠΎΡΡ
ΠΎΠ΄Ρ ΠΏΠΎΠΊΡΠ°ΡΠΊΡ Π² ΡΠ΄ΠΎΠ±ΡΡΠ²Π΅, Ρ ΡΠ΅Π½Π°ΠΌΠΈ, ΡΠ°Π΄ΡΡΡΠΈΠΌΠΈ Π³ΠΈΠ±ΠΊΠΎΡΡΡΡ ΠΈ Π±ΠΎΠ½ΡΡΠ°ΠΌΠΈ Π΄Π»Ρ Π»ΠΎΡΠ»ΡΠ½ΡΡ
ΠΏΠΎΡΠ΅ΡΠΈΡΠ΅Π»Π΅ΠΉ. ΠΡΠ»ΠΈ Π²Ρ ΠΈΡΠ΅ΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ Π΄Π΅ΡΠ΅ΠΉΠ»ΠΈΠ½Π³ Π² ΠΠ΅ΡΠΎΡΡΠΎΠ²ΠΎ, Π²ΡΠ΅Π³ΠΎ Π² 5 ΠΌΠΈΠ½ΡΡΠ°Ρ
ΠΎΡ Π’ΡΠ΅ΡΡΠ΅Π³ΠΎ ΠΊΠΎΠ»ΡΡΠ°, Π·Π°Π³Π»ΡΠ½ΠΈΡΠ΅ Π½Π° <a href=https://individual-design.ru/>https://individual-design.ru/</a> β ΡΠ°ΠΌ ΠΏΠΎΠ»Π½ΡΠΉ ΠΏΡΠ°ΠΉΡ, Π³Π°Π»Π΅ΡΠ΅Ρ ΡΠ°Π±ΠΎΡ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π·Π°ΠΏΠΈΡΡ, Π³Π΄Π΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΏΡΠΎΠ΅ΠΊΡ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΌ ΡΠ΅Π΄Π΅Π²ΡΠΎΠΌ.
Erstellt am 12/30/25 um 18:05:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
negukClurn schrieb:
ΠΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ Β«Π’ΡΡΠ±ΠΏΡΠΎΠΌΒ» ΠΏΡΠΈΡΡΡΡΡΠ²ΡΠ΅Ρ Π² ΡΡΠ΅ΡΠ΅ ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠΏΡΠΎΠΊΠ°ΡΠ° Ρ 2005 Π³ΠΎΠ΄Π° ΠΈ ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅Ρ ΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ ΠΏΠΎ ΠΎΠΏΡΠΎΠ²ΠΎΠΉ ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ. ΠΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π±Π΅ΡΡΠΎΠ²Π½ΡΠ΅, ΡΠ»Π΅ΠΊΡΡΠΎΡΠ²Π°ΡΠ½ΡΠ΅, Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠΈΠ΅, ΠΊΠΎΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΈ ΠΌΠ°Π³ΠΈΡΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ Π»ΡΠ±ΡΡ
ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ². ΠΡΠΎΠ΄ΡΠΊΡΠΈΡ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΠ΅Ρ ΠΠΠ‘Π’ 8732-78, 10705-80, 10704-91 ΠΈ Π΄ΡΡΠ³ΠΈΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠΎΠΊΡΠΏΠ°ΡΠ΅Π»ΡΠΌ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΡΡΡΠ±Ρ ΠΈΠ· ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠ°ΡΠΎΠΊ ΡΡΠ°Π»ΠΈ: 09Π³2Ρ, 20, 3ΡΠΏ, 17Π1Π‘, 13Π₯Π€Π. ΠΡΠ΅ΡΠ΅ <a href=https://www.trub-prom.com/t... >ΡΡΡΠ±Π° 10Π³2ΡΠ±Ρ</a>? ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ Π½Π° ΡΠ°ΠΉΡΠ΅ http://www.trub-prom.com Ρ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌΠΈ ΡΠ΅Π½Π°ΠΌΠΈ ΠΈ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΠΌΠΈ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠ°ΠΌΠΈ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ.
Erstellt am 12/30/25 um 19:17:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
nacelAcumb schrieb:
<a href=https://nazenazeblog.com/>https://nazenazeblog.com/</a>
Erstellt am 12/30/25 um 19:19:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
surifsthype schrieb:
Looking for skid plates for enduro, trials, and motocross motorcycles? Visit <a href=https://hardglide.com/>https://hardglide.com/</a> where you'll find high-quality skid plates, suspension arm guards, engine guards, and other accessories. HardGlide products ship worldwide. Learn more on the website.
Erstellt am 12/30/25 um 19:25:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hemowiStIdo schrieb:
ΠΠ°ΡΠΊΠ° Π΄Π»Ρ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΡΡ
ΡΠ½ΠΎΠ²ΠΈΠ΄Π΅Π½ΠΈΠΉ DreamStalker Expert ΡΠ΅ΡΠ²Π΅ΡΡΠΎΠ³ΠΎ ΠΏΠΎΠΊΠΎΠ»Π΅Π½ΠΈΡ ΠΎΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΡΠ½Π°ΡΠ΅Π½Π° Wi-Fi ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ΠΌ, Π΄Π²ΡΠΌΡ Π΄Π°ΡΡΠΈΠΊΠ°ΠΌΠΈ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ Π³Π»Π°Π·, RGB-ΡΠ²Π΅ΡΠΎΠ΄ΠΈΠΎΠ΄Π°ΠΌΠΈ ΠΈ OLED-Π΄ΠΈΡΠΏΠ»Π΅Π΅ΠΌ. Π£ΡΡΡΠΎΠΉΡΡΠ²ΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΠΎ Π½Π° <a href=https://claps.me/catalog/pr...>https://claps.me/catalog/pribory-dlya-osoznannykh-snov/pribor-dlya-osoznannykh-snovideniy-dreamstalker-expert/</a> Π² ΡΠ΅ΡΡΡΠ΅Ρ
Π²Π°ΡΠΈΠ°Π½ΡΠ°Ρ
Ρ ΡΡΠ½ΠΊΡΠΈΡΠΌΠΈ ΠΌΠ°ΠΉΠ½Π΄-ΠΌΠ°ΡΠΈΠ½Ρ ΠΈ ΡΡΠ°Π½ΡΠΊΡΠ°Π½ΠΈΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΠΈΠΌΡΠ»ΡΡΠΈΠΈ tACS. ΠΠΏΠΏΠ°ΡΠ°Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π°Π²ΡΠΎΠ·Π°ΠΏΠΈΡΡ ΡΠ½ΠΎΠ², Π·Π²ΡΠΊΠΎΠ²ΡΠ΅ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΈ ΠΎΠΏΡΠΈΡ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΡ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΎΠ½Π½ΡΡ
ΡΠ°ΡΡΠΈΡΠ΅Π½ΠΈΠΉ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»Π°.
Erstellt am 12/30/25 um 19:52:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wurynHom schrieb:
Π‘ΡΡΠ΄ΠΈΡ Π΄Π΅ΡΠ΅ΠΉΠ»ΠΈΠ½Π³Π° Individual Design ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΡ ΠΎΠΊΠ»Π΅ΠΉΠΊΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌΠΈ Π·Π°ΡΠΈΡΠ½ΡΠΌΠΈ ΠΈ Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠ²Π½ΡΠΌΠΈ ΠΏΠ»Π΅Π½ΠΊΠ°ΠΌΠΈ Π² ΠΠΎΡΠΊΠ²Π΅. Π Π°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½Π½Π°Ρ Π² ΡΠ°ΠΉΠΎΠ½Π΅ ΠΠ΅ΡΠΎΡΡΠΎΠ²ΠΎ, Π²ΡΠ΅Π³ΠΎ Π² ΠΏΡΡΠΈ ΠΌΠΈΠ½ΡΡΠ°Ρ
ΠΎΡ Π’ΡΠ΅ΡΡΠ΅Π³ΠΎ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠ»ΡΡΠ°, ΡΡΡΠ΄ΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠ°Π±ΠΎΡΠ΅ Ρ ΠΏΠΎΠ»ΠΈΡΡΠ΅ΡΠ°Π½ΠΎΠ²ΡΠΌΠΈ ΠΈ Π²ΠΈΠ½ΠΈΠ»ΠΎΠ²ΡΠΌΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌΠΈ Π²ΡΡΠΎΡΠ°ΠΉΡΠ΅Π³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Π’Π΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡ ΠΎΠΊΠ»Π΅ΠΉΠΊΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΈΡΡ Π²Π½Π΅ΡΠ½ΠΈΠΉ Π²ΠΈΠ΄ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ Π·Π° Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΡΠ°ΡΠΎΠ² Π±Π΅Π· ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΡ Π·Π°Π²ΠΎΠ΄ΡΠΊΠΎΠ³ΠΎ Π»Π°ΠΊΠΎΠΊΡΠ°ΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠΊΡΡΡΠΈΡ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎΠ± ΡΡΠ»ΡΠ³Π°Ρ
ΡΠΎΠ½ΠΈΡΠΎΠ²ΠΊΠΈ, ΡΡΠΌΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΠΈ ΠΈ Π·Π°ΡΠΈΡΠ½ΠΎΠΉ ΠΎΠΊΠ»Π΅ΠΉΠΊΠΈ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ·Π½Π°ΡΡ Π½Π° <a href=https://individual-design.ru/>https://individual-design.ru/</a> Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΡΠΈΠΌΠ΅ΡΡ Π²ΡΠΏΠΎΠ»Π½Π΅Π½Π½ΡΡ
ΡΠ°Π±ΠΎΡ. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²ΠΎΠΏΠ»ΠΎΡΠΈΡΡ Π»ΡΠ±ΡΠ΅ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΠΈΠ΄Π΅ΠΈ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ.
Erstellt am 12/30/25 um 23:04:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
trasladoavalencia 280 schrieb:
?Necesitas mudarte? <a href=https://trasladoavalencia.es/>https://trasladoavalencia.es</a> ?Necesitas una mudanza rapida, segura y sin complicaciones en Valencia? Ofrecemos servicios profesionales de transporte y mudanzas para particulares y empresas. ?Solicita un presupuesto gratuito y disfruta de nuestro servicio de calidad!
Erstellt am 12/31/25 um 01:19:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
trasladoavalencia 988 schrieb:
?Necesitas mudarte? <a href=https://trasladoavalencia.es/>https://trasladoavalencia.es</a> ?Necesitas una mudanza rapida, segura y sin complicaciones en Valencia? Ofrecemos servicios profesionales de transporte y mudanzas para particulares y empresas. ?Solicita un presupuesto gratuito y disfruta de nuestro servicio de calidad!
Erstellt am 12/31/25 um 01:19:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
trasladoavalencia 872 schrieb:
?Necesitas mudarte? <a href=https://trasladoavalencia.es/>https://trasladoavalencia.es</a> ?Necesitas una mudanza rapida, segura y sin complicaciones en Valencia? Ofrecemos servicios profesionales de transporte y mudanzas para particulares y empresas. ?Solicita un presupuesto gratuito y disfruta de nuestro servicio de calidad!
Erstellt am 12/31/25 um 01:19:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sikomilaple schrieb:
ΠΡΡΠΌΡΠΊΠΈΠΉ ΠΏΠΎΠ»ΡΠΎΡΡΡΠΎΠ² ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΠΆΠΈΠ²ΠΎΠΏΠΈΡΠ½ΡΡ
Π»Π°Π½Π΄ΡΠ°ΡΡΠΎΠ², Π±ΠΎΠ³Π°ΡΠΎΠ³ΠΎ ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ Π½Π°ΡΠ»Π΅Π΄ΠΈΡ ΠΈ ΡΠ΅Π»Π΅Π±Π½ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ°, ΠΏΡΠΈΡΡΠ³ΠΈΠ²Π°ΡΡΠ΅Π΅ ΠΌΠΈΠ»Π»ΠΈΠΎΠ½Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΈΠΊΠΎΠ² Π΅ΠΆΠ΅Π³ΠΎΠ΄Π½ΠΎ. ΠΡ Π°Π½ΡΠΈΡΠ½ΡΡ
ΡΡΠΈΠ½ Π₯Π΅ΡΡΠΎΠ½Π΅ΡΠ° Π΄ΠΎ Π²Π΅Π»ΠΈΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π΄Π²ΠΎΡΡΠΎΠ² ΠΠΆΠ½ΠΎΠ³ΠΎ Π±Π΅ΡΠ΅Π³Π°, ΠΎΡ Π³ΠΎΡΠ½ΡΡ
ΡΡΠΎΠΏ ΠΠΉ-ΠΠ΅ΡΡΠΈ Π΄ΠΎ ΡΠ΅Π΄ΠΈΠ½Π΅Π½Π½ΡΡ
Π±ΡΡ
Ρ ΠΌΡΡΠ° Π€ΠΈΠΎΠ»Π΅Π½Ρ β ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠ³ΠΎΠ»ΠΎΠΊ ΠΏΠΎΠ»ΡΠΎΡΡΡΠΎΠ²Π° Ρ
ΡΠ°Π½ΠΈΡ ΡΠ²ΠΎΠΈ ΡΠ°ΠΉΠ½Ρ. ΠΠ»ΠΎΠ³ <a href=https://crimea-trip.ru/>https://crimea-trip.ru/</a> ΡΠΎΠ±ΡΠ°Π» ΠΏΠΎΠ»Π΅Π·Π½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΠΊΡΡΠΎΡΡΠ°Ρ
, ΠΏΠ»ΡΠΆΠ°Ρ
, ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΌΠ°ΡΡΡΡΡΠ°Ρ
ΠΈ Π³Π°ΡΡΡΠΎΠ½ΠΎΠΌΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΡΡ
ΡΠ΅Π³ΠΈΠΎΠ½Π°, ΠΏΠΎΠΌΠΎΠ³Π°Ρ ΡΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΠΎΠ΅ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ Ρ ΡΡΠ΅ΡΠΎΠΌ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. ΠΠ΄Π΅ΡΡ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ Π²ΡΠ±ΠΎΡΡ ΠΆΠΈΠ»ΡΡ, ΠΎΠΏΠΈΡΠ°Π½ΠΈΡ ΡΠΊΡΠΊΡΡΡΠΈΠΎΠ½Π½ΡΡ
ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΏΠΎ ΠΎΠ·Π΄ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»ΡΠ½ΡΠΌ ΠΏΡΠΎΡΠ΅Π΄ΡΡΠ°ΠΌ, Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΌ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΌ ΡΠ°ΠΊΡΠΎΡΠ°ΠΌ ΠΊΡΡΠΌΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΡ ΠΈ ΡΠ΅Π»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΌΡ Π²ΠΎΠ·Π΄ΡΡ
Ρ Π³ΠΎΡΠ½ΡΡ
ΡΠ°ΠΉΠΎΠ½ΠΎΠ².
Erstellt am 12/31/25 um 02:05:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ducasHed schrieb:
Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠ»ΠΈΠ½ΠΈΠΊΠ° "ΠΠΈΠ½Π΄Π΅Ρ ΠΠ΅Π½Ρ" Π² ΠΡΠ±Π΅ΡΡΠ°Ρ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π΄Π΅ΡΡΠΊΠΎΠΉ ΠΈ Π²Π·ΡΠΎΡΠ»ΠΎΠΉ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΠ΄ Π½Π°ΡΠΊΠΎΠ·ΠΎΠΌ. <a href=https://kinder-dent-lyubert...>https://kinder-dent-lyubertsy.ru/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³: ΠΎΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΉ Π³ΠΈΠ³ΠΈΠ΅Π½Ρ ΠΈ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΊΠ°ΡΠΈΠ΅ΡΠ° Π΄ΠΎ ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΠΈ, ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΠΎΡΡΠΎΠ΄ΠΎΠ½ΡΠΈΠΈ. ΠΠ»ΠΈΠ½ΠΈΠΊΠ° ΠΎΡΠ½Π°ΡΠ΅Π½Π° ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ, Π²ΠΊΠ»ΡΡΠ°Ρ Π°ΠΏΠΏΠ°ΡΠ°Ρ Vector Π΄Π»Ρ Π»Π΅ΡΠ΅Π½ΠΈΡ Π΄Π΅ΡΠ΅Π½. ΠΠ°ΡΠΈΠ΅Π½ΡΠΎΠ² ΠΊΠΎΠ½ΡΡΠ»ΡΡΠΈΡΡΡΡ Π²ΡΡΠΎΠΊΠΎΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΡΠΏΡΠ°Π²Π»ΡΡΡΠΈΠ΅ΡΡ Ρ Π½Π΅ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠΈΡΡΠ°ΡΠΈΡΠΌΠΈ. ΠΠΎΡΡΡΠΏΠ½Ρ ΠΏΡΠΎΡΠ΅Π΄ΡΡΡ ΠΎΡΠ±Π΅Π»ΠΈΠ²Π°Π½ΠΈΡ Π·ΡΠ±ΠΎΠ², ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Π²ΠΈΠ½ΠΈΡΠΎΠ², ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΈ Π½Π΅ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΡΠΈΠ½ΡΡΠ»ΠΈΡΡΠΈΠ½Π³ ΠΈ ΠΌΠ΅ΡΠΎΠ΄ΠΈΠΊΠΈ All-on-4/6.
Erstellt am 12/31/25 um 08:45:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cuguinoth schrieb:
Π ΠΏΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½ΠΎΠΌ ΠΠ»ΠΈΠ½Ρ ΡΡΠΏΠ΅ΡΠ½ΠΎ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΠ°Π΄ΠΎΠ²ΡΠΉ ΡΠ΅Π½ΡΡ "ΠΡΡ Π‘Π²ΠΎΡ", Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΠΎΠ³ΡΠΎΠΌΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ ΡΠ°ΠΆΠ΅Π½ΡΠ΅Π² ΡΡΡΠΊΡΠΎΠ²ΡΡ
Π΄Π΅ΡΠ΅Π²ΡΠ΅Π² ΠΈ ornamentalΠ½ΡΡ
ΠΊΡΠ»ΡΡΡΡ, ΠΏΡΠ΅ΠΊΡΠ°ΡΠ½ΠΎ ΠΏΡΠΈΡΠΏΠΎΡΠΎΠ±Π»Π΅Π½Π½ΡΡ
ΠΊ ΡΠ΅Π³ΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΌΡ ΠΊΠ»ΠΈΠΌΠ°ΡΡ. ΠΠ΄Π΅ΡΡ Π²Ρ Π½Π°ΠΉΠ΄ΡΡΠ΅ ΡΠ±Π»ΠΎΠ½ΠΈ, Π³ΡΡΡΠΈ, Π²ΠΈΡΠ½ΠΈ, ΡΠ»ΠΈΠ²Ρ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠΊΠ·ΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π²ΡΠΎΠ΄Π΅ ΠΌΠ½ΠΎΠ³ΠΎΡΠΎΡΡΠΎΠ²ΡΡ
Π³ΠΈΠ±ΡΠΈΠ΄ΠΎΠ² ΠΈ ΠΊΠΎΠ»ΠΎΠ½ΠΎΠ²ΠΈΠ΄Π½ΡΡ
ΡΠΎΡΠΌ, Π²ΡΠ΅ Π·ΠΈΠΌΠΎΡΡΠΎΠΉΠΊΠΈΠ΅ ΠΈ Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΊ Π±ΠΎΠ³Π°ΡΠΎΠΌΡ ΡΡΠΎΠΆΠ°Ρ. ΠΡΠΎΠ±ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ ΠΎΡΠ²Π΅Π΄Π΅Π½ΠΎ ΠΊΡΡΡΠ°ΡΠ½ΠΈΠΊΠ°ΠΌ: ΠΌΠ°Π»ΠΈΠ½Π°, ΡΠΌΠΎΡΠΎΠ΄ΠΈΠ½Π°, Π³ΠΎΠ»ΡΠ±ΠΈΠΊΠ°, ΠΆΠΈΠΌΠΎΠ»ΠΎΡΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ornamentalΠ½ΡΠ΅ Π³ΠΎΡΡΠ΅Π½Π·ΠΈΠΈ, ΡΠΎΠ·Ρ, Ρ
Π²ΠΎΠΉΠ½ΡΠ΅ ΠΈ ΠΏΠΈΠΎΠ½Ρ, ΡΠ²ΡΡΠ΅ 500 Π²ΠΈΠ΄ΠΎΠ² ΠΎΡ Π½Π°Π΄ΡΠΆΠ½ΡΡ
ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠΏΡΡΠ½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ, ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ Π΄ΠΎΡΡΠ°Π²ΠΊΠ΅ ΠΈ ΠΏΠΎΡΠ°Π΄ΠΊΠ΅, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΈΡ ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. ΠΠΎΡΠ΅ΡΠΈΡΠ΅ <a href=https://sadovodklin.ru/>https://sadovodklin.ru/</a> ΡΡΠΎΠ±Ρ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ, Π°ΠΊΡΠΈΡΠΌΠΈ ΠΈ ΡΠΎΡΡΠΌΠΎΠΌ, Π³Π΄Π΅ Π΄Π΅Π»ΡΡΡΡ ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΡΠ°Π΄ΠΎΠΌ Π² ΡΡΡΠΎΠ²ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΡΠ΅Π²Π΅ΡΠ° Π ΠΎΡΡΠΈΠΈ, ΠΈ ΡΠ΄Π΅Π»Π°ΠΉΡΠ΅ Π·Π°ΠΊΠ°Π· ΠΏΡΡΠΌΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΈΠ»ΠΈ ΠΏΠΎ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ Π΄Π»Ρ ΡΠ°ΠΌΠΎΠ²ΡΠ²ΠΎΠ·Π°.
Erstellt am 12/31/25 um 12:55:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Antoniocoick schrieb:
<a href=https://vc.ru/migration/133...>Π·Π΄Π΅ΡΡ</a> ΠΠΎ Π²ΠΈΠ·Π° β ΡΡΠΎ ΡΠΎΠ»ΡΠΊΠΎ Π½Π°ΡΠ°Π»ΠΎ. ΠΡ ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΏΠΎ Π°Π΄Π°ΠΏΡΠ°ΡΠΈΠΈ Π² ΠΡΠΏΠ°Π½ΠΈΠΈ. ΠΡ ΠΏΠΎΠΌΠΎΡΠΈ Π² ΠΏΠΎΠΈΡΠΊΠ΅ ΠΆΠΈΠ»ΡΡ ΠΈ ΠΎΡΠΊΡΡΡΠΈΠΈ Π±Π°Π½ΠΊΠΎΠ²ΡΠΊΠΎΠ³ΠΎ ΡΡΠ΅ΡΠ° Π΄ΠΎ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ ΠΊΡΡΡΠΎΠ² ΠΈΡΠΏΠ°Π½ΡΠΊΠΎΠ³ΠΎ ΡΠ·ΡΠΊΠ° ΠΈ Π·Π½Π°ΠΊΠΎΠΌΡΡΠ²Π° Ρ ΠΌΠ΅ΡΡΠ½ΠΎΠΉ ΠΊΡΠ»ΡΡΡΡΠΎΠΉ. ΠΡ ΡΡΡΠ΅ΠΌΠΈΠΌΡΡ, ΡΡΠΎΠ±Ρ Π²Π°Ρ ΠΏΠ΅ΡΠ΅Π΅Π·Π΄ Π±ΡΠ» ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ ΠΈ Π±Π΅ΡΠΏΡΠΎΠ±Π»Π΅ΠΌΠ½ΡΠΌ.
Erstellt am 12/31/25 um 13:28:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΠ½Π΄Π΅ΠΊΡ ΠΏΠΎΠ³ΠΎΠ΄Π° ΠΊΡΠ°Π±ΠΈ</a> ΡΠΊΡΠΊΡΡΡΠΈΡ 4 ΠΎΡΡΡΠΎΠ²Π° ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/31/25 um 14:27:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cowidoxyNc schrieb:
Β«Π’ΡΡΠ±ΠΏΡΠΎΠΌΒ» ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅Ρ Π΄Π΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π² ΡΡΠ΅ΡΠ΅ ΠΌΠ΅ΡΠ°Π»Π»ΠΎΠΏΡΠΎΠΊΠ°ΡΠ° Ρ 2005 Π³ΠΎΠ΄Π° ΠΈ ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅Ρ ΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ Π²ΡΠ΅Ρ
ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΏΠΎ Π·Π°Π²ΠΎΠ΄ΡΠΊΠΈΠΌ ΡΠ°ΡΡΠ΅Π½ΠΊΠ°ΠΌ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ <a href=https://www.trub-prom.com/>https://www.trub-prom.com/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ: Π±Π΅ΡΡΠΎΠ²Π½ΡΠ΅, ΡΠ»Π΅ΠΊΡΡΠΎΡΠ²Π°ΡΠ½ΡΠ΅, Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠΈΠ΅, ΠΊΠΎΡΠ΅Π»ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠ°ΡΠΎΠΊ ΡΡΠ°Π»ΠΈ ΠΈ ΡΠΈΠΏΠΎΡΠ°Π·ΠΌΠ΅ΡΠΎΠ². ΠΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²Π΅Π΄Π΅Ρ ΠΎΠΏΡΠΎΠ²ΠΎ-ΡΠΎΠ·Π½ΠΈΡΠ½ΡΡ ΡΠΎΡΠ³ΠΎΠ²Π»Ρ ΡΠΎ ΡΠΊΠ»Π°Π΄Π° Π² ΡΡΠΎΠ»ΠΈΡΠ΅ Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠΈΡΠΎΠ²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π Π€, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠ΅ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΈ Π²ΡΡΠΎΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ.
Erstellt am 12/31/25 um 18:45:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΎΡΠ΄ΡΡ
Π½Π° ΠΊΡΠ°Π±ΠΈ</a> ΠΎΠ±Π΅Π·ΡΡΠ½Ρ ΠΊΡΠ°Π±ΠΈ
Erstellt am 12/31/25 um 21:45:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jahehedeway schrieb:
ΠΡΠ΅ΡΠ΅ Π»ΡΡΡΠΈΠΉ Π°Π²ΡΠΎ ΡΠ΅ΡΠ²ΠΈΡ Π² ΠΠΈΠ΅Π²Π΅? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ <a href=https://bs-service.com.ua/>https://bs-service.com.ua/</a> - ΡΠ°ΠΌ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ Π°ΠΌΠΎΡΡΠΈΠ·Π°ΡΠΎΡΠΎΠ², Π° ΡΠ°ΠΊΠΆΠ΅ Π½Π° ΠΏΠ΅ΡΠ΅ΠΏΡΠΎΡΠΈΠ²ΠΊΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ. Π£Π·Π½Π°ΠΉΡΠ΅ Π½Π°ΡΠΈ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ Π½Π° ΡΠ°ΠΉΡΠ΅, ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΠ»Π΅Π·Π½ΡΠ΅ ΡΠΎΠ²Π΅ΡΡ ΠΎΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² BS Service.
Erstellt am 01/01/26 um 01:05:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mumohBer schrieb:
ΠΡΠΎΡΠΡΡΠ΄ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΏΠΎΡΡΠ°Π²ΠΊΠ°Ρ
ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ Π΄Π»Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠ²Π½ΡΡ
ΠΏΡΡΠ΄ΠΎΠ² ΠΈ Π²ΠΎΠ΄ΠΎΠ΅ΠΌΠΎΠ² Π»ΡΠ±ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://profprud.ru>https://profprud.ru/</a> Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ ΡΠΎΠ²Π°ΡΠΎΠ²: ΠΎΡ ΠΏΠ»Π΅Π½ΠΎΡΠ½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΈ Π³ΠΎΡΠΎΠ²ΡΡ
ΡΠΎΡΠΌ Π΄ΠΎ ΡΠΈΡΡΠ΅ΠΌ ΡΠΈΠ»ΡΡΡΠ°ΡΠΈΠΈ, Π½Π°ΡΠΎΡΠ½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ, ΡΠΊΠΈΠΌΠΌΠ΅ΡΠΎΠ² ΠΈ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² Π΄Π΅ΠΊΠΎΡΠ° Π΄Π»Ρ Π²ΠΎΠ΄ΠΎΠ΅ΠΌΠΎΠ². Π‘ΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²ΠΎ Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ ΠΈΠ· ΠΠ΅ΡΠΌΠ°Π½ΠΈΠΈ, Π‘Π¨Π ΠΈ Π΄ΡΡΠ³ΠΈΡ
ΡΡΡΠ°Π½ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ Π΄ΠΎ 10 Π»Π΅Ρ.
Erstellt am 01/01/26 um 03:22:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
balettBug schrieb:
Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅Ρ ΡΡΠ΅Π±ΡΠ΅Ρ Π½Π΅ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΡΠ΅ΡΠΈΡΠ½ΡΡ
, Π½ΠΎ ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΡ
ΡΠ΅ΡΠ΅Π½ΠΈΠΉ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΊΠΎΠ³Π΄Π° ΡΠ΅ΡΡ ΠΈΠ΄Π΅Ρ ΠΎ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡΡ
Ρ ΠΏΠΎΠ²ΡΡΠ΅Π½Π½ΠΎΠΉ Π²Π»Π°ΠΆΠ½ΠΎΡΡΡΡ ΠΈΠ»ΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΡΡ ΡΠΊΡΡΡΡ ΠΊΠΎΠΌΠΌΡΠ½ΠΈΠΊΠ°ΡΠΈΠΈ. Π Π΅Π΅ΡΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ»ΠΊΠΈ ΠΈΠ· Π°Π»ΡΠΌΠΈΠ½ΠΈΡ ΠΈ ΡΡΠ°Π»ΠΈ Π·Π°Π²ΠΎΠ΅Π²Π°Π»ΠΈ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΡ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ, ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΠΈ ΠΊ ΠΊΠΎΡΡΠΎΠ·ΠΈΠΈ ΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΡ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΡ
Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² β ΠΎΡ ΠΊΠ»Π°ΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π΄ΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
ΡΡΠΈΠ»Π΅ΠΉ Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠ²Π΅ΡΠΎΠ²ΠΎΠΉ Π³Π°ΠΌΠΌΠΎΠΉ. ΠΠΈΠΆΠ΅Π³ΠΎΡΠΎΠ΄ΡΠΊΠ°Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡ ΠΏΠΎΡΠΎΠ»ΠΎΡΠ½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ Π±ΡΠ΅Π½Π΄ΠΎΠ² ΠΠ°ΡΠ΄ ΠΈ Cesal, Π²ΠΊΠ»ΡΡΠ°ΡΡΠΈΠ΅ Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠ΅ ΡΠ»Π΅ΠΌΠ΅Π½ΡΡ Π΄Π»Ρ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎΠΉ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ Π±Π΅Π· ΠΏΡΠΈΠ²Π»Π΅ΡΠ΅Π½ΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://potolki-52.ru/>https://potolki-52.ru/</a> Π΄ΠΎΡΡΡΠΏΠ΅Π½ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΊΠ°Π»ΡΠΊΡΠ»ΡΡΠΎΡ Π΄Π»Ρ ΡΠ°ΡΡΠ΅ΡΠ° ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ ΠΏΠΎΠ΄ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΠ΅ ΡΠ°Π·ΠΌΠ΅ΡΡ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΡ
ΠΈ Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² ΠΌΠΎΠ½ΡΠ°ΠΆΠ°. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΠ΅Π³ΡΠ»ΠΈΡΠΎΠ²ΠΊΠΈ Π²ΡΡΠΎΡΡ ΠΎΡ ΠΏΡΡΠΈ Π΄ΠΎ Π΄Π΅ΡΡΡΠΈ ΡΠ°Π½ΡΠΈΠΌΠ΅ΡΡΠΎΠ² ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°ΡΡ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΡ ΠΏΠΎΠ΄ Π»ΡΠ±ΡΠ΅ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΊΠ²Π°ΡΡΠΈΡΡ ΠΈΠ»ΠΈ ΠΏΡΠ΅Π΄Π±Π°Π½Π½ΠΈΠΊΠ°.
Erstellt am 01/01/26 um 07:45:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΡΠ°ΡΠ²Π°Π΄ΠΈ ΠΊΡΠ°Π±ΠΈ ΡΠ°ΠΉΠ»Π°Π½Π΄</a> ΠΏΠ΅ΡΠ΅Π΅Π·Π΄ Π½Π° ΠΊΡΠ°Π±ΠΈ
Erstellt am 01/01/26 um 09:12:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>Π΄ΠΎΠ΅Ρ
Π°ΡΡ Π±Π°Π½Π³ΠΊΠΎΠΊ ΠΊΡΠ°Π±ΠΈ</a> ΠΏΠ»ΡΠΆ Π°ΠΎ Π½Π°Π½Π³ ΠΊΡΠ°Π±ΠΈ
Erstellt am 01/01/26 um 16:29:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vezivmJotly schrieb:
ΠΠΎΠ±ΠΈΠ»ΡΠ½ΡΠΉ Π³Π΅ΠΉΠΌΠΈΠ½Π³ Π΄Π°Π²Π½ΠΎ ΠΏΡΠ΅Π²ΡΠ°ΡΠΈΠ»ΡΡ ΠΈΠ· ΡΠ°Π·Π²Π»Π΅ΡΠ΅Π½ΠΈΡ Π² ΡΠ΅ΡΡΠ΅Π·Π½ΠΎΠ΅ ΡΠ²Π»Π΅ΡΠ΅Π½ΠΈΠ΅ ΠΌΠΈΠ»Π»ΠΈΠΎΠ½ΠΎΠ² Π»ΡΠ΄Π΅ΠΉ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΌΠΈΡΡ. ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΡΠΌΠ°ΡΡΡΠΎΠ½ΠΎΠ² Π°ΠΊΡΠΈΠ²Π½ΠΎ ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡ ΠΈΠ³ΡΠΎΠ²ΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠΈ ΡΡΡΡΠΎΠΉΡΡΠ², ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ Π»ΠΈΠ½Π΅ΠΉΠΊΠΈ Ρ ΠΌΠΎΡΠ½ΡΠΌΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΎΡΠ°ΠΌΠΈ ΠΈ ΡΠ»ΡΡΡΠ΅Π½Π½ΡΠΌ ΠΎΡ
Π»Π°ΠΆΠ΄Π΅Π½ΠΈΠ΅ΠΌ. ΠΠΎΡΡΠ°Π» GameBox ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΈΠ» ΠΎΠ±ΡΡΠΎΡΡΠ΅Π»ΡΠ½ΡΡ ΠΏΠΎΠ΄Π±ΠΎΡΠΊΡ ΠΈΠ³ΡΠΎΠ²ΡΡ
ΡΠΌΠ°ΡΡΡΠΎΠ½ΠΎΠ² Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ
Π±ΡΠ΄ΠΆΠ΅ΡΠΎΠ² β ΠΎΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΡ
ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ Π΄ΠΎ ΡΠ»Π°Π³ΠΌΠ°Π½ΡΠΊΠΈΡ
ΡΠ΅ΡΠ΅Π½ΠΈΠΉ ΡΠΈΠΏΠ° Black Shark ΠΈ Asus ROG. ΠΠΊΡΠΏΠ΅ΡΡΡ ΠΏΡΠΎΠ°Π½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π»ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π² ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ
ΠΈΠ³ΡΠ°Ρ
Π²ΡΠΎΠ΄Π΅ PUBG Mobile ΠΈ Genshin Impact. ΠΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠΌ ΠΎΠ±Π·ΠΎΡΠΎΠΌ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎ Π°Π΄ΡΠ΅ΡΡ <a href=https://gamebox.biz/podbork...>https://gamebox.biz/podborka-igrovyh-smartfonov/1000028296/</a> Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΈ ΠΏΠΎ Π²ΡΠ±ΠΎΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡΡΡΠΎΠΉΡΡΠ²Π° Π΄Π»Ρ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ Π³Π΅ΠΉΠΌΠΈΠ½Π³Π°.
Erstellt am 01/01/26 um 17:34:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sajowLok schrieb:
<a href=https://mixtum.online/>https://mixtum.online/</a> is a premium Bitcoin mixer that will provide you with an unrivaled level of anonymity. Learn more about all our advantages on our website and try out our new mixing mode with unique processing parameters. We offer a free trial and no registration required.
Erstellt am 01/01/26 um 17:34:17
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
moyijScutt schrieb:
Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΌΠ°Π³Π°Π·ΠΈΠ½ <a href=https://tvoyprud.ru/>https://tvoyprud.ru/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΠΎΠ±ΡΡΡΡΠΎΠΉΡΡΠ²Π° ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΡΡ
Π²ΠΎΠ΄ΠΎΠ΅ΠΌΠΎΠ²: Π±ΡΡΠΈΠ»ΠΊΠ°ΡΡΡΠΊΠΎΠ²ΡΠ΅ ΠΈ ΠΠΠ₯ ΠΏΠ»Π΅Π½ΠΊΠΈ, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΏΡΡΠ΄Ρ, Π½Π°ΡΠΎΡΡ Π΄Π»Ρ ΡΠΎΠ½ΡΠ°Π½ΠΎΠ² ΠΈ Π²ΠΎΠ΄ΠΎΠΏΠ°Π΄ΠΎΠ² Π²Π΅Π΄ΡΡΠΈΡ
Π±ΡΠ΅Π½Π΄ΠΎΠ² OASE, Jebao, Messner, ΡΠΈΡΡΠ΅ΠΌΡ ΡΠΈΠ»ΡΡΡΠ°ΡΠΈΠΈ ΠΈ Π°ΡΡΠ°ΡΠΈΠΈ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ°, Π±ΠΎΠ³Π°ΡΡΠΉ Π²ΡΠ±ΠΎΡ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ ΠΈ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΡ
Π΄Π»Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡ ΡΠ΅Π°Π»ΠΈΠ·ΠΎΠ²Π°ΡΡ ΡΠΎΠ²Π΅ΡΡΠ΅Π½Π½ΡΠΉ ΡΠ°Π΄ΠΎΠ²ΡΠΉ Π²ΠΎΠ΄ΠΎΠ΅ΠΌ Π»ΡΠ±ΠΎΠ³ΠΎ ΡΡΠΎΠ²Π½Ρ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ.
Erstellt am 01/01/26 um 18:13:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ ΠΊΠ°ΠΊΠ°Ρ ΡΡΡΠ°Π½Π°</a> ΠΊΡΠ°Π±ΠΈ Π² Π½ΠΎΡΠ±ΡΠ΅ Π² ΡΠ°ΠΉΠ»Π°Π½Π΄Π΅
Erstellt am 01/01/26 um 19:49:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΎΠ»ΠΈΠΌΠΏΡΡ Π΄Π΅ΠΌΠΎ Π² ΡΡΠ±Π»ΡΡ schrieb:
Nimbus-market.ru Π΄Π°Π΅Ρ ΡΠ΅ΡΠΊΠΎΠ΅ ΠΏΠΎΠ½ΠΈΠΌΠ°Π½ΠΈΠ΅, ΠΊΠ°ΠΊ ΡΠΎΡΠΌΠΈΡΡΡΡΡΡ Π²ΡΠΈΠ³ΡΡΡΠ½ΡΠ΅ ΠΊΠΎΠΌΠ±ΠΈΠ½Π°ΡΠΈΠΈ.
ΠΡΠΎ Π²Π°ΠΆΠ½ΠΎ Π΄Π»Ρ ΠΎΡΠ΅Π½ΠΊΠΈ ΡΠ°Π½ΡΠΎΠ²
ΠΡΠΎ Π²Π°ΠΆΠ½ΠΎ Π΄Π»Ρ ΠΎΡΠ΅Π½ΠΊΠΈ ΡΠ°Π½ΡΠΎΠ²
Erstellt am 01/01/26 um 20:00:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
aviator game schrieb:
Π’Π΅ΠΊΡΡ ΡΠ°ΠΉΡΠ° ΠΎΠ±ΡΡΡΠ½ΡΠ΅Ρ, ΡΡΠΎ Π²Π°ΠΆΠ½ΠΎ
Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΡΠ»Π΅Π΄ΠΈΡΡ Π·Π° Π³ΡΠ°ΡΠΈΠΊΠΎΠΌ ΠΈ ΠΌΠ½ΠΎΠΆΠΈΡΠ΅Π»Π΅ΠΌ.
Π²Π½ΠΈΠΌΠ°ΡΠ΅Π»ΡΠ½ΠΎ ΡΠ»Π΅Π΄ΠΈΡΡ Π·Π° Π³ΡΠ°ΡΠΈΠΊΠΎΠΌ ΠΈ ΠΌΠ½ΠΎΠΆΠΈΡΠ΅Π»Π΅ΠΌ.
Erstellt am 01/01/26 um 20:19:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
big bass bonanza slot schrieb:
Π‘Π°ΠΉΡ ΠΏΠΎΠ΄ΡΡΡΠΊΠΈΠ²Π°Π΅Ρ, ΡΡΠΎ ΡΠ΅ΡΠΈΡ Big Bass
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΡΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΌ ΠΏΡΠΎΠ²Π°ΠΉΠ΄Π΅ΡΠΎΠΌ Pragmatic
Play
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΡΡ ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΌ ΠΏΡΠΎΠ²Π°ΠΉΠ΄Π΅ΡΠΎΠΌ Pragmatic
Play
Erstellt am 01/01/26 um 20:37:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
site schrieb:
ΠΡΠ΅Π½ΠΊΠΈ ΡΠ΅ΠΉΡΠΈΠ½Π³Π° Π΄Π°ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΠΎ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΠΈ ΠΊΠ°Π·ΠΈΠ½ΠΎ
Erstellt am 01/01/26 um 22:32:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vagursat schrieb:
Π ΡΡΠ΅ΡΠ΅ Π°Π²ΡΠΎΡΡΠ½ΠΈΠ½Π³Π° ΠΌΠΎΡΠΊΠΎΠ²ΡΠΊΠ°Ρ ΡΡΡΠ΄ΠΈΡ "Individual Design" ΠΏΠΎΠ·ΠΈΡΠΈΠΎΠ½ΠΈΡΡΠ΅Ρ ΡΠ΅Π±Ρ ΠΊΠ°ΠΊ Π²Π΅Π΄ΡΡΠΈΠΉ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡ Π² ΠΎΠΊΠ»Π΅ΠΉΠΊΠ΅ ΠΌΠ°ΡΠΈΠ½ ΠΏΠ»Π΅Π½ΠΊΠΎΠΉ, ΠΎΡ Π·Π°ΡΠΈΡΠ½ΡΡ
Π°Π½ΡΠΈΠ³ΡΠ°Π²ΠΈΠΉΠ½ΡΡ
ΠΏΠΎΠΊΡΡΡΠΈΠΉ Π΄ΠΎ ΡΡΠΊΠΈΡ
ΡΠ²Π΅ΡΠΎΠ²ΡΡ
ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ Ρ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΡΠΌΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌΠΈ ΡΠΈΠΏΠ° LLumar, SunTek ΠΈ 3M. Π ΡΡΠΎΠΉ ΡΡΡΠ΄ΠΈΠΈ ΠΎΠΏΡΡΠ½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ Π·Π° ΡΠ°ΡΡ ΠΏΡΠ΅ΠΎΠ±ΡΠ°ΠΆΠ°ΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΉ ΠΊΡΠ·ΠΎΠ² Π² Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΎΠ±ΡΠ΅ΠΊΡ, Π΄Π°Π²Π°Ρ Π½Π΅ ΠΏΡΠΎΡΡΠΎ Π²ΠΈΠ·ΡΠ°Π»ΡΠ½ΡΠΉ Π°ΠΏΠ³ΡΠ΅ΠΉΠ΄, Π½ΠΎ ΠΈ ΠΊΡΠ΅ΠΏΠΊΡΡ ΠΎΠ±ΠΎΡΠΎΠ½Ρ ΠΎΡ ΠΏΠΎΠ²ΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠΉ, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ Π΄Π»Ρ ΠΆΠ΅ΡΡΠΊΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ° ΠΠΎΡΠΊΠ²Ρ; ΠΏΠ»Π΅Π½ΠΊΠ° Π²ΠΈΠ½ΠΈΠ»ΠΎΠ²Π°Ρ ΠΈΠ»ΠΈ ΠΏΠΎΠ»ΠΈΡΡΠ΅ΡΠ°Π½ΠΎΠ²Π°Ρ ΠΏΡΠΎΡΡΠΎ ΠΊΠ»Π΅ΠΈΡΡΡ ΠΈ ΡΠ΄Π°Π»ΡΠ΅ΡΡΡ Π±Π΅Π· ΠΎΡΡΠ°ΡΠΊΠ°, ΠΏΡΠ΅Π²ΠΎΡΡ
ΠΎΠ΄Ρ ΠΏΠΎΠΊΡΠ°ΡΠΊΡ Π² ΡΠ΄ΠΎΠ±ΡΡΠ²Π΅, Ρ ΡΠ΅Π½Π°ΠΌΠΈ, ΡΠ°Π΄ΡΡΡΠΈΠΌΠΈ Π³ΠΈΠ±ΠΊΠΎΡΡΡΡ ΠΈ Π±ΠΎΠ½ΡΡΠ°ΠΌΠΈ Π΄Π»Ρ Π»ΠΎΡΠ»ΡΠ½ΡΡ
ΠΏΠΎΡΠ΅ΡΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠ»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Π² ΠΏΠΎΠΈΡΠΊΠ΅ ΠΏΠ΅ΡΠ²ΠΎΠΊΠ»Π°ΡΡΠ½ΠΎΠ³ΠΎ Π΄Π΅ΡΠ΅ΠΉΠ»ΠΈΠ½Π³Π° Π² ΡΠ°ΠΉΠΎΠ½Π΅ ΠΠ΅ΡΠΎΡΡΠΎΠ²ΠΎ, Π²ΡΠ΅Π³ΠΎ ΠΏΡΡΡ ΠΌΠΈΠ½ΡΡ ΠΎΡ Π’Π’Π, ΡΡΠΎΠΈΡ ΠΏΠΎΡΠ΅ΡΠΈΡΡ <a href=https://individual-design.ru/>https://individual-design.ru/</a> β Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΡΠ΅Π½Π½ΠΈΠΊΠΎΠΌ, ΠΏΠΎΡΡΡΠΎΠ»ΠΈΠΎ ΠΈ ΠΏΡΠΎΡΡΠΎΠΉ Π±ΡΠΎΠ½ΡΡ, ΠΏΡΠ΅Π²ΡΠ°ΡΠ°ΡΡΠ΅ΠΉ Π»ΡΠ±ΠΎΠΉ Π·Π°ΠΊΠ°Π· Π² ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ masterpiece.
Erstellt am 01/02/26 um 02:59:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GeraldEncog schrieb:
<a href=https://t.me/KohLantaKrabiT...>ΠΊΡΠ°Π±ΠΈ krabi aonang paradise resort 4</a> ΠΊΡΠΏΠΈΡΡ Π·Π°ΠΌΠΎΠΊ ΡΠΊΠ»Π°Π΄ΡΠ²Π°Π½ΠΈΡ ΡΠ°ΠΌΡ Π²Π΅Π»ΠΎΡΠΈΠΏΠ΅Π΄Π° ΡΡΠ»ΡΡ ΠΊΡΠ°Π±ΠΈ
Erstellt am 01/02/26 um 04:07:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Willieabupe schrieb:
<a href=https://t.me/nvonews>Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΈ</a> ΠΠΠΠΠ‘Π’Π ΠΠΠΠΠ’ΠΠΠ Π Π½ΠΎΠ²ΠΎΡΡΡΡ
ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΈ β Π²ΡΠ±ΠΎΡΡ, Π΄Π΅Π±Π°ΡΡ, ΠΏΡΠΈΠ½ΡΡΠΈΠ΅ Π½ΠΎΠ²ΡΡ
Π·Π°ΠΊΠΎΠ½ΠΎΠ², ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΠ΅ ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ, ΠΏΠΎΠ»ΠΈΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠΊΠ°Π½Π΄Π°Π»Ρ, ΡΠΌΠ΅Π½Π° ΠΏΡΠ°Π²ΠΈΡΠ΅Π»ΡΡΡΠ²Π° ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π²Π°ΠΆΠ½ΡΠ΅ ΡΠΎΠ±ΡΡΠΈΡ. ΠΠΎΠ²ΠΎΡΡΠΈ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΈ ΠΎΡΡΠ°ΠΆΠ°ΡΡ Π±ΠΎΡΡΠ±Ρ Π·Π° Π²Π»Π°ΡΡΡ ΠΈ Π²Π»ΠΈΡΠ½ΠΈΠ΅ Π² ΠΎΠ±ΡΠ΅ΡΡΠ²Π΅.
Erstellt am 01/02/26 um 04:45:54
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynevog schrieb:
<a href=https://t.me/obucheniexrumer>xrumer ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ</a> ΠΠ°Π·Ρ Xrumer 23 ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ
Erstellt am 01/02/26 um 05:59:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Willieabupe schrieb:
<a href=https://t.me/nvonews>Π΄ΠΌΠΈΡΡΠΈΠΉ Π½ΠΈΠΊΠΎΡΠΈΠ½</a> ΠΠΠΠΠΠ‘ΠΠΠ ΠΡΠ΅Π·ΠΈΠ΄Π΅Π½Ρ Π£ΠΊΡΠ°ΠΈΠ½Ρ ΠΠ»Π°Π΄ΠΈΠΌΠΈΡ ΠΠ΅Π»Π΅Π½ΡΠΊΠΈΠΉ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠ°Π΅Ρ Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠΈΠ»ΠΈΡ, Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½Π½ΡΠ΅ Π½Π° ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΠΎΠΉ ΠΏΠΎΠΌΠΎΡΠΈ ΠΈ ΡΡΠΈΠ»Π΅Π½ΠΈΠ΅ Π΄Π°Π²Π»Π΅Π½ΠΈΡ Π½Π° Π ΠΎΡΡΠΈΡ. ΠΠ½ ΠΏΡΠΎΠ²Π΅Π» ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΡ Ρ Π»ΠΈΠ΄Π΅ΡΠ°ΠΌΠΈ ΡΡΠ΄Π° ΡΡΡΠ°Π½, Π²ΡΡΡΡΠΏΠ°Ρ Π·Π° ΠΏΠΎΡΡΠ°Π²ΠΊΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ Π²ΠΎΠΎΡΡΠΆΠ΅Π½ΠΈΡ ΠΈ ΡΠΊΡΠ΅ΠΏΠ»Π΅Π½ΠΈΠ΅ ΡΠ°Π½ΠΊΡΠΈΠΉ ΠΏΡΠΎΡΠΈΠ² Π ΠΎΡΡΠΈΠΈ. ΠΠ½ΡΡΡΠΈ ΡΡΡΠ°Π½Ρ ΠΠ΅Π»Π΅Π½ΡΠΊΠΈΠΉ ΡΠΎΡΡΠ΅Π΄ΠΎΡΠΎΡΠ΅Π½ Π½Π° ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΠΈ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΠΊΠΈ ΠΈ ΡΠΎΡΠΈΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΡΡΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ Π½Π° ΠΏΡΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠΈ ΡΠ΅ΡΠΎΡΠΌ, Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΡ
Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ Π² ΠΠ²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΉ ΡΠΎΡΠ·.
Erstellt am 01/02/26 um 07:03:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
muvopsomia schrieb:
ΠΠ»Π°Π½ΠΈΡΡΠ΅ΡΠ΅ ΠΎΡΠ΄ΡΡ
Π½Π° Π§Π΅ΡΠ½ΠΎΠΌΠΎΡΡΠΊΠΎΠΌ ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ ΠΈ Ρ
ΠΎΡΠΈΡΠ΅ ΡΠ²ΠΎΠ±ΠΎΠ΄Π½ΠΎ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠ³Π°ΡΡΡΡ ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΎΠΊΡΠ΅ΡΡΠ½ΠΎΡΡΡΠΌ? ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ CarTrip ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π²ΡΠ±ΠΎΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΡ ΠΏΠΎ ΠΠ½Π°ΠΏΠ΅ ΠΈ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΡΠΊΠΎΠΌΡ ΠΊΡΠ°Ρ. Π ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΌΠΎΠ΄Π΅Π»ΠΈ Π½Π° Π»ΡΠ±ΠΎΠΉ Π²ΠΊΡΡ ΠΈ Π±ΡΠ΄ΠΆΠ΅Ρ: ΠΎΡ ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΠ½ΡΡ
Datsun On-Do Π΄ΠΎ ΡΡΠΈΠ»ΡΠ½ΡΡ
Skoda Rapid Ρ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΠΊΠΎΡΠΎΠ±ΠΊΠΎΠΉ ΠΏΠ΅ΡΠ΅Π΄Π°Ρ. ΠΡΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ Π°ΡΠ΅Π½Π΄ΡΡΡΡΡ Π±Π΅Π· Π·Π°Π»ΠΎΠ³Π°, ΡΡΠΎ Π΄Π΅Π»Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΡΡΠΌ ΠΈ ΡΠ΄ΠΎΠ±Π½ΡΠΌ. ΠΠΎΡΠΌΠΎΡΡΠ΅ΡΡ ΠΏΠΎΠ»Π½ΡΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΌΠΎΠΆΠ½ΠΎ Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://auto-arenda-anapa.r...>https://auto-arenda-anapa.ru/nashi-avto/</a> Π³Π΄Π΅ ΡΠΊΠ°Π·Π°Π½Ρ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡ. ΠΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° ΠΌΠ΅Π½Π΅Π΄ΠΆΠ΅ΡΠΎΠ² ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ Π²ΡΠ±ΡΠ°ΡΡ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ ΠΎΡΠΏΡΡΠΊΠ°.
Erstellt am 01/02/26 um 09:10:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hiyumBrask schrieb:
ΠΠ½Π»Π°ΠΉΠ½-ΠΊΠΈΠ½ΠΎΡΠ΅Π°ΡΡ <a href=https://rosseriaall.net/>https://rosseriaall.net/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΏΡΠΎΡΠΌΠΎΡΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π±Π΅Π· ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ. ΠΠ°Π·Π° ΡΠΎΠ΄Π΅ΡΠΆΠΈΡ ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π»Π΅Π½ΡΡ, Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ ΡΠ°ΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ, ΠΊΡΠΈΠΌΠΈΠ½Π°Π», Π²ΠΎΠ΅Π½Π½ΡΡ ΡΠ΅ΠΌΠ°ΡΠΈΠΊΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΉΠ½ΡΠ΅ ΠΈ ΡΡΠΈΠ»Π»Π΅ΡΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠ°Π½ΡΠ°ΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ ΠΊΠ°ΡΡΠΈΠ½Ρ Ρ ΠΏΡΠΎΡΡΠΎΠΉ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠ΅ΠΉ ΠΏΠΎ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡΠΌ ΠΈ ΠΏΠ΅ΡΠΈΠΎΠ΄Π°ΠΌ Π²ΡΠΏΡΡΠΊΠ°. ΠΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΌΠΈΠ½ΡΠ²ΡΠΈΡ
ΡΠ΅Π·ΠΎΠ½ΠΎΠ² ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΏΡΠ΅ΠΌΡΠ΅ΡΡ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ Π³ΠΎΠ΄Π°. ΠΠΎΡΡΠΎΡΠ½Π½ΠΎΠ΅ ΠΏΠΎΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ ΠΈ ΡΠ΄ΠΎΠ±Π½Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ° ΠΏΠΎΠΈΡΠΊΠ° Π΄Π°ΡΡ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎ ΠΎΠ±Π½Π°ΡΡΠΆΠΈΡΡ Π½ΡΠΆΠ½ΡΠΉ ΡΠ΅ΡΠΈΠ°Π» ΠΈ Π·Π°ΠΏΡΡΡΠΈΡΡ Π΅Π³ΠΎ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ.
Erstellt am 01/02/26 um 10:11:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pixandMot schrieb:
ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ <a href=https://priority-auto.ru/>https://priority-auto.ru/</a> - ΠΌΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠΈΠΌ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΊΠΎΡΠ΅ΠΉΡΠΊΠΈΠ΅, ΠΊΠΈΡΠ°ΠΉΡΠΊΠΈΠ΅, ΡΠΏΠΎΠ½ΡΠΊΠΈΠ΅ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ ΠΈ ΠΌΠΎΡΠΎΡΠΈΠΊΠ»Ρ Ρ ΡΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΉ Π²ΡΠ³ΠΎΠ΄ΠΎΠΉ, Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠΎΠΌ Π½Π° Π°ΡΠΊΡΠΈΠΎΠ½Π°Ρ
ΠΈ Π±ΡΡΡΡΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π Π€. Π£Π·Π½Π°ΠΉΡΠ΅ ΠΎΠ±ΠΎ Π²ΡΠ΅Ρ
Π½Π°ΡΠΈΡ
ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°Ρ
Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΈΠ»ΠΈ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ ΠΎΠΏΡΠΈΠ΅ΠΉ "ΡΠ°ΡΡΡΠΈΡΠ°ΡΡ ΡΡΠΎΠΈΠΌΠΎΡΡΡ" - Π³Π΄Π΅ Π²Ρ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΠΊΠΎΠ½Π΅ΡΠ½ΡΡ ΡΡΠΎΠΈΠΌΠΎΡΡΡ Π°Π²ΡΠΎ. ΠΠΎΠ΄Π±Π΅ΡΠ΅ΠΌ Π°Π²ΡΠΎ ΠΏΠΎΠ΄ Π²Π°Ρ Π±ΡΠ΄ΠΆΠ΅Ρ, Π²ΡΡΠ»Π΅ΠΌ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ ΡΡΠΎΠΈΠΌΠΎΡΡΡ ΠΈ ΡΠ°ΡΡΠΊΠ°ΠΆΠ΅ΠΌ, ΠΊΠ°ΠΊ Π±ΡΠ΄Π΅ΠΌ Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ.
Erstellt am 01/02/26 um 11:37:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
betaskiz schrieb:
Nomad Cars <a href=https://nomadcars.net/>https://nomadcars.net/</a> β Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ Π² ΠΈΠΌΠΏΠΎΡΡΠ΅ Π°Π²ΡΠΎ ΠΈΠ· ΠΠΈΡΠ°Ρ. ΠΠΎΡΡΠ°Π²Π»ΡΠ΅ΠΌ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΠΈ Π½Π°ΠΏΡΡΠΌΡΡ Ρ Π·Π°Π²ΠΎΠ΄ΠΎΠ² ΠΈ Π°ΡΠΊΡΠΈΠΎΠ½ΠΎΠ² Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ ΠΌΠΈΡΠ°! ΠΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ, ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ ΠΏΠΎΠ»Π½ΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΠΊΠΈ.
Erstellt am 01/02/26 um 13:29:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynevog schrieb:
<a href=https://t.me/obucheniexrumer>ΠΠ°Π·Ρ Π₯ΡΡΠΌΠ΅Ρ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ</a> ΠΠ°Π·Ρ ΠΏΡΠΎΠ±ΠΈΡΡΠ΅ Xrumer
Erstellt am 01/02/26 um 16:08:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kulovKaf schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Noblelift Equipment JSC Ltd. Π·Π°ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π»Π° ΡΠ΅Π±Ρ ΠΊΠ°ΠΊ ΠΌΠΈΡΠΎΠ²ΠΎΠΉ Π»ΠΈΠ΄Π΅Ρ ΠΏΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Ρ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΠΌΠΎΠ΄Π΅Π»ΡΠ½ΡΠΌ ΡΡΠ΄ΠΎΠΌ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ Π΄Π»Ρ Π»ΠΎΠ³ΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π·Π°Π΄Π°Ρ. Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠ΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²ΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ <a href=https://nobleliftrussia.ru>https://nobleliftrussia.ru</a> ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ², ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ², ΡΠ΅Π»Π΅ΠΆΠ΅ΠΊ ΠΈ ΡΠ±ΠΎΡΠΎΡΠ½ΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Ρ ΡΠ°ΡΡΠΈΡΠ΅Π½Π½ΠΎΠΉ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ Π΄ΠΎ 36 ΠΌΠ΅ΡΡΡΠ΅Π². ΠΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΠ΅Ρ ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ EAC, CE ΠΈ ISO 9001, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ Π² Π±ΠΎΠ»Π΅Π΅ ΡΠ΅ΠΌ ΡΡΠ° Π³ΠΎΡΡΠ΄Π°ΡΡΡΠ²Π°Ρ
, Π΄Π΅ΠΌΠΎΠ½ΡΡΡΠΈΡΡΡ Π½Π΅ΠΏΡΠ΅Π²Π·ΠΎΠΉΠ΄Π΅Π½Π½ΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ.
Erstellt am 01/02/26 um 18:08:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ryboxeEmurn schrieb:
Exeed Π² Π‘ΠΠ± Ρ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π΄ΠΈΠ»Π΅ΡΠ° ΠΠΠ’ <a href=https://exeed-iat.ru/>https://exeed-iat.ru/</a> - ΡΡΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΡΠ΅Π½Ρ ΠΈ Π°Π²ΡΠΎ Π² Π½Π°Π»ΠΈΡΠΈΠΈ, Π° ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ. Π£Π·Π½Π°ΠΉΡΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΌΠΎΠ΄Π΅Π»ΡΠ½ΡΠΉ ΡΡΠ΄, Π½Π°ΡΠΈ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° ΠΈ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. Π¦Π΅Π½Ρ, ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΠΈ ΠΈ ΠΌΠΎΠ΄Π΅Π»ΡΠ½ΡΠΉ ΡΡΠ΄ Π½Π° ΡΠ°ΠΉΡΠ΅, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΡΠ΅ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ, ΡΡΠ΅ΠΉΠ΄-ΠΈΠ½, Π»ΠΈΠ·ΠΈΠ½Π³, ΡΠΊΠΈΠ΄ΠΊΠΈ ΠΈ Π°ΠΊΡΠΈΠΈ, ΡΠ΅ΡΡ-Π΄ΡΠ°ΠΉΠ²!
Erstellt am 01/02/26 um 18:19:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
nipemmem schrieb:
ΠΡΠ±ΠΈΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΊΠΈΠ½ΠΎ Ρ Π·Π°Ρ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΠΌΠΈ ΡΡΠΆΠ΅ΡΠ°ΠΌΠΈ ΠΈ ΡΡΠΊΠΈΠΌΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°ΠΆΠ°ΠΌΠΈ? ΠΠΎΡΡΠ°Π» Rosseriaall ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΎΠ±ΡΠΈΡΠ½ΡΡ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½-ΠΏΡΠΎΡΠΌΠΎΡΡΠ° Π² Π»ΡΠ±ΠΎΠ΅ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ. ΠΠ°ΡΠ°Π»ΠΎΠ³ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ 2025 Π³ΠΎΠ΄Π° ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ Π²ΡΠ΅ΠΌΠ΅Π½Π΅ΠΌ ΠΏΡΠΎΠ΅ΠΊΡΡ, ΡΡΡΡΠΊΡΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΠΎ ΠΆΠ°Π½ΡΠ°ΠΌ: ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΡ, Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Ρ, ΠΊΡΠΈΠΌΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ, Π²ΠΎΠ΅Π½Π½ΡΠ΅ Π΄ΡΠ°ΠΌΡ, ΠΊΠΎΠΌΠ΅Π΄ΠΈΠΈ ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://rosseriaall.net/>https://rosseriaall.net/</a> Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΊΠ°ΠΊ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΠΌΠ½ΠΎΠ³ΠΎΡΠ΅Π·ΠΎΠ½Π½ΡΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ Π²ΡΠΎΠ΄Π΅ "Π’Π°ΠΉΠ½Ρ ΡΠ»Π΅Π΄ΡΡΠ²ΠΈΡ", ΡΠ°ΠΊ ΠΈ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΏΡΠ΅ΠΌΡΠ΅ΡΡ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ Π³ΠΎΠ΄Π°. Π£Π΄ΠΎΠ±Π½Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π±ΡΡΡΡΠΎ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΊΠΎΠ½ΡΠ΅Π½Ρ ΠΏΠΎ Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΡ, Π° ΡΠ΅Π³ΡΠ»ΡΡΠ½ΡΠ΅ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΠ°ΠΌΡΠΌ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌ ΡΠ΅Π»ΠΈΠ·Π°ΠΌ ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ΅Π»Π΅Π²ΠΈΠ΄Π΅Π½ΠΈΡ.
Erstellt am 01/02/26 um 18:56:41
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
videgiextic schrieb:
BTB Connect β ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²ΠΎ Π΄Π΅Π»ΠΎΠ²ΡΡ
ΡΠ²ΡΠ·Π΅ΠΉ ΠΈ Π½ΠΎΠ²ΠΎΡΡΠ΅ΠΉ Π±ΠΈΠ·Π½Π΅ΡΠ° <a href=https://btbconnect.ru/>https://btbconnect.ru/</a> - ΠΠ°ΠΏΡΡΠ΅Π½Π° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π΄Π»Ρ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ ΠΈ ΡΠ°ΡΠΏΡΠΎΡΡΡΠ°Π½Π΅Π½ΠΈΡ ΠΏΡΠ΅ΡΡ-ΡΠ΅Π»ΠΈΠ·ΠΎΠ². ΠΡΠΎΠ΅ΠΊΡ ΠΎΡΠΈΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½ Π½Π° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΈΡΡΡ Π½ΠΎΠ²ΡΠ΅ ΡΠΎΡΠΌΠ°ΡΡ Π΄Π΅Π»ΠΎΠ²ΠΎΠ³ΠΎ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²Π°, ΠΏΠ°ΡΡΠ½ΡΡΠΎΠ² ΠΈ ΠΌΠ΅Π΄ΠΈΠΉΠ½ΠΎΠ΅ ΠΏΡΠΈΡΡΡΡΡΠ²ΠΈΠ΅. BTB Connect ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ Π±ΠΈΠ·Π½Π΅Ρ ΠΈ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ, ΡΠΎΠ·Π΄Π°Π²Π°Ρ ΠΎΡΠ½ΠΎΠ²Ρ Π΄Π»Ρ Π΄Π°Π»ΡΠ½Π΅ΠΉΡΠ΅Π³ΠΎ ΡΠΎΡΡΠ° ΠΈ Π²Π·Π°ΠΈΠΌΠΎΠ΄Π΅ΠΉΡΡΠ²ΠΈΡ.
Erstellt am 01/02/26 um 19:24:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynevog schrieb:
<a href=https://t.me/obucheniexrumer>xrumer ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ</a> xrumer 23 ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ
Erstellt am 01/02/26 um 21:59:34
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cuguinoth schrieb:
Π ΡΠ΅ΡΠ΄ΡΠ΅ ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²ΡΡ, Π² ΠΠ»ΠΈΠ½Ρ, ΠΏΡΠΎΡΠ²Π΅ΡΠ°Π΅Ρ ΡΠ°Π΄ΠΎΠ²ΡΠΉ ΠΏΠΈΡΠΎΠΌΠ½ΠΈΠΊ "ΠΡΡ Π‘Π²ΠΎΡ", ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡΠΈΠΉ ΠΎΠ±ΡΠΈΡΠ½ΡΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠ°ΠΆΠ΅Π½ΡΠ΅Π² ΠΏΠ»ΠΎΠ΄ΠΎΠ²ΡΡ
Π΄Π΅ΡΠ΅Π²ΡΠ΅Π² ΠΈ Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠ²Π½ΡΡ
ΡΠ°ΡΡΠ΅Π½ΠΈΠΉ, ΠΈΠ΄Π΅Π°Π»ΡΠ½ΠΎ Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
ΠΊ ΠΌΠ΅ΡΡΠ½ΠΎΠΌΡ ΠΊΠ»ΠΈΠΌΠ°ΡΡ. Π Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½ΡΠ΅ ΠΈΠΌΠ΅ΡΡΡΡ ΡΠ±Π»ΠΎΠ½ΠΈ, Π³ΡΡΡΠΈ, Π²ΠΈΡΠ½ΠΈ, ΡΠ»ΠΈΠ²Ρ, ΠΏΠ»ΡΡ Π½Π΅ΠΎΠ±ΡΡΠ½ΡΠ΅ ΠΌΠ½ΠΎΠ³ΠΎΡΠΎΡΡΠΎΠ²ΡΠ΅ Π³ΠΈΠ±ΡΠΈΠ΄Ρ ΠΈ ΠΊΠΎΠ»ΠΎΠ½ΠΎΠ²ΠΈΠ΄Π½ΡΠ΅ Π²ΠΈΠ΄Ρ, Π²ΡΠ΅ ΡΡΡΠΎΠΉΡΠΈΠ²ΡΠ΅ ΠΊ ΠΌΠΎΡΠΎΠ·Π°ΠΌ ΠΈ ΠΎΠ±Π΅ΡΠ°ΡΡΠΈΠ΅ ΠΎΠ±ΠΈΠ»ΡΠ½ΡΠΉ ΡΡΠΎΠΆΠ°ΠΉ. ΠΡΠΎΠ±ΠΎΠ΅ ΠΌΠ΅ΡΡΠΎ ΠΎΡΠ²Π΅Π΄Π΅Π½ΠΎ ΠΊΡΡΡΠ°ΡΠ½ΠΈΠΊΠ°ΠΌ: ΠΌΠ°Π»ΠΈΠ½Π°, ΡΠΌΠΎΡΠΎΠ΄ΠΈΠ½Π°, Π³ΠΎΠ»ΡΠ±ΠΈΠΊΠ°, ΠΆΠΈΠΌΠΎΠ»ΠΎΡΡΡ, Π° ΡΠ°ΠΊΠΆΠ΅ ornamentalΠ½ΡΠ΅ Π³ΠΎΡΡΠ΅Π½Π·ΠΈΠΈ, ΡΠΎΠ·Ρ, Ρ
Π²ΠΎΠΉΠ½ΡΠ΅ ΠΈ ΠΏΠΈΠΎΠ½Ρ, ΡΠ²ΡΡΠ΅ 500 Π²ΠΈΠ΄ΠΎΠ² ΠΎΡ Π½Π°Π΄ΡΠΆΠ½ΡΡ
ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠΏΡΡΠ½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ, ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ Π΄ΠΎΡΡΠ°Π²ΠΊΠ΅ ΠΈ ΠΏΠΎΡΠ°Π΄ΠΊΠ΅, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΡΠ°ΡΡΠ΅Π½ΠΈΡ ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. ΠΠΎΡΠ΅ΡΠΈΡΠ΅ <a href=https://sadovodklin.ru/>https://sadovodklin.ru/</a> ΡΡΠΎΠ±Ρ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ, Π°ΠΊΡΠΈΡΠΌΠΈ ΠΈ ΡΠΎΡΡΠΌΠΎΠΌ, Π³Π΄Π΅ Π΄Π΅Π»ΡΡΡΡ ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΡΠ°Π΄ΠΎΠΌ Π² ΡΡΡΠΎΠ²ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΡΠ΅Π²Π΅ΡΠ° Π ΠΎΡΡΠΈΠΈ, ΠΈ ΡΠ΄Π΅Π»Π°ΠΉΡΠ΅ Π·Π°ΠΊΠ°Π· ΠΏΡΡΠΌΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ ΠΈΠ»ΠΈ ΠΏΠΎ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ Π΄Π»Ρ ΡΠ°ΠΌΠΎΠ²ΡΠ²ΠΎΠ·Π°.
Erstellt am 01/02/26 um 22:24:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ducasHed schrieb:
Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠ»ΠΈΠ½ΠΈΠΊΠ° "ΠΠΈΠ½Π΄Π΅Ρ ΠΠ΅Π½Ρ" Π² ΠΡΠ±Π΅ΡΡΠ°Ρ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π΄Π΅ΡΡΠΊΠΎΠΉ ΠΈ Π²Π·ΡΠΎΡΠ»ΠΎΠΉ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΠ΄ Π½Π°ΡΠΊΠΎΠ·ΠΎΠΌ. <a href=https://kinder-dent-lyubert...>https://kinder-dent-lyubertsy.ru/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³: ΠΎΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΉ Π³ΠΈΠ³ΠΈΠ΅Π½Ρ ΠΈ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΊΠ°ΡΠΈΠ΅ΡΠ° Π΄ΠΎ ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΠΈ, ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΠΎΡΡΠΎΠ΄ΠΎΠ½ΡΠΈΠΈ. Π¦Π΅Π½ΡΡ ΡΠ°ΡΠΏΠΎΠ»Π°Π³Π°Π΅Ρ Π½ΠΎΠ²Π΅ΠΉΡΠ΅ΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΎΠΉ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ ΡΠΈΡΡΠ΅ΠΌΠΎΠΉ Vector Π΄Π»Ρ ΠΏΠ°ΡΠΎΠ΄ΠΎΠ½ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΏΡΠΎΡΠ΅Π΄ΡΡ. ΠΠ°ΡΠΈΠ΅Π½ΡΠΎΠ² ΠΊΠΎΠ½ΡΡΠ»ΡΡΠΈΡΡΡΡ Π²ΡΡΠΎΠΊΠΎΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ, ΡΠΏΡΠ°Π²Π»ΡΡΡΠΈΠ΅ΡΡ Ρ Π½Π΅ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌΠΈ ΡΠΈΡΡΠ°ΡΠΈΡΠΌΠΈ. ΠΠΎΡΡΡΠΏΠ½Ρ ΠΏΡΠΎΡΠ΅Π΄ΡΡΡ ΠΎΡΠ±Π΅Π»ΠΈΠ²Π°Π½ΠΈΡ Π·ΡΠ±ΠΎΠ², ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Π²ΠΈΠ½ΠΈΡΠΎΠ², ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΈ Π½Π΅ΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΏΡΠΎΡΠ΅Π·ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΡΠΈΠ½ΡΡΠ»ΠΈΡΡΠΈΠ½Π³ ΠΈ ΠΌΠ΅ΡΠΎΠ΄ΠΈΠΊΠΈ All-on-4/6.
Erstellt am 01/03/26 um 02:39:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynevog schrieb:
<a href=https://t.me/obucheniexrumer>ΠΠ°Π·Ρ Π₯ΡΡΠΌΠ΅Ρ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ</a> ΠΠ°Π·Ρ Xrumer 19
Erstellt am 01/03/26 um 04:39:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Waynevog schrieb:
<a href=https://t.me/obucheniexrumer>xrumer</a> xrumer ΡΠΊΠ°ΡΠ°ΡΡ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌ
Erstellt am 01/03/26 um 10:16:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΡΠ΅ΠΌ ΠΏΡΠΈΠ²Π΅Ρ.
ΠΠ°ΡΠ΅Π» ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΠΈΠ½ΡΡ ΠΏΡΠΎ Wintech Japan.
ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Ρ ΠΊΠ°ΡΡΠ΅ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ Π²ΠΎΠ·Π²ΡΠ°ΡΠ΅Π½ΠΈΡ β ΡΡΠΎ ΠΏΠ»ΡΡ.
ΠΠ°ΡΠ΅Π» ΡΡΠΎ ΡΡΡ:
<a href=https://ishq.de/>ΡΠ°ΠΉΡ kraken darknet</a>
Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ.
ΠΠ°ΡΠ΅Π» ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΠΈΠ½ΡΡ ΠΏΡΠΎ Wintech Japan.
ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ° Ρ ΠΊΠ°ΡΡΠ΅ΡΠΎΠΉ ΠΏΠΎΡΠ»Π΅ Π²ΠΎΠ·Π²ΡΠ°ΡΠ΅Π½ΠΈΡ β ΡΡΠΎ ΠΏΠ»ΡΡ.
ΠΠ°ΡΠ΅Π» ΡΡΠΎ ΡΡΡ:
<a href=https://ishq.de/>ΡΠ°ΠΉΡ kraken darknet</a>
Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ.
Erstellt am 01/03/26 um 11:53:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bewuler schrieb:
ΠΡΠ΅ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π΄Π»Ρ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π±Π΅ΡΠΎΠ½Π°, Π³ΠΈΠ΄ΡΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΠΈ ΠΈ ΠΌΠΎΠ½ΡΠ°ΠΆΠ°? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ <a href=https://xn--80abutqu5e.xn--...>https://xn--80abutqu5e.xn--p1ai/</a> - ΠΎΠ·Π½Π°ΠΊΠΎΠΌΡΡΠ΅ΡΡ Ρ Π½Π°ΡΠΈΠΌ ΡΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ, Π² ΠΊΠΎΡΠΎΡΠΎΠΌ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π²ΡΠ΅ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠ΅ Π΄Π»Ρ Π²Π°Ρ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΠΈ Π±ΡΡΡΡΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π³ΡΡΠ·ΠΎΠ² Π±ΠΎΠ»ΡΡΠΈΡ
ΠΈ ΠΌΠ°Π»ΡΡ
ΠΎΠ±ΡΠ΅ΠΌΠΎΠ². Π Π°Π±ΠΎΡΠ°Π΅ΠΌ Ρ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΠΈΠΌΠΈ ΠΈ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΈΠΌΠΈ Π»ΠΈΡΠ°ΠΌΠΈ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° ΡΠ°ΠΉΡΠ΅.
Erstellt am 01/03/26 um 18:12:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΠΎΠ±ΡΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΡΡΠΎΠΊ ΡΠΎΡΡΠΌΡΠ°Π½Π΅.
ΠΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ.
ΠΠ½ΠΈ ΠΊΠ°ΠΆΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ.
ΠΠ°ΡΠ΅Π½ΠΈΡΠ΅ ΠΈΡ ΡΠ°ΠΉΡ ΡΡΡ:
<a href=https://www.gzrally.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΠΎΠ½ΠΈΠΎΠ½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
Π‘ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ.
ΠΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΡΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ.
ΠΠ½ΠΈ ΠΊΠ°ΠΆΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ.
ΠΠ°ΡΠ΅Π½ΠΈΡΠ΅ ΠΈΡ ΡΠ°ΠΉΡ ΡΡΡ:
<a href=https://www.gzrally.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΠΎΠ½ΠΈΠΎΠ½ Π·Π΅ΡΠΊΠ°Π»ΠΎ</a>
Π‘ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ.
Erstellt am 01/03/26 um 23:43:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΠ΄Π°ΡΠΎΠ²Π° Π½Π°ΡΠΎΠ΄.
ΠΠ°ΡΠ΅Π» ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΠΈΠ½ΡΡ ΠΏΡΠΎ Wintech Japan.
ΠΠ½ΠΈ Π²ΡΠΈΠ³ΡΠ°Π»ΠΈ Π½Π°Π³ΡΠ°Π΄Ρ Star Agency Award.
Π‘ΡΡΠ»ΠΊΠ° Π½Π° ΠΈΡΡΠΎΡΠ½ΠΈΠΊ:
<a href=https://www.gzrally.com/>ΠΊΡΠ°ΠΊΠ΅Π½ darknet</a>
Π₯ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ.
ΠΠ°ΡΠ΅Π» ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΠΈΠ½ΡΡ ΠΏΡΠΎ Wintech Japan.
ΠΠ½ΠΈ Π²ΡΠΈΠ³ΡΠ°Π»ΠΈ Π½Π°Π³ΡΠ°Π΄Ρ Star Agency Award.
Π‘ΡΡΠ»ΠΊΠ° Π½Π° ΠΈΡΡΠΎΡΠ½ΠΈΠΊ:
<a href=https://www.gzrally.com/>ΠΊΡΠ°ΠΊΠ΅Π½ darknet</a>
Π₯ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ.
Erstellt am 01/04/26 um 00:18:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Luthernic schrieb:
ΡΡΠ°ΡΡΠΎΠ²Π°Π» Π½Π°Ρ Π½ΠΎΠ²ΡΠΉ <a href=https://utgardtv.com/>https://utgardtv.com</a> IPTV?ΡΠ΅ΡΠ²ΠΈΡ, ΡΠΎΠ·Π΄Π°Π½Π½ΡΠΉ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎ Π΄Π»Ρ Π·ΡΠΈΡΠ΅Π»Π΅ΠΉ ΠΈΠ· Π‘ΠΠ ΠΈ ΠΠ²ΡΠΎΠΏΡ! Π±ΠΎΠ»Π΅Π΅ 2900+ ΡΠ΅Π»Π΅ΠΊΠ°Π½Π°Π»ΠΎΠ² Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ (HD / UHD / 4K). ΠΠ°ΠΊΠ΅ΡΡ ΠΏΠΎ ΡΠ΅Π³ΠΈΠΎΠ½Π°ΠΌ: Π ΠΎΡΡΠΈΡ, Π£ΠΊΡΠ°ΠΈΠ½Π°, ΠΠ΅Π»Π°ΡΡΡΡ, ΠΠ°Π²ΠΊΠ°Π·, ΠΠ²ΡΠΎΠΏΠ°, ΠΠ·ΠΈΡ. Π€ΠΈΠ»ΡΠΌΡ, Π‘ΠΏΠΎΡΡ, ΠΡΠ·ΡΠΊΠ°, ΠΠ΅ΡΠΈ, ΠΠΎΠ·Π½Π°Π²Π°ΡΠ΅Π»ΡΠ½ΡΠ΅. ΠΡΠ΄Π΅Π»ΡΠ½ΡΠΉ ΠΏΠ°ΠΊΠ΅Ρ 18+
Erstellt am 01/04/26 um 16:10:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
musboom schrieb:
ΠΡΠ΅ΡΡ ΠΌΡΠ·ΡΠΊΡ? <a href=https://musboom.com/>ΡΠΊΠ°ΡΠ°ΡΡ ΠΌΡΠ·ΡΠΊΡ 2026 Π³ΠΎΠ΄Π°</a> ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠ΅ ΡΡΠ΅ΠΊΠΈ, Π½ΠΎΠ²ΡΠ΅ ΡΠ΅Π»ΠΈΠ·Ρ, ΠΏΠ»Π΅ΠΉΠ»ΠΈΡΡΡ ΠΏΠΎ ΠΆΠ°Π½ΡΠ°ΠΌ ΠΈ Π½Π°ΡΡΡΠΎΠ΅Π½ΠΈΡ. Π£Π΄ΠΎΠ±Π½ΡΠΉ ΠΏΠ»Π΅Π΅Ρ, ΠΏΠΎΠΈΡΠΊ ΠΏΠΎ ΠΈΡΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠΌ ΠΈ Π°Π»ΡΠ±ΠΎΠΌΠ°ΠΌ, ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ Π·Π²ΡΠΊΠ°. ΠΠΊΠ»ΡΡΠ°ΠΉΡΠ΅ ΠΌΡΠ·ΡΠΊΡ Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ.
Erstellt am 01/04/26 um 19:11:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΡΠ΅ΠΌ ΠΏΡΠΈΠ²Π΅Ρ.
ΠΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ IT ΠΊΡΡΡΡ Π½Π° Π€ΠΈΠ»ΠΈΠΏΠΏΠΈΠ½Π°Ρ .
ΠΠ½ΠΈ ΠΊΠ°ΠΆΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ.
ΠΡΡΠΎΡΠ½ΠΈΠΊ:
<a href=https://ishq.de/>kraken Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΡΠ»ΠΊΠΈ</a>
Π‘ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ.
ΠΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ IT ΠΊΡΡΡΡ Π½Π° Π€ΠΈΠ»ΠΈΠΏΠΏΠΈΠ½Π°Ρ .
ΠΠ½ΠΈ ΠΊΠ°ΠΆΡΡΡΡ ΠΎΡΠ΅Π½Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ.
ΠΡΡΠΎΡΠ½ΠΈΠΊ:
<a href=https://ishq.de/>kraken Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΡΡΠ»ΠΊΠΈ</a>
Π‘ ΡΠ²Π°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ.
Erstellt am 01/04/26 um 20:56:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΎΡΠ»ΠΎΠ² Π·ΠΌΠ΅ΠΉ ΠΌΠΎΡΠΊΠ²Π° schrieb:
Π‘ΠΠ‘ β Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½ΡΡ Π² ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΠΈ ΡΠ°Π½ΠΈΡΠ°ΡΠ½ΠΎΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ
Erstellt am 01/05/26 um 01:22:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
production company schrieb:
need a video? <a href=https://film-production-com...>location scouting in italy</a> offering full-cycle services: concept, scripting, filming, editing and post-production. Commercials, corporate videos, social media content and branded storytelling. Professional crew, modern equipment and a creative approach tailored to your goals.
Erstellt am 01/05/26 um 07:51:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
production company schrieb:
need a video? <a href=https://film-production-com...>milan production house</a> offering full-cycle services: concept, scripting, filming, editing and post-production. Commercials, corporate videos, social media content and branded storytelling. Professional crew, modern equipment and a creative approach tailored to your goals.
Erstellt am 01/05/26 um 07:51:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
RandallNains schrieb:
<a href=https://unibetsru.com/bonus... >ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄Ρ Π±ΡΠΊΠΌΠ΅ΠΊΠ΅ΡΠΎΠ²</a> ΠΠΎΠ½ΡΡΡ Π±ΡΠΊΠΌΠ΅ΠΊΠ΅ΡΠΎΠ²: ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° ΠΏΡΠΈΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΡ
ΠΈ Π΄ΡΡΠ³ΠΈΡ
Π±ΠΎΠ½ΡΡΠΎΠ².
Erstellt am 01/05/26 um 07:53:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MiltonNut schrieb:
<a href=https://rutube.ru/channel/3...>Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ ΠΠΠΠ</a> Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ Ρ ΠΠΠΠ: ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎΠ΅ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΠ΅ ΠΊΠ»Π°ΡΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΠΏΡΠΎΡ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ°. ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠΎΡΠΎΠ±ΠΊΠ° ΠΏΠ΅ΡΠ΅Π΄Π°Ρ ΠΏΡΠ΅Π²ΡΠ°ΡΠ°Π΅Ρ ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ Π»Π΅Π³Π΅Π½Π΄Π°ΡΠ½ΡΠΌ Π²Π½Π΅Π΄ΠΎΡΠΎΠΆΠ½ΠΈΠΊΠΎΠΌ Π² ΡΠ΄ΠΎΠ²ΠΎΠ»ΡΡΡΠ²ΠΈΠ΅, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π² ΡΠ»ΠΎΠΆΠ½ΡΡ
Π³ΠΎΡΠΎΠ΄ΡΠΊΠΈΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΈ Π½Π° ΠΏΠ΅ΡΠ΅ΡΠ΅ΡΠ΅Π½Π½ΠΎΠΉ ΠΌΠ΅ΡΡΠ½ΠΎΡΡΠΈ. ΠΡΠΎΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΡΠΎΠ·Π΄Π°Π½ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ Π½Π΅ Π±ΠΎΠΈΡΡΡ ΡΡΡΠ΄Π½ΠΎΡΡΠ΅ΠΉ ΠΈ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ±ΠΎΠ΄Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ. Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ ΠΠΠΠ ΠΎΠ±Π»Π°Π΄Π°Π΅Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΠΎΠΉ Π²ΡΠ΅ΠΌΠ΅Π½Π΅ΠΌ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠ΅ΠΉ, ΠΏΡΠΎΡΡΠΎΡΠ½ΡΠΌ ΡΠ°Π»ΠΎΠ½ΠΎΠΌ, Π²ΠΌΠ΅ΡΡΠΈΡΠ΅Π»ΡΠ½ΡΠΌ Π±Π°Π³Π°ΠΆΠ½ΠΈΠΊΠΎΠΌ ΠΈ ΠΌΠΎΡΠ½ΡΠΌ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Π΅ΠΌ, Π³ΠΎΡΠΎΠ²ΡΠΌ ΠΊ Π»ΡΠ±ΡΠΌ ΠΈΡΠΏΡΡΠ°Π½ΠΈΡΠΌ. ΠΡ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ Ρ Π»Π΅Π³ΠΊΠΎΡΡΡΡ ΠΏΡΠ΅ΠΎΠ΄ΠΎΠ»Π΅Π²Π°ΡΡ Π±Π΅Π·Π΄ΠΎΡΠΎΠΆΡΠ΅, ΡΡΠ²ΡΡΠ²ΡΡ ΡΠ΅Π±Ρ ΡΠ²Π΅ΡΠ΅Π½Π½ΠΎ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎ Π·Π° ΡΡΠ»Π΅ΠΌ. Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ Ρ ΠΠΠΠ β ΡΡΠΎ Π²Π°Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΉ ΠΏΠ°ΡΡΠ½Π΅Ρ Π² Π»ΡΠ±ΡΡ
ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΡΡ
, Π±ΡΠ΄Ρ ΡΠΎ ΠΏΠΎΠ΅Π·Π΄ΠΊΠ° Π½Π° ΡΡΠ±Π°Π»ΠΊΡ, ΠΎΡ
ΠΎΡΡ ΠΈΠ»ΠΈ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠ΅ ΠΏΠΎ Π΄ΠΈΠΊΠΈΠΌ ΠΌΠ΅ΡΡΠ°ΠΌ. ΠΠ½ Π³ΠΎΡΠΎΠ² ΠΊ Π»ΡΠ±ΡΠΌ ΠΈΡΠΏΡΡΠ°Π½ΠΈΡΠΌ ΠΈ ΡΡΠ°Π½Π΅Ρ Π½Π΅Π·Π°ΠΌΠ΅Π½ΠΈΠΌΡΠΌ ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊΠΎΠΌ Π² Π²Π°ΡΠ΅ΠΉ Π°ΠΊΡΠΈΠ²Π½ΠΎΠΉ ΠΆΠΈΠ·Π½ΠΈ.
Erstellt am 01/05/26 um 08:00:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bovupamTrory schrieb:
Π ΠΎΡΡΠΈΠΉΡΠΊΠΎΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΡΠ½Π°ΡΡΠΆΠ΅Π½ΠΈΡ Π΄Π»Ρ Π°ΠΊΡΠΈΠ²Π½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° Π·Π°Π²ΠΎΠ΅Π²ΡΠ²Π°Π΅Ρ ΠΏΡΠΈΠ·Π½Π°Π½ΠΈΠ΅ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠΎΡΠ΅ΡΠ°Π½ΠΈΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°, Π°Π΄Π°ΠΏΡΠ°ΡΠΈΠΈ ΠΊ ΡΡΡΠΎΠ²ΡΠΌ ΠΊΠ»ΠΈΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠΌ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌ ΠΈ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΠΉ ΡΠ΅Π½ΠΎΠ²ΠΎΠΉ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠΈ, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π²Π°ΠΆΠ½ΠΎ Π΄Π»Ρ Π»ΡΠ±ΠΈΡΠ΅Π»Π΅ΠΉ ΡΡΠ±Π°Π»ΠΊΠΈ ΠΈ ΠΎΡ
ΠΎΡΡ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Novatex ΠΈΠ· ΠΠΊΠ°ΡΠ΅ΡΠΈΠ½Π±ΡΡΠ³Π° ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π²ΡΠΏΡΡΠΊΠ΅ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΉ ΠΎΠ΄Π΅ΠΆΠ΄Ρ ΠΈ ΡΠΊΠΈΠΏΠΈΡΠΎΠ²ΠΊΠΈ, ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½Π½ΠΎΠΉ Ρ ΡΡΠ΅ΡΠΎΠΌ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΠΉ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ² outdoor-Π°ΠΊΡΠΈΠ²Π½ΠΎΡΡΠ΅ΠΉ β ΠΎΡ ΠΊΠΎΡΡΡΠΌΠΎΠ² ΠΈ ΠΊΡΡΡΠΎΠΊ Π΄ΠΎ ΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π±ΠΎΡΠΈΠ½ΠΎΠΊ ΡΠ΅ΡΠΈΠΈ 7.62, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡΠΈΡ
Π½Π°Π΄Π΅ΠΆΠ½ΡΡ Π·Π°ΡΠΈΡΡ Π² ΡΠΊΡΡΡΠ΅ΠΌΠ°Π»ΡΠ½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
. ΠΠ° ΠΏΠΎΡΡΠ°Π»Π΅ <a href=https://nova-tex.ru/>https://nova-tex.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠΎΠ²Π°ΡΠΎΠ²: ΡΠ΅ΡΠΌΠΎΠ±Π΅Π»ΡΠ΅, Π·Π°Π±ΡΠΎΠ΄Π½ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡ, ΡΡΠΊΠ·Π°ΠΊΠΈ, ΠΏΠ°Π»Π°ΡΠΊΠΈ, ΡΠΏΠ°Π»ΡΠ½ΡΠ΅ ΠΌΠ΅ΡΠΊΠΈ ΠΈ Π°ΠΊΡΠ΅ΡΡΡΠ°ΡΡ, Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠ΅ Π΄Π»Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠ΅Π±ΡΠ²Π°Π½ΠΈΡ Π½Π° ΠΏΡΠΈΡΠΎΠ΄Π΅ Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π³ΠΎΠ΄Π°. Π£Π΄ΠΎΠ±Π½Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ° Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΠΎΡ
Π²Π°ΡΡΠ²Π°Π΅Ρ Π±ΠΎΠ»Π΅Π΅ ΠΏΡΡΠΈΠ΄Π΅ΡΡΡΠΈ Π³ΠΎΡΠΎΠ΄ΠΎΠ² Π ΠΎΡΡΠΈΠΈ ΠΎΡ ΠΠ°Π»ΠΈΠ½ΠΈΠ½Π³ΡΠ°Π΄Π° Π΄ΠΎ ΠΠ»Π°Π΄ΠΈΠ²ΠΎΡΡΠΎΠΊΠ°, Π° Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΎΠΏΠ»Π°ΡΡ ΡΠ°ΡΡΡΠΌΠΈ Π΄Π΅Π»Π°Π΅Ρ ΠΏΠΎΠΊΡΠΏΠΊΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΡΠ½Π°ΡΡΠΆΠ΅Π½ΠΈΡ Π΄ΠΎΡΡΡΠΏΠ½ΠΎΠΉ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π±ΡΠ΅Π½Π΄ΠΎΠ² ΠΈ ΡΡΡΠ΅ΠΌΠΈΡΡΡ ΠΊ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠΌΡ ΠΎΡΠ΄ΡΡ
Ρ Π½Π° ΠΏΡΠΈΡΠΎΠ΄Π΅.
Erstellt am 01/05/26 um 08:52:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
NelsonFeara schrieb:
<a href=https://detivetra.com/>ΠΊΠ°ΠΉΡ Ρ
ΡΡΠ³Π°Π΄Π°</a> ΠΊΠ°ΠΉΡ ΡΠΊΠΎΠ»Π° Ρ
ΡΡΠ³Π°Π΄Π°
Erstellt am 01/05/26 um 10:07:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
MiltonNut schrieb:
<a href=https://rutube.ru/channel/3...>Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ ΠΠΠΠ</a> Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ Ρ ΠΠΠΠ: ΠΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ Π²Π½Π΅Π΄ΠΎΡΠΎΠΆΠ½ΠΈΠΊ, ΡΡΠΎ Π»Π΅Π³Π΅Π½Π΄Π°, Π°Π΄Π°ΠΏΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΠΊ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΠΈ ΡΠΏΡΠ°Π²Π»ΡΠ΅ΠΌΠΎΡΡΠΈ. ΠΠ²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΊΠΎΡΠΎΠ±ΠΊΠ° ΠΏΠ΅ΡΠ΅Π΄Π°Ρ, ΠΊΠΎΡΠΎΡΠΎΠΉ ΠΎΡΠ½Π°ΡΠ΅Π½ ΡΡΠΎΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ, Π·Π½Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΡΠΏΡΠΎΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡ Π²ΠΎΠΆΠ΄Π΅Π½ΠΈΡ, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π² ΡΠ»ΠΎΠΆΠ½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΡΡ
Π±Π΅Π·Π΄ΠΎΡΠΎΠΆΡΡ ΠΈ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠ³ΠΎ ΡΡΠ°ΡΠΈΠΊΠ°. ΠΡΠ΅Π΄ΡΡΠ°Π²ΡΡΠ΅ ΡΠ΅Π±Π΅: Π²Ρ Π»Π΅Π³ΠΊΠΎ ΠΏΡΠ΅ΠΎΠ΄ΠΎΠ»Π΅Π²Π°Π΅ΡΠ΅ Π»ΡΠ±ΡΠ΅ ΠΏΡΠ΅ΠΏΡΡΡΡΠ²ΠΈΡ, Π½Π΅ ΠΎΡΠ²Π»Π΅ΠΊΠ°ΡΡΡ Π½Π° ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎΠ΅ ΠΏΠ΅ΡΠ΅ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΏΠ΅ΡΠ΅Π΄Π°Ρ, Π° ΠΏΡΠΎΡΡΠΎ Π½Π°ΡΠ»Π°ΠΆΠ΄Π°Π΅ΡΠ΅ΡΡ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΎΠΉ. ΠΡΠΎΡΡΠΎΡΠ½ΡΠΉ ΡΠ°Π»ΠΎΠ½, Π²ΠΌΠ΅ΡΡΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π±Π°Π³Π°ΠΆΠ½ΠΈΠΊ, Π²ΡΡΠΎΠΊΠΈΠΉ ΠΊΠ»ΠΈΡΠ΅Π½Ρ ΠΈ ΠΌΠΎΡΠ½ΡΠΉ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ Π΄Π΅Π»Π°ΡΡ Π£ΠΠ ΠΠΠ’Π ΠΠΠ’ Ρ ΠΠΠΠ ΠΈΠ΄Π΅Π°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅Π½ΠΈΡ ΡΠ²ΠΎΠ±ΠΎΠ΄Ρ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΠΈ Π½Π΅ Π±ΠΎΠΈΡΡΡ Π²ΡΠ΅Π·ΠΆΠ°ΡΡ Π·Π° ΠΏΡΠ΅Π΄Π΅Π»Ρ Π°ΡΡΠ°Π»ΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ
Π΄ΠΎΡΠΎΠ³. ΠΡ ΡΡΠ±Π°Π»ΠΊΠΈ ΠΈ ΠΎΡ
ΠΎΡΡ Π΄ΠΎ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ
ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ ΠΈ ΡΠΊΡΡΡΠ΅ΠΌΠ°Π»ΡΠ½ΡΡ
ΠΏΡΠΈΠΊΠ»ΡΡΠ΅Π½ΠΈΠΉ β ΡΡΠΎΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΡΠΏΡΠ°Π²ΠΈΡΡΡ Ρ Π»ΡΠ±ΡΠΌΠΈ Π·Π°Π΄Π°ΡΠ°ΠΌΠΈ. ΠΠ΅ ΡΠΏΡΡΡΠΈΡΠ΅ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΡΡΠ°ΡΡ ΠΎΠ±Π»Π°Π΄Π°ΡΠ΅Π»Π΅ΠΌ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΠΈ ΡΠ½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π²Π½Π΅Π΄ΠΎΡΠΎΠΆΠ½ΠΈΠΊΠ°, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΠΎΠ΄Π°ΡΠΈΡ Π²Π°ΠΌ Π½Π΅Π·Π°Π±ΡΠ²Π°Π΅ΠΌΡΠ΅ Π²ΠΏΠ΅ΡΠ°ΡΠ»Π΅Π½ΠΈΡ!
Erstellt am 01/05/26 um 12:25:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kucopeneli schrieb:
Omnigram <a href=https://omnigram.ru/>https://omnigram.ru/</a> β CRM Π² Π’Π΅Π»Π΅Π³ΡΠ°ΠΌΠ΅: ΡΠΎΠ±ΠΈΡΠ°Π΅Ρ Π΄ΠΈΠ°Π»ΠΎΠ³ΠΈ ΠΈΠ· WhatsApp, Avito, Telegram-Π±ΠΎΡΠΎΠ², Gmail ΠΈ Π΄ΡΡΠ³ΠΈΡ
ΠΊΠ°Π½Π°Π»ΠΎΠ² ΠΏΡΡΠΌΠΎ Π² Telegram-Π³ΡΡΠΏΠΏΡ Ρ ΡΠΎΠΏΠΈΠΊΠ°ΠΌΠΈ ΠΏΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°ΠΌ. ΠΠΎΠΌΠ°Π½Π΄Π° ΠΎΡΠ²Π΅ΡΠ°Π΅Ρ Π²ΠΌΠ΅ΡΡΠ΅, Π΄Π΅Π»Π°Π΅Ρ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΠ΅ Π·Π°ΠΌΠ΅ΡΠΊΠΈ, ΡΡΠ°Π²ΠΈΡ ΡΡΠ°ΡΡΡΡ ΡΠ΄Π΅Π»ΠΎΠΊ ΠΊΠΎΠΌΠ°Π½Π΄Π°ΠΌΠΈ (/paid, /closed), ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΠ-ΠΏΠΎΠΌΠΎΡΠ½ΠΈΠΊΠ° ΠΈ Π²Π΅Π±Ρ
ΡΠΊΠΈ/API. Π‘ΡΠ°ΡΡ β Π·Π° ΠΏΠ°ΡΡ ΠΌΠΈΠ½ΡΡ (QR). Π’Π°ΡΠΈΡ ΠΎΡ 1000 ?/ΠΌΠ΅Ρ: 5 000 ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ ΠΈ 1 Π±ΠΎΡ; Π΄Π°Π»ΡΡΠ΅ β pay-as-you-go. Π Π°Π±ΠΎΡΠ°Π΅Ρ Π½Π° Π»ΡΠ±ΠΎΠΌ ΡΡΡΡΠΎΠΉΡΡΠ²Π΅, Π΄ΠΎΡΡΡΠΏ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°Π·Π³ΡΠ°Π½ΠΈΡΠΈΡΡ.
Erstellt am 01/05/26 um 13:28:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
futywloFuh schrieb:
ΠΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΡΠ΅ ΠΏΠΎΠ»Ρ ΡΡΠ΅Π±ΡΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° ΠΊ ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ, ΡΡΡΡΠΎΠΉΡΡΠ²Ρ ΠΈ ΠΏΠΎΡΠ»Π΅Π΄ΡΡΡΠ΅ΠΌΡ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ². ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΠΠΠΠ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠΎΠ·Π΄Π°Π½ΠΈΠΈ ΠΈΠ·Π½ΠΎΡΠΎΡΡΠΎΠΉΠΊΠΈΡ
ΠΏΠΎΠΊΡΡΡΠΈΠΉ Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ², ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π΅Π½Π½ΡΡ
ΡΠ΅Ρ
ΠΎΠ² ΠΈ Π»ΠΎΠ³ΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠΎΠ². ΠΠΎΠ»ΠΈΠΌΠ΅ΡΠ½ΡΠ΅ Π½Π°Π»ΠΈΠ²Π½ΡΠ΅ ΠΏΠΎΠ»Ρ Π²ΡΠ΄Π΅ΡΠΆΠΈΠ²Π°ΡΡ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΡΠ΅ Π½Π°Π³ΡΡΠ·ΠΊΠΈ ΠΈ ΡΠΎΡ
ΡΠ°Π½ΡΡΡ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΎΠ½Π½ΡΠ΅ Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ Π΄ΠΎΠ»Π³ΠΈΠ΅ Π³ΠΎΠ΄Ρ. Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ Π²ΡΠΏΠΎΠ»Π½ΡΡΡ ΡΠ°Π±ΠΎΡΡ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΎΡ Π΄Π²ΡΡ
Π»Π΅Ρ, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΡΠ΅ΡΡΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎΠ± ΡΡΠ»ΡΠ³Π°Ρ
ΠΈ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΡ
ΠΌΠΎΠΆΠ½ΠΎ ΡΠ·Π½Π°ΡΡ Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://mvpol.ru/>https://mvpol.ru/</a> Π² ΡΠ°Π·Π΄Π΅Π»Π΅ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ². ΠΠ΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ Π²ΡΠ΅Π·Π΄ ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ° ΠΈ ΡΠΎΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ ΡΠΌΠ΅ΡΡ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΡΠΎΡΠ½ΠΎ ΡΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π±ΡΠ΄ΠΆΠ΅Ρ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π°.
Erstellt am 01/05/26 um 14:27:53
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gacoqeylow schrieb:
ΠΡΡΠΈΠΊ-ΠΎΡΠ΅Π»Ρ Ρ Π±Π°ΡΡΠ΅ΠΉΠ½ΠΎΠΌ ΠΈ ΡΠΏΠ° Gentalion <a href=https://gentalion.ru/>https://gentalion.ru/</a> Ρ ΠΌΠ΅ΡΡΠΎ ΠΠ΅Π»ΠΎΡΡΡΡΠΊΠ°Ρ Π² ΡΠ΅Π½ΡΡΠ΅ ΠΠΎΡΠΊΠ²Ρ - ΡΡΠΎ ΠΎΡΠ»ΠΈΡΠ½ΡΠ΅ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ Π½ΠΎΠΌΠ΅ΡΠ°, ΠΏΡΠ΅Π²ΠΎΡΡ
ΠΎΠ΄Π½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ Π²ΡΡΠΎΠΊΠΎΠΊΠ»Π°ΡΡΠ½ΠΎΠ΅ ΠΎΡΠ½Π°ΡΠ΅Π½ΠΈΠ΅! ΠΠ°Ρ ΠΎΡΠ΅Π»Ρ Π±Π»ΠΈΠ·ΠΎΠΊ ΠΊ ΠΊΡΠ»ΡΡΡΡΠ½ΡΠΌ ΡΠΎΠΊΡΠΎΠ²ΠΈΡΠ½ΠΈΡΠ°ΠΌ ΡΡΠΎΠ»ΠΈΡΡ: ΠΌΡΠ·Π΅ΡΠΌ ΠΡΠ΅ΠΌΠ»Ρ, ΠΠΎΠ»ΡΡΠΎΠΌΡ ΡΠ΅Π°ΡΡΡ, Π’ΡΠ΅ΡΡΡΠΊΠΎΠ²ΡΠΊΠΎΠΉ Π³Π°Π»Π΅ΡΠ΅Π΅. Π Π°Π΄ΡΡΠΈΠ΅, Π²Π΅ΠΆΠ»ΠΈΠ²ΠΎΡΡΡ ΠΈ Π·Π°Π±ΠΎΡΠ° ΠΎ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°Ρ
ΠΎΠΆΠΈΠ΄Π°ΡΡ Π²Π°Ρ Ρ Π½Π°Ρ Π² Π³ΠΎΡΡΡΡ
!
Erstellt am 01/05/26 um 14:46:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
razygycak schrieb:
ΠΠ°Ρ IT-ΠΏΠΎΡΡΠ°Π» <a href=https://nashkomp.ru/>https://nashkomp.ru/</a> - Π²Π°Ρ Π½Π°Π²ΠΈΠ³Π°ΡΠΎΡ Π² ΠΌΠΈΡΠ΅ Π²ΡΡΠΎΠΊΠΈΡ
ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ. ΠΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎ ΠΏΡΠ±Π»ΠΈΠΊΡΠ΅ΠΌ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΎΡΡΠΈ ΠΈΠ· ΠΆΠΈΠ·Π½ΠΈ ΠΈΠ½Π΄ΡΡΡΡΠΈΠΈ, ΠΎΠ±Π·ΠΎΡΡ ΠΌΠΎΡΠ½ΠΎΠ³ΠΎ ΠΆΠ΅Π»Π΅Π·Π° ΠΈ ΡΠ΅ΡΡΡ Π½ΠΎΠ²Π΅ΠΉΡΠΈΡ
Π³Π°Π΄ΠΆΠ΅ΡΠΎΠ². ΠΠ° ΡΠ°ΠΉΡΠ΅ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π°Π½Π°Π»ΠΈΡΠΈΠΊΡ ΡΡΠ½ΠΊΠ° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ, ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΡΠΊΠΎΠ²ΠΎΠ΄ΡΡΠ²Π° ΠΏΠΎ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΡΠΎΠ²Π΅ΡΡ ΠΏΠΎ ΠΊΠΈΠ±Π΅ΡΠ±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΡ ΠΏΠΈΡΠ΅ΠΌ ΠΏΡΠΎΡΡΠΎ ΠΎ ΡΠ»ΠΎΠΆΠ½ΠΎΠΌ: ΠΎΡ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ Π½Π΅ΠΉΡΠΎΡΠ΅ΡΠ΅ΠΉ Π΄ΠΎ ΡΠ±ΠΎΡΠΊΠΈ ΠΈΠ³ΡΠΎΠ²ΠΎΠ³ΠΎ ΠΠ. ΠΠ°ΡΠ° ΡΠ΅Π»Ρ β ΡΠΎΠ·Π΄Π°ΡΡ ΡΠΊΡΠΏΠ΅ΡΡΠ½ΠΎΠ΅ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ Π΄Π»Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΠΈ ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ². ΠΡΠ΄ΡΡΠ΅ Π² ΠΊΡΡΡΠ΅ Π±ΡΠ΄ΡΡΠ΅Π³ΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ Π²ΠΌΠ΅ΡΡΠ΅ Ρ Π½Π°ΠΌΠΈ!
Erstellt am 01/05/26 um 14:52:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
weyeserels schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xakerforum.com/thre...>Π²Π΅ΡΠ½ΡΡΡ Π΄Π΅Π½ΡΠ³ΠΈ Ρ ΡΡΠ΅ΡΠ°</a>? xakerforum.com/threads/uslugi-xakera-vzlom-tajnaja-slezhka.282/page-6 β ΡΡΠΎ ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅ΡΡΡΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅ΡΡΠ΅Π·Π½ΠΎ ΠΎΡΠ½ΠΎΡΠΈΡΡΡ ΠΊ ΠΊΠΈΠ±Π΅ΡΠ±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ, Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠΈΡΡΠΎΠ²ΡΠΌ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠ°ΠΌ. ΠΠ° ΡΠΎΡΡΠΌΠ΅ ΡΠΎΠ±ΡΠ°Π½Ρ ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ°Π·Π΄Π΅Π»Ρ ΠΏΠΎ Π·Π°ΡΠΈΡΠ΅ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΠΏΠ΅Π½ΡΠ΅ΡΡΡ, Π°Π½Π°Π»ΠΈΠ·Ρ ΡΡΠ·Π²ΠΈΠΌΠΎΡΡΠ΅ΠΉ, ΠΎΠ±Π·ΠΎΡΡ ΠΏΡΠΈΠΊΠ»Π°Π΄Π½ΡΡ
ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ² ΠΈ ΠΆΠΈΠ²ΠΎΠΌΡ ΠΎΠ±ΠΌΠ΅Π½Ρ ΠΎΠΏΡΡΠΎΠΌ ΠΌΠ΅ΠΆΠ΄Ρ ΡΠΊΡΠΏΠ΅ΡΡΠ°ΠΌΠΈ ΠΈ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΠΌΠΈ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎΠΌΡ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Ρ, Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌ Π³Π°ΠΉΠ΄Π°ΠΌ ΠΈ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΠΌ ΠΎΠ±Π·ΠΎΡΠ°ΠΌ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΠΌΠΈΠ½ΡΡ ΠΏΡΡΡΡΠ΅ ΡΠ΅ΠΎΡΠΈΠΈ ΠΈ ΡΡΡΠ°ΡΠ΅Π²ΡΠΈΠ΅ ΡΠΎΠ²Π΅ΡΡ. ΠΠ° ΡΠΎΡΡΠΌΠ΅ ΠΏΠΎΠΎΡΡΡΡΡΡΡ ΡΠΎΡΠ½ΡΠ΅ ΡΠΎΡΠΌΡΠ»ΠΈΡΠΎΠ²ΠΊΠΈ, Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΡΠ΅Π°Π»ΡΠ½ΡΡ
ΠΊΠ΅ΠΉΡΠΎΠ² ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ Π½Π° ΠΏΡΠ°ΠΊΡΠΈΠΊΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 01/05/26 um 16:39:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Jorgecrori schrieb:
ΠΡΠΆΠ½Π° ΡΠΎΡΠΎΠΊΠ½ΠΈΠ³Π°? <a href=https://photoges.ru/>ΡΠΎΡΠΎΠΊΠ½ΠΈΠ³ΠΈ ΠΏΠ΅ΡΠ°ΡΡ</a> ΠΏΠ΅ΡΠ°ΡΡ ΠΈΠ· Π²Π°ΡΠΈΡ
ΡΠΎΡΠΎΠ³ΡΠ°ΡΠΈΠΉ Π² Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅. Π Π°Π·Π½ΡΠ΅ ΡΠΎΡΠΌΠ°ΡΡ ΠΈ ΠΎΠ±Π»ΠΎΠΆΠΊΠΈ, ΠΏΠ»ΠΎΡΠ½Π°Ρ Π±ΡΠΌΠ°Π³Π°, ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½. ΠΠΎΠΌΠΎΠΆΠ΅ΠΌ Ρ ΠΌΠ°ΠΊΠ΅ΡΠΎΠΌ, Π±ΡΡΡΡΠ°Ρ ΠΏΠ΅ΡΠ°ΡΡ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°. ΠΠ΄Π΅Π°Π»ΡΠ½ΠΎ Π΄Π»Ρ ΠΏΠΎΠ΄Π°ΡΠΊΠ° ΠΈ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΡ
Π°ΡΡ
ΠΈΠ²ΠΎΠ²
Erstellt am 01/05/26 um 17:26:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
AnthonyRalry schrieb:
Π₯ΠΎΡΠ΅ΡΡ ΡΠΎΡΠΎΠΊΠ½ΠΈΠ³Ρ? <a href=https://fotooks.ru/>ΡΡΠΎΡΠ½Π°Ρ ΠΏΠ΅ΡΠ°ΡΡ ΡΠΎΡΠΎΠΊΠ½ΠΈΠ³ΠΈ</a> ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ Π΄ΠΈΠ·Π°ΠΉΠ½, ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½Π°Ρ ΠΏΠ΅ΡΠ°ΡΡ ΠΈ Π°ΠΊΠΊΡΡΠ°ΡΠ½Π°Ρ ΡΠ±ΠΎΡΠΊΠ°. ΠΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΡΠ°Π·ΠΌΠ΅ΡΠΎΠ² ΠΈ ΠΏΠ΅ΡΠ΅ΠΏΠ»ΡΡΠΎΠ², ΠΏΠΎΠΌΠΎΡΡ Ρ Π²Π΅ΡΡΡΠΊΠΎΠΉ. ΠΡΡΡΡΠΎΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΠ°
Erstellt am 01/05/26 um 18:21:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
faamru schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://faamru.com/>https://faamru.com</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ², ΡΠΈΡΡΡΠ°ΠΊΠΎΠ², ΡΠ»Π΅ΠΊΡΡΠΎΡΠ΅Π»Π΅ΠΆΠ΅ΠΊ ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². Π Π΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΠΎΠΉ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ°Π±ΠΎΡΡ: ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°Ρ ΠΌΠΎΡΠ½ΠΎΡΡΡ, Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΠ΅ΡΡΡΡ, Π½Π°Π΄ΡΠΆΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° Π² ΡΠΌΠ΅Π½Π½ΠΎΠΌ ΡΠ΅ΠΆΠΈΠΌΠ΅, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠΎΠΌ ΠΠΠ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎΠ΄ Π·Π°Π΄Π°ΡΡ
Erstellt am 01/06/26 um 01:00:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
faamru schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://faamru.com/>https://faamru.com</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ², ΡΠΈΡΡΡΠ°ΠΊΠΎΠ², ΡΠ»Π΅ΠΊΡΡΠΎΡΠ΅Π»Π΅ΠΆΠ΅ΠΊ ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². Π Π΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΠΎΠΉ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ°Π±ΠΎΡΡ: ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°Ρ ΠΌΠΎΡΠ½ΠΎΡΡΡ, Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΠ΅ΡΡΡΡ, Π½Π°Π΄ΡΠΆΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° Π² ΡΠΌΠ΅Π½Π½ΠΎΠΌ ΡΠ΅ΠΆΠΈΠΌΠ΅, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠΎΠΌ ΠΠΠ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎΠ΄ Π·Π°Π΄Π°ΡΡ
Erstellt am 01/06/26 um 01:00:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Alfonsomup schrieb:
<a href=https://www.livemaster.ru/i...>orgonite</a> ΠΡΠΆΡΠΊΠΎΠΉΡΠ°Π»ΠΈΡΠΌΠ°Π½ΠΎΠ±Π΅ΡΠ΅Π³: Π’Π°Π»ΠΈΡΠΌΠ°Π½ ΠΎΠ±Π΅ΡΠ΅Π³ Π΄Π»Ρ ΠΌΡΠΆΡΠΈΠ½
Erstellt am 01/06/26 um 02:02:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
qovipstob schrieb:
ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ <a href=https://strong.by/>https://strong.by/</a> ΠΈ Π²Ρ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΊΡΠΏΠΈΡΡ Π½ΠΎΠ²ΡΠ΅ ΠΈ Π±/Ρ Π·Π°ΠΏΡΠ°ΡΡΠΈ Ρ ΡΠ°Π·Π±ΠΎΡΠ° Π² ΠΠΈΠ½ΡΠΊΠ΅. Π£ Π½Π°Ρ Π±ΠΎΠ»ΡΡΠΎΠ΅ Π½ΠΎΠ²ΠΎΠ΅ ΠΏΠΎΡΡΡΠΏΠ»Π΅Π½ΠΈΠ΅ ΠΌΠ°ΡΠΈΠ½ Π½Π° ΡΠ°Π·Π±ΠΎΡ, ΡΠ°ΠΊ ΡΡΠΎ Π²Ρ Π±Π΅Π· ΠΏΡΠΎΠ±Π»Π΅ΠΌ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π·Π°ΠΏΡΠ°ΡΡΠΈ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΠΎΠΉ ΡΠ΅Π½Π΅ Π΄Π»Ρ ΡΠ²ΠΎΠ΅Π³ΠΎ Π°Π²ΡΠΎ Ρ Π½Π°Ρ. ΠΡΠΎΡΡΠΎ Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ ΠΌΠ°ΡΠΊΡ Π°Π²ΡΠΎ, Π° ΠΌΡ ΠΏΠΎΠΊΠ°ΠΆΠ΅ΠΌ Π²Π°ΠΌ Π²ΡΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ. ΠΠ°Π±ΠΈΡΠ°ΠΉΡΠ΅ Π·Π°ΠΏΡΠ°ΡΡΠΈ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ ΠΈΠ»ΠΈ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π΄Π΅Π½Ρ Π² Π΄Π΅Π½Ρ ΠΏΠΎ ΠΠΈΠ½ΡΠΊΡ.
Erstellt am 01/06/26 um 02:51:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ab-resurs schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://ab-resurs.ru/>https://ab-resurs.ru</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΠ°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΠΠ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ² ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ² ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ
Erstellt am 01/06/26 um 03:52:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ab-resurs schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://ab-resurs.ru/>https://ab-resurs.ru</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΠ°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΠΠ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ² ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ² ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ
Erstellt am 01/06/26 um 03:52:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
faamru schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://faamru.com/>https://faamru.com</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ², ΡΠΈΡΡΡΠ°ΠΊΠΎΠ², ΡΠ»Π΅ΠΊΡΡΠΎΡΠ΅Π»Π΅ΠΆΠ΅ΠΊ ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². Π Π΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π½ΡΠΈΠ²Π½ΠΎΠΉ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ°Π±ΠΎΡΡ: ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°Ρ ΠΌΠΎΡΠ½ΠΎΡΡΡ, Π΄ΠΎΠ»Π³ΠΈΠΉ ΡΠ΅ΡΡΡΡ, Π½Π°Π΄ΡΠΆΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° Π² ΡΠΌΠ΅Π½Π½ΠΎΠΌ ΡΠ΅ΠΆΠΈΠΌΠ΅, ΠΏΠΎΠΌΠΎΡΡ Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠΎΠΌ ΠΠΠ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° ΠΏΠΎΠ΄ Π·Π°Π΄Π°ΡΡ
Erstellt am 01/06/26 um 05:58:23
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
megibmAreks schrieb:
ΠΡΠ΄ΡΡ
Π² ΠΌΠ΅Π³Π°ΠΏΠΎΠ»ΠΈΡΠ΅ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΎΡΠΎΠ±ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° β Π²Π°ΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ ΠΌΠ΅ΡΡΠΎ, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ°ΡΡΠ»Π°Π±ΠΈΡΡΡΡ Π²Π΄Π°Π»ΠΈ ΠΎΡ ΡΡΠΌΠ°. Π‘Π°ΡΠ½Π° Π² ΠΠΎΠΏΡΠ΅Π²ΠΎ Π½Π° ΠΠΎΠ»ΡΡΠΎΠΉ ΠΠΊΠ°Π΄Π΅ΠΌΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΠ»ΠΈΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΡΡΠ½ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΏΠΎΡΠ»Π΅ ΠΊΠ°ΠΏΠΈΡΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ. ΠΠΎΡΡΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΠ°ΡΠ½ΠΎΠΉ ΠΈΠ· Π±Π΅ΡΡΠ·Ρ, Π±Π°ΡΡΠ΅ΠΉΠ½Ρ Π΄Π»ΠΈΠ½ΠΎΠΉ ΠΏΡΡΠ½Π°Π΄ΡΠ°ΡΡ ΠΌΠ΅ΡΡΠΎΠ² ΠΈ ΠΊΠ°ΡΠ°ΠΎΠΊΠ΅ Π΄Π»Ρ Π²Π΅ΡΡΠ»ΡΡ
Π²Π΅ΡΠ΅ΡΠΎΠ². ΠΠ°Π²Π΅Π΄Π΅Π½ΠΈΠ΅ Π»ΠΎΡΠ»ΡΠ½ΠΎ ΠΎΡΠ½ΠΎΡΠΈΡΡΡ ΠΊ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡΠΌ ΠΏΠΎΡΠ΅ΡΠΈΡΠ΅Π»Π΅ΠΉ β ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΎ ΠΏΡΠΈΠ½ΠΎΡΠΈΡΡ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π½Π°ΠΏΠΈΡΠΊΠΈ ΠΈ ΡΠ³ΠΎΡΠ΅Π½ΠΈΡ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎΠ± ΡΡΠ»ΡΠ³Π°Ρ
ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ
ΡΠ΅Π½Π°Ρ
ΠΌΠΎΠΆΠ½ΠΎ ΡΠ·Π½Π°ΡΡ Π½Π° <a href=https://sauna-koptevo.ru/>https://sauna-koptevo.ru/</a> ΠΏΠ΅ΡΠ΅Π΄ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ. ΠΠ΄Π΅Π°Π»ΡΠ½Π°Ρ ΡΠΈΡΡΠΎΡΠ° ΠΈ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ ΡΠ°Π½ΠΈΡΠ°ΡΠ½ΡΡ
Π½ΠΎΡΠΌ Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ ΠΎΡΠ΄ΡΡ
Π΄Π»Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΉ Π΄ΠΎ ΡΠ΅ΡΡΠΈ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊ.
Erstellt am 01/06/26 um 05:59:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ustrojstvo ploskoj krovli schrieb:
ΠΏΠ»ΠΎΡΠΊΠ°Ρ ΠΊΡΠΎΠ²Π»Ρ ΡΠ΅Π½Π° ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ <a href=https://ustrojstvo-ploskoj-...>https://ustrojstvo-ploskoj-krovli.ru</a>
Erstellt am 01/06/26 um 08:04:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ab-resurs schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://ab-resurs.ru/>https://ab-resurs.ru</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΠ°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΠΠ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ² ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ² ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ
Erstellt am 01/06/26 um 08:12:43
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
nefuphFaw schrieb:
Π‘Π΅ΠΉΡΠ°Ρ Π²ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΈΠ³ΡΠΎΠΊΠΎΠ² ΠΈΠ½ΡΠ΅ΡΠ΅ΡΡΡΡΡΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠΌΠΈ Π΄ΠΎΠΏΠΎΠ»Π½Π΅Π½ΠΈΡΠΌΠΈ, ΡΠΈΡΠ°ΠΌΠΈ ΠΈ ΡΠΊΡΠΈΠΏΡΠ°ΠΌΠΈ Π΄Π»Ρ Roblox β Ρ ΠΈΡ
ΠΏΠΎΠΌΠΎΡΡΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΏΡΠΎΡΡΠΈΡΡ Π³Π΅ΠΉΠΌΠΏΠ»Π΅ΠΉ, Π΄ΠΎΠ±Π°Π²ΠΈΡΡ Π½ΠΎΠ²ΡΠ΅ ΡΡΠ½ΠΊΡΠΈΠΈ ΠΈ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΈΡΡ ΠΈΠ³ΡΡ. ΠΠ° ΠΎΠ΄Π½ΠΎΠΌ ΠΈΠ³ΡΠΎΠ²ΠΎΠΌ ΠΏΠΎΡΡΠ°Π»Π΅ <a href=https://joyverse.ru/>https://joyverse.ru/</a> ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ ΠΏΡΠ±Π»ΠΈΠΊΡΡΡΡΡ ΡΠ²Π΅ΠΆΠΈΠ΅ ΡΠΊΡΠΈΠΏΡΡ, ΠΊΠΎΠ΄Ρ ΠΈ ΠΎΠ±Π·ΠΎΡΡ Π½Π° ΠΈΠ³ΡΡ Π ΠΎΠ±Π»ΠΎΠΊΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΠΎΠ³ΡΡ ΠΏΡΠΈΠ³ΠΎΠ΄ΠΈΡΡΡΡ ΠΊΠ°ΠΊ Π½ΠΎΠ²ΠΈΡΠΊΠ°ΠΌ, ΡΠ°ΠΊ ΠΈ ΠΎΠΏΡΡΠ½ΡΠΌ ΠΈΠ³ΡΠΎΠΊΠ°ΠΌ.
Erstellt am 01/06/26 um 09:44:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dolabKiC schrieb:
Π‘Π°ΠΌΠΎΠ·Π°Π½ΡΡΡΠ΅ Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΠ½ΠΈΠΌΠ°ΡΠ΅Π»ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΉ Π΄ΠΎΡ
ΠΎΠ΄ ΠΏΡΠΈ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΠΈ ΠΊ ΠΏΠ°ΡΠΊΡ AREON. ΠΠΈΠ±ΠΊΠΈΠΉ Π³ΡΠ°ΡΠΈΠΊ ΡΠ°Π±ΠΎΡΡ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΡΠ°ΠΌΠΎΡΡΠΎΡΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°ΡΡ Π²ΡΠ΅ΠΌΡ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ Π·Π°ΠΊΠ°Π·ΠΎΠ² ΠΈ Π²ΡΡ
ΠΎΠ΄Π½ΡΠ΅ Π΄Π½ΠΈ. ΠΠΆΠ΅Π΄Π½Π΅Π²Π½ΡΠ΅ Π²ΡΠΏΠ»Π°ΡΡ ΡΠ΅ΡΠ΅Π· ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π―Π½Π΄Π΅ΠΊΡ.ΠΡΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ ΡΠΈΠ½Π°Π½ΡΠΎΠ²ΡΡ ΠΏΡΠ΅Π΄ΡΠΊΠ°Π·ΡΠ΅ΠΌΠΎΡΡΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠΉ Π΄ΠΎΡΡΡΠΏ ΠΊ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌ. ΠΠ»Ρ ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ ΠΏΠΎΡΡΠ΅Π±ΡΠ΅ΡΡΡ ΠΏΠ°ΡΠΏΠΎΡΡ, Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΡΠΊΠΈΠ΅ ΠΏΡΠ°Π²Π° ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ B ΠΈ ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π½Π° Π΄Π΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΡΠ°ΠΊΡΠΈ. ΠΠΎΠ»Π΅Π΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ°ΡΠΈΡΠ°Ρ
ΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Π° Π½Π° <a href=https://parkareon.ru/>https://parkareon.ru/</a> Π΄Π»Ρ Π²ΡΠ΅Ρ
ΠΆΠ΅Π»Π°ΡΡΠΈΡ
. ΠΠΎΠ²ΡΡΠ΅Π½Π½ΡΠ΅ ΡΠ°ΡΠΈΡΡ ΠΠΎΠΌΡΠΎΡΡ+ ΠΈ ΠΠΈΠ·Π½Π΅Ρ Π΄ΠΎΡΡΡΠΏΠ½Ρ ΠΏΠΎΡΠ»Π΅ ΠΏΡΠΎΡ
ΠΎΠΆΠ΄Π΅Π½ΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡΠ΅Π½ΠΈΠ½Π³Π° ΠΈ ΡΠΎΠ±Π΅ΡΠ΅Π΄ΠΎΠ²Π°Π½ΠΈΡ.
Erstellt am 01/06/26 um 13:41:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fuxejMef schrieb:
ΠΡΠ΅ΡΠ΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ ΡΡΠ°Π½ΡΡΠ΅Ρ ΠΈΠ· ΠΠΎΠ²ΠΎΡΠΈΠ±ΠΈΡΡΠΊΠ° ΠΈΠ»ΠΈ Π°ΡΡΠΎΠΏΠΎΡΡΠ° Π’ΠΎΠ»ΠΌΠ°ΡΠ΅Π²ΠΎ Π² Π¨Π΅ΡΠ΅Π³Π΅Ρ? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ <a href=https://taximinivan54.ru/sh...>https://taximinivan54.ru/sheregesh.html</a> ΡΠΎ ΠΌΠ½ΠΎΠΉ ΠΏΡΠΎΡΠ΅ ΠΈ Π±ΡΡΡΡΠ΅Π΅ Π΄ΠΎΠ΅Ρ
Π°ΡΡ Π½Π° ΡΡΠ°Π½ΡΡΠ΅Ρ ΡΠ°ΠΊΡΠΈ ΠΌΠ΅ΠΆΠ³ΠΎΡΠΎΠ΄ ΠΠΎΠ²ΠΎΡΠΈΠ±ΠΈΡΡΠΊ Π¨Π΅ΡΠ΅Π³Π΅Ρ. Π ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ ΠΏΠΎΠΌΠ΅ΡΡΠΈΡΡΡ Π²ΡΡ Π²Π°ΡΠ° ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΈ Π³ΠΎΡΠ½ΠΎΠ»ΡΠΆΠ½ΠΎΠ΅ ΡΠ½Π°ΡΡΠΆΠ΅Π½ΠΈΠ΅. ΠΡΠΈΠ΅Ρ
Π°Π»ΠΈ, ΠΈΠ»ΠΈ ΠΏΡΠΈΠ»Π΅ΡΠ΅Π»ΠΈ ΠΈ ΡΡΠ°Π·Ρ ΠΏΠΎΠ΅Ρ
Π°Π»ΠΈ ΠΊΠ°ΡΠ°ΡΡΡΡ! Π¦Π΅Π½Π° ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ, ΠΏΡΠΈ Π·Π°ΠΊΠ°Π·Π΅. ΠΡΠ΅ΠΌΡ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ ΠΎΡ 7 ΡΠ°ΡΠΎΠ². ΠΠ°ΡΡΠ°ΠΆΠΈΡΠΎΠ² Π½Π΅ Π½Π°Π±ΠΈΡΠ°Ρ, Π΅Π΄Π΅Ρ ΡΠΎΠ»ΡΠΊΠΎ Π²Π°ΡΠ° Π³ΡΡΠΏΠΏΠ°. ΠΡΡΠ»Π΅ΠΆΠΈΠ²Π°Ρ Π²Π°Ρ ΡΠ΅ΠΉΡ, Π²ΠΎΠΆΡ Π°ΠΊΠΊΡΡΠ°ΡΠ½ΠΎ, Π΄ΠΎΡΠΎΠ³Ρ Π·Π½Π°Ρ Π½Π°ΠΈΠ·ΡΡΡΡ.
Erstellt am 01/06/26 um 15:12:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Amazing! Its truly remarkable paragraph, I have got much clear idea concerning from this piece of writing.
<a href=https://kornit-print.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://kornit-print.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 01/06/26 um 15:46:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Lhanepat schrieb:
Hmm is anyone else encountering problems with the images on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog. Any feed-back would be greatly appreciated.
<a href=https://kornit-print.ru/>ΡΠ°ΠΉΡ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://kornit-print.ru/>ΡΠ°ΠΉΡ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 01/06/26 um 16:00:59
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Louistam schrieb:
<a href=https://okna-service.kz/>ΠΠΊΠ½Π° Rehau ΠΠ»ΠΌΠ°ΡΡ</a> ΠΡΠ±ΠΎΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½ β ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² ΠΊΠΎΠΌΡΠΎΡΡ, ΡΠ΅ΠΏΠ»ΠΎ ΠΈ ΡΠ½Π΅ΡΠ³ΠΎΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ°. Π ΠΠ»ΠΌΠ°ΡΡ, Π² ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½ΡΠΈΠ²ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ°, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½, ΠΎΡΠ²Π΅ΡΠ°ΡΡΠΈΡ
ΡΠ°ΠΌΡΠΌ Π²ΡΡΠΎΠΊΠΈΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Okna Service ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ ΠΎΡ Π²Π΅Π΄ΡΡΠΈΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ, ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΡ ΠΊ ΠΏΠ΅ΡΠ΅ΠΏΠ°Π΄Π°ΠΌ ΡΠ΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡ ΠΈ ΠΎΡΠ»ΠΈΡΠ½ΡΡ Π·Π²ΡΠΊΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΡ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠΊΠ½Π° Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠΎΠ»ΡΠΈΠ½ΠΎΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ, ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΊΠ°ΠΌΠ΅Ρ ΠΈ ΡΠΈΠΏΠ°ΠΌΠΈ ΡΡΠ΅ΠΊΠ»ΠΎΠΏΠ°ΠΊΠ΅ΡΠΎΠ², Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²Π°ΡΠΈΡ
ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΡ
ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠ΅ΠΉ ΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. ΠΠΎΠΌΠΈΠΌΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ, Okna Service Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΎΠΌ ΠΊ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠΎΠ½ΡΠ°ΠΆΠ½ΠΈΠΊΠΈ Ρ Π±ΠΎΠ»ΡΡΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½, ΡΡΠΎ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΊΡΠΈΡΠΈΡΠ΅ΡΠΊΠΈ Π²Π°ΠΆΠ½ΡΠΌ Π΄Π»Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΡ
ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ. ΠΠ΅ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΉ ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΌΠΎΠΆΠ΅Ρ ΡΠ²Π΅ΡΡΠΈ Π½Π° Π½Π΅Ρ Π²ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° Π΄Π°ΠΆΠ΅ ΡΠ°ΠΌΡΡ
Π΄ΠΎΡΠΎΠ³ΠΈΡ
ΠΎΠΊΠΎΠ½. Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, Π²ΠΊΠ»ΡΡΠ°Ρ Π·Π°ΠΌΠ΅Ρ, ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅, Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΈ ΠΏΠΎΡΡΠ³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅. ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠ³ΡΡ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ»ΠΈ ΠΎΡΠΈΡΠ°, ΡΡΠΈΡΡΠ²Π°Ρ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ ΠΈ Π²Π°ΡΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡ. ΠΡΠ±ΠΈΡΠ°Ρ Okna Service, Π²Ρ Π²ΡΠ±ΠΈΡΠ°Π΅ΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ, ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΈΠ·ΠΌ. Π£Π»ΡΡΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ, ΡΡΡΠ°Π½ΠΎΠ²ΠΈΠ² Π½ΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° ΠΎΡ Okna Service.
Erstellt am 01/06/26 um 16:45:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
Keep on writing, great job!
<a href=https://vag-express.ru/>ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π»ΠΈΠ±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://vag-express.ru/>ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ Π»ΠΈΠ±Π΅Ρ ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 01/06/26 um 16:47:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
OLanepat schrieb:
Everything posted was actually very logical. But, think about this, what if you were to create a killer headline? I am not suggesting your content isn't good, however suppose you added a headline to maybe grab a person's attention? I mean %BLOG_TITLE% is a little vanilla. You ought to peek at Yahoo's front page and note how they write news headlines to get people to click. You might try adding a video or a pic or two to grab people excited about what you've got to say. In my opinion, it might make your posts a little livelier.
<a href=https://suzdalhotels.ru/>ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ leebet</a>
<a href=https://suzdalhotels.ru/>ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΉ ΡΠ°ΠΉΡ leebet</a>
Erstellt am 01/06/26 um 17:48:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Fobertspink schrieb:
Hello to every body, it's my first go to see of this website; this web site carries amazing and really fine information in support of visitors.
<a href=https://suzdalhotels.ru/>Π²Ρ ΠΎΠ΄ lee bet</a>
<a href=https://suzdalhotels.ru/>Π²Ρ ΠΎΠ΄ lee bet</a>
Erstellt am 01/06/26 um 18:03:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Louistam schrieb:
<a href=https://okna-service.kz/>ΠΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° Π² ΠΠ»ΠΌΠ°ΡΡ</a> ΠΡΠ±ΠΎΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½ β ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² ΠΊΠΎΠΌΡΠΎΡΡ, ΡΠ΅ΠΏΠ»ΠΎ ΠΈ ΡΠ½Π΅ΡΠ³ΠΎΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ°. Π ΠΠ»ΠΌΠ°ΡΡ, Π² ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½ΡΠΈΠ²ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ°, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½, ΠΎΡΠ²Π΅ΡΠ°ΡΡΠΈΡ
ΡΠ°ΠΌΡΠΌ Π²ΡΡΠΎΠΊΠΈΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Okna Service ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ ΠΎΡ Π²Π΅Π΄ΡΡΠΈΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ, ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΡ ΠΊ ΠΏΠ΅ΡΠ΅ΠΏΠ°Π΄Π°ΠΌ ΡΠ΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡ ΠΈ ΠΎΡΠ»ΠΈΡΠ½ΡΡ Π·Π²ΡΠΊΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΡ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠΊΠ½Π° Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠΎΠ»ΡΠΈΠ½ΠΎΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ, ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΊΠ°ΠΌΠ΅Ρ ΠΈ ΡΠΈΠΏΠ°ΠΌΠΈ ΡΡΠ΅ΠΊΠ»ΠΎΠΏΠ°ΠΊΠ΅ΡΠΎΠ², Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²Π°ΡΠΈΡ
ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΡ
ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠ΅ΠΉ ΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. ΠΠΎΠΌΠΈΠΌΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ, Okna Service Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΎΠΌ ΠΊ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠΎΠ½ΡΠ°ΠΆΠ½ΠΈΠΊΠΈ Ρ Π±ΠΎΠ»ΡΡΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½, ΡΡΠΎ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΊΡΠΈΡΠΈΡΠ΅ΡΠΊΠΈ Π²Π°ΠΆΠ½ΡΠΌ Π΄Π»Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΡ
ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ. ΠΠ΅ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΉ ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΌΠΎΠΆΠ΅Ρ ΡΠ²Π΅ΡΡΠΈ Π½Π° Π½Π΅Ρ Π²ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° Π΄Π°ΠΆΠ΅ ΡΠ°ΠΌΡΡ
Π΄ΠΎΡΠΎΠ³ΠΈΡ
ΠΎΠΊΠΎΠ½. Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, Π²ΠΊΠ»ΡΡΠ°Ρ Π·Π°ΠΌΠ΅Ρ, ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅, Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΈ ΠΏΠΎΡΡΠ³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅. ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠ³ΡΡ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ»ΠΈ ΠΎΡΠΈΡΠ°, ΡΡΠΈΡΡΠ²Π°Ρ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ ΠΈ Π²Π°ΡΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡ. ΠΡΠ±ΠΈΡΠ°Ρ Okna Service, Π²Ρ Π²ΡΠ±ΠΈΡΠ°Π΅ΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ, ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΈΠ·ΠΌ. Π£Π»ΡΡΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ, ΡΡΡΠ°Π½ΠΎΠ²ΠΈΠ² Π½ΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° ΠΎΡ Okna Service.
Erstellt am 01/06/26 um 18:35:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
ΠΡΠΈΡΠΈΠ°Π»ΡΠ½Π°Ρ ΡΠΎΡΠ³ΠΎΠ²Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° Π½Π° <a href=https://www.quipumarket.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΠΌΠ°ΡΠΊΠ΅ΡΠΏΠ»Π΅ΠΉΡ Ρ escrow ΡΠΈΡΡΠ΅ΠΌΠΎΠΉ</a> Π΄Π»Ρ Π·Π°ΡΠΈΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠΎΠ² ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΏΡΠΎΠ΄Π°Π²ΡΠΎΠ²
Erstellt am 01/06/26 um 18:42:04
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
Π‘Π΅Π³ΠΎΠ΄Π½ΡΡΠ½ΠΈΠ΅ Π·Π΅ΡΠΊΠ°Π»Π° ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ Π½Π° <a href=https://www.quipumarket.com/>ΠΊΡΠ°ΠΊΠ΅Π½ Π·Π΅ΡΠΊΠ°Π»ΠΎ ΡΠ΅Π³ΠΎΠ΄Π½Ρ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎ</a> Π΄Π»Ρ Π²Ρ
ΠΎΠ΄Π° Π±Π΅Π· Π·Π°Π΄Π΅ΡΠΆΠ΅ΠΊ ΠΈ ΠΎΡΠΈΠ±ΠΎΠΊ
Erstellt am 01/06/26 um 18:42:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Louistam schrieb:
<a href=https://okna-service.kz/>ΠΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° Π² ΠΠ»ΠΌΠ°ΡΡ ΡΠ΅Π½Π°</a> ΠΡΠ±ΠΎΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½ β ΡΡΠΎ ΠΈΠ½Π²Π΅ΡΡΠΈΡΠΈΡ Π² ΠΊΠΎΠΌΡΠΎΡΡ, ΡΠ΅ΠΏΠ»ΠΎ ΠΈ ΡΠ½Π΅ΡΠ³ΠΎΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ°. Π ΠΠ»ΠΌΠ°ΡΡ, Π² ΡΡΠ»ΠΎΠ²ΠΈΡΡ
ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½ΡΠΈΠ²ΠΎΠ³ΠΎ ΠΊΠ»ΠΈΠΌΠ°ΡΠ°, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½, ΠΎΡΠ²Π΅ΡΠ°ΡΡΠΈΡ
ΡΠ°ΠΌΡΠΌ Π²ΡΡΠΎΠΊΠΈΠΌ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°. Okna Service ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ ΠΎΡ Π²Π΅Π΄ΡΡΠΈΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ, ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΡΡΡ ΠΊ ΠΏΠ΅ΡΠ΅ΠΏΠ°Π΄Π°ΠΌ ΡΠ΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡ ΠΈ ΠΎΡΠ»ΠΈΡΠ½ΡΡ Π·Π²ΡΠΊΠΎΠΈΠ·ΠΎΠ»ΡΡΠΈΡ. ΠΡ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΡΠ±ΡΠ°ΡΡ ΠΎΠΊΠ½Π° Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠΎΠ»ΡΠΈΠ½ΠΎΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ, ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎΠΌ ΠΊΠ°ΠΌΠ΅Ρ ΠΈ ΡΠΈΠΏΠ°ΠΌΠΈ ΡΡΠ΅ΠΊΠ»ΠΎΠΏΠ°ΠΊΠ΅ΡΠΎΠ², Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²Π°ΡΠΈΡ
ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΡ
ΠΏΠΎΡΡΠ΅Π±Π½ΠΎΡΡΠ΅ΠΉ ΠΈ Π±ΡΠ΄ΠΆΠ΅ΡΠ°. ΠΠΎΠΌΠΈΠΌΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ, Okna Service Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΡΠ²ΠΎΠΈΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΎΠΌ ΠΊ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠΎΠ½ΡΠ°ΠΆΠ½ΠΈΠΊΠΈ Ρ Π±ΠΎΠ»ΡΡΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½, ΡΡΠΎ ΡΠ²Π»ΡΠ΅ΡΡΡ ΠΊΡΠΈΡΠΈΡΠ΅ΡΠΊΠΈ Π²Π°ΠΆΠ½ΡΠΌ Π΄Π»Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΡ
ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΠΈ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ. ΠΠ΅ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΡΠΉ ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΌΠΎΠΆΠ΅Ρ ΡΠ²Π΅ΡΡΠΈ Π½Π° Π½Π΅Ρ Π²ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° Π΄Π°ΠΆΠ΅ ΡΠ°ΠΌΡΡ
Π΄ΠΎΡΠΎΠ³ΠΈΡ
ΠΎΠΊΠΎΠ½. Okna Service ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³, Π²ΠΊΠ»ΡΡΠ°Ρ Π·Π°ΠΌΠ΅Ρ, ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅, Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠ°ΠΊΠΆΠ΅ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΈ ΠΏΠΎΡΡΠ³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅. ΠΠ°ΠΌ ΠΏΠΎΠΌΠΎΠ³ΡΡ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π΄ΠΎΠΌΠ° ΠΈΠ»ΠΈ ΠΎΡΠΈΡΠ°, ΡΡΠΈΡΡΠ²Π°Ρ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ Π°ΡΡ
ΠΈΡΠ΅ΠΊΡΡΡΡ ΠΈ Π²Π°ΡΠΈ Π»ΠΈΡΠ½ΡΠ΅ ΠΏΠΎΠΆΠ΅Π»Π°Π½ΠΈΡ. ΠΡΠ±ΠΈΡΠ°Ρ Okna Service, Π²Ρ Π²ΡΠ±ΠΈΡΠ°Π΅ΡΠ΅ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ, ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΈΠ·ΠΌ. Π£Π»ΡΡΡΠΈΡΠ΅ ΡΠ²ΠΎΠΉ Π΄ΠΎΠΌ ΡΠΆΠ΅ ΡΠ΅Π³ΠΎΠ΄Π½Ρ, ΡΡΡΠ°Π½ΠΎΠ²ΠΈΠ² Π½ΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π° ΠΎΡ Okna Service.
Erstellt am 01/06/26 um 21:46:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
xizamSek schrieb:
ΠΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π²ΠΎΠΏΡΠΎΡΡ ΡΡΠ΅Π±ΡΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΡΠ΅Π½ΠΈΡ β ΠΎΡΠΈΠ±ΠΊΠΈ Π² Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°Ρ
ΠΈΠ»ΠΈ ΠΏΡΠΎΡΠ΅Π΄ΡΡΠ°Ρ
ΠΌΠΎΠ³ΡΡ ΡΡΠΎΠΈΡΡ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΠΈ Π΄Π΅Π½Π΅Π³. ΠΠΎΠΌΠ°Π½Π΄Π° ΠΎΠΏΡΡΠ½ΡΡ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² Π² ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΡ ΠΏΠ΅ΡΠ²ΠΈΡΠ½ΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΏΠΎ ΡΠ΅ΠΌΠ΅ΠΉΠ½ΡΠΌ, ΠΆΠΈΠ»ΠΈΡΠ½ΡΠΌ ΠΈ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΡΠΌ ΡΠΏΠΎΡΠ°ΠΌ. ΠΠ΄Π²ΠΎΠΊΠ°ΡΡ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡ Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΡΠΈΡΡΠ°ΡΠΈΠΈ ΠΈ ΡΠ°Π·ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡ ΡΡΡΠΊΠΈΠΉ Π°Π»Π³ΠΎΡΠΈΡΠΌ Π΄Π°Π»ΡΠ½Π΅ΠΉΡΠΈΡ
Π΄Π΅ΠΉΡΡΠ²ΠΈΠΉ Π΄Π»Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠ°. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Ρ Π΄Π΅Π»Π°ΠΌΠΈ Π»ΡΠ±ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ β ΠΎΡ ΡΠ°Π·Π΄Π΅Π»Π° ΠΈΠΌΡΡΠ΅ΡΡΠ²Π° Π΄ΠΎ ΠΎΡΠΏΠ°ΡΠΈΠ²Π°Π½ΠΈΡ ΡΠ΄Π΅Π»ΠΎΠΊ Ρ Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡΡ. ΠΠ°ΠΏΠΈΡΠ°ΡΡΡΡ Π½Π° ΠΏΡΠΈΡΠΌ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΏΠΎΠΌΠΎΡΡ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ΅ΡΠ΅Π· <a href=https://yuridicheskaya-komp...>https://yuridicheskaya-kompaniya-krasnodar.ru/</a> Π² ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΠΏΠΎ ΡΠ΅Π»Π΅ΡΠΎΠ½Ρ. ΠΠΎΠ»Π΅Π΅ ΡΡΡΡ
ΡΠΎΡ ΡΠ΅Π»ΠΎΠ²Π΅ΠΊ Π΅ΠΆΠ΅ΠΌΠ΅ΡΡΡΠ½ΠΎ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΡ ΠΈ Π·Π°ΡΠΈΡΡ ΡΠ²ΠΎΠΈΡ
ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠΎΠ² Π² ΡΡΠ΄Π°Ρ
Π²ΡΠ΅Ρ
ΠΈΠ½ΡΡΠ°Π½ΡΠΈΠΉ.
Erstellt am 01/06/26 um 22:29:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kraken schrieb:
ΠΡΠ΅ ΡΠ°Π±ΠΎΡΠΈΠ΅ ΡΡΡΠ»ΠΊΠΈ Π·Π΄Π΅ΡΡ Π½Π° <a href=https://www.quipumarket.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΡΡ ΡΡΡΠ»ΠΊΠ° ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½Π°Ρ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎ</a> Π°Π΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΈΠ΅ΠΉ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ Π΄ΠΎΡΡΡΠΏΠ°
Erstellt am 01/06/26 um 23:06:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
qovibamEcomy schrieb:
Π’ΡΠ°Π½ΡΠΏΠΎΡΡΠ½Π°Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ "ΠΡΠΊΡΡΡΡΠΉ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°Ρ" Π±ΠΎΠ»Π΅Π΅ ΠΏΡΡΠΈ Π»Π΅Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΈ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΡΠ΅ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠΈ ΠΏΠ°ΡΡΠ°ΠΆΠΈΡΠΎΠ² ΠΏΠΎ Π³ΠΎΡΠΎΠ΄Ρ ΠΈ ΠΊΡΠ°Ρ. Π€ΠΈΡΠΌΠ° ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π°ΡΠ΅Π½Π΄Π΅ Π°Π²ΡΠΎΠ±ΡΡΠΎΠ², ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡΠΎΠ² ΠΈ ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ΠΎΠ² Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΌΠΈ Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ Π΄Π»Ρ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π½ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ², ΡΡΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π³ΡΡΠΏΠΏ ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΈ ΡΠ²Π°Π΄Π΅Π±Π½ΡΡ
ΠΊΠΎΡΡΠ΅ΠΆΠ΅ΠΉ. ΠΡΠΎΠ±ΠΎΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΊΠ΅ Π΄Π΅ΡΠ΅ΠΉ ΠΈ Π²Π°Ρ
ΡΠΎΠ²ΡΠΌ ΠΌΠ°ΡΡΡΡΡΠ°ΠΌ Ρ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ΠΌ Π²ΡΠ΅Ρ
Π½ΠΎΡΠΌ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΠ° ΡΡΡΠ°Π½ΠΈΡΠ΅ <a href=https://krasnodar-transport...>https://krasnodar-transport.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠ°ΡΠΈΡΡ ΠΈ ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎΠ± ΡΡΠ»ΡΠ³Π°Ρ
ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ. Π‘Π²ΠΎΠ΅Π²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ ΠΏΠΎΠ΄Π°ΡΠ° ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ°, ΡΠΈΡΡΡΠ΅ ΡΠ°Π»ΠΎΠ½Ρ ΠΈ ΡΠ΅ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ β Π³Π»Π°Π²Π½ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°, Π·Π° ΠΊΠΎΡΠΎΡΡΠ΅ ΠΊΠ»ΠΈΠ΅Π½ΡΡ Π²ΡΠ±ΠΈΡΠ°ΡΡ ΡΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ.
Erstellt am 01/07/26 um 01:38:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Alfonsomup schrieb:
<a href=https://www.livemaster.ru/i...>ΠΎΡΠ³ΠΎΠ½ΠΈΡ_ΠΈ_ΠΌΠ°Π³ΠΈΡ</a> Π¦Π²Π΅ΡΠΎΡΠ½ΡΠΉΠ΄Π΅ΠΊΠΎΡ: ΡΠ²Π΅ΡΠΎΡΠ½ΡΠΉ Π΄Π΅ΠΊΠΎΡ
Erstellt am 01/07/26 um 03:43:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rerinnVague schrieb:
ΠΡΠ΅ΡΠ΅ ΠΆΠ΅Π½ΡΠΊΠΈΠΉ ΠΆΡΡΠ½Π°Π» ΠΏΡΠΎ Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅, ΠΊΡΠ°ΡΠΎΡΡ, ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΡ? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ <a href=https://victoryhome.ru/>https://victoryhome.ru/</a> - ΡΡΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π»ΠΎΠ³, Ρ Π½Π°Ρ Π²ΡΠ΅ ΠΎ Π·Π²Π΅Π·Π΄Π°Ρ
, ΠΌΠΎΠ΄Π΅, ΠΊΡΠ°ΡΠΎΡΠ΅, Π»ΡΠ±Π²ΠΈ, ΡΠ΅ΠΊΡΠ΅, Π³ΠΎΡΠΎΡΠΊΠΎΠΏΡ, ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡ, Π΄Π΅ΡΠΈ, Π·Π΄ΠΎΡΠΎΠ²ΡΠ΅ ΠΈ ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄ΡΡΠ³ΠΎΠ΅. ΠΠ°ΠΏΠΈΡΠΈ Π² Π±Π»ΠΎΠ³Π΅ ΠΏΠΎΡΠ²Π»ΡΡΡΡΡ ΠΏΠΎΡΡΠΎΡΠ½Π½ΠΎ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΠΈΡ Π²Π°ΠΌ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° ΡΠ°ΠΉΡΠ΅.
Erstellt am 01/07/26 um 04:17:42
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
lyqykLat schrieb:
ΠΡΠ΅ΡΠ΅ ΠΎΡΠ΅Π»Ρ Π² ΡΠ΅Π½ΡΡΠ΅ ΠΠΎΡΠΊΠ²Ρ? ΠΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° ΠΎΡΠ΅Π»Ρ Π’ΡΠΊΠ°Π½ <a href=https://hoteltukan.ru/>https://hoteltukan.ru/</a> - ΡΡΠΎ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ Π½ΠΎΠΌΠ΅ΡΠ°, ΠΏΠ°ΡΠΊΠΎΠ²ΠΊΠ° ΠΈ ΡΠΈΡΡΠΎΡΠ°. ΠΠΎΡΠΌΠΎΡΡΠΈΡΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅ Π½Π°ΡΠΈ Π½ΠΎΠΌΠ΅ΡΠ° - ΠΎΠ½ΠΈ Π²Π°ΠΌ ΠΏΠΎΠ½ΡΠ°Π²ΡΡΡΡ! Π ΠΎΡΠ΅Π»Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π·Π°Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π΄Π°ΠΆΠ΅ Π·Π° ΡΠ°Ρ Π΄ΠΎ Π·Π°Π΅Π·Π΄Π°. ΠΠ΅Π΄ΠΎΡΠΎΠ³ΠΈΠ΅ Π²Π°ΡΠΈΠ°Π½ΡΡ Π² Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠΌ ΡΡΠΈΠ»Π΅ Ρ Π½Π°Ρ, ΡΠ°ΠΊ Π΅ΡΡΡ ΠΈ ΡΠΎΡΠΊΠΎΡΠ½ΡΠ΅ Π°ΠΏΠ°ΡΡΠ°ΠΌΠ΅Π½ΡΡ Π΄Π»Ρ ΡΠ°ΠΌΡΡ
Π²Π·ΡΡΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΡ
ΠΈ ΡΡΠ΅Π±ΠΎΠ²Π°ΡΠ΅Π»ΡΠ½ΡΡ
ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ².
Erstellt am 01/07/26 um 04:53:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertfieli schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://ab-resurs.ru/>ab-resurs.ru</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΠ°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΠΠ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ² ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ² ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ
Erstellt am 01/07/26 um 09:49:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Robertfieli schrieb:
ΠΡΠΎΠ΄Π°ΠΆΠ° ΡΡΠ³ΠΎΠ²ΡΡ
<a href=https://ab-resurs.ru/>ab-resurs.ru</a> Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΡ
Π±Π°ΡΠ°ΡΠ΅ΠΉ Π΄Π»Ρ Π²ΠΈΠ»ΠΎΡΠ½ΡΡ
ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ² ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΠ°Π΄ΡΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠΉ ΡΠ°Π±ΠΎΡΡ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΠΠ, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Π±ΠΎΡ ΠΏΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΠ°ΠΌ, ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ², Π³Π°ΡΠ°Π½ΡΠΈΡ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½Π°Ρ ΠΏΠΎΡΡΠ°Π²ΠΊΠ° Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΠΎΠ² ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ² ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ
Erstellt am 01/07/26 um 09:49:45
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cyxiilPhipt schrieb:
ΠΠ»ΠΈΠ½ΠΈΠ½Π³ΠΎΠ²Π°Ρ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΠ°ΡΠ° ΠΠ΅Π»ΠΊΠ° <a href=https://nashabelka.ru/>https://nashabelka.ru/</a> ΠΎΠΊΠ°Π·ΡΠ²Π°Π΅Ρ ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΠ±ΠΎΡΠΊΠ΅ Π²ΡΠ΅Ρ
Π²ΠΈΠ΄ΠΎΠ² ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΠΉ - ΠΎΡ Π³Π΅Π½Π΅ΡΠ°Π»ΡΠ½ΠΎΠΉ ΡΠ±ΠΎΡΠΊΠΈ Π΄ΠΎ ΠΌΠΎΠΉΠΊΠΈ ΠΎΠΊΠΎΠ½ ΠΈ Π²ΠΈΡΡΠΈΠ½. Π£Π·Π½Π°ΠΉΡΠ΅ ΠΎΠ±ΠΎ Π²ΡΠ΅Ρ
Π½Π°ΡΠΈΡ
Π²ΡΠ³ΠΎΠ΄Π½ΡΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΡ
Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΈ Π²ΠΈΠ΄Π°Ρ
ΡΠ°Π±ΠΎΡ ΠΊΠΎΡΠΎΡΡΠ΅ ΠΌΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ ΠΎΠΊΠ°Π·ΡΠ²Π°Π΅ΠΌ. ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΈ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ Π² ΡΠΈΡΡΠΎΡΠ΅ ΠΏΠΎ Π²ΡΠ³ΠΎΠ΄Π½ΡΠΌ ΡΠ΅Π½Π°ΠΌ!
Erstellt am 01/07/26 um 11:19:06
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΡΠΎΡΡΠΎ Ρ
ΠΎΡΠ΅Π» ΠΏΠΎΠ·Π΄ΠΎΡΠΎΠ²Π°ΡΡΡΡ.
ΠΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ IT ΠΊΡΡΡΡ Π½Π° Π€ΠΈΠ»ΠΈΠΏΠΏΠΈΠ½Π°Ρ .
ΠΠ½ΠΈ Π²ΡΠΈΠ³ΡΠ°Π»ΠΈ Π½Π°Π³ΡΠ°Π΄Ρ Star Agency Award.
ΠΠ΅ΡΠ°Π»ΠΈ Π·Π΄Π΅ΡΡ:
<a href=https://www.citytavern.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΡΡΠ»ΠΊΠ° kraken</a>
Π₯ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ.
ΠΠ½ΡΠ΅ΡΠ΅ΡΡΡΡ IT ΠΊΡΡΡΡ Π½Π° Π€ΠΈΠ»ΠΈΠΏΠΏΠΈΠ½Π°Ρ .
ΠΠ½ΠΈ Π²ΡΠΈΠ³ΡΠ°Π»ΠΈ Π½Π°Π³ΡΠ°Π΄Ρ Star Agency Award.
ΠΠ΅ΡΠ°Π»ΠΈ Π·Π΄Π΅ΡΡ:
<a href=https://www.citytavern.com/>ΠΊΡΠ°ΠΊΠ΅Π½ ΡΡΡΠ»ΠΊΠ° kraken</a>
Π₯ΠΎΡΠΎΡΠ΅Π³ΠΎ Π΄Π½Ρ.
Erstellt am 01/07/26 um 15:40:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
xepamyloatt schrieb:
Pickups Π°ΠΌΠ΅ΡΠΈΠΊΠ°Π½ΡΠΊΠΎΠ³ΠΎ Π±ΡΠ΅Π½Π΄Π° RAM Π·Π°Π²ΠΎΠ΅Π²Π°Π»ΠΈ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΠΎΡΡΡ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΠΈ, ΠΌΠΎΡΠ½ΠΎΡΡΠΈ ΠΈ Π²ΠΏΠ΅ΡΠ°ΡΠ»ΡΡΡΠΈΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΠΌ. Π€ΠΎΡΡΠΌ ramforum.ru ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π² ΡΡΠΈΡ
Π»Π΅Π³Π΅Π½Π΄Π°ΡΠ½ΡΡ
Π³ΡΡΠ·ΠΎΠ²ΠΈΠΊΠΎΠ² Π² Π ΠΎΡΡΠΈΠΈ Π΄Π»Ρ ΠΎΠ±ΠΌΠ΅Π½Π° ΠΎΠΏΡΡΠΎΠΌ, ΠΎΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΡ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΡ
ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠ΅ΠΉ ΠΈ ΡΠ΅ΡΠ΅Π½ΠΈΡ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π²ΠΎΠΏΡΠΎΡΠΎΠ² ΡΠΊΡΠΏΠ»ΡΠ°ΡΠ°ΡΠΈΠΈ. ΠΠ΄Π΅ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠ΅ ΠΎΠ±Π·ΠΎΡΡ ΠΌΠΎΠ΄Π΅Π»Π΅ΠΉ RAM 1500 Π² ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΡΡ
Limited, Rebel ΠΈ Tungsten, ΡΠ·Π½Π°ΡΡ ΠΎ ΡΠ°Π·Π»ΠΈΡΠΈΡΡ
Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Π΅ΠΉ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ
Π°ΠΊΡΠ΅ΡΡΡΠ°ΡΠ°Ρ
. ΠΠ° ΡΠΎΡΡΠΌΠ΅ <a href=http://ramforum.ru/>http://ramforum.ru/</a> Π°ΠΊΡΠΈΠ²Π½ΡΠ΅ ΡΡΠ°ΡΡΠ½ΠΈΠΊΠΈ Π΄Π΅Π»ΡΡΡΡ ΡΠΎΡΠΎΠ³ΡΠ°ΡΠΈΡΠΌΠΈ ΡΠ²ΠΎΠΈΡ
Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ, ΡΠΎΠ²Π΅ΡΠ°ΠΌΠΈ ΠΏΠΎ Π²ΡΠ±ΠΎΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡΠΌΠΈ ΠΏΠΎ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ. ΠΡΠΈΡΠΎΠ΅Π΄ΠΈΠ½ΡΠΉΡΠ΅ΡΡ ΠΊ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Ρ ΡΠ½ΡΡΠ·ΠΈΠ°ΡΡΠΎΠ², ΡΡΠΎΠ±Ρ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΈΡΡΠ΅ΡΠΏΡΠ²Π°ΡΡΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎΠ± Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»ΡΡ
RAM ΠΎΡ ΡΠ΅Π°Π»ΡΠ½ΡΡ
Π²Π»Π°Π΄Π΅Π»ΡΡΠ΅Π².
Erstellt am 01/07/26 um 17:09:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
GichardNal schrieb:
Thank you for some other informative web site. The place else could I am getting that type of info written in such an ideal approach? I've a undertaking that I'm simply now operating on, and I've been on the glance out for such info.
<a href=https://dragon.suzdalhotels...>ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠ°Π·ΠΈΠ½ΠΎ Dragon Money</a>
<a href=https://dragon.suzdalhotels...>ΠΎΠ½Π»Π°ΠΉΠ½ ΠΊΠ°Π·ΠΈΠ½ΠΎ Dragon Money</a>
Erstellt am 01/07/26 um 20:06:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bigigthwaida schrieb:
Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΈ ΡΡΡΠ΅ΡΠΈΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΡΡΠ°Π½ΡΡΠ²Π° ΡΡΠ΅Π±ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ². ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Glassway ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π΅ ΠΏΠΎΠ΄Π²Π΅ΡΠ½ΡΡ
ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ², Π°Π»ΡΠΌΠΈΠ½ΠΈΠ΅Π²ΡΡ
ΠΏΠ΅ΡΠ΅Π³ΠΎΡΠΎΠ΄ΠΎΠΊ, Π΄Π²Π΅ΡΠ΅ΠΉ ΠΈ ΡΠ²Π΅ΡΠΎΠ΄ΠΈΠΎΠ΄Π½ΡΡ
ΡΠ²Π΅ΡΠΈΠ»ΡΠ½ΠΈΠΊΠΎΠ² Π΄Π»Ρ ΠΎΡΠΈΡΠΎΠ², ΡΠΎΡΠ³ΠΎΠ²ΡΡ
ΡΠ΅Π½ΡΡΠΎΠ² ΠΈ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΡΡ
ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ². Π‘ΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ ΠΏΠΎ Π·Π°Π²ΠΎΠ΄ΡΠΊΠΈΠΌ ΡΠ΅Π½Π°ΠΌ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΈ Π³ΠΈΠ±ΠΊΠΈΠΌΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²Π°. ΠΠΎΡΠ΅ΡΠΈΡΠ΅ <a href=https://glassway.group/>https://glassway.group/</a> ΡΡΠΎΠ±Ρ ΠΎΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ ΡΠ΅ΡΠ΅Π½ΠΈΠΉ: ΠΎΡ ΠΊΠ°ΡΡΠ΅ΡΠ½ΡΡ
ΠΏΠΎΡΠΎΠ»ΠΊΠΎΠ² ΠΈ ΡΡΠ΅ΠΊΠ»ΡΠ½Π½ΡΡ
ΠΏΠ΅ΡΠ΅Π³ΠΎΡΠΎΠ΄ΠΎΠΊ Π΄ΠΎ ΡΠΌΠ°ΡΡ-ΡΡΠ΅ΠΊΠ»Π° ΠΈ ΠΎΠ±Π»ΠΈΡΠΎΠ²ΠΎΡΠ½ΡΡ
ΠΏΠ°Π½Π΅Π»Π΅ΠΉ. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½Π°Ρ ΠΊΠΎΠΌΠ°Π½Π΄Π° Π²ΡΠΏΠΎΠ»Π½ΠΈΡ ΠΌΠΎΠ½ΡΠ°ΠΆΠ½ΡΠ΅ ΡΠ°Π±ΠΎΡΡ Π»ΡΠ±ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ, Π²ΠΎΠΏΠ»ΠΎΡΠΈΠ² Π² ΠΆΠΈΠ·Π½Ρ ΡΠ°ΠΌΡΠ΅ ΡΠΌΠ΅Π»ΡΠ΅ Π΄ΠΈΠ·Π°ΠΉΠ½Π΅ΡΡΠΊΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΡ Π΄Π»Ρ Π²Π°ΡΠ΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°.
Erstellt am 01/07/26 um 20:53:30
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
supaxtrom schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«Π Π°Π·ΠΠΈΠΊΠ’ΡΠ΅ΠΉΠ΄Β» ΠΈΠ· ΠΠ΅Π»Π°ΡΡΡΠΈ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ΅ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΡΠ΅ΡΡ-ΡΠΎΡΠΌ ΠΈ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ ΠΈΠ· ΠΏΠ»Π°ΡΡΠΈΠΊΠ° Π΄Π»Ρ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
ΠΈ Π±Π΅Π»ΠΎΡΡΡΡΠΊΠΈΡ
Π·Π°ΠΊΠ°Π·ΡΠΈΠΊΠΎΠ². ΠΠ°Π²ΠΎΠ΄ Ρ 10-Π»Π΅ΡΠ½Π΅ΠΉ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΎΠΉ ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅Ρ Π·Π°Π΄Π°ΡΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ: ΠΎΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ 3D-ΠΏΡΠΎΠ΅ΠΊΡΠ° Π΄ΠΎ ΡΡΠ°ΡΡΠ° ΠΌΠ°ΡΡΠΎΠ²ΠΎΠ³ΠΎ Π²ΡΠΏΡΡΠΊΠ°. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ
ΠΈ ΠΊΠ΅ΠΉΡΠ°Ρ
ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ ΠΌΠΎΠΆΠ½ΠΎ ΡΠ·Π½Π°ΡΡ Π½Π° <a href=https://press-forma.by/>https://press-forma.by/</a> β Π·Π΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΡΠΈΠΌΠ΅ΡΡ ΡΠ°Π±ΠΎΡ, ΠΊΠ°ΡΠ°Π»ΠΎΠ³ Π³ΠΎΡΠΎΠ²ΠΎΠΉ ΡΠ°ΡΡ ΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²Π°. ΠΠ»ΠΈΠ΅Π½ΡΡ ΠΏΠΎΠ»ΡΡΠ°ΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΡ ΡΡΠΎΠΊΠΎΠ², ΡΠΊΠΎΠ½ΠΎΠΌΠΈΡΠ΅ΡΠΊΡΡ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΈ Π²ΡΠ³ΠΎΠ΄Ρ Π² 2-3 ΡΠ°Π·Π° Π²ΡΡΠ΅ ΠΏΠΎ ΡΡΠ°Π²Π½Π΅Π½ΠΈΡ Ρ ΠΊΠΈΡΠ°ΠΉΡΠΊΠΈΠΌ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎΠΌ.
Erstellt am 01/07/26 um 22:47:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ua-bay-724 schrieb:
Ρ
ΠΎΡΠΎΡΡ Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΠΊΡΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://ua-bay.net/>ΡΠΏΠΎΡΡΠΈΠ²Π½Ρ ΡΡΠ»ΡΠΌΠΈ Π΄ΠΈΠ²ΠΈΡΠΈΡΡ Π±Π΅Π·ΠΊΠΎΡΡΠΎΠ²Π½ΠΎ</a>
Erstellt am 01/07/26 um 23:08:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ua-bay-429 schrieb:
ΡΡΠ»ΡΠΌΠΈ ΠΆΠ°Ρ
ΡΠ² ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://ua-bay.net/>ΠΊΡΠ°ΡΡ ΡΠΊΡΠ°ΡΠ½ΡΡΠΊΡ ΡΠ΅ΡΡΠ°Π»ΠΈ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/07/26 um 23:08:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ua-bay-673 schrieb:
Π΄ΠΈΠ²ΠΈΡΠΈΡΡ ΡΡΠ»ΡΠΌΠΈ Π±Π΅Π·ΠΊΠΎΡΡΠΎΠ²Π½ΠΎ <a href=https://ua-bay.net/>ΠΆΠ°Ρ
ΠΈ ΡΠ° ΠΌΡΡΡΠΈΠΊΠ° Π² Ρ
ΠΎΡΠΎΡΡΠΉ ΡΠΊΠΎΡΡΡ 1080p</a>
Erstellt am 01/07/26 um 23:08:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bagupdiano schrieb:
ΠΡΠ΅ΡΠ΅ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²ΠΎ ΠΊΠ°ΡΠΊΠ°ΡΠ½ΠΎΠ³ΠΎ Π΄ΠΎΠΌΠ° ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Π² ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΠ΅ ΠΈ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΡΠΊΠΎΠΌ ΠΊΡΠ°Π΅? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ <a href=https://masterim-novostroy.ru/>https://masterim-novostroy.ru/</a> - ΠΏΠΎΡΠΌΠΎΡΡΠΈΡΠ΅ Π½Π°ΡΠΈ ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΈ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΡΠΎΠ±ΡΠ°ΡΡ ΡΠ΅ΠΏΠ»ΡΠΉ Π΄ΠΎΠΌ Π·Π° 2 Π½Π΅Π΄Π΅Π»ΠΈ! Π ΠΏΡΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΌΡ ΠΏΠΎΠ»Π½ΠΎΡΡΡΡ Π±Π΅ΡΠ΅ΠΌ Π½Π° ΡΠ΅Π±Ρ Π²ΡΠ΅ ΡΡΠ°ΠΏΡ β ΠΎΡ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΈ ΡΠΎΠ³Π»Π°ΡΠΎΠ²Π°Π½ΠΈΡ Π΄ΠΎ ΡΠΈΠ½ΠΈΡΠ½ΠΎΠΉ ΠΎΡΠ΄Π΅Π»ΠΊΠΈ ΠΈ ΡΠ±ΠΎΡΠΊΠΈ. Π£Π·Π½Π°ΠΉΡΠ΅ ΠΏΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° ΡΠ°ΠΉΡΠ΅ ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π½Π°ΡΠ΅ΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΈ ΡΡΠ°ΠΏΠ°Ρ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°!
Erstellt am 01/08/26 um 13:40:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
wuzehenCat schrieb:
ΠΠ°ΡΡΡΠ°ΡΠΈΠΎΠ½Π½ΠΎ-ΡΠ΅Π·ΠΈΡΡΠ΅Π½ΡΠ½ΡΠΉ ΡΠ°ΠΊ ΠΏΡΠ΅Π΄ΡΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΠΉ ΠΆΠ΅Π»Π΅Π·Ρ ΠΎΡΡΠ°Π΅ΡΡΡ ΡΠ΅ΡΡΠ΅Π·Π½ΡΠΌ Π²ΡΠ·ΠΎΠ²ΠΎΠΌ Π΄Π»Ρ ΠΎΠ½ΠΊΠΎΠ»ΠΎΠ³ΠΎΠ², Π½ΠΎ ΠΈΠ½Π½ΠΎΠ²Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΡ Π΄Π°ΡΡ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°ΠΌ Π½ΠΎΠ²ΡΡ Π½Π°Π΄Π΅ΠΆΠ΄Ρ. ΠΠ½Π·Π°Π»ΡΡΠ°ΠΌΠΈΠ΄ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΎΠ±ΠΎΠΉ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π°Π½ΡΠΈΠ°Π½Π΄ΡΠΎΠ³Π΅Π½Π½ΡΠΉ ΠΏΡΠ΅ΠΏΠ°ΡΠ°Ρ, ΠΊΠΎΡΠΎΡΡΠΉ Π±Π»ΠΎΠΊΠΈΡΡΠ΅Ρ ΡΠ΅ΡΠ΅ΠΏΡΠΎΡΡ ΠΌΡΠΆΡΠΊΠΈΡ
Π³ΠΎΡΠΌΠΎΠ½ΠΎΠ² ΠΈ ΡΠΎΡΠΌΠΎΠ·ΠΈΡ ΡΠΎΡΡ ΠΎΠΏΡΡ
ΠΎΠ»Π΅Π²ΡΡ
ΠΊΠ»Π΅ΡΠΎΠΊ. ΠΠ»ΠΈΠ½ΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΈΡΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΡ ΠΏΠΎΠΊΠ°Π·Π°Π»ΠΈ ΡΠ²Π΅Π»ΠΈΡΠ΅Π½ΠΈΠ΅ ΠΎΠ±ΡΠ΅ΠΉ Π²ΡΠΆΠΈΠ²Π°Π΅ΠΌΠΎΡΡΠΈ Π½Π° 4,8 ΠΌΠ΅ΡΡΡΠ° ΠΈ ΡΠ½ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠΈΡΠΊΠ° ΡΠΌΠ΅ΡΡΠΈ Π½Π° 37%. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΠΌΠ΅Ρ
Π°Π½ΠΈΠ·ΠΌΠ΅ Π΄Π΅ΠΉΡΡΠ²ΠΈΡ, Π΄ΠΎΠ·ΠΈΡΠΎΠ²ΠΊΠ°Ρ
ΠΈ ΠΏΠΎΠΊΠ°Π·Π°Π½ΠΈΡΡ
ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡΠΈ Π½Π° <a href=https://indenza.com.ru/>https://indenza.com.ru/</a> β ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΌ ΡΠ΅ΡΡΡΡΠ΅ Π΄Π»Ρ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠΎΠ² ΠΈ Π²ΡΠ°ΡΠ΅ΠΉ. Π£Π΄ΠΎΠ±ΡΡΠ²ΠΎ ΠΏΡΠΈΠ΅ΠΌΠ° β Π²ΡΠ΅Π³ΠΎ ΠΎΠ΄ΠΈΠ½ ΡΠ°Π· Π² Π΄Π΅Π½Ρ ΡΡΠ°Π½Π΄Π°ΡΡΠ½Π°Ρ Π΄ΠΎΠ·Π° 160 ΠΌΠ³ β Π΄Π΅Π»Π°Π΅Ρ ΡΠ΅ΡΠ°ΠΏΠΈΡ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠΉ, Π° ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ° ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ ΠΊΠΎΠ½ΡΡΠΎΠ»ΠΈΡΠΎΠ²Π°ΡΡ Ρ
ΠΎΠ΄ Π»Π΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 01/08/26 um 17:03:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hemowiStIdo schrieb:
ΠΠ°ΡΠΊΠ° Π΄Π»Ρ ΠΎΡΠΎΠ·Π½Π°Π½Π½ΡΡ
ΡΠ½ΠΎΠ²ΠΈΠ΄Π΅Π½ΠΈΠΉ DreamStalker Expert ΡΠ΅ΡΠ²Π΅ΡΡΠΎΠ³ΠΎ ΠΏΠΎΠΊΠΎΠ»Π΅Π½ΠΈΡ ΠΎΡ ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ ΠΎΡΠ½Π°ΡΠ΅Π½Π° Wi-Fi ΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ΠΌ, Π΄Π²ΡΠΌΡ Π΄Π°ΡΡΠΈΠΊΠ°ΠΌΠΈ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ Π³Π»Π°Π·, RGB-ΡΠ²Π΅ΡΠΎΠ΄ΠΈΠΎΠ΄Π°ΠΌΠΈ ΠΈ OLED-Π΄ΠΈΡΠΏΠ»Π΅Π΅ΠΌ. Π£ΡΡΡΠΎΠΉΡΡΠ²ΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΠΎ Π½Π° <a href=https://claps.me/catalog/pr...>https://claps.me/catalog/pribory-dlya-osoznannykh-snov/pribor-dlya-osoznannykh-snovideniy-dreamstalker-expert/</a> Π² ΡΠ΅ΡΡΡΠ΅Ρ
Π²Π°ΡΠΈΠ°Π½ΡΠ°Ρ
Ρ ΡΡΠ½ΠΊΡΠΈΡΠΌΠΈ ΠΌΠ°ΠΉΠ½Π΄-ΠΌΠ°ΡΠΈΠ½Ρ ΠΈ ΡΡΠ°Π½ΡΠΊΡΠ°Π½ΠΈΠ°Π»ΡΠ½ΠΎΠΉ ΡΡΠΈΠΌΡΠ»ΡΡΠΈΠΈ tACS. ΠΡΠΈΠ±ΠΎΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΡΡ Π·Π°ΠΏΠΈΡΡ ΡΠ½ΠΎΠ²ΠΈΠ΄Π΅Π½ΠΈΠΉ, Π³ΠΎΠ»ΠΎΡΠΎΠ²ΡΠ΅ ΠΏΠΎΠ΄ΡΠΊΠ°Π·ΠΊΠΈ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π΄ΠΎΠΊΡΠΏΠΊΠΈ Π»ΠΈΡΠ΅Π½Π·ΠΈΠΉ Π½Π° Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΡΡΠ½ΠΊΡΠΈΠΈ.
Erstellt am 01/08/26 um 19:45:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vymosioNob schrieb:
Play Lightning Roulette Online on the official website <a href=https://lightningroulettepl...>https://lightningrouletteplay.com/en/</a> . Learn how to play Lightning online roulette, as well as how to register an account, make a deposit or withdrawal, and learn game strategies. And be sure to take advantage of our lucrative bonuses and promotions!
Erstellt am 01/09/26 um 08:25:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
putumhewOvalo schrieb:
ΠΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΡΡΠΊΠΎΠ³ΠΎ ΠΈ Π·Π°ΠΏΠΎΠΌΠΈΠ½Π°ΡΡΠ΅Π³ΠΎΡΡ Π΄Π΅ΡΡΠΊΠΎΠ³ΠΎ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠ° ΡΡΠ΅Π±ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° ΠΈ ΡΠ²ΠΎΡΡΠ΅ΡΠΊΠΎΠΉ ΡΠ°Π½ΡΠ°Π·ΠΈΠΈ. ΠΠ³Π΅Π½ΡΡΡΠ²ΠΎ "ΠΡΠΈΡΠΊΠ°-Π¨ΠΎΡ" Π² ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΏΡΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠΈ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠΎΠ² ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Ρ ΡΡΠ°ΡΡΠΈΠ΅ΠΌ Π»ΡΠ±ΠΈΠΌΡΡ
ΠΏΠ΅ΡΡΠΎΠ½Π°ΠΆΠ΅ΠΉ Π΄Π΅ΡΠ΅ΠΉ. Π Π°ΡΡΠ΅Π½Π°Π»Π΅ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π±ΠΎΠ»Π΅Π΅ ΠΏΡΡΠΈΠ΄Π΅ΡΡΡΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌ: ΠΎΡ ΠΊΠ»Π°ΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
Π°Π½ΠΈΠΌΠ°ΡΠΎΡΠΎΠ²-ΠΊΠ»ΠΎΡΠ½ΠΎΠ² Π΄ΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ
Π³Π΅ΡΠΎΠ΅Π² TikTok-Π²Π΅ΡΠ΅ΡΠΈΠ½ΠΎΠΊ ΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°ΠΆΠ΅ΠΉ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΡ
ΠΌΡΠ»ΡΡΡΠΈΠ»ΡΠΌΠΎΠ². ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ Π²Π΅Π΄ΡΡΠΈΠ΅ ΡΠΎΠ·Π΄Π°Π΄ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ Π²ΠΎΠ»ΡΠ΅Π±ΡΡΠ²Π° Π½Π° Π΄Π½Π΅ ΡΠΎΠΆΠ΄Π΅Π½ΠΈΡ, Π²ΡΠΏΡΡΠΊΠ½ΠΎΠΌ Π² Π΄Π΅ΡΡΠΊΠΎΠΌ ΡΠ°Π΄Ρ ΠΈΠ»ΠΈ Π½ΠΎΠ²ΠΎΠ³ΠΎΠ΄Π½Π΅ΠΌ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊΠ΅. Π£Π·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°Ρ
ΠΈ Π·Π°ΠΊΠ°Π·Π°ΡΡ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊ ΠΌΠΎΠΆΠ½ΠΎ Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://iriska-show.ru/>https://iriska-show.ru/</a> Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΠΏΠΎΠ»Π½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΡΡΠ»ΡΠ³ Ρ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ΠΌ ΠΈ ΡΠ΅Π½Π°ΠΌΠΈ.
Erstellt am 01/09/26 um 15:23:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ua-bay-367 schrieb:
ΡΠ΅Π·ΠΎΠ½ Π΄ΠΈΠ²ΠΈΡΠΈΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://ua-bay.net/>ΠΏΡΠ΅ΠΌ'ΡΡΠΈ ΡΡΠ»ΡΠΌΡΠ² 2026 ΠΎΠ½Π»Π°ΠΉΠ½ Π±Π΅Π·ΠΊΠΎΡΡΠΎΠ²Π½ΠΎ</a>
Erstellt am 01/09/26 um 20:00:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gumumtVem schrieb:
ΠΠ΄ΠΎΡΠΎΠ²ΡΠ΅ Π·ΡΠ±ΠΎΠ² ΡΡΠ΅Π±ΡΠ΅Ρ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎΠ³ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΡ
ΠΎΠ΄Π°, ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ ΠΊΠΎΠ³Π΄Π° ΡΠ΅ΡΡ ΠΈΠ΄Π΅Ρ ΠΎ Π΄Π΅ΡΡΡ
ΠΈ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠ°Ρ
Ρ ΠΏΠΎΠ²ΡΡΠ΅Π½Π½ΠΎΠΉ ΡΡΠ΅Π²ΠΎΠΆΠ½ΠΎΡΡΡΡ. ΠΠ»ΠΈΠ½ΠΈΠΊΠ° "ΠΠΈΠ½Π΄Π΅Ρ ΠΠ΅Π½Ρ" Π² ΡΠ°ΠΉΠΎΠ½Π΅ ΠΠ΅ΠΊΡΠ°ΡΠΎΠ²ΠΊΠ° ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠ΅ΠΌΠ΅ΠΉΠ½ΠΎΠΉ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΠΈ Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΏΠΎΠ΄ Π½Π°ΡΠΊΠΎΠ·ΠΎΠΌ Π΄Π»Ρ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ° ΠΏΠ°ΡΠΈΠ΅Π½ΡΠΎΠ². Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ Π²ΡΠ°ΡΠΈ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ΅ ΠΏΡΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅ ΠΏΡΠΎΡΠ΅Π΄ΡΡ Π»ΡΠ±ΠΎΠΉ ΡΠ»ΠΎΠΆΠ½ΠΎΡΡΠΈ: ΠΎΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠΉ Π³ΠΈΠ³ΠΈΠ΅Π½Ρ ΠΏΠΎΠ»ΠΎΡΡΠΈ ΡΡΠ° Π΄ΠΎ ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°ΡΠΈΠΈ Π·ΡΠ±ΠΎΠ². Π£Π·Π½Π°ΠΉΡΠ΅ Π±ΠΎΠ»ΡΡΠ΅ Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://kinder-dent.ru/>https://kinder-dent.ru/</a> Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³ Π΄Π»Ρ Π΄Π΅ΡΠ΅ΠΉ ΠΈ Π²Π·ΡΠΎΡΠ»ΡΡ
, Π²ΠΊΠ»ΡΡΠ°Ρ ΠΎΡΡΠΎΠ΄ΠΎΠ½ΡΠΈΡ, ΡΡΡΠ΅ΡΠΈΡΠ΅ΡΠΊΡΡ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ Π±Π΅Π·Π±ΠΎΠ»Π΅Π·Π½Π΅Π½Π½ΠΎΠ΅ ΠΎΡΠ±Π΅Π»ΠΈΠ²Π°Π½ΠΈΠ΅ Π·ΡΠ±ΠΎΠ² Π΄ΠΎ Π²ΠΎΡΡΠΌΠΈ ΡΠΎΠ½ΠΎΠ² Π·Π° ΠΎΠ΄ΠΈΠ½ ΡΠ΅Π°Π½Ρ. ΠΠ΅ΡΠΏΠ»Π°ΡΠ½Π°Ρ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΠΈΠΌΠΏΠ»Π°Π½ΡΠΎΠ»ΠΎΠ³Π° ΠΏΠΎΠΌΠΎΠΆΠ΅Ρ ΡΠΎΡΡΠ°Π²ΠΈΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠ»Π°Π½ Π»Π΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 01/10/26 um 03:39:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
mumohBer schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΡΠΎΡΠΡΡΠ΄ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ ΠΈΡΠΊΡΡΡΡΠ²Π΅Π½Π½ΡΡ
Π²ΠΎΠ΄ΠΎΠ΅ΠΌΠΎΠ² Π½Π° Π·Π°Π³ΠΎΡΠΎΠ΄Π½ΡΡ
ΡΡΠ°ΡΡΠΊΠ°Ρ
. Π Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½ΡΠ΅ <a href=https://profprud.ru/>https://profprud.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ΠΎ Π±ΠΎΠ»Π΅Π΅ 250 Π½Π°ΠΈΠΌΠ΅Π½ΠΎΠ²Π°Π½ΠΈΠΉ: ΠΏΠ»Π΅Π½ΠΊΠ° ΠΠΠ₯ ΠΈ Π±ΡΡΠΈΠ»ΠΊΠ°ΡΡΡΠΊΠΎΠ²Π°Ρ ΡΠ΅Π·ΠΈΠ½Π°, Π³ΠΎΡΠΎΠ²ΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΏΡΡΠ΄Ρ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π°, ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΠΈΠ»ΡΡΡΡ, Π½Π°ΡΠΎΡΡ, ΡΠΊΠΈΠΌΠΌΠ΅ΡΡ, ΡΠΎΠ½ΡΠ°Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ Π΄Π΅ΠΊΠΎΡΠ°ΡΠΈΠ²Π½ΡΠ΅ ΡΠ»Π΅ΠΌΠ΅Π½ΡΡ. Π‘ΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²ΠΎ Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ ΠΈΠ· ΠΠ΅ΡΠΌΠ°Π½ΠΈΠΈ, Π‘Π¨Π ΠΈ Π΄ΡΡΠ³ΠΈΡ
ΡΡΡΠ°Π½ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ Π΄ΠΎ 10 Π»Π΅Ρ.
Erstellt am 01/10/26 um 03:47:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vobehpoism schrieb:
<a href=https://ropc.jp/>https://ropc.jp/</a>
Erstellt am 01/10/26 um 06:11:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sehecduego schrieb:
Π‘Π΅ΡΠ²ΠΈΡ <a href=https://seoprofi.org/>https://seoprofi.org/</a> ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠΉ Π½Π°ΠΊΡΡΡΠΊΠ΅ ΠΏΡΠΎΡΠΌΠΎΡΡΠΎΠ² Π΄Π»Ρ Rutube ΠΈ VK ΠΠΈΠ΄Π΅ΠΎ, Π° ΡΠ°ΠΊΠΆΠ΅ ΡΠ²Π΅Π»ΠΈΡΠ΅Π½ΠΈΠΈ ΡΡΠ°ΡΠΈΠΊΠ° Π½Π° Π²Π΅Π±-ΡΠ°ΠΉΡΡ Ρ Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΌ ΡΠ°ΡΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠ΅ΠΌ ΠΏΠΎΠΊΠ°Π·Π°ΡΠ΅Π»Π΅ΠΉ. ΠΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΡΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅ Π°ΡΠ΄ΠΈΡΠΎΡΠΈΠΈ Π½Π° ΡΡΠΎΠ²Π½Π΅ 50-80%, Π·Π°ΠΏΡΡΠΊΠ°Π΅Ρ ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΈ Π·Π° 1-3 ΡΠ°ΡΠ° ΠΈ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠ°ΡΠΈΡΡ ΠΎΡ 1200 ΡΡΠ±Π»Π΅ΠΉ Π·Π° 1000 Π΅Π΄ΠΈΠ½ΠΈΡ ΡΡΠ°ΡΠΈΠΊΠ°. ΠΠ΅ΡΠΎΠ΄ΠΈΠΊΠ° ΡΡΠΈΡΡΠ²Π°Π΅Ρ Π°Π»Π³ΠΎΡΠΈΡΠΌΡ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΎΠΊ, ΠΈΡΠΊΠ»ΡΡΠ°Π΅Ρ ΡΠ΅Π·ΠΊΠΈΠ΅ ΡΠΊΠ°ΡΠΊΠΈ ΡΡΠ°ΡΠΈΡΡΠΈΠΊΠΈ ΠΈ ΠΏΠΎΠΌΠΎΠ³Π°Π΅Ρ Π²ΡΠ²ΠΎΠ΄ΠΈΡΡ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π² ΡΠΎΠΏ Π±Π΅Π· ΡΠΈΡΠΊΠΎΠ² Π±Π»ΠΎΠΊΠΈΡΠΎΠ²ΠΊΠΈ ΠΏΡΠΈ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠ΅.
Erstellt am 01/10/26 um 13:26:05
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ramonnaicy schrieb:
ΠΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² <a href=https://team-black-top.ru/>https://team-black-top.ru</a> ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ: Π°ΡΠ΄ΠΈΡ, ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ, ΡΠ΅ΠΌΠ°Π½ΡΠΈΠΊΠ°, ΡΠ΅Ρ
ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΊΠΎΠ½ΡΠ΅Π½Ρ ΠΈ ΡΡΡΠ»ΠΊΠΈ. Π£Π»ΡΡΡΠ°Π΅ΠΌ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ Π² Google/Π―Π½Π΄Π΅ΠΊΡ, ΡΠ²Π΅Π»ΠΈΡΠΈΠ²Π°Π΅ΠΌ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π·Π°ΡΠ²ΠΊΠΈ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΠΎΡΡΠ΅ΡΠ½ΠΎΡΡΡ, ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ KPI ΠΈ ΡΠ°Π±ΠΎΡΠ° Π½Π° ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ β ΠΎΡ ΡΡΠ°ΡΡΠ° Π΄ΠΎ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ°.
Erstellt am 01/10/26 um 17:24:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Ramonnaicy schrieb:
ΠΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² <a href=https://team-black-top.ru/>https://team-black-top.ru</a> ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ: Π°ΡΠ΄ΠΈΡ, ΡΡΡΠ°ΡΠ΅Π³ΠΈΡ, ΡΠ΅ΠΌΠ°Π½ΡΠΈΠΊΠ°, ΡΠ΅Ρ
ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ, ΠΊΠΎΠ½ΡΠ΅Π½Ρ ΠΈ ΡΡΡΠ»ΠΊΠΈ. Π£Π»ΡΡΡΠ°Π΅ΠΌ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ Π² Google/Π―Π½Π΄Π΅ΠΊΡ, ΡΠ²Π΅Π»ΠΈΡΠΈΠ²Π°Π΅ΠΌ ΡΡΠ°ΡΠΈΠΊ ΠΈ Π·Π°ΡΠ²ΠΊΠΈ. ΠΡΠΎΠ·ΡΠ°ΡΠ½Π°Ρ ΠΎΡΡΠ΅ΡΠ½ΠΎΡΡΡ, ΠΏΠΎΠ½ΡΡΠ½ΡΠ΅ KPI ΠΈ ΡΠ°Π±ΠΎΡΠ° Π½Π° ΡΠ΅Π·ΡΠ»ΡΡΠ°Ρ β ΠΎΡ ΡΡΠ°ΡΡΠ° Π΄ΠΎ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΠΎΠ³ΠΎ ΡΠΎΡΡΠ°.
Erstellt am 01/10/26 um 17:24:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ab-resurs schrieb:
Π’ΡΠ³ΠΎΠ²ΡΠ΅ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΠ΅ <a href=https://ab-resurs.ru/>https://ab-resurs.ru</a> Π±Π°ΡΠ°ΡΠ΅ΠΈ Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΈ, ΡΠΈΡΡΡΠ°ΠΊΠΈ, ΡΠ»Π΅ΠΊΡΡΠΎΡΠ΅Π»Π΅ΠΆΠΊΠΈ, ΡΡΠ°Π±Π΅Π»Π΅ΡΡ. ΠΠΎΠ²ΡΠ΅ ΠΠΠ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ, ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅, ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΡΡΡ Ρ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΌΠΈ ΠΌΠΎΠ΄Π΅Π»ΡΠΌΠΈ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΈ ΡΠ΅ΡΠ²ΠΈΡΠ½ΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅.
Erstellt am 01/10/26 um 23:04:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ab-resurs schrieb:
Π’ΡΠ³ΠΎΠ²ΡΠ΅ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΠ΅ <a href=https://ab-resurs.ru/>https://ab-resurs.ru</a> Π±Π°ΡΠ°ΡΠ΅ΠΈ Π΄Π»Ρ ΡΠΊΠ»Π°Π΄ΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ: ΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΈ, ΡΠΈΡΡΡΠ°ΠΊΠΈ, ΡΠ»Π΅ΠΊΡΡΠΎΡΠ΅Π»Π΅ΠΆΠΊΠΈ, ΡΡΠ°Π±Π΅Π»Π΅ΡΡ. ΠΠΎΠ²ΡΠ΅ ΠΠΠ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ, ΠΏΠΎΠΌΠΎΡΡ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅, ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΡΡΡ Ρ ΠΏΠΎΠΏΡΠ»ΡΡΠ½ΡΠΌΠΈ ΠΌΠΎΠ΄Π΅Π»ΡΠΌΠΈ, Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΠΈ ΡΠ΅ΡΠ²ΠΈΡΠ½ΠΎΠ΅ ΡΠΎΠΏΡΠΎΠ²ΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅.
Erstellt am 01/10/26 um 23:04:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Π΄ΡΠΈΠΏ ΠΊΠ°Π·ΠΈΠ½ΠΎ schrieb:
ΠΠ°Π·ΠΈΠ½ΠΎ drip ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ Π±ΡΡΡΡΠΎΠΌΡ ΠΏΠΎΠΈΡΠΊΡ ΠΈΠ³Ρ
Erstellt am 01/10/26 um 23:26:02
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
db bet apk schrieb:
Db-bet apk ΡΠΊΠ°ΡΠ°ΡΡ ΠΏΠΎΠ»ΡΡΠΈΠ»ΠΎΡΡ
Ρ ΠΏΠ΅ΡΠ²ΠΎΠ³ΠΎ ΡΠ°Π·Π°
Ρ ΠΏΠ΅ΡΠ²ΠΎΠ³ΠΎ ΡΠ°Π·Π°
Erstellt am 01/11/26 um 03:54:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
fabynVes schrieb:
Π€Π°ΡΠΌΠ°ΡΠ΅Π²ΡΠΈΡΠ΅ΡΠΊΠ°Ρ ΠΈΠ½Π΄ΡΡΡΡΠΈΡ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°Π΅Ρ ΡΠΏΠΎΡ
Ρ ΠΈΠ½Π½ΠΎΠ²Π°ΡΠΈΠΉ, ΠΊΠΎΠ³Π΄Π° ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π»Π΅ΠΊΠ°ΡΡΡΠ²Π΅Π½Π½ΡΠ΅ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΡ ΡΡΠ°Π½ΠΎΠ²ΡΡΡΡ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌΠΈ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠΌ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π° ΠΈ ΡΡΡΠΎΠ³ΠΎΠΌΡ ΠΊΠΎΠ½ΡΡΠΎΠ»Ρ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Aprazer ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΡΠ΅ΡΡΡ Π½Π° ΠΏΠΎΡΡΠ°Π²ΠΊΠ°Ρ
ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΡ
ΠΌΠ΅Π΄ΠΈΠΊΠ°ΠΌΠ΅Π½ΡΠΎΠ², Π²ΠΊΠ»ΡΡΠ°Ρ ΠΏΡΠ΅ΠΏΠ°ΡΠ°ΡΡ Π΄Π»Ρ Π»Π΅ΡΠ΅Π½ΠΈΡ Π²ΠΈΡΡΡΠ½ΠΎΠ³ΠΎ Π³Π΅ΠΏΠ°ΡΠΈΡΠ° Π‘ ΠΈ ΠΎΠ½ΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
Π·Π°Π±ΠΎΠ»Π΅Π²Π°Π½ΠΈΠΉ. ΠΠ°ΠΆΠ΄ΡΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡ ΠΏΡΠΎΡ
ΠΎΠ΄ΠΈΡ ΠΌΠ½ΠΎΠ³ΠΎΡΡΡΠΏΠ΅Π½ΡΠ°ΡΡΡ Π²Π΅ΡΠΈΡΠΈΠΊΠ°ΡΠΈΡ, ΡΡΠΎ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π΅Π³ΠΎ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΡ ΠΈ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΡΡΡ. ΠΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ΅ <a href=https://aprazer.com.ru/>https://aprazer.com.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΠΏΠΎΠ»Π½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ Ρ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠΌΠΈ ΠΎΠΏΠΈΡΠ°Π½ΠΈΡΠΌΠΈ, ΡΠΈΡΡΠ΅ΠΌΠ° ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΠΎΠΉ ΠΏΡΠΎΠ²Π΅ΡΠΊΠΈ ΠΏΠΎΠ΄Π»ΠΈΠ½Π½ΠΎΡΡΠΈ ΡΠ΅ΡΠ΅Π· ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΡ Π±Π°Π·Ρ Π΄Π°Π½Π½ΡΡ
ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΡΡΡΠΊΠΎΠ³ΠΎΠ²ΠΎΡΡΡΠΈΡ
ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ². ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π½Π°ΠΏΡΡΠΌΡΡ Ρ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠ΅ ΠΏΠΎΡΡΠ°Π²ΠΊΠΈ ΠΈ Π·Π°ΡΠΈΡΡ ΠΏΠ°ΡΠΈΠ΅Π½ΡΠΎΠ² ΠΎΡ ΠΊΠΎΠ½ΡΡΠ°ΡΠ°ΠΊΡΠ½ΠΎΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π½Π° ΡΠ°ΡΠΌΠ°ΡΠ΅Π²ΡΠΈΡΠ΅ΡΠΊΠΎΠΌ ΡΡΠ½ΠΊΠ΅.
Erstellt am 01/11/26 um 07:46:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
uakino-279 schrieb:
ΡΡΡΠ°Ρ
ΠΈ ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠΊΡΡΡΡ <a href=https://uakino.lu/>ΡΡΠ»ΡΠΌΠΈ ΠΌΠ°ΡΠ²Π΅Π» Π΄ΠΈΠ²ΠΈΡΠΈΡΡ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/11/26 um 12:50:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
uakino-565 schrieb:
Π΄ΠΈΠ²ΠΈΡΠΈΡΡ ΡΡΠ»ΡΠΌΠΈ <a href=https://uakino.lu/>ΠΌΠ΅Π»ΠΎΠ΄ΡΠ°ΠΌΠΈ ΠΏΡΠΎ ΠΊΠΎΡ
Π°Π½Π½Ρ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/11/26 um 12:50:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gucidkic schrieb:
ΠΠΠ Β«Π’Π΅Ρ
Π½ΠΎΡΠ²ΡΠ·ΡΒ» β Π²Π΅Π΄ΡΡΠ΅Π΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΏΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Ρ ΠΏΠ΅ΡΠ°ΡΠ½ΡΡ
ΠΏΠ»Π°Ρ Π² ΠΠΊΠ°ΡΠ΅ΡΠΈΠ½Π±ΡΡΠ³Π΅ Ρ Π±ΠΎΠ»Π΅Π΅ ΡΠ΅ΠΌ 20-Π»Π΅ΡΠ½ΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ. ΠΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅: ΠΎΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ Π΄ΠΎ ΠΌΠ°ΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠΈ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ SMT ΠΈ ΡΡΡΠ½ΡΡ ΡΠ±ΠΎΡΠΊΡ, Π²ΡΠΏΡΡΠΊ ΠΠΠ Π½Π° ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΡ
ΠΎΡΠ½ΠΎΠ²Π°Ρ
. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://www.techno-svyaz.ru/>https://www.techno-svyaz.ru/</a> Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΎΡ ΠΌΠΈΡΠΎΠ²ΡΡ
Π»ΠΈΠ΄Π΅ΡΠΎΠ² ΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΏΠ΅ΡΡΠΎΠ½Π°Π» Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΏΡΠΈ Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π΄Π»Ρ Π»ΡΠ±ΡΡ
ΠΎΠ±ΡΠ΅ΠΌΠΎΠ² Π·Π°ΠΊΠ°Π·ΠΎΠ².
Erstellt am 01/12/26 um 04:52:27
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
qovyddWab schrieb:
ΠΡΠ΅Π½Π΄Π° Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅ΠΉ Π² ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΠ΅ ΡΡΠ°Π½ΠΎΠ²ΠΈΡΡΡ ΠΏΡΠΎΡΡΠΎΠΉ ΠΈ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ Π±Π»Π°Π³ΠΎΠ΄Π°ΡΡ ΡΠ΅ΡΠ²ΠΈΡΡ CarTrip Ρ ΡΠΈΡΠΎΠΊΠΈΠΌ ΠΏΠ°ΡΠΊΠΎΠΌ ΠΌΠ°ΡΠΈΠ½. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΡΠ°Π½ΡΠΏΠΎΡΡ ΡΠ°Π·Π½ΡΡ
ΠΊΠ»Π°ΡΡΠΎΠ² β ΠΎΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΡ
ΡΠ΅Π΄Π°Π½ΠΎΠ² Π΄ΠΎ ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ΠΎΠ² ΠΈ ΠΊΠ°Π±ΡΠΈΠΎΠ»Π΅ΡΠΎΠ² Π΄Π»Ρ ΠΏΡΡΠ΅ΡΠ΅ΡΡΠ²ΠΈΠΉ. ΠΡΡΡΡΡΡΠ²ΠΈΠ΅ Π·Π°Π»ΠΎΠ³Π° ΠΈ ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ ΠΏΠΎ ΠΏΡΠΎΠ±Π΅Π³Ρ Π΄Π΅Π»Π°Π΅Ρ ΡΡΠ»ΠΎΠ²ΠΈΡ ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠΌΠΈ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌΠΈ Π΄Π»Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ². Π Π°Π·ΡΠ΅ΡΠ΅Π½ Π²ΡΠ΅Π·Π΄ Π² ΠΡΡΠΌ, ΡΡΠΎ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎ Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎ Π΄Π»Ρ Π»Π΅ΡΠ½Π΅Π³ΠΎ ΠΎΡΠ΄ΡΡ
Π° Π½Π° ΠΏΠΎΠ±Π΅ΡΠ΅ΠΆΡΠ΅ Π§Π΅ΡΠ½ΠΎΠ³ΠΎ ΠΌΠΎΡΡ. ΠΠ·Π½Π°ΠΊΠΎΠΌΠΈΡΡΡΡ Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ ΠΈ Π·Π°Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Ρ ΠΌΠΎΠΆΠ½ΠΎ Π½Π° <a href=https://prokat.car-trip.ru/>https://prokat.car-trip.ru/</a> ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½. ΠΠΈΡΠΊΠΎΠ½ΡΠ½Π°Ρ ΠΊΠ°ΡΡΠ° ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΡΡΡ ΠΊΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΊΠ»ΠΈΠ΅Π½ΡΡ ΠΏΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΠΌ ΠΎΠ±ΡΠ°ΡΠ΅Π½ΠΈΠΈ Π² ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΡ Π΄Π»Ρ ΠΏΠΎΡΡΠΎΡΠ½Π½ΡΡ
Π²ΡΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ.
Erstellt am 01/12/26 um 08:27:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
StephenHag schrieb:
An outstanding share! I have just forwarded this onto a co-worker who has been doing a little homework on this. And he in fact ordered me dinner due to the fact that I discovered it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanx for spending some time to discuss this subject here on your web site.
https://befirst.com.ua/niss...
https://befirst.com.ua/niss...
Erstellt am 01/12/26 um 10:47:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pisixokeD schrieb:
Π’ΡΠ΅Π±ΡΠ΅ΡΡΡ <a href=https://4israel.co.il/ru/jobs/>ΡΠ°Π±ΠΎΡΠ° Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅</a>? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ 4israel.co.il/ru/jobs/ ΠΈ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ. ΠΠ΅Π³ΠΊΠΎ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΠ΅ ΠΎΠΊΡΡΠ³ ΠΠ·ΡΠ°ΠΈΠ»Ρ ΠΈ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΡΠ΅Π½ΡΡ, Π° ΡΠ΅ΡΡΡΡ ΠΏΡΠΎΠ΄Π΅ΠΌΠΎΠ½ΡΡΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΡΠ΅ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΎ Π·Π°Π½ΡΡΠΎΡΡΠΈ. ΠΠ°Π½ΡΡΠΎΡΡΡ Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅ ΡΡΠΎ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΡΠΈΡΠ»ΠΎ Π±Π΅Π·Π²ΠΎΠ·ΠΌΠ΅Π·Π΄Π½ΡΡ
Π²Π°ΠΊΠ°Π½ΡΠΈΠΉ - Π²Ρ Π½Π΅ΠΏΡΠ΅ΠΌΠ΅Π½Π½ΠΎ Π²ΡΠ±Π΅ΡΠ΅ΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΌΠ΅ΡΡΠΎ ΠΈΠ»ΠΈ Π²ΡΠΊΠ»Π°Π΄ΡΠ²Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΈ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΠΉΡΠ΅ ΡΠ΅Π°ΠΊΡΠΈΠΈ ΠΊΠ°Π½Π΄ΠΈΠ΄Π°ΡΠΎΠ². ΠΠ°Ρ ΡΠ΅ΡΡΡΡ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ Π΄Π»Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠ° ΡΠ°Π±ΠΎΡΡ ΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»Π°. ΠΠ΅ΡΠ°Π»ΡΠ½Π΅Π΅ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅.
Erstellt am 01/12/26 um 11:05:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
regipilNex schrieb:
ΠΠ½ΡΠ΅ΡΠ½Π΅Ρ-ΠΌΠ°Π³Π°Π·ΠΈΠ½ SerialExpress ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±ΠΎΠ»Π΅Π΅ 15000 ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π½Π° DVD Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ ΠΏΠΎΡΡΠΎΠΉ Π ΠΎΡΡΠΈΠΈ ΠΈ Π‘ΠΠΠ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΡΡΡΠ°Π½Π΅. ΠΡΠ΅ΡΠ΅ <a href=https://serialexpress.ru/>Π³Π΄Π΅ ΠΊΡΠΏΠΈΡΡ ΡΠ΅ΡΠΈΠ°Π»Ρ</a>? ΠΠ° serialexpress.ru ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠ΅ ΠΈ Π·Π°ΡΡΠ±Π΅ΠΆΠ½ΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ, ΡΠ΅Π»Π΅Π½ΠΎΠ²Π΅Π»Π»Ρ, ΡΡΡΠ΅ΡΠΊΠΈΠ΅ Π΄ΠΎΡΠ°ΠΌΡ, ΠΌΡΠ»ΡΡΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠΈΠ»ΡΠΌΡ Π² ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΠΎ Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π²ΠΈΠ΄Π΅ΠΎ ΠΈ Π·Π²ΡΠΊΠ°. ΠΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΡΠΈΡΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΡΠ°ΡΡΠΈΡΡΠ΅ΡΡΡ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌΠΈ ΠΏΠΎΡΡΡΠΏΠ»Π΅Π½ΠΈΡΠΌΠΈ, ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΠΎΠΏΡΠΈΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΏΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π²ΠΈΠ΄Π΅ΠΎΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², Π° Π°Π²ΡΠΎΡΠΈΠ·ΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΡΡ Π²ΠΎΠ·ΡΠ°ΡΡΠ°ΡΡΠΈΠ΅ ΡΠ΅Π½ΠΎΠ²ΡΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°. Π‘ΠΊΠΎΡΠΎΡΡΠ½Π°Ρ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΊΠ° Π·Π°ΡΠ²ΠΎΠΊ ΠΈ ΠΎΠ±ΡΠΈΡΠ½ΡΠΉ Π²ΡΠ±ΠΎΡ ΡΡΠ°Π½ΡΡΠΎΡΠΌΠΈΡΡΡΡ ΡΠ΅ΡΡΡΡ Π² ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ Π΄Π»Ρ ΡΠ°Π½Π°ΡΠΎΠ² ΡΠ΅Π»Π΅Π²ΠΈΠ·ΠΈΠΎΠ½Π½ΡΡ
ΡΠΎΡ.
Erstellt am 01/12/26 um 14:50:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buboxFraup schrieb:
ΠΠΎΡΡΠ°Π» Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎΠ³ΠΎ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΡ Π’ΠΎΠΏΠΠΎΡΠΊΠ° ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠΊΠΎΡΠΎΡΡΠ½ΠΎΠΉ ΠΎΡΠ±ΠΎΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ ΠΏΠΎ ΡΡΡΠ°Π½Π΅ Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΠΈ. ΠΠ° <a href=https://topdoska.ru/>https://topdoska.ru/</a> ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Ρ ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΡ Π² 2581 ΡΡΠ±ΡΠΈΠΊΠ°Ρ
, ΠΎΡ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΡ
Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ, ΡΡΠ°Π½ΡΠΏΠΎΡΡ, ΡΠ°Π±ΠΎΡΡ, ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΡ, Π°ΡΡΡΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ Π±ΠΈΠ·Π½Π΅Ρ-ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. Π Π΅ΡΡΡΡ Π΄Π΅ΠΉΡΡΠ²ΡΠ΅Ρ Π² 3843 ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΡ
Π΅Π΄ΠΈΠ½ΠΈΡΠ°Ρ
Π ΠΎΡΡΠΈΠΈ, ΡΠ°Π·ΡΠ΅ΡΠ°Ρ ΡΠΈΠ·Π»ΠΈΡΠ°ΠΌ ΠΈ ΡΠΈΡΠΌΠ°ΠΌ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΡΡ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΎΡΠΊΡΡΡΠΈΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π° ΠΈ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΎΠΏΡΠΈΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΠΏΡΠ΅Π²ΡΠ°ΡΠ°ΡΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ Π² ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠΈΠ²Π½ΡΠΉ ΠΌΠ΅Ρ
Π°Π½ΠΈΠ·ΠΌ ΡΠ°ΡΡΠΈΡΠ΅Π½ΠΈΡ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠΈΠΈ ΠΈ ΠΏΠΎΠΈΡΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ².
Erstellt am 01/12/26 um 15:37:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
SmsBomberEt schrieb:
Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ ΡΠ°ΡΡΡΠ»ΠΊΠ° ΠΏΠΎ Π½ΠΎΠΌΠ΅ΡΡ / SmS and Call flood service prank / ΠΊΠ°ΠΊ Π½Π°ΠΉΡΠΈ Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ /
ΠΡ Π»ΠΈΠ΄Π΅ΡΡ ΡΡΠ½ΠΊΠ° ΠΏΠΎ ΡΠ»ΡΠ΄Ρ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ ΠΈ SMS Π² Π‘Π¨Π. ΠΠ°Ρ ΠΌΠ½ΠΎΠ³ΠΎΠΏΠΎΡΠΎΡΠ½ΡΠΉ Π±ΠΎΡ β ΡΡΠΎ Π½Π΅ ΠΈΠ³ΡΡΡΠΊΠ°, Π° ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΡΠΎΠ·Π΄Π°ΡΡΠ΅Π΅ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π½Π°Π³ΡΡΠ·ΠΊΡ. ΠΡ Π·Π°ΡΡΠ°Π²ΠΈΠΌ ΡΠ΅Π»Π΅ΡΠΎΠ½ ΠΆΠ΅ΡΡΠ²Ρ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°Π³ΡΠ΅Π²Π°ΡΡΡΡ ΠΎΡ Π±Π΅ΡΠΊΠΎΠ½Π΅ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΠΎΠΊΠ° ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΠΉ ΠΈ Π²ΡΠ·ΠΎΠ²ΠΎΠ².
ΠΡΠΎ Π»ΡΡΡΠΈΠΉ SMS bomber ΠΈ CALL bomber Π² ΡΠ²ΠΎΠ΅ΠΉ Π½ΠΈΡΠ΅.
Π€Π»ΡΠ΄ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠΌΡ ΠΏΠΎ USA: https://t.me/smsExplode_bot
Phone flooding service: https://t.me/smsjokeservice
ΠΠ°Ρ ΠΈΡΡΡ ΠΏΠΎ ΡΠ°ΠΊΠΈΠΌ Π·Π°ΠΏΡΠΎΡΠ°ΠΌ:ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΏΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π΄Π»ΠΈΡΡΡ ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ, SmS and Call flood service prank, Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΡΠ»ΡΠ΄ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ, Π·Π°ΡΠΈΡΠ° ΠΎΡ Π±ΠΎΠΌΠ±Π΅ΡΠ° ΡΠΌΡ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ Π½Π° Π°ΠΉΡΠΎΠ½ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, ΠΊΠ°ΠΊ ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ, ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ ΡΠ°Π±ΠΎΡΠΈΠΉ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ ΠΈ Π·Π²ΠΎΠ½ΠΊΠΈ ΡΠΊΠ°ΡΠ°ΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, bomber ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π΄Π»Ρ ΡΠΎΡΡΠΈΠΈ, ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ github, Π‘ΠΌΡ ΡΠ»ΡΠ΄ usa, ΡΠ»ΡΠ΄ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ usa, call bomber usa, sms bomber usa, call + sms bomber usa, Flood sms usa, sms flood usa, call flood usa, smsjokeservice
ΠΡ Π»ΠΈΠ΄Π΅ΡΡ ΡΡΠ½ΠΊΠ° ΠΏΠΎ ΡΠ»ΡΠ΄Ρ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ ΠΈ SMS Π² Π‘Π¨Π. ΠΠ°Ρ ΠΌΠ½ΠΎΠ³ΠΎΠΏΠΎΡΠΎΡΠ½ΡΠΉ Π±ΠΎΡ β ΡΡΠΎ Π½Π΅ ΠΈΠ³ΡΡΡΠΊΠ°, Π° ΠΈΠ½ΠΆΠ΅Π½Π΅ΡΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΡΠΎΠ·Π΄Π°ΡΡΠ΅Π΅ ΠΌΠ°ΠΊΡΠΈΠΌΠ°Π»ΡΠ½ΡΡ Π½Π°Π³ΡΡΠ·ΠΊΡ. ΠΡ Π·Π°ΡΡΠ°Π²ΠΈΠΌ ΡΠ΅Π»Π΅ΡΠΎΠ½ ΠΆΠ΅ΡΡΠ²Ρ ΡΠΈΠ·ΠΈΡΠ΅ΡΠΊΠΈ Π½Π°Π³ΡΠ΅Π²Π°ΡΡΡΡ ΠΎΡ Π±Π΅ΡΠΊΠΎΠ½Π΅ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΡΠΎΠΊΠ° ΡΠ²Π΅Π΄ΠΎΠΌΠ»Π΅Π½ΠΈΠΉ ΠΈ Π²ΡΠ·ΠΎΠ²ΠΎΠ².
ΠΡΠΎ Π»ΡΡΡΠΈΠΉ SMS bomber ΠΈ CALL bomber Π² ΡΠ²ΠΎΠ΅ΠΉ Π½ΠΈΡΠ΅.
Π€Π»ΡΠ΄ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ ΠΈ ΡΠΌΡ ΠΏΠΎ USA: https://t.me/smsExplode_bot
Phone flooding service: https://t.me/smsjokeservice
ΠΠ°Ρ ΠΈΡΡΡ ΠΏΠΎ ΡΠ°ΠΊΠΈΠΌ Π·Π°ΠΏΡΠΎΡΠ°ΠΌ:ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΏΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π΄Π»ΠΈΡΡΡ ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ, SmS and Call flood service prank, Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΡΠ»ΡΠ΄ ΡΠ΅Π»Π΅ΡΠΎΠ½Π° Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ, Π·Π°ΡΠΈΡΠ° ΠΎΡ Π±ΠΎΠΌΠ±Π΅ΡΠ° ΡΠΌΡ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ Π½Π° Π°ΠΉΡΠΎΠ½ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, ΠΊΠ°ΠΊ ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ, ΠΎΠ½Π»Π°ΠΉΠ½ ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ ΡΠ°Π±ΠΎΡΠΈΠΉ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ ΠΈ Π·Π²ΠΎΠ½ΠΊΠΈ ΡΠΊΠ°ΡΠ°ΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, bomber ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ, Π±ΠΎΠΌΠ±Π΅Ρ ΡΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ Π΄Π»Ρ ΡΠΎΡΡΠΈΠΈ, ΡΠΌΡ Π±ΠΎΠΌΠ±Π΅Ρ github, Π‘ΠΌΡ ΡΠ»ΡΠ΄ usa, ΡΠ»ΡΠ΄ Π·Π²ΠΎΠ½ΠΊΠ°ΠΌΠΈ usa, call bomber usa, sms bomber usa, call + sms bomber usa, Flood sms usa, sms flood usa, call flood usa, smsjokeservice
Erstellt am 01/13/26 um 09:27:22
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
peponaJek schrieb:
ΠΡΠ±ΠΎΡ ΠΏΠ°ΠΌΡΡΠ½ΠΈΠΊΠ° β Π²Π°ΠΆΠ½ΠΎΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΠ΅, ΡΡΠ΅Π±ΡΡΡΠ΅Π΅ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° ΠΈ Π²Π½ΠΈΠΌΠ°Π½ΠΈΡ ΠΊ Π΄Π΅ΡΠ°Π»ΡΠΌ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«ΠΠΎΠ·ΡΠΎΠΆΠ΄Π΅Π½ΠΈΠ΅Β» ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ Π³ΡΠ°Π½ΠΈΡΠ½ΡΡ
ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ Π²ΡΡΠΎΠΊΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΠΈ. ΠΠ°ΡΡΠ΅ΡΠ° ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ Π΄Π»Ρ ΡΠΎΡΠ½ΠΎΠΉ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠΈ ΠΊΠ°ΠΌΠ½Ρ ΠΈ ΡΠΎΠ·Π΄Π°Π½ΠΈΡ Ρ
ΡΠ΄ΠΎΠΆΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΊΠΎΠΌΠΏΠΎΠ·ΠΈΡΠΈΠΉ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://vozrogdenie1.ru/>https://vozrogdenie1.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ Π²Π΅ΡΡΠΈΠΊΠ°Π»ΡΠ½ΡΠ΅, Π³ΠΎΡΠΈΠ·ΠΎΠ½ΡΠ°Π»ΡΠ½ΡΠ΅ ΠΈ ΠΊΠΎΠΌΠ±ΠΈΠ½ΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΠ°ΠΌΡΡΠ½ΠΈΠΊΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΡΠ΅Π½ΠΎΠ²ΡΡ
ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΉ. Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΏΡΠΎΠ²ΠΎΠ΄ΡΡ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠ΅ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΠΈ ΠΏΠΎΠΌΠΎΠ³Π°ΡΡ ΠΏΠΎΠ΄ΠΎΠ±ΡΠ°ΡΡ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ ΠΌΠ΅ΠΌΠΎΡΠΈΠ°Π»Π°. ΠΠΎΡΡΠ°Π²ΠΊΠ° ΠΈ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Π²ΡΠΏΠΎΠ»Π½ΡΡΡΡΡ ΠΎΠΏΡΡΠ½ΡΠΌΠΈ Π±ΡΠΈΠ³Π°Π΄Π°ΠΌΠΈ Ρ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ΠΌ Π²ΡΠ΅Ρ
ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΡ
Π½ΠΎΡΠΌ.
Erstellt am 01/13/26 um 10:45:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gumydSnuct schrieb:
ΠΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ ΠΏΠΎ ΠΡΠ°ΡΠ½ΠΎΠ΄Π°ΡΡΠΊΠΎΠΌΡ ΠΊΡΠ°Ρ ΠΈ ΠΡΡΠΌΡ Π½Π°ΡΠΈΠ½Π°ΡΡΡΡ Ρ Π²ΡΠ±ΠΎΡΠ° Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ ΡΡΠ°Π½ΡΡΠ΅ΡΠ°. Π‘Π»ΡΠΆΠ±Π° ΡΠ°ΠΊΡΠΈ Π² ΠΠ½Π°ΠΏΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠ°ΡΡΠ°ΠΆΠΈΡΠ°ΠΌ ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΎΠ½Π»Π°ΠΉΠ½-ΡΠ°ΡΡΠ΅Ρ ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ ΠΈ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΡΡ ΡΠ°Π±ΠΎΡΡ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΡΠΊΠΎΠΉ ΡΠ»ΡΠΆΠ±Ρ. ΠΠ΅ΠΎΠ³ΡΠ°ΡΠΈΡ ΠΌΠ°ΡΡΡΡΡΠΎΠ² Π²ΠΏΠ΅ΡΠ°ΡΠ»ΡΠ΅Ρ: ΠΎΡ Π°ΡΡΠΎΠΏΠΎΡΡΠ° ΠΠ½Π°ΠΏΡ Π΄ΠΎ Π‘ΠΎΡΠΈ, ΠΎΡ ΠΠ΅Π»Π΅Π½Π΄ΠΆΠΈΠΊΠ° Π΄ΠΎ ΠΊΡΡΠΎΡΡΠΎΠ² ΠΡΡΠΌΠ° β Π―Π»ΡΡ, Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Ρ, Π‘ΡΠ΄Π°ΠΊΠ°. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΠΈ Π·Π½Π°ΡΡ Π²ΡΠ΅ ΠΎΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΠΈ Π΄ΠΎΡΠΎΠ³, Π° ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΉ Π°Π²ΡΠΎΠΏΠ°ΡΠΊ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ ΠΏΠ΅ΡΠ΅Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://anapa-taxi-transfer...>https://anapa-taxi-transfer.ru/</a> ΠΌΠΎΠΆΠ½ΠΎ Π²ΡΠ±ΡΠ°ΡΡ Π½ΡΠΆΠ½ΡΠΉ ΠΌΠ°ΡΡΡΡΡ ΠΈΠ· ΠΎΠ±ΡΠΈΡΠ½ΠΎΠ³ΠΎ ΡΠΏΠΈΡΠΊΠ° Π½Π°ΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΡΠΎΡΠ½ΡΡ ΡΡΠΎΠΈΠΌΠΎΡΡΡ Π΄ΠΎ Π½Π°ΡΠ°Π»Π° ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ. Π€ΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠ΅Π½Ρ Π½Π° ΡΡΠ°Π½ΡΡΠ΅Ρ, ΠΎΡΡΡΡΡΡΠ²ΠΈΠ΅ ΡΠΊΡΡΡΡΡ
Π΄ΠΎΠΏΠ»Π°Ρ ΠΈ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ Π·Π°ΠΊΠ°Π·Π° ΡΠΊΡΠΊΡΡΡΠΈΠΉ Π΄Π΅Π»Π°ΡΡ ΡΡΡ ΡΠ»ΡΠΆΠ±Ρ ΠΎΠΏΡΠΈΠΌΠ°Π»ΡΠ½ΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ ΡΡΡΠΈΡΡΠΎΠ² ΠΈ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΆΠΈΡΠ΅Π»Π΅ΠΉ, ΡΠ΅Π½ΡΡΠΈΡ
ΠΏΡΠ½ΠΊΡΡΠ°Π»ΡΠ½ΠΎΡΡΡ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡ.
Erstellt am 01/13/26 um 13:27:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
Wow, wonderful weblog format! How long have you been running a blog for? you make running a blog look easy. The entire look of your site is great, as well as the content material!
<a href=https://lk-broker.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ leebet</a>
<a href=https://lk-broker.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ leebet</a>
Erstellt am 01/13/26 um 15:50:28
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
I used to be able to find good info from your blog posts.
<a href=https://lk-broker.ru/>lk-broker.ru</a>
<a href=https://lk-broker.ru/>lk-broker.ru</a>
Erstellt am 01/13/26 um 16:04:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Shanepat schrieb:
This information is worth everyone's attention. How can I find out more?
<a href=https://mlmblog.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
<a href=https://mlmblog.ru/>Π·Π΅ΡΠΊΠ°Π»ΠΎ Π±Π°Π½Π΄Π° ΠΊΠ°Π·ΠΈΠ½ΠΎ</a>
Erstellt am 01/13/26 um 17:11:14
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
EarnestEmpAm schrieb:
Appreciating the hard work you put into your website and detailed information you offer. It's awesome to come across a blog every once in a while that isn't the same outdated rehashed material. Great read! I've saved your site and I'm including your RSS feeds to my Google account.
<a href=https://flastudio.ru/>ΠΊΠ°Π·ΠΈΠ½ΠΎ Π±Π°Π½Π΄Π°</a>
<a href=https://flastudio.ru/>ΠΊΠ°Π·ΠΈΠ½ΠΎ Π±Π°Π½Π΄Π°</a>
Erstellt am 01/13/26 um 17:54:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
unlim ΡΠ°Π±ΠΎΡΠ΅Π΅ Π·Π΅ΡΠΊΠ°Π»ΠΎ schrieb:
ΠΠ½Π»ΠΈΠΌ ΠΊΠ°Π·ΠΈΠ½ΠΎ ΠΏΡΠΎΠΌΠΎΠΊΠΎΠ΄ ΠΎΠΊΠ°Π·Π°Π»ΡΡ ΡΠ°Π±ΠΎΡΠΈΠΌ, Π±ΠΎΠ½ΡΡ ΠΏΡΠΈΡΠ΅Π» ΡΡΠ°Π·Ρ
Erstellt am 01/13/26 um 18:43:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jusudevona schrieb:
ΠΡΠ΅ΡΠ΅, Π³Π΄Π΅ <a href=https://technopartsltd.ru/>ΠΊΡΠΏΠΈΡΡ Π·Π°ΠΏΡΠ°ΡΡΠΈ Π΄Π»Ρ ΡΠΏΠ΅ΡΡΠ΅Ρ
Π½ΠΈΠΊΠΈ ΠΡΡΠΌ</a>? ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠ°ΠΉΡ technopartsltd.ru - Ρ Π½Π°Ρ Π΄ΠΎΡΡΡΠΏΠ΅Π½ Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ Π·Π°ΠΏΡΠ°ΡΡΠ΅ΠΉ Π΄Π»Ρ ΠΠ²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠΉ ΠΈ ΠΠΈΡΠ°ΠΉΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ. Π‘ΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²ΠΎ Π²Π΅Π΄Π΅ΡΡΡ ΠΈΡΠΊΠ»ΡΡΠΈΡΠ΅Π»ΡΠ½ΠΎ Ρ Π½Π°Π΄Π΅ΠΆΠ½ΡΠΌΠΈ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ°ΠΌΠΈ, ΡΡΠΎ Π΄Π°Π΅Ρ Π½Π°ΠΌ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²ΠΈΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π° ΡΠΊΠ»Π°Π΄ΡΠΊΠΈΠ΅ ΠΏΠΎΠΌΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΠΌΠ΅ΡΡ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΡΠΉ Π·Π°ΠΏΠ°Ρ ΡΠΎΠ²Π°ΡΠ½ΡΡ
Π΅Π΄ΠΈΠ½ΠΈΡ, Π° Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΡΠ΅Π³ΡΠ»ΡΡΠ½ΠΎ ΡΠ°ΡΡΠΈΡΡΠ΅ΡΡΡ. ΠΠΎΠ»Π΅Π΅ ΠΏΠΎΠ»Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π½Π° ΡΠ΅ΡΡΡΡΠ΅.
Erstellt am 01/13/26 um 21:51:26
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
xyxibescleks schrieb:
USA Flights 24 β Cheap flights USA! Find the best deals on domestic and international flights - <a href=https://usaflights24.com/>https://usaflights24.com/</a>
Erstellt am 01/13/26 um 23:57:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Timsothyowned schrieb:
What a material of un-ambiguity and preserveness of precious knowledge on the topic of unexpected emotions.
https://ch-z.com.ua/skilky-...
https://ch-z.com.ua/skilky-...
Erstellt am 01/14/26 um 10:35:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cisaqtChark schrieb:
ΠΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ ΠΏΠ°ΡΡΠ°ΠΆΠΈΡΡΠΊΠΈΡ
ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΠΎΠΊ Π² ΠΠ½Π°ΠΏΠ΅ ΡΡΠ΅Π±ΡΠ΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄Π° ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«ΠΠ½Π°ΠΏΠ° Π’ΡΠ°Π½ΡΠΏΠΎΡΡΒ» Π·Π°ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΠΎΠ²Π°Π»Π° ΡΠ΅Π±Ρ ΠΊΠ°ΠΊ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΡΠΉ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΡΠΈΠΊ, ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡΠΈΠΉ ΡΡΠ»ΡΠ³ΠΈ Π°ΡΠ΅Π½Π΄Ρ Π°Π²ΡΠΎΠ±ΡΡΠΎΠ², ΠΌΠΈΠΊΡΠΎΠ°Π²ΡΠΎΠ±ΡΡΠΎΠ² ΠΈ ΠΌΠΈΠ½ΠΈΠ²ΡΠ½ΠΎΠ² Ρ ΠΎΠΏΡΡΠ½ΡΠΌΠΈ Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠΌΠΈ. ΠΠΎΠ»Π΅Π΅ 5000 ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² Π΄ΠΎΠ²Π΅ΡΠΈΠ»ΠΈ ΡΠ²ΠΎΠΈ ΠΏΠΎΠ΅Π·Π΄ΠΊΠΈ ΡΡΠΎΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ β ΠΎΡ ΡΠΊΠΎΠ»ΡΠ½ΡΡ
ΡΠΊΡΠΊΡΡΡΠΈΠΉ Π΄ΠΎ ΠΊΠΎΡΠΏΠΎΡΠ°ΡΠΈΠ²Π½ΡΡ
ΠΌΠ΅ΡΠΎΠΏΡΠΈΡΡΠΈΠΉ ΠΈ ΡΠ²Π°Π΄Π΅Π±. ΠΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½Π°Ρ Π΄ΠΈΡΠΏΠ΅ΡΡΠ΅ΡΡΠΊΠ°Ρ ΡΠ»ΡΠΆΠ±Π°, ΡΡΡΠ°Ρ
ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎΡΡΠΈ ΠΈ ΡΠ²ΠΎΠ΅Π²ΡΠ΅ΠΌΠ΅Π½Π½Π°Ρ ΠΏΠΎΠ΄Π°ΡΠ° ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ° Π΄Π΅Π»Π°ΡΡ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²ΠΎ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΌ. Π£Π·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ ΡΠ°ΡΠΈΡΠ°Ρ
ΠΈ Π·Π°Π±ΡΠΎΠ½ΠΈΡΠΎΠ²Π°ΡΡ Π°Π²ΡΠΎΠ±ΡΡ ΠΌΠΎΠΆΠ½ΠΎ Π½Π° <a href=https://anapa-transport.ru/>https://anapa-transport.ru/</a> Π³Π΄Π΅ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ Π²Π΅ΡΡ Π°Π²ΡΠΎΠΏΠ°ΡΠΊ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ. Π§Π΅ΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ, ΡΠΈΡΡΡΠ΅ ΡΠ°Π»ΠΎΠ½Ρ ΠΈ ΠΈΡΠΏΡΠ°Π²Π½Π°Ρ ΡΠ΅Ρ
Π½ΠΈΠΊΠ° β Π²ΠΎΡ ΡΡΠΎ ΠΎΡΠ»ΠΈΡΠ°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΎΠ² ΡΠ²ΠΎΠ΅Π³ΠΎ Π΄Π΅Π»Π° ΠΎΡ ΡΠ»ΡΡΠ°ΠΉΠ½ΡΡ
ΠΏΠ΅ΡΠ΅Π²ΠΎΠ·ΡΠΈΠΊΠΎΠ² Π½Π° ΡΡΠ½ΠΊΠ΅ ΡΡΠ°Π½ΡΠΏΠΎΡΡΠ½ΡΡ
ΡΡΠ»ΡΠ³ ΠΠ½Π°ΠΏΡ.
Erstellt am 01/14/26 um 13:14:36
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
proflinksAffof schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://proflinks.ru/>Π΅ΡΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ Π½Π°ΡΠ°ΡΠΈΠ²Π°Π½ΠΈΠ΅ ΡΡΡΠ»ΠΎΡΠ½ΠΎΠΉ ΠΌΠ°ΡΡΡ</a>? Π‘Π΅ΡΠ²ΠΈΡ https://proflinks.ru/ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ SEO-ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΡΠΎΠ² ΡΠ΅ΡΠ΅Π· ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ Π²Π΅ΡΠ½ΡΡ
ΡΡΠ°ΡΡΠΎΠ²ΡΡ
ΡΡΡΠ»ΠΎΠΊ Ρ ΠΈΠ½Π΄Π΅ΠΊΡΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° ΠΎΡ 10. Π‘Π΅ΡΠ²ΠΈΡ Π΄Π΅ΠΉΡΡΠ²ΡΠ΅Ρ Π±Π΅Π· ΠΏΠ΅ΡΠ΅ΡΡΠ²ΠΎΠ², ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡ ΡΡΡΠ΅ΠΌΠΈΡΠ΅Π»ΡΠ½ΠΎΠ΅ ΠΈΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΠ΅ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ² ΠΏΠΎ ΡΠ°Π·ΡΠΌΠ½ΠΎΠΉ ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ. ΠΠ°ΠΊΠ°Π·ΡΠΈΠΊΠΈ ΡΠΈΠΊΡΠΈΡΡΡΡ ΡΡΡΠΎΠΉΡΠΈΠ²ΠΎΠ΅ Π½Π°ΡΠ°ΡΠΈΠ²Π°Π½ΠΈΠ΅ ΠΎΠ±ΡΠ°ΡΠ½ΡΡ
ΡΡΡΠ»ΠΎΠΊ, ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅ΡΡΠΈΠΊ DR ΠΈ ΠΠΠ‘, ΠΏΠ»ΡΡ ΡΠΎΡΡ ΠΏΠΎΡΠ΅ΡΠ°Π΅ΠΌΠΎΡΡΠΈ ΡΠΏΡΡΡΡ ΠΏΠ°ΡΡ Π΄Π½Π΅ΠΉ ΠΏΠΎΡΠ»Π΅ ΠΏΡΠ±Π»ΠΈΠΊΠ°ΡΠΈΠΈ. ΠΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»ΡΠ΅Ρ ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΠ΅ ΡΠ°ΡΠΈΡΡ: ΠΎΡ ΡΠΊΠΎΡΠ½ΡΡ
ΠΈ Π±Π΅Π·ΡΡΠΊΠΎΡΠ½ΡΡ
Π»ΠΈΠ½ΠΊΠΎΠ² Π΄ΠΎ ΠΊΡΠ°ΡΠ΄ΠΎΠ²ΡΡ
ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΉ ΠΈ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΡΠΊΠΈΡ
ΠΌΠ΅ΡΡΠΈΠΊ Π΄Π»Ρ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ Π² Π―Π½Π΄Π΅ΠΊΡ ΠΈ ΠΡΠ³Π».
Erstellt am 01/14/26 um 16:39:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rydossdiexy schrieb:
ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠ΅ Π±Π°Π½Π½ΡΠ΅ Π²Π΅Π½ΠΈΠΊΠΈ β ΠΎΡΠ½ΠΎΠ²Π° ΠΏΠΎΠ»Π½ΠΎΡΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΎΠ·Π΄ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»ΡΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΄ΡΡ
Π° ΠΈ ΡΡΠ°Π΄ΠΈΡΠΈΠΎΠ½Π½ΡΡ
ΡΡΡΡΠΊΠΈΡ
ΠΏΠ°ΡΠ½ΡΡ
ΠΏΡΠΎΡΠ΅Π΄ΡΡ. ΠΠ°Π³Π°Π·ΠΈΠ½ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΎΡΠ±ΠΎΡΠ½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ ΠΈΠ· Π±Π΅ΡΠ΅Π·Ρ, Π΄ΡΠ±Π° ΠΈ ΡΠ²ΠΊΠ°Π»ΠΈΠΏΡΠ° ΠΏΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ. Π’ΠΎΠ²Π°ΡΡ ΠΏΡΠΎΡ
ΠΎΠ΄ΡΡ ΡΡΠ°ΡΠ΅Π»ΡΠ½ΡΠΉ ΠΎΡΠ±ΠΎΡ ΠΈ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΡΡΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ°ΠΌ ΡΠΊΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΎΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ Π΄Π»Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ. Π£Π΄ΠΎΠ±Π½Π°Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΠ° ΡΠ΅ΡΠ΅Π· ΠΏΡΠ½ΠΊΡΡ Π²ΡΠ΄Π°ΡΠΈ Π―Π½Π΄Π΅ΠΊΡ ΠΠ°ΡΠΊΠ΅ΡΠ° ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΠΏΠΎ Π²ΡΠ΅ΠΉ ΠΠΎΡΠΊΠ²Π΅ ΠΈ ΠΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²ΡΡ. ΠΠΎΠ΄ΡΠΎΠ±Π½ΡΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ ΠΈ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π°ΠΊΡΠΈΠΈ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π½Π° ΡΡΡΠ°Π½ΠΈΡΠ΅ <a href=https://www.parvenik.ru/>https://www.parvenik.ru/</a> Π΄Π»Ρ Π²ΡΠ΅Ρ
ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ. ΠΠΏΡΠΎΠ²ΡΠ΅ Π·Π°ΠΊΠ°Π·Ρ ΠΎΠ±ΡΠ°Π±Π°ΡΡΠ²Π°ΡΡΡΡ Ρ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΌΠΈ ΡΠΊΠΈΠ΄ΠΊΠ°ΠΌΠΈ ΠΈ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΌΠΈ ΡΡΠ»ΠΎΠ²ΠΈΡΠΌΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΡΠ΅ΡΡΠ²Π°.
Erstellt am 01/14/26 um 21:20:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgeabara schrieb:
ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΠΏΡΠΎΠ΅ΠΊΡ <a href=https://akki-store.com/>https://akki-store.com</a> ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΠ½ΡΠ΅ ΡΡΡΠ½ΠΎΡΡΠΈ Π΄Π»Ρ Π±ΠΈΠ·Π½Π΅ΡΠ°. ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ Π°ΠΊΠΊΠ°ΡΠ½ΡΡ Facebook, ΡΠ°ΡΠ΅ Π²ΡΠ΅Π³ΠΎ Π²Π°ΠΆΠ΅Π½ Π½Π΅ Β«ΠΎΠ΄Π½ΠΎΠΌ Π»ΠΎΠ³ΠΈΠ½Π΅Β», Π° Π² ΠΏΡΠΎΡ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΡΠ΅ΠΊΠΎΠ²: ΡΡΠ°Π±ΠΈΠ»ΡΠ½ΡΠΉ Π·Π°ΠΏΡΡΠΊ, Π½Π°Π»ΠΈΡΠΈΠ΅ ΠΏΡΠΎΠΉΠ΄Π΅Π½Π½ΠΎΠ³ΠΎ ΠΠ Π Π² ΠΊΠ°Π±ΠΈΠ½Π΅ΡΠ΅ ΠΈ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ ΡΠΎΠ·Π΄Π°Π½Π½ΡΠ΅ Π€Π. ΠΡ ΠΏΠΎΠ΄Π³ΠΎΡΠΎΠ²ΠΈΠ»ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠΉ ΡΠ΅ΠΊ-Π»ΠΈΡΡ, ΡΡΠΎΠ±Ρ Π²Ρ ΡΡΠ°Π·Ρ ΠΏΠΎΠ½ΠΈΠΌΠ°Π»ΠΈ ΡΡΠΎ ΠΏΠΎΠ΄ΠΎΠΉΠ΄Π΅Ρ ΠΏΠΎΠ΄ Π²Π°ΡΠΈ ΠΎΡΡΠ΅ΡΡ ΠΏΠ΅ΡΠ΅Π΄ Π·Π°ΠΊΠ°Π·ΠΎΠΌ.ΠΠΎΡΠΎΡΠΊΠΎ: Ρ ΡΠ΅Π³ΠΎ Π½Π°ΡΠ°ΡΡ: Π½Π°ΡΠ½ΠΈΡΠ΅ Ρ ΡΠ°Π·Π΄Π΅Π»Ρ Π€Π°ΡΠΌ (King), Π° Π΄Π»Ρ ΠΌΠ°ΡΡΡΠ°Π±ΠΈΡΠΎΠ²Π°Π½ΠΈΡ β ΠΏΠ΅ΡΠ΅Ρ
ΠΎΠ΄ΠΈΡΠ΅ Π½Π°ΠΏΡΡΠΌΡΡ Π² ΡΠ°Π·Π΄Π΅Π»Ρ ΠΏΠΎΠ΄ Π·Π°Π»ΠΈΠ²: ΠΠ΅Π·Π»ΠΈΠΌΠΈΡΠ½ΡΠ΅ ΠΠ. ΠΠ»ΡΡΠ΅Π²Π°Ρ ΠΈΠ΄Π΅Ρ: Π°ΠΊΠΊΠ°ΡΠ½Ρ β ΡΡΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ. ΠΠ°Π»ΡΡΠ΅ ΡΠ΅ΡΠ°Π΅Ρ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ Π·Π°ΠΏΡΡΠΊΡ: ΠΊΠ°ΠΊΠΎΠΉ ΠΏΡΠΎΠΊΡΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ, ΠΊΠ°ΠΊ Π²Ρ ΠΏΠ΅ΡΠ΅Π΄Π°Π΅ΡΠ΅ Π»ΠΈΡΠΊΠΈ Π±Π΅Π· ΡΡΠΈΠ³Π³Π΅ΡΠΎΠ², ΠΊΠ°ΠΊ ΡΠ΅Π°Π³ΠΈΡΡΠ΅ΡΠ΅ Π½Π° ΠΏΠΎΠ»ΠΈΡΠΈ ΠΈ ΠΊΠ°ΠΊ Π΄ΡΠ±Π»ΠΈΡΡΠ΅ΡΠ΅ ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΈ. ΠΠ»ΡΡΠ΅Π²ΠΎΠ΅ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²ΠΎ Π΄Π°Π½Π½ΠΎΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ β Π·Π°ΠΊΠ»ΡΡΠ°Π΅ΡΡΡ Π² Π½Π°Π»ΠΈΡΠΈΠΈ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΠΉ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊΠΈ Π°ΡΠ±ΠΈΡΡΠ°ΠΆΠ½ΠΈΠΊΠ°, Π² ΠΊΠΎΡΠΎΡΠΎΠΉ ΡΠΎΠ±ΡΠ°Π½Ρ ΡΠ²Π΅ΠΆΠΈΠ΅ ΠΈΠ½ΡΡΡΡΠΊΡΠΈΠΈ ΠΏΠΎ Π·Π°ΠΏΡΡΠΊΡ ΡΠ΅ΠΊΠ»Π°ΠΌΡ. ΠΡ ΠΏΠΎΠ΄ΡΠΊΠ°ΠΆΠ΅ΠΌ, ΠΊΠ°ΠΊ Π°ΠΊΠΊΡΡΠ°ΡΠ½ΠΎ ΡΠ°ΡΡΠ°ΡΠΈΡΡ Π΄ΠΎΡΡΡΠΏΡ, ΡΡΠΎΠ±Ρ Π²Ρ Π½Π΅ ΡΠ»Π΅ΡΠ΅Π»ΠΈ Π½Π° ΠΏΠΎΠ»ΠΈΡΠΈ ΠΈ Π΄ΠΎΠ»ΡΡΠ΅ ΠΆΠΈΠ»ΠΈ Π² Π°ΡΠΊΡΠΈΠΎΠ½Π΅ . ΠΠ°ΠΊΠ°Π·ΡΠ²Π°Ρ Π·Π΄Π΅ΡΡ, ΠΊΠ»ΠΈΠ΅Π½Ρ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ Π½Π΅ ΠΏΡΠΎΡΡΠΎ cookie + token, Π½ΠΎ ΠΈ ΠΏΠΎΠ»Π½ΡΡ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»Π° ΡΠ΅ΠΊΠ°, ΡΡΡΠ°Ρ
ΠΎΠ²ΠΊΡ Π½Π° Π²Ρ
ΠΎΠ΄ ΠΏΠ»ΡΡ ΡΠ°ΠΌΡΠ΅ ΠΏΡΠΈΡΡΠ½ΡΠ΅ ΠΏΡΠ°ΠΉΡΡ Π² Π½ΠΈΡΠ΅. ΠΠΈΡΠΊΠ»Π΅ΠΉΠΌΠ΅Ρ: ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ Π°ΠΊΡΠΈΠ²Ρ Π·Π°ΠΊΠΎΠ½Π½ΠΎ ΠΈ Π²ΡΠ΅Π³Π΄Π° Ρ ΡΡΠ΅ΡΠΎΠΌ ΠΏΡΠ°Π²ΠΈΠ» Meta.
Erstellt am 01/14/26 um 23:14:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Georgeabara schrieb:
ΠΡΠ°ΠΊΡΠΈΡΠ½ΡΠΉ ΡΠ΅ΡΡΡΡ <a href=https://akkauntistore.com/>ΠΊΡΠΏΠΈΡΡ Π°ΠΊΠΊΠ°ΡΠ½Ρ Π΄Π»Ρ ΡΠ΅ΠΊΠ»Π°ΠΌΡ</a> ΠΎΡΠΊΡΡΠ²Π°Π΅Ρ Π΄ΠΎΡΡΡΠΏ ΠΊΡΠΏΠΈΡΡ ΠΏΡΠΎΡΠΈΠ»ΠΈ ΠΏΠΎΠ΄ Π·Π°Π»ΠΈΠ². ΠΡΠ»ΠΈ Π²Π°ΠΌ Π½ΡΠΆΠ½ΠΎ ΠΊΡΠΏΠΈΡΡ Π°ΠΊΠΊΠ°ΡΠ½ΡΡ Facebook, ΠΎΠ±ΡΡΠ½ΠΎ Π·Π°Π΄Π°ΡΠ° Π½Π΅ Π² Β«ΠΏΡΠΎΡΡΠΎ Π΄ΠΎΡΡΡΠΏΠ΅Β», Π° Π² ΡΡΠ°ΡΡΠ΅ ΠΈ Π»ΠΈΠΌΠΈΡΠ°Ρ
: ΠΎΡΡΡΡΡΡΠ²ΠΈΠ΅ Π²ΡΠ»Π΅ΡΠΎΠ² Π½Π° ΡΠ΅Π»ΡΠΈ, Π·Π΅Π»Π΅Π½ΡΠ΅ ΠΏΠ»Π°ΡΠΊΠΈ Π² ΠΊΠ°Π±ΠΈΠ½Π΅ΡΠ΅ ΠΈ ΠΏΡΠΎΠ³ΡΠ΅ΡΡΠ΅ FanPage. ΠΡ ΠΎΡΠΎΡΠΌΠΈΠ»ΠΈ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΠΉ ΡΠ΅ΠΊ-Π»ΠΈΡΡ, ΡΡΠΎΠ±Ρ Π²Ρ ΡΡΠ°Π·Ρ ΠΏΠΎΠ½ΠΈΠΌΠ°Π»ΠΈ ΠΊΠ°ΠΊΠΎΠΉ Π»ΠΈΠΌΠΈΡ Π²ΡΠ±ΡΠ°ΡΡ ΠΏΠ΅ΡΠ΅Π΄ Π·Π°ΠΊΠ°Π·ΠΎΠΌ.Π§ΡΠΎ Π²Π½ΡΡΡΠΈ: ΡΠ΅ΠΊ-Π»ΠΈΡΡ ΠΏΡΠΎΠ²Π΅ΡΠΊΠΈ ΡΠΎΠΊΠ΅Π½Π°. ΠΠ°ΠΆΠ½ΠΎ: Π°ΠΊΠΊΠ°ΡΠ½Ρ β ΡΡΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ. ΠΠ°Π»ΡΡΠ΅ ΡΠ΅ΡΠ°Π΅Ρ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΊ Π·Π°ΠΏΡΡΠΊΡ: ΠΊΠ°ΠΊ Π²ΡΠΆΠ΅ΡΡΡ ΠΊΠ°ΡΡΠ°, ΠΊΠ°ΠΊ Π²Ρ ΠΏΠ΅ΡΠ΅Π΄Π°Π΅ΡΠ΅ Π»ΠΈΡΠΊΠΈ Π±Π΅Π· ΡΠΈΡΠΊΠ° Π±Π°Π½ΠΎΠ², ΠΊΠ°ΠΊ ΡΠ΅Π°Π³ΠΈΡΡΠ΅ΡΠ΅ Π½Π° ΠΏΠΎΠ»ΠΈΡΠΈ ΠΈ ΠΊΠ°ΠΊ Π΄ΡΠ±Π»ΠΈΡΡΠ΅ΡΠ΅ ΠΊΠ°ΠΌΠΏΠ°Π½ΠΈΠΈ. ΠΠ»Π°Π²Π½Π°Ρ ΡΠΈΡΠΊΠ° Π΄Π°Π½Π½ΠΎΠΉ ΠΏΠ»ΠΎΡΠ°Π΄ΠΊΠΈ β ΡΡΠΎ Π½Π°Π»ΠΈΡΠΈΠΈ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΠΎΠΉ Π±Π°Π·Ρ Π·Π½Π°Π½ΠΈΠΉ ΠΏΠΎ FB, Π³Π΄Π΅ Π½Π°ΠΏΠΈΡΠ°Π½Ρ ΡΠ°Π±ΠΎΡΠΈΠ΅ ΠΌΠ°Π½ΡΠ°Π»Ρ ΠΏΠΎ ΡΠ°Π±ΠΎΡΠ΅ Ρ ΠΠΠ°ΠΌΠΈ. Π’ΡΡ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π°ΠΊΠΊΠ°ΡΠ½ΡΡ FB ΠΏΠΎΠ΄ Π»ΡΠ±ΡΠ΅ ΡΠ΅Π»ΠΈ: ΠΎΡ ΠΌΠΈΠΊΡΠΎΠ² Π΄ΠΎ ΠΌΠΎΡΠ½ΡΠΌΠΈ ΠΠΈΠ½Π³Π°ΠΌΠΈ Ρ ΠΏΡΠΎΠΉΠ΄Π΅Π½Π½ΡΠΌΠΈ Π·Π°ΠΏΡΠ΅ΡΠ°ΠΌΠΈ. ΠΡΠΎΡΠΌΠ»ΡΡ Π·Π΄Π΅ΡΡ, Π²Ρ ΠΏΠΎΠ»ΡΡΠ°Π΅ΡΠ΅ Π½Π΅ ΠΏΡΠΎΡΡΠΎ Π²Π°Π»ΠΈΠ΄Π½ΡΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ, Π½ΠΎ ΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΡ ΠΏΠΎΠΌΠΎΡΡ ΡΠ°ΠΏΠΏΠΎΡΡΠ°, ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΡΠ΅ ΠΏΡΠ°Π²ΠΈΠ»Π° ΡΠ΅ΠΊΠ°, ΡΡΡΠ°Ρ
ΠΎΠ²ΠΊΡ Π½Π° Π²Π°Π»ΠΈΠ΄ ΠΏΠ»ΡΡ ΡΠ°ΠΌΡΠ΅ ΠΏΡΠΈΡΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ Π² Π½ΠΈΡΠ΅. ΠΠ°ΠΆΠ½ΠΎ: ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ Π°ΠΊΡΠΈΠ²Ρ Π·Π°ΠΊΠΎΠ½Π½ΠΎ ΠΈ Ρ ΡΡΠ΅ΡΠΎΠΌ ΠΏΡΠ°Π²ΠΈΠ» Meta.
Erstellt am 01/14/26 um 23:14:44
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
gucidkic schrieb:
ΠΠΠ Β«Π’Π΅Ρ
Π½ΠΎΡΠ²ΡΠ·ΡΒ» β Π²Π΅Π΄ΡΡΠ΅Π΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΏΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Ρ ΠΏΠ΅ΡΠ°ΡΠ½ΡΡ
ΠΏΠ»Π°Ρ Π² ΠΠΊΠ°ΡΠ΅ΡΠΈΠ½Π±ΡΡΠ³Π΅ Ρ Π±ΠΎΠ»Π΅Π΅ ΡΠ΅ΠΌ 20-Π»Π΅ΡΠ½ΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΈΠΊΠ» ΡΡΠ»ΡΠ³: ΠΎΡ ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π΄ΠΎ ΡΠ΅ΡΠΈΠΉΠ½ΠΎΠ³ΠΎ Π²ΡΠΏΡΡΠΊΠ° ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΡ
ΡΡΡΡΠΎΠΉΡΡΠ², Π²ΠΊΠ»ΡΡΠ°Ρ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΠΈ ΡΡΡΠ½ΠΎΠΉ ΠΌΠΎΠ½ΡΠ°ΠΆ, ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΌΠ½ΠΎΠ³ΠΎΡΠ»ΠΎΠΉΠ½ΡΡ
ΠΏΠ»Π°Ρ Π½Π° ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°Ρ
. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://www.techno-svyaz.ru/>https://www.techno-svyaz.ru/</a> Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΎΡ ΠΌΠΈΡΠΎΠ²ΡΡ
Π»ΠΈΠ΄Π΅ΡΠΎΠ² ΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΏΠ΅ΡΡΠΎΠ½Π°Π» Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΏΡΠΈ Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π΄Π»Ρ Π»ΡΠ±ΡΡ
ΠΎΠ±ΡΠ΅ΠΌΠΎΠ² Π·Π°ΠΊΠ°Π·ΠΎΠ².
Erstellt am 01/15/26 um 00:39:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vakatten schrieb:
Π£ΡΠ΅Π±Π½ΡΠΉ ΡΠ΅Π½ΡΡ ΠΏΠ°ΡΠΈΠΊΠΌΠ°Ρ
Π΅ΡΡΠΊΠΎΠ³ΠΎ ΠΈΡΠΊΡΡΡΡΠ²Π° ΠΠ»ΠΈΠΈ ΠΡΡΠ΄ΠΈΠ½ΡΠ΅Π²ΠΎΠΉ Π² ΡΡΠΎΠ»ΠΈΡΠ΅ ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΠ΅Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ Ρ ΠΏΡΠ°ΠΊΡΠΈΠΊΠΎΠΉ Π½Π° ΠΆΠΈΠ²ΡΡ
ΠΌΠΎΠ΄Π΅Π»ΡΡ
ΡΠΆΠ΅ Ρ ΡΠ΅ΡΠ²ΡΡΡΠΎΠ³ΠΎ ΡΡΠ΅Π±Π½ΠΎΠ³ΠΎ Π΄Π½Ρ. ΠΡΠ΅ΡΠ΅ <a href=https://j-center.ru/nachalo...>ΠΊΡΡΡΡ ΠΏΠ°ΡΠΈΠΊΠΌΠ°Ρ
Π΅ΡΠΎΠ²</a>? ΠΠ° j-center.ru ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ Π΄Π»Ρ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΡ
ΠΈ ΠΏΡΠ°ΠΊΡΠΈΠΊΡΡΡΠΈΡ
ΠΌΠ°ΡΡΠ΅ΡΠΎΠ²: ΡΠ½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΊΡΡΡΡ ΠΎΡ 9000 ΡΡΠ±Π»Π΅ΠΉ, ΠΊΠΎΠ»ΠΎΡΠΈΡΡΠΈΠΊΠ° Π·Π° 36000 ΡΡΠ±Π»Π΅ΠΉ, ΠΌΡΠΆΡΠΊΠΈΠ΅ ΡΡΡΠΈΠΆΠΊΠΈ ΠΈ ΠΏΠΎΠ²ΡΡΠ΅Π½ΠΈΠ΅ ΠΊΠ²Π°Π»ΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ. Π‘ΡΡΠ΄Π΅Π½ΡΡ ΠΏΠΎΠ»ΡΡΠ°ΡΡ Π±Π΅ΡΡΠ΅Π½Π½ΡΠΉ ΠΎΠΏΡΡ ΡΠ°Π±ΠΎΡΡ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΡΠ°Π»ΠΎΠ½Π°, ΠΈΠ·ΡΡΠ°ΡΡ ΠΆΠ΅Π½ΡΠΊΠΈΠ΅ ΠΈ ΠΌΡΠΆΡΠΊΠΈΠ΅ ΡΡΡΠΈΠΆΠΊΠΈ, ΠΎΠΊΡΠ°ΡΠΈΠ²Π°Π½ΠΈΠ΅, ΡΠΊΠ»Π°Π΄ΠΊΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ. ΠΠΎΡΠ»Π΅ Π·Π°Π²Π΅ΡΡΠ΅Π½ΠΈΡ ΠΎΠ±ΡΡΠ΅Π½ΠΈΡ Π²ΡΡΡΠ°Π΅ΡΡΡ ΡΠ΅ΡΡΠΈΡΠΈΠΊΠ°Ρ Π³ΠΎΡΡΠ΄Π°ΡΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΎΠ±ΡΠ°Π·ΡΠ°, Π° ΡΠ°Π»Π°Π½ΡΠ»ΠΈΠ²ΡΠΌ Π²ΡΠΏΡΡΠΊΠ½ΠΈΠΊΠ°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅ΡΡΡ ΡΠ°Π±ΠΎΡΠ° Π² ΡΡΠΎΠ»ΠΈΡΠ½ΡΡ
ΠΈ ΠΏΠΎΠ΄ΠΌΠΎΡΠΊΠΎΠ²Π½ΡΡ
ΡΠ°Π»ΠΎΠ½Π°Ρ
ΠΊΡΠ°ΡΠΎΡΡ.
Erstellt am 01/15/26 um 01:46:49
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
paxuhPhync schrieb:
ΠΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠΉ ΠΠ°ΠΏΠΈΠΊΠΈ ΡΠΎΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ ΡΠ΅Π°Π»ΠΈΠ·Π°ΡΠΎΡΠΎΠ² ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΡΠ΅Π»Π΅ΠΉ ΠΈΠ· ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
ΡΠ΅Π³ΠΈΠΎΠ½ΠΎΠ² ΠΏΠΎΡΡΠ΅Π΄ΡΡΠ²ΠΎΠΌ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΠΎΠ³ΠΎ Π²Π΅Π±-ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠ°. ΠΠ° <a href=https://napiki.ru/>https://napiki.ru/</a> ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ΠΎ Π±ΠΎΠ»Π΅Π΅ 3800 ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠΉ Π² 1553 ΡΡΠ±ΡΠΈΠΊΠ°Ρ
: Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ, ΡΡΠ°Π½ΡΠΏΠΎΡΡ, ΡΠ°Π±ΠΎΡΠ°, ΡΠΎΠ²Π°ΡΡ Π΄Π»Ρ Π΄ΠΎΠΌΠ°, Π±ΡΡΠΎΠ²Π°Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠ° ΠΈ ΡΡΠ»ΡΠ³ΠΈ. Π Π΅ΡΡΡΡ ΡΠ°Π·ΡΠ΅ΡΠ°Π΅Ρ Π³ΡΠ°ΠΆΠ΄Π°Π½Π°ΠΌ ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡΠΌ Π²ΡΠΊΠ»Π°Π΄ΡΠ²Π°ΡΡ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ Π±Π΅Π·Π²ΠΎΠ·ΠΌΠ΅Π·Π΄Π½ΠΎ, Π° ΠΏΠ»Π°ΡΠ½ΡΠ΅ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ ΠΏΡΠΎΠ΄Π²ΠΈΠΆΠ΅Π½ΠΈΡ ΡΠΎΡΡΠΈΡΡΡΡ ΡΠ±ΡΡ. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ Π½Π°Ρ
ΠΎΠ΄ΡΡ Π²ΡΠ³ΠΎΠ΄Π½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ Π² ΡΠ²ΠΎΡΠΌ ΡΠ΅Π³ΠΈΠΎΠ½Π΅ ΠΈ ΡΠΎΡΠ΅Π΄Π½ΠΈΡ
ΠΎΠ±Π»Π°ΡΡΡΡ
, Π° ΡΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ ΠΌΠ°Π³Π°Π·ΠΈΠ½Π° ΠΏΠΎΠ²ΡΡΠ°Π΅Ρ Π΄ΠΎΠ²Π΅ΡΠΈΠ΅ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΊ Π±ΠΈΠ·Π½Π΅ΡΡ.
Erstellt am 01/15/26 um 04:31:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
waxyjJoult schrieb:
<a href=https://www.servisemaster.ru/>https://www.servisemaster.ru/</a> - Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½, Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π² ΠΠΎΡΠΊΠ²Π΅, Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π½Π΅Π΄ΠΎΡΠΎΠ³ΠΎ, Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π½Π° Π΄ΠΎΠΌΡ, Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ Π½Π° Π΄ΠΎΠΌΡ Π² ΠΠΎΡΠΊΠ²Π΅, Π Π΅ΠΌΠΎΠ½Ρ ΡΡΠΈΡΠ°Π»ΡΠ½ΡΡ
ΠΌΠ°ΡΠΈΠ½ΠΎΠΊ.
Erstellt am 01/15/26 um 07:24:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pisixokeD schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://4israel.co.il/ru/jobs/>Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅</a>? ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠ°ΠΉΡ 4israel.co.il/ru/jobs/ ΠΈ Π²Ρ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΡΠΈΡΠ»ΠΎ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ. ΠΠ΅Π³ΠΊΠΎ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΠ΅ ΠΎΠΊΡΡΠ³ ΠΠ·ΡΠ°ΠΈΠ»Ρ ΠΈ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΡΠ΅Π½ΡΡ, Π° ΡΠ΅ΡΡΡΡ ΠΏΡΠΎΠ΄Π΅ΠΌΠΎΠ½ΡΡΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΡΠ΅ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΎ Π·Π°Π½ΡΡΠΎΡΡΠΈ. ΠΠ°Π½ΡΡΠΎΡΡΡ Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅ ΡΡΠΎ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΡΠΈΡΠ»ΠΎ Π±Π΅Π·Π²ΠΎΠ·ΠΌΠ΅Π·Π΄Π½ΡΡ
Π²Π°ΠΊΠ°Π½ΡΠΈΠΉ - Π²Ρ Π½Π΅ΠΏΡΠ΅ΠΌΠ΅Π½Π½ΠΎ Π²ΡΠ±Π΅ΡΠ΅ΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΌΠ΅ΡΡΠΎ ΠΈΠ»ΠΈ Π²ΡΠΊΠ»Π°Π΄ΡΠ²Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΈ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΠΉΡΠ΅ ΡΠ΅Π°ΠΊΡΠΈΠΈ ΠΊΠ°Π½Π΄ΠΈΠ΄Π°ΡΠΎΠ². ΠΠ°Ρ ΡΠ΅ΡΡΡΡ Π½Π°ΠΈΠ±ΠΎΠ»Π΅Π΅ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠΉ Π΄Π»Ρ ΠΏΠΎΠ΄Π±ΠΎΡΠ° ΡΠ°Π±ΠΎΡΡ ΠΈ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»Π°. ΠΠ΅ΡΠ°Π»ΡΠ½Π΅Π΅ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅.
Erstellt am 01/15/26 um 11:22:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dibujySox schrieb:
ΠΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ Π°Π²ΡΠΎΡΠ΅ΡΠ²ΠΈΡ Π² ΠΠ½Π°ΠΏΠ΅ β ΡΡΠΎ Π½Π΅ ΠΏΡΠΎΡΡΠΎ ΡΠ΅ΠΌΠΎΠ½Ρ, Π° ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½Π°Ρ Π·Π°Π±ΠΎΡΠ° ΠΎ Π²Π°ΡΠ΅ΠΌ Π°Π²ΡΠΎΠΌΠΎΠ±ΠΈΠ»Π΅. ΠΠ²ΡΠΎΡΠ΅ΡΠ²ΠΈΡ Β«LEMON CARΒ» Π½Π° ΡΠ»ΠΈΡΠ΅ Π§Π΅Ρ
ΠΎΠ²Π° ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³: ΠΎΡ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ½ΠΎΠΉ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠΈ Π΄ΠΎ ΠΊΡΠ·ΠΎΠ²Π½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΈ 3D ΡΠ°Π·Π²Π°Π»-ΡΡ
ΠΎΠΆΠ΄Π΅Π½ΠΈΡ. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΡΠ΅ΡΠ° ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈ Π½Π΅ Π±ΠΎΡΡΡΡ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡ Π½Π° Π²ΡΠΏΠΎΠ»Π½Π΅Π½Π½ΡΠ΅ ΡΠ°Π±ΠΎΡΡ. ΠΡΠΎΠ±Π΅Π½Π½ΠΎΡΡΡ ΡΠ΅ΡΠ²ΠΈΡΠ° β ΠΏΡΠΎΠ·ΡΠ°ΡΠ½ΠΎΡΡΡ ΡΠ΅Π½ΠΎΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ: ΠΏΠΎΡΠ»Π΅ ΡΡΠ°ΡΠ΅Π»ΡΠ½ΠΎΠΉ Π΄ΠΈΠ°Π³Π½ΠΎΡΡΠΈΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ ΠΏΠΎΠ»Π½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ Π½Π΅ΠΈΡΠΏΡΠ°Π²Π½ΠΎΡΡΡΡ
ΠΈ ΡΡΠΎΠΈΠΌΠΎΡΡΠΈ ΡΠ΅ΠΌΠΎΠ½ΡΠ° Π±Π΅Π· Π½Π΅ΠΎΠΆΠΈΠ΄Π°Π½Π½ΡΡ
Π΄ΠΎΠΏΠ»Π°Ρ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ ΠΎΠ± ΡΡΠ»ΡΠ³Π°Ρ
ΠΈ Π°ΠΊΡΠΈΡΡ
ΠΌΠΎΠΆΠ½ΠΎ ΡΠ·Π½Π°ΡΡ Π½Π° <a href=https://lemon-car.ru/>https://lemon-car.ru/</a>, Π³Π΄Π΅ ΡΠ°ΠΊΠΆΠ΅ Π΄ΠΎΡΡΡΠΏΠ½Π° ΠΎΠ½Π»Π°ΠΉΠ½-Π·Π°ΠΏΠΈΡΡ. Π‘Π»Π΅ΡΠ°ΡΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ, Π°Π²ΡΠΎΡΠ»Π΅ΠΊΡΡΠΈΠΊΠ°, ΡΠ΅ΠΌΠΎΠ½Ρ Π΄Π²ΠΈΠ³Π°ΡΠ΅Π»Ρ ΠΈ ΠΠΠ β Π²Π΅ΡΡ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ ΡΠ°Π±ΠΎΡ Π²ΡΠΏΠΎΠ»Π½ΡΠ΅ΡΡΡ Ρ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ΠΌ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΉ ΠΈ ΡΡΠΎΠΊΠΎΠ², ΡΡΠΎ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°ΡΡ ΠΌΠ½ΠΎΠ³ΠΎΡΠΈΡΠ»Π΅Π½Π½ΡΠ΅ ΠΏΠΎΠ»ΠΎΠΆΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΎΡΠ·ΡΠ²Ρ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΡΠ΅ΡΠ²ΠΈΡΠ°.
Erstellt am 01/15/26 um 14:27:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
toxejoCoopY schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xn----ctbinlsfbmie....>ΡΠ΅ΠΌΠΎΠ½Ρ Π±Π°Π»ΠΊΠΎΠ½Π½ΠΎΠΉ Π΄Π²Π΅ΡΠΈ</a>? ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠ°ΠΉΡ ΡΠ΅ΡΠ²ΠΈΡ-ΠΎΠΊΠΎΠ½.Π±Π΅Π» Π³Π΄Π΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΠΎΠΊΠ°ΠΆΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ ΠΏΠΎ ΡΠ΅ΠΌΠΎΠ½ΡΡ ΠΈ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΡ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½, ΡΠΌΠ΅Π½Π΅ ΡΡΡΠ½ΠΈΡΡΡΡ ΠΈ ΡΠ΅ΡΡΠ°Π²ΡΠ°ΡΠΈΠΈ Π΄Π²Π΅ΡΠ΅ΠΉ Π±Π°Π»ΠΊΠΎΠ½Π°. Π‘ΡΠΎΠΈΠΌΠΎΡΡΡ Π²ΡΠ΅Ρ
ΡΡΠ»ΡΠ³ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π° Π½Π° ΡΠ°ΠΉΡΠ΅, ΠΏΡΠΈ ΡΡΠΎΠΌ ΠΌΠ°ΡΡΠ΅Ρ Π²ΡΠ΅Π·ΠΆΠ°Π΅Ρ Π½Π° ΠΎΠ±ΡΠ΅ΠΊΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ. ΠΠΌΠ΅ΡΡΡΡ Π²ΡΠ΅ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΠ΅, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ Π΄Π»Ρ ΡΡΠ°ΡΡΡ
ΠΠΠ₯ ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ. Π’ΠΎΠ»ΡΠΊΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΎΠΊΠ½Π° Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ!
Erstellt am 01/15/26 um 15:11:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
letakuIsons schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://sniper3d.ru/20-spec...>ΡΠΏΠ΅ΡΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΈ Π² ΠΈΠ³ΡΠ΅ sniper 3d assassin</a>? ΠΠΎΡΡΠ°Π» sniper3d.ru ΠΏΡΠ΅Π²ΡΠ°ΡΠΈΠ»ΡΡ Π² Π½Π°Π΄Π΅ΠΆΠ½ΠΎΠ³ΠΎ Π³ΠΈΠ΄Π° Π΄Π»Ρ ΡΠ°Π½Π°ΡΠΎΠ² ΠΊΡΠ»ΡΡΠΎΠ²ΠΎΠ³ΠΎ ΡΠ½Π°ΠΉΠΏΠ΅ΡΡΠΊΠΎΠ³ΠΎ ΡΠΊΡΠ΅Π½Π° Sniper 3D Assassin. ΠΠ΄Π΅ΡΡ ΡΠΎΠ±ΡΠ°Π½Π° ΠΈΡΡΠ΅ΡΠΏΡΠ²Π°ΡΡΠ°Ρ Π±Π°Π·Π° Π·Π½Π°Π½ΠΈΠΉ: ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠ΅ Π³Π°ΠΉΠ΄Ρ ΠΏΠΎ ΠΏΡΠΎΡ
ΠΎΠΆΠ΄Π΅Π½ΠΈΡ 825 ΠΌΠΈΡΡΠΈΠΉ Π² 21 ΡΠ΅Π³ΠΈΠΎΠ½Π΅, Ρ
Π°ΡΠ°ΠΊΡΠ΅ΡΠΈΡΡΠΈΠΊΠΈ Π²ΡΠ΅Ρ
Π²ΠΈΠ΄ΠΎΠ² ΠΎΡΡΠΆΠΈΡ ΠΈ ΡΠ½Π°ΡΡΠΆΠ΅Π½ΠΈΡ, ΡΠ°ΠΊΡΠΈΠΊΠΈ Π΄Π»Ρ PvP-Π°ΡΠ΅Π½Ρ ΠΈ ΠΌΠΈΡΠΎΠ²ΡΡ
ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΉ. ΠΠΎΡΡΠ°Π» Π΄Π°Π΅Ρ Π΄ΠΎΡΡΡΠΏ ΠΊ Π²ΠΈΠ΄Π΅ΠΎΠΈΠ½ΡΡΡΡΠΊΡΠΈΡΠΌ, ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΡΠΌ Π°Π½ΠΎΠ½ΡΠ°ΠΌ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ, ΠΏΠΎΠΌΠΎΡΡ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΠΌ ΠΈ ΠΎΠΏΡΠΈΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΠΈΠ³ΡΡ. ΠΡΠΎΠ΄ΡΠΌΠ°Π½Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ Π±Π΅Π· Π½Π°Π²ΡΠ·ΡΠΈΠ²ΡΡ
ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠΉ ΡΠΎΠ·Π΄Π°Π΅Ρ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΡ ΡΡΠ΅Π΄Ρ Π΄Π»Ρ Π½ΠΎΠ²ΡΡ
ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΌΠ°ΡΠ΅ΡΡΡ
ΡΡΡΠ΅Π»ΠΊΠΎΠ².
Erstellt am 01/15/26 um 17:33:12
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ΠΊΡΠΈΠΏΡΠΎ Π±ΠΎΡΡ schrieb:
ΠΡΠΈΠΏΡΠΎ Π±ΠΎΡΡ ΠΊΠ°Π·ΠΈΠ½ΠΎ ΡΠ΄ΠΎΠ±Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ Ρ ΠΌΠΎΠ±ΠΈΠ»ΡΠ½ΡΡ
ΡΡΡΡΠΎΠΉΡΡΠ²
Erstellt am 01/15/26 um 18:38:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
i-tec schrieb:
ΠΡΠ»ΡΡΠΈΠΌΠ΅Π΄ΠΈΠΉΠ½ΡΠΉ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΎΡ <a href=https://i-tec.ru/>Π°ΠΉ-ΡΠ΅ΠΊ</a> ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΡ ΠΌΡΠ»ΡΡΠΈΠΌΠ΅Π΄ΠΈΠΉΠ½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Π΄Π»Ρ ΠΎΡΠΈΡΠΎΠ² ΠΈ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ². ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΏΠΎΡΡΠ°Π²ΠΊΠ°, ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΈ Π½Π°ΡΡΡΠΎΠΉΠΊΠ° Π°ΡΠ΄ΠΈΠΎ-Π²ΠΈΠ΄Π΅ΠΎ, Π²ΠΈΠ΄Π΅ΠΎΡΡΠ΅Π½, LED, ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΠ½ΡΡ
ΠΈ ΠΊΠΎΠ½ΡΠ΅ΡΠ΅Π½Ρ-Π·Π°Π»ΠΎΠ². ΠΠ°ΡΠ°Π½ΡΠΈΡ ΠΈ ΡΠ΅ΡΠ²ΠΈΡ.
Erstellt am 01/15/26 um 22:07:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
i-tec schrieb:
ΠΡΠ»ΡΡΠΈΠΌΠ΅Π΄ΠΈΠΉΠ½ΡΠΉ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΎΡ <a href=https://i-tec.ru/>Π°ΠΉ-ΡΠ΅ΠΊ</a> ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΡ ΠΌΡΠ»ΡΡΠΈΠΌΠ΅Π΄ΠΈΠΉΠ½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ ΠΏΠΎΠ΄ ΠΊΠ»ΡΡ Π΄Π»Ρ ΠΎΡΠΈΡΠΎΠ² ΠΈ ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ². ΠΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅, ΠΏΠΎΡΡΠ°Π²ΠΊΠ°, ΠΌΠΎΠ½ΡΠ°ΠΆ ΠΈ Π½Π°ΡΡΡΠΎΠΉΠΊΠ° Π°ΡΠ΄ΠΈΠΎ-Π²ΠΈΠ΄Π΅ΠΎ, Π²ΠΈΠ΄Π΅ΠΎΡΡΠ΅Π½, LED, ΠΏΠ΅ΡΠ΅Π³ΠΎΠ²ΠΎΡΠ½ΡΡ
ΠΈ ΠΊΠΎΠ½ΡΠ΅ΡΠ΅Π½Ρ-Π·Π°Π»ΠΎΠ². ΠΠ°ΡΠ°Π½ΡΠΈΡ ΠΈ ΡΠ΅ΡΠ²ΠΈΡ.
Erstellt am 01/15/26 um 22:07:48
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet apk 828 schrieb:
Versions de 1xbet <a href=https://african-1xbet-apk.com/>1xbet apk</a>
Erstellt am 01/15/26 um 22:19:55
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet apk 730 schrieb:
Site web mobile 1xbet <a href=https://african-1xbet-apk.com/>1xbet apk</a>
Erstellt am 01/15/26 um 22:20:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
1xbet apk 703 schrieb:
Site web 1xbet pour Android <a href=https://african-1xbet-apk.com/>1xbet apk</a>
Erstellt am 01/15/26 um 22:20:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
undress ai schrieb:
Need an AI generator? <a href=https://undress-ai.app/>ai undress</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/16/26 um 01:12:37
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
undress ai schrieb:
Need an AI generator? <a href=https://undress-ai.app/>Undress AI Tool</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/16/26 um 01:12:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
undress ai schrieb:
Need an AI generator? <a href=https://undress-ai.app/>undress clothes with ai</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/16/26 um 01:12:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kunubViott schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xn----ctbinlsfbmie....>ΡΠ΅ΠΌΠΎΠ½Ρ Π±Π°Π»ΠΊΠΎΠ½Π½ΠΎΠΉ Π΄Π²Π΅ΡΠΈ ΠΏΠ²Ρ
</a>? ΠΠΎΡΠΈΠ½ΠΊΠ° ΠΠΠ₯ ΠΎΠΊΠΎΠ½ Π² ΠΠΈΠ½ΡΠΊΠ΅ Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½ΠΈΠ΅ΠΌ Π³Π°ΡΠ°Π½ΡΠΈΠΈ. ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ Π½Π° ΠΏΠΎΡΡΠ°Π» ΡΠ°ΠΌΠΎΠ½Ρ.Π±Π΅Π» - ΠΈΠ·ΡΡΠΈΡΠ΅ Π½Π°Ρ ΠΏΠ΅ΡΠ΅ΡΠ΅Π½Ρ ΡΡΠ»ΡΠ³, Π²ΠΊΠ»ΡΡΠ°Ρ ΡΠ΅ΡΡΠ°Π²ΡΠ°ΡΠΈΡ ΠΎΠΊΠΎΠ½, ΡΠΌΠ΅Π½Ρ ΡΡΡΠ½ΠΈΡΡΡΡ, ΠΏΠΎΡΠΈΠ½ΠΊΡ Π±Π°Π»ΠΊΠΎΠ½Π½ΡΡ
Π΄Π²Π΅ΡΠ΅ΠΉ ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ ΡΠ°Π±ΠΎΡΡ. ΠΡΠ°ΠΉΡ Π½Π° Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΡΠ΅Π³ΡΠ»ΠΈΡΠΎΠ²ΠΊΡ ΠΎΠΊΠΎΠ½Π½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ Π½Π° ΡΠ°ΠΉΡΠ΅, Π° ΠΌΠ°ΡΡΠ΅Ρ ΠΏΡΠΈΠ΅Π·ΠΆΠ°Π΅Ρ Π½Π° ΡΡΠΎΡΠ½ΡΠΉ Π²ΡΠ·ΠΎΠ² Π² ΠΠΈΠ½ΡΠΊΠ΅ ΠΊΠ°ΠΆΠ΄ΡΠΉ Π΄Π΅Π½Ρ Π½Π΅Π·Π°Π²ΠΈΡΠΈΠΌΠΎ ΠΎΡ ΠΏΠΎΠ³ΠΎΠ΄Π½ΡΡ
ΡΡΠ»ΠΎΠ²ΠΈΠΉ Π² ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ 60 ΠΌΠΈΠ½ΡΡ. Π Π½Π°Π»ΠΈΡΠΈΠΈ Π·Π°ΠΏΡΠ°ΡΡΠΈ Π²ΡΠ΅Ρ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ ΠΎΠΊΠΎΠ½Π½ΡΡ
ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ. ΠΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅ΠΌ Π²ΡΡΠΎΠΊΠΎΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΈ Π΄ΠΎΠ»Π³ΠΎΠ²Π΅ΡΠ½ΠΎΡΡΡ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΠ°ΡΠΈΡ
ΠΎΠΊΠΎΠ½Π½ΡΡ
ΡΠΈΡΡΠ΅ΠΌ.
Erstellt am 01/16/26 um 05:24:03
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΡΠΈΠ²Π΅Ρ ΡΠ΅Π±ΡΡΠ°.
ΠΡΡΡ ΡΠΎΠ²Π΅ΡΡ, ΠΊΠ°ΠΊ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎ Π²ΠΈΠ·Π΅?
ΠΠ½Π΅ Π½ΡΠ°Π²ΡΡΡΡ ΠΈΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ.
ΠΠΎΡ ΠΈΡ Π²Π΅Π±ΡΠ°ΠΉΡ:
<a href=https://www.bma.gov.za/>kra ΡΡΡΠ»ΠΊΠ°</a>
Π£Π΄Π°ΡΠΈ Π² ΡΡΠ΅Π±Π΅.
ΠΡΡΡ ΡΠΎΠ²Π΅ΡΡ, ΠΊΠ°ΠΊ ΠΏΠΎΠ»ΡΡΠΈΡΡ ΠΎΠ΄ΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎ Π²ΠΈΠ·Π΅?
ΠΠ½Π΅ Π½ΡΠ°Π²ΡΡΡΡ ΠΈΡ ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΏΠ»Π°Π½Ρ.
ΠΠΎΡ ΠΈΡ Π²Π΅Π±ΡΠ°ΠΉΡ:
<a href=https://www.bma.gov.za/>kra ΡΡΡΠ»ΠΊΠ°</a>
Π£Π΄Π°ΡΠΈ Π² ΡΡΠ΅Π±Π΅.
Erstellt am 01/16/26 um 09:59:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
weyeserels schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xakerforum.com/thre...>Π²Π΅ΡΠ½ΡΡΡ ΠΊΡΠΈΠΏΡΠΎΠ²Π°Π»ΡΡΡ</a>? xakerforum.com/threads/uslugi-xakera-vzlom-tajnaja-slezhka.282/page-6 β ΡΡΠΎ ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠΉ ΡΠ΅ΡΡΡΡ Π΄Π»Ρ ΡΠ΅Ρ
, ΠΊΡΠΎ ΡΠ΅ΡΡΠ΅Π·Π½ΠΎ ΠΎΡΠ½ΠΎΡΠΈΡΡΡ ΠΊ ΠΊΠΈΠ±Π΅ΡΠ±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ, Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΠΈ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠΈΡΡΠΎΠ²ΡΠΌ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠ°ΠΌ. ΠΠ° ΡΠΎΡΡΠΌΠ΅ ΡΠΎΠ±ΡΠ°Π½Ρ ΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ°Π·Π΄Π΅Π»Ρ ΠΏΠΎ Π·Π°ΡΠΈΡΠ΅ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ, ΠΏΠ΅Π½ΡΠ΅ΡΡΡ, Π°Π½Π°Π»ΠΈΠ·Ρ ΡΡΠ·Π²ΠΈΠΌΠΎΡΡΠ΅ΠΉ, ΠΎΠ±Π·ΠΎΡΡ ΠΏΡΠΈΠΊΠ»Π°Π΄Π½ΡΡ
ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ² ΠΈ ΠΆΠΈΠ²ΠΎΠΌΡ ΠΎΠ±ΠΌΠ΅Π½Ρ ΠΎΠΏΡΡΠΎΠΌ ΠΌΠ΅ΠΆΠ΄Ρ ΡΠΊΡΠΏΠ΅ΡΡΠ°ΠΌΠΈ ΠΈ Π½Π°ΡΠΈΠ½Π°ΡΡΠΈΠΌΠΈ. ΠΠ»Π°Π³ΠΎΠ΄Π°ΡΡ Π°ΠΊΡΠΈΠ²Π½ΠΎΠΌΡ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Ρ, Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠΌ Π³Π°ΠΉΠ΄Π°ΠΌ ΠΈ ΡΠ΅Ρ
Π½ΠΈΡΠ΅ΡΠΊΠΈΠΌ ΠΎΠ±Π·ΠΎΡΠ°ΠΌ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ ΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ, ΠΌΠΈΠ½ΡΡ ΠΏΡΡΡΡΠ΅ ΡΠ΅ΠΎΡΠΈΠΈ ΠΈ ΡΡΡΠ°ΡΠ΅Π²ΡΠΈΠ΅ ΡΠΎΠ²Π΅ΡΡ. ΠΠ° ΡΠΎΡΡΠΌΠ΅ ΠΏΠΎΠΎΡΡΡΡΡΡΡ ΡΠΎΡΠ½ΡΠ΅ ΡΠΎΡΠΌΡΠ»ΠΈΡΠΎΠ²ΠΊΠΈ, Π΄Π΅ΡΠ°Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΡΠ΅Π°Π»ΡΠ½ΡΡ
ΠΊΠ΅ΠΉΡΠΎΠ² ΠΈ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠ΅ Π½Π° ΠΏΡΠ°ΠΊΡΠΈΠΊΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ.
Erstellt am 01/16/26 um 12:58:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
botaliDus schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://store-dubai-drinks.com>delivery drinks dubai</a>? ΠΠ½Π»Π°ΠΉΠ½-ΠΌΠ°Π³Π°Π·ΠΈΠ½ store-dubai-drinks.com ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π±ΡΡΡΡΡΡ ΠΈ Π»Π΅Π³Π°Π»ΡΠ½ΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ ΠΏΠΎ Π²ΡΠ΅ΠΌΡ ΠΡΠ±Π°Ρ Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΡΠΎΠ±Π»ΡΠ΄Π΅Π½ΠΈΠ΅ΠΌ ΠΌΠ΅ΡΡΠ½ΠΎΠ³ΠΎ Π·Π°ΠΊΠΎΠ½ΠΎΠ΄Π°ΡΠ΅Π»ΡΡΡΠ²Π°. Π ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΠΈ ΡΠΎΠ±ΡΠ°Π½Ρ ΠΏΡΠ΅ΠΌΠΈΡΠΌ-Π½Π°ΠΏΠΈΡΠΊΠΈ: Π²ΠΈΡΠΊΠΈ Π»ΠΈΠ½Π΅Π΅ΠΊ Chivas ΠΈ Johnnie Walker, ΠΊΠΎΠ½ΡΡΡΠ½ΡΠ΅ ΠΈΠ·Π΄Π΅Π»ΠΈΡ Hennessy, ΡΠ΅ΠΊΠΈΠ»Π° Π±ΡΠ΅Π½Π΄Π° Patron, ΡΠ°ΠΌΠΏΠ°Π½ΡΠΊΠΈΠ΅ Π²ΠΈΠ½Π° ΠΈ Π΄ΠΈΡΡΠΈΠ»Π»ΡΡΡ ΡΠΎΠΏΠΎΠ²ΡΡ
ΠΌΠ΅ΠΆΠ΄ΡΠ½Π°ΡΠΎΠ΄Π½ΡΡ
ΠΌΠ°ΡΠΎΠΊ. ΠΠ»Π°ΡΡΠΎΡΠΌΠ° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΡ Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΡ ΠΏΠΎΠΊΡΠΏΠΎΠΊ, Π±ΡΡΡΡΡΡ ΠΊΡΡΡΠ΅ΡΡΠΊΡΡ ΡΠ»ΡΠΆΠ±Ρ ΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΠΎΠΌΠΎΡΡ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΠΌ, ΠΏΡΠ΅Π²ΡΠ°ΡΠ°Ρ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΠΏΠΈΡΡΠ½ΠΎΠ³ΠΎ Π΄Π»Ρ Π³ΠΎΡΡΠ΅ΠΉ ΠΈ ΠΆΠΈΡΠ΅Π»Π΅ΠΉ ΡΠΌΠΈΡΠ°ΡΠ° Π² ΡΠ΄ΠΎΠ±Π½ΡΠΉ ΠΈ Π·Π°ΡΠΈΡΠ΅Π½Π½ΡΠΉ ΠΏΡΠΎΡΠ΅ΡΡ.
Erstellt am 01/16/26 um 19:03:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dohitubuire schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://e-battery.ru/>ΠΊΡΠΏΠΈΡΡ ΡΡΠ³ΠΎΠ²ΡΠ΅ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ½ΡΠ΅ Π±Π°ΡΠ°ΡΠ΅ΠΈ</a>? ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ Π½Π° ΠΏΠΎΡΡΠ°Π» e-battery.ru Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΡΠΈ ΠΏΠΎ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΡΠ°ΡΡΠ΅Π½ΠΊΠ°ΠΌ ΡΡΠ³ΠΎΠ²ΡΠ΅ Π±Π°ΡΠ°ΡΠ΅ΠΈ Π΄Π»Ρ ΡΠ»Π΅ΠΊΡΡΠΎΠΏΠΎΠ³ΡΡΠ·ΡΠΈΠΊΠΎΠ², ΡΠ»Π΅ΠΊΡΡΠΈΡΠ΅ΡΠΊΠΈΡ
ΡΠ΅Π»Π΅ΠΆΠ΅ΠΊ ΠΈ ΡΡΠ°Π±Π΅Π»Π΅ΡΠΎΠ². ΠΡ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅ΠΌ Π±ΠΎΠ»ΡΡΠΎΠΉ Π²ΡΠ±ΠΎΡ ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ Π΄Π»Ρ ΡΠ°Π·Π»ΠΈΡΠ½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ Ρ ΠΎΡΠΏΡΠ°Π²ΠΊΠΎΠΉ Π²ΠΎ Π²ΡΠ΅ ΡΠ΅Π³ΠΈΠΎΠ½Ρ Π Π€. ΠΠΎΠ΄Π±ΠΎΡ ΡΡΠ³ΠΎΠ²ΠΎΠ³ΠΎ Π°ΠΊΠΊΡΠΌΡΠ»ΡΡΠΎΡΠ° ΠΌΠΎΠΆΠ½ΠΎ ΠΏΡΠΎΠΈΠ·Π²Π΅ΡΡΠΈ, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ ΠΏΠΎΠΈΡΠΊΠΎΠ²ΡΠΉ ΡΠΈΠ»ΡΡΡ, Π² ΠΊΠΎΡΠΎΡΠΎΠΌ ΠΌΠΎΠΆΠ½ΠΎ ΡΠΊΠ°Π·Π°ΡΡ ΠΎΡΠ½ΠΎΠ²Π½ΡΠ΅ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡ ΠΠΠ: Π½Π°ΠΏΡΡΠΆΠ΅Π½ΠΈΠ΅ Π² Π²ΠΎΠ»ΡΡΠ°Ρ
, Π΅ΠΌΠΊΠΎΡΡΡ ΡΠ»Π΅ΠΊΡΡΠΈΡΠ΅ΡΠΊΠ°Ρ Π² Π°ΠΌΠΏΠ΅Ρ-ΡΠ°ΡΠ°Ρ
.
Erstellt am 01/16/26 um 19:18:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
jusudevona schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://technopartsltd.ru/>Π·Π°ΠΏΡΠ°ΡΡΠΈ Π΄Π»Ρ ΡΠΏΠ΅ΡΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Ρ</a>? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ technopartsltd.ru - Ρ Π½Π°Ρ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ Π·Π°ΠΏΡΠ°ΡΡΠ΅ΠΉ Π΄Π»Ρ ΠΠ²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΎΠΉ ΠΈ ΠΠΈΡΠ°ΠΉΡΠΊΠΎΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ. ΠΠ΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΡ ΠΎΡΡΡΠ΅ΡΡΠ²Π»ΡΠ΅ΡΡΡ Π»ΠΈΡΡ Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΌΠΈ ΠΏΠ°ΡΡΠ½Π΅ΡΠ°ΠΌΠΈ, ΡΡΠΎ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΠ΅Ρ Π½Π°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΡ, Π° Ρ
ΡΠ°Π½ΠΈΠ»ΠΈΡΠ΅ ΠΎΠ±Π»Π°Π΄Π°Π΅Ρ Π΄ΠΎΡΡΠ°ΡΠΎΡΠ½ΡΠΌ ΡΠ΅Π·Π΅ΡΠ²ΠΎΠΌ ΡΠΎΠ²Π°ΡΠ½ΡΡ
Π½Π°ΠΈΠΌΠ΅Π½ΠΎΠ²Π°Π½ΠΈΠΉ, Π° ΠΏΠ΅ΡΠ΅ΡΠ΅Π½Ρ ΡΠΈΡΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ. ΠΠ΅ΡΠ°Π»ΡΠ½Π΅Π΅ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅.
Erstellt am 01/17/26 um 00:33:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
undress-ai schrieb:
Need an AI generator? <a href=https://undress-ai.app/>ai undress</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/17/26 um 01:09:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hikedbeasy schrieb:
ΠΡΠΏΠ°Π΄Π°ΡΡΠΈΠ΅ Π°Π²ΡΠΎΠΏΠΎΡΠΎΠ³ΠΈ ΠΎΡ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ Π Π€ Π»ΠΈΠΊΠ²ΠΈΠ΄ΠΈΡΡΡΡ Π·Π°Π΄Π°ΡΠΈ ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΡ ΡΠ΅ΠΏΠ»Π° ΠΈ Π·Π°ΡΠΈΡΡ ΠΎΡ ΡΡΠΌΠ° Π±Π΅Π· ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ ΠΏΠΎΡΠΎΠ³ΠΎΠ² Π² ΠΏΡΠΎΡΠΌΠ΅. ΠΡΠ΅ΡΠ΅ <a href=https://smartporog.ru/>Π²ΡΠ΄Π²ΠΈΠ³Π°ΡΡΠΈΠΉΡΡ ΠΏΠΎΡΠΎΠ³ Π΄Π»Ρ ΡΡΠ°Π»ΡΠ½ΡΡ
Π΄Π²Π΅ΡΠ΅ΠΉ</a>? ΠΠ° smartporog.ru ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΌΠΎΠ΄Π΅Π»ΠΈ LDM-01, LDM-02, LDM-03, LDM-04, LDM-05 ΠΈ Π½Π°ΠΊΠ»Π°Π΄Π½ΠΎΠΉ LDM-07 ΠΏΠΎ ΡΠ΅Π½Π°ΠΌ ΠΎΡ 611 ΡΡΠ±Π»Π΅ΠΉ Π΄Π»Ρ ΠΌΠ΅ΠΆΠΊΠΎΠΌΠ½Π°ΡΠ½ΡΡ
, Π°Π»ΡΠΌΠΈΠ½ΠΈΠ΅Π²ΡΡ
, ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΈ ΠΏΡΠΎΡΠΈΠ²ΠΎΠΏΠΎΠΆΠ°ΡΠ½ΡΡ
Π΄Π²Π΅ΡΠ΅ΠΉ. ΠΠ½ΡΠ΅Π»Π»Π΅ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΠΎΡΠΎΠ³ΠΈ Π±Π»ΠΎΠΊΠΈΡΡΡΡ ΡΠΊΠ²ΠΎΠ·Π½ΠΎΠ΅ Π΄Π²ΠΈΠΆΠ΅Π½ΠΈΠ΅ Π²ΠΎΠ·Π΄ΡΡ
Π°, ΡΠ΅ΠΌΠΏΠ΅ΡΠ°ΡΡΡΠ½ΡΠ΅ ΠΏΠΎΡΠ΅ΡΠΈ, ΠΏΡΠ»Π΅Π²ΡΠ΅ ΡΠ°ΡΡΠΈΡΡ ΠΈ Π½Π΅ΠΆΠ΅Π»Π°ΡΠ΅Π»ΡΠ½ΡΠ΅ Π·Π°ΠΏΠ°Ρ
ΠΈ, Π΄Π΅ΠΌΠΎΠ½ΡΡΡΠΈΡΡΡΡ ΠΎΠ³Π½Π΅ΡΠΏΠΎΡΠ½ΡΠ΅ ΠΈ Π΄ΡΠΌΠΎΠΈΠ·ΠΎΠ»ΠΈΡΡΡΡΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π°, ΠΊΡΠΈΡΠΈΡΠ½Ρ Π΄Π»Ρ ΠΊΠ»ΠΈΠ½ΠΈΠΊ, ΡΡΠ΅Π±Π½ΡΡ
ΠΎΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΠΉ, ΡΠΈΡΠ΅ΠΉΠ»Π° ΠΈ Π°Π²ΠΈΠ°ΡΠ΅ΡΠΌΠΈΠ½Π°Π»ΠΎΠ² Π³Π΄Π΅ ΠΏΡΠΈΠΌΠ΅Π½ΡΡΡΡΡ Π³ΡΡΠ·ΠΎΠ²ΡΠ΅ ΡΠ΅Π»Π΅ΠΆΠΊΠΈ. ΠΡΠΏΡΡΠΊ Π²Π½ΡΡΡΠΈ ΡΡΡΠ°Π½Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅Ρ ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΡΠ΅Π½Π½ΠΈΠΊ Π² ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΡ
Π΄Π΅Π½ΡΠ³Π°Ρ
Π²Π½Π΅ Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ Π²Π°Π»ΡΡΠ½ΡΡ
ΡΠ»ΡΠΊΡΡΠ°ΡΠΈΠΉ.
Erstellt am 01/17/26 um 06:27:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
luzipoincib schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Β«ΠΠ°Π»ΡΠΏΡΠΎΡΒ» ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ ΠΈ ΡΠ΅Π°Π»ΠΈΠ·ΡΠ΅Ρ Π²ΡΡΠΎΠΊΠΎΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΠΉ ΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ Π΄Π»Ρ ΠΏΡΠΎΡΠΈΠ²ΠΎΠΏΠΎΠΆΠ°ΡΠ½ΡΡ
, ΡΠ°ΡΠ°Π΄Π½ΡΡ
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ, Π»ΠΎΡΡ-ΠΏΠ΅ΡΠ΅Π³ΠΎΡΠΎΠ΄ΠΎΠΊ, Π΄Π²Π΅ΡΠ΅ΠΉ ΠΈ Π²ΠΎΡΠΎΡ. ΠΡΠ΅ΡΠ΅ <a href=https://waltzprof.com/profi...>ΡΠ°ΡΠ°Π΄Π½ΡΠΉ Π°Π»ΡΠΌΠΈΠ½ΠΈΠ΅Π²ΡΠΉ ΠΏΡΠΎΡΠΈΠ»Ρ</a>? ΠΠ° waltzprof.com ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΡΠΈΡΠΎΠΊΠΈΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ: ΠΏΡΠΎΡΠΈΠ»ΠΈ ΠΠ165, ΠΠ150, ΠΠ250, ΠΠ372 Ρ ΡΠ΅ΡΠΌΠΎΡΠ°Π·ΡΡΠ²ΠΎΠΌ ΠΈΠ· ΠΎΡΠΈΠ½ΠΊΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΈ Π½Π΅ΡΠΆΠ°Π²Π΅ΡΡΠ΅ΠΉ ΡΡΠ°Π»ΠΈ, ΠΎΡΠΈΠ½ΠΊΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΠ΅ ΡΡΡΠ±Ρ, ΡΠΊΡΡΡΡΠ΅ ΠΏΠ΅ΡΠ»ΠΈ Π΄Π»Ρ Π²ΡΠ΅Ρ
ΡΠΈΠΏΠΎΠ² Π΄Π²Π΅ΡΠ΅ΠΉ, Π²ΡΠΏΠ°Π΄Π°ΡΡΠΈΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠΎΡΠΎΠ³ΠΈ ΠΈ ΡΠΏΠ»ΠΎΡΠ½ΠΈΡΠ΅Π»ΠΈ EPDM. ΠΠ°Π²ΠΎΠ΄ Π²Π½Π΅Π΄ΡΡΠ΅Ρ ΠΈΠ½Π½ΠΎΠ²Π°ΡΠΈΠΎΠ½Π½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ, ΡΠΏΠΎΡΠΎΠ±ΡΡΠ²ΡΠ΅Ρ ΡΠ΄ΠΎΠ±Π½ΠΎΠΉ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠ΅ ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ ΠΈ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΡ ΠΏΠΎΠΌΠΎΡΡ Π² ΠΎΠΏΡΠ΅Π΄Π΅Π»Π΅Π½ΠΈΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΠΉ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ.
Erstellt am 01/17/26 um 08:58:25
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
febabtRek schrieb:
ΠΠΠ Β«Π’Π΅Ρ
Π½ΠΎΡΠ²ΡΠ·ΡΒ» β Π²Π΅Π΄ΡΡΠ΅Π΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΏΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Ρ ΠΏΠ΅ΡΠ°ΡΠ½ΡΡ
ΠΏΠ»Π°Ρ Π² ΠΠΊΠ°ΡΠ΅ΡΠΈΠ½Π±ΡΡΠ³Π΅ Ρ Π±ΠΎΠ»Π΅Π΅ ΡΠ΅ΠΌ 20-Π»Π΅ΡΠ½ΠΈΠΌ ΠΎΠΏΡΡΠΎΠΌ ΡΠ°Π±ΠΎΡΡ. ΠΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅: ΠΎΡ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ Π΄ΠΎ ΠΌΠ°ΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²Π° ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΠΈ, Π² ΡΠΎΠΌ ΡΠΈΡΠ»Π΅ SMT ΠΈ ΡΡΡΠ½ΡΡ ΡΠ±ΠΎΡΠΊΡ, Π²ΡΠΏΡΡΠΊ ΠΠΠ Π½Π° ΡΠ°Π·Π½ΠΎΠΎΠ±ΡΠ°Π·Π½ΡΡ
ΠΎΡΠ½ΠΎΠ²Π°Ρ
. ΠΠΎΠ΄ΡΠΎΠ±Π½Π΅Π΅ Π½Π° <a href=https://www.techno-svyaz.ru/>https://www.techno-svyaz.ru/</a> Π‘ΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅, ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² ΠΎΡ ΠΌΠΈΡΠΎΠ²ΡΡ
Π»ΠΈΠ΄Π΅ΡΠΎΠ² ΠΈ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΏΠ΅ΡΡΠΎΠ½Π°Π» Π³Π°ΡΠ°Π½ΡΠΈΡΡΡΡ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΊΠΈ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΏΡΠΈ Π²ΡΡΠΎΠΊΠΎΠΌ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ Π΄Π»Ρ Π»ΡΠ±ΡΡ
ΠΎΠ±ΡΠ΅ΠΌΠΎΠ² Π·Π°ΠΊΠ°Π·ΠΎΠ².
Erstellt am 01/17/26 um 09:40:39
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kujamlit schrieb:
ΠΡΡΡΡ Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠ³ΠΎ ΡΠ·ΡΠΊΠ° Π΄Π»Ρ Π΄Π΅ΡΠ΅ΠΉ Π² ΠΠ»ΠΌΠ°ΡΡ ΠΎΡ ΡΠ·ΡΠΊΠΎΠ²ΠΎΠ³ΠΎ ΡΠ΅Π½ΡΡΠ° CT Group ΠΏΡΠ΅Π΄Π»Π°Π³Π°ΡΡ ΡΡΡΠ΅ΠΊΡΠΈΠ²Π½ΠΎΠ΅ ΠΎΠ±ΡΡΠ΅Π½ΠΈΠ΅ Ρ ΡΠ°Π½Π½Π΅Π³ΠΎ Π²ΠΎΠ·ΡΠ°ΡΡΠ° ΠΏΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΠΊΠΎΠΌΠΌΡΠ½ΠΈΠΊΠ°ΡΠΈΠ²Π½ΡΠΌ ΠΌΠ΅ΡΠΎΠ΄ΠΈΠΊΠ°ΠΌ. ΠΠ° <a href=https://www.ctgroup.kz/>https://www.ctgroup.kz/</a>ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ
Π²ΠΎΠ·ΡΠ°ΡΡΠ½ΡΡ
Π³ΡΡΠΏΠΏ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠ°Π·Π²ΠΈΠ²Π°ΡΡ ΡΠ°Π·Π³ΠΎΠ²ΠΎΡΠ½ΡΠ΅ Π½Π°Π²ΡΠΊΠΈ, Π³ΡΠ°ΠΌΠΌΠ°ΡΠΈΠΊΡ ΠΈ Π²ΠΎΡΠΏΡΠΈΡΡΠΈΠ΅ ΡΠ΅ΡΠΈ Π½Π° ΡΠ»ΡΡ
ΡΠ΅ΡΠ΅Π· ΠΈΠ³ΡΠΎΠ²ΡΠ΅ ΡΠΎΡΠΌΠ°ΡΡ ΠΈ ΠΈΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ²Π½ΡΠ΅ Π·Π°Π½ΡΡΠΈΡ. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΏΠ΅Π΄Π°Π³ΠΎΠ³ΠΈ ΡΠΎΡΠΌΠΈΡΡΡΡ Π±Π»Π°Π³ΠΎΠΏΡΠΈΡΡΠ½ΡΡ Π°ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΏΠΎΠ³ΡΡΠΆΠ΅Π½ΠΈΡ Π² ΡΠ·ΡΠΊ, Π³Π΄Π΅ ΡΠ΅Π±ΡΡΠ° ΡΠ½ΠΈΠΌΠ°ΡΡ ΠΏΡΠΈΡ
ΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠ΅ Π±Π»ΠΎΠΊΠΈ ΠΈ ΠΏΡΠΈΠΎΠ±ΡΠ΅ΡΠ°ΡΡ ΡΠ²ΠΎΠ±ΠΎΠ΄Π½ΠΎΠ΅ Π²Π»Π°Π΄Π΅Π½ΠΈΠ΅ ΡΠ΅ΡΡΡ Π΄Π»Ρ ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°Π½ΠΈΡ ΠΈ Π³Π»ΠΎΠ±Π°Π»ΡΠ½ΠΎΠΉ ΠΊΠΎΠΌΠΌΡΠ½ΠΈΠΊΠ°ΡΠΈΠΈ.
Erstellt am 01/17/26 um 13:05:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
buboxFraup schrieb:
ΠΠΎΡΠΊΠ° Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΡ
ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΠΉ Π’ΠΎΠΏΠΠΎΡΠΊΠ° ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π±ΡΡΡΡΡΠΉ ΠΏΠΎΠΈΡΠΊ ΡΠΎΠ²Π°ΡΠΎΠ² ΠΈ ΡΡΠ»ΡΠ³ ΠΏΠΎ Π²ΡΠ΅ΠΉ Π ΠΎΡΡΠΈΠΈ ΡΠ΅ΡΠ΅Π· ΠΈΠ½ΡΡΠΈΡΠΈΠ²Π½ΡΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ. ΠΠ° <a href=https://topdoska.ru/>https://topdoska.ru/</a> ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½Ρ ΠΎΠ±ΡΡΠ²Π»Π΅Π½ΠΈΡ Π² 2581 ΡΡΠ±ΡΠΈΠΊΠ°Ρ
, ΠΎΡ
Π²Π°ΡΡΠ²Π°ΡΡΠΈΡ
Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΡ, ΡΡΠ°Π½ΡΠΏΠΎΡΡ, ΡΠ°Π±ΠΎΡΡ, ΡΠ»Π΅ΠΊΡΡΠΎΠ½ΠΈΠΊΡ, Π°ΡΡΡΠΎΠ»ΠΎΠ³ΠΈΡ ΠΈ Π±ΠΈΠ·Π½Π΅Ρ-ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ. Π Π΅ΡΡΡΡ Π΄Π΅ΠΉΡΡΠ²ΡΠ΅Ρ Π² 3843 ΡΠ΅ΡΡΠΈΡΠΎΡΠΈΠ°Π»ΡΠ½ΡΡ
Π΅Π΄ΠΈΠ½ΠΈΡΠ°Ρ
Π ΠΎΡΡΠΈΠΈ, ΡΠ°Π·ΡΠ΅ΡΠ°Ρ ΡΠΈΠ·Π»ΠΈΡΠ°ΠΌ ΠΈ ΡΠΈΡΠΌΠ°ΠΌ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΡΡ ΠΊΠΎΠ½ΡΠ΅Π½Ρ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ. ΠΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡ ΠΎΡΠΊΡΡΡΠΈΡ ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π° ΠΈ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΎΠΏΡΠΈΠΈ ΡΠ΅ΠΊΠ»Π°ΠΌΡ ΠΏΡΠ΅Π²ΡΠ°ΡΠ°ΡΡ ΠΏΠ»Π°ΡΡΠΎΡΠΌΡ Π² ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠΈΠ²Π½ΡΠΉ ΠΌΠ΅Ρ
Π°Π½ΠΈΠ·ΠΌ ΡΠ°ΡΡΠΈΡΠ΅Π½ΠΈΡ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠΈΠΈ ΠΈ ΠΏΠΎΠΈΡΠΊΠ° ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ².
Erstellt am 01/17/26 um 13:48:16
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dudokLoxia schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://drinks-delivery.com>ΠΊΡΠΏΠΈΡΡ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ Π² Π΄ΡΠ±Π°Π΅</a>? ΠΠ»Π°ΡΡΠΎΡΠΌΠ° drinks-delivery.com β Π»ΠΈΡΠ΅Π½Π·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ Π΄ΠΎΡΡΠ°Π²ΠΊΠΈ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ Π² ΠΡΠ±Π°Π΅ Ρ ΡΠΈΡΠΎΠΊΠΈΠΌ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½ΡΠΎΠΌ ΠΏΠΈΠ²Π°, Π²ΠΈΠ½, Π²ΠΈΡΠΊΠΈ, ΠΊΠΎΠ½ΡΡΠΊΠΎΠ², ΡΠ΅ΠΊΠΈΠ»Ρ ΠΈ ΠΊΡΠ΅ΠΏΠΊΠΈΡ
Π½Π°ΠΏΠΈΡΠΊΠΎΠ² ΠΌΠΈΡΠΎΠ²ΡΡ
Π±ΡΠ΅Π½Π΄ΠΎΠ². ΠΡΠ³Π°Π½ΠΈΠ·Π°ΡΠΈΡ Π²Π΅Π΄Π΅Ρ Π΄Π΅ΡΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π² ΡΠ°ΠΌΠΊΠ°Ρ
Π΄Π΅ΠΉΡΡΠ²ΡΡΡΠΈΡ
ΡΠ΅Π³ΡΠ»ΡΡΠΈΠΉ ΠΡΠ±Π°Ρ, ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°Ρ Π·Π°ΠΊΠΎΠ½Π½ΠΎΡΡΡ Π²ΡΠ΅Ρ
ΠΏΠΎΡΡΠ°Π²ΠΎΠΊ, Π°Π½ΠΎΠ½ΠΈΠΌΠ½ΠΎΡΡΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ Π½Π°Π΄Π΅ΠΆΠ½ΠΎΡΡΡ ΡΠ°ΡΡΠ΅ΡΠΎΠ². Π‘ΠΊΠΎΡΠΎΡΡΠ½Π°Ρ Π»ΠΎΠ³ΠΈΡΡΠΈΠΊΠ°, ΠΏΡΠΎΡΡΠΎΠΉ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡ ΠΌΠ°Π³Π°Π·ΠΈΠ½Π° ΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°ΡΡ Π²ΡΡΠΎΠΊΠΈΠΉ ΠΊΠΎΠΌΡΠΎΡΡ Π·Π°ΠΊΠ°Π·ΠΎΠ² Π΄Π»Ρ ΠΌΠ΅ΡΡΠ½ΡΡ
ΠΏΠΎΠΊΡΠΏΠ°ΡΠ΅Π»Π΅ΠΉ ΠΈ ΠΏΡΠΈΠ΅Π·ΠΆΠΈΡ
.
Erstellt am 01/17/26 um 20:50:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
email rassylka 14 schrieb:
ΡΠ΅ΡΠ²ΠΈΡ Π±ΠΈΠ·Π½Π΅Ρ ΡΠ°ΡΡΡΠ»ΠΎΠΊ <a href=https://email-rassylka.ru/>ΡΠ΅ΡΠ²ΠΈΡΡ email ΡΠ°ΡΡΡΠ»ΠΎΠΊ Π² ΡΠΎΡΡΠΈΠΈ</a>
Erstellt am 01/17/26 um 22:08:32
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
email rassylka 773 schrieb:
ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°ΡΡΡΠ»ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ <a href=https://email-rassylka.ru/>ΡΠ΅ΡΠ²ΠΈΡΡ ΡΠ°ΡΡΡΠ»ΠΊΠΈ email ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠ΅</a>
Erstellt am 01/17/26 um 22:08:35
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
sekuyImpug schrieb:
Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠ°Ρ ΡΠ΅ΡΡ Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Ρ ΠΎΠΊΠ°Π·ΡΠ²Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΠΏΠ΅ΡΠ΅ΡΠ΅Π½Ρ ΡΡΠ»ΡΠ³ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΠΏΠΎΠ»ΠΎΡΡΡΡ ΡΡΠ° Π΄Π»Ρ Π²ΡΠ΅Ρ
. ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈ ΠΏΡΠΈΠΌΠ΅Π½ΡΡΡ ΠΏΠ΅ΡΠ΅Π΄ΠΎΠ²ΠΎΠ΅ ΠΎΡΠ½Π°ΡΠ΅Π½ΠΈΠ΅ ΠΈ ΡΠ΅ΡΡΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈΠ· ΠΠ²ΡΠΎΠΏΡ. ΠΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ ΡΠΎΠΊΡΡΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠ΅ΡΠ°ΠΏΠΈΠΈ, Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΈ Π·ΡΠ±ΠΎΠ², ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°Ρ
ΠΈ ΠΊΠΎΡΠΌΠ΅ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΏΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠΌ. ΠΠ°ΠΏΠΈΡΡ Π½Π° ΠΏΡΠΈΠ΅ΠΌ Π΄ΠΎΡΡΡΠΏΠ½Π° Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://24antosplus.ru/>https://24antosplus.ru/</a> Π² Π»ΡΠ±ΠΎΠ΅ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΡΡΠΎΠΊ. ΠΠ°ΡΠΈΠ΅Π½ΡΠ°ΠΌ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅ΡΡΡ ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΠΉ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ ΠΈ ΠΊΠΎΠΌΡΠΎΡΡΠ½ΡΠ΅ ΡΡΠ»ΠΎΠ²ΠΈΡ Π»Π΅ΡΠ΅Π½ΠΈΡ Π±Π΅Π· Π±ΠΎΠ»ΠΈ ΠΈ ΡΡΡΠ΅ΡΡΠ°.
Erstellt am 01/17/26 um 23:33:46
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Richardsaist schrieb:
ΠΠ°Π΄Π΅ΡΡΡ, Ρ Π²ΡΠ΅Ρ
Π²ΡΠ΅ ΠΎΡΠ»ΠΈΡΠ½ΠΎ.
Π₯ΠΎΡΡ ΡΡΠΈΡΡ ΠΈΡΠΏΠ°Π½ΡΠΊΠΈΠΉ Π² ΠΡΠΏΠ°Π½ΠΈΠΈ Π² ΡΠ»Π΅Π΄ΡΡΡΠ΅ΠΌ Π³ΠΎΠ΄Ρ.
Π£ Π½ΠΈΡ ΠΎΡΠΈΡΡ Π² Π’ΠΎΠΊΠΈΠΎ ΠΈ ΠΠΎΠ±Π΅.
ΠΠΎΡ ΠΈΡ Π²Π΅Π±ΡΠ°ΠΉΡ:
<a href=https://www.bma.gov.za/>ΠΊΡΠ°ΠΊΠ΅Π½ darknet</a>
ΠΠ°ΠΏΠΈΡΠΈΡΠ΅, ΡΡΠΎ Π΄ΡΠΌΠ°Π΅ΡΠ΅.
Π₯ΠΎΡΡ ΡΡΠΈΡΡ ΠΈΡΠΏΠ°Π½ΡΠΊΠΈΠΉ Π² ΠΡΠΏΠ°Π½ΠΈΠΈ Π² ΡΠ»Π΅Π΄ΡΡΡΠ΅ΠΌ Π³ΠΎΠ΄Ρ.
Π£ Π½ΠΈΡ ΠΎΡΠΈΡΡ Π² Π’ΠΎΠΊΠΈΠΎ ΠΈ ΠΠΎΠ±Π΅.
ΠΠΎΡ ΠΈΡ Π²Π΅Π±ΡΠ°ΠΉΡ:
<a href=https://www.bma.gov.za/>ΠΊΡΠ°ΠΊΠ΅Π½ darknet</a>
ΠΠ°ΠΏΠΈΡΠΈΡΠ΅, ΡΡΠΎ Π΄ΡΠΌΠ°Π΅ΡΠ΅.
Erstellt am 01/18/26 um 11:07:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
pisixokeD schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://4israel.co.il/ru/jobs/>Π²Π°ΠΊΠ°Π½ΡΠΈΠΈ Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅</a>? ΠΠΎΡΠ΅ΡΠΈΡΠ΅ ΡΠ°ΠΉΡ 4israel.co.il/ru/jobs/ ΠΈ Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π±ΠΎΠ»ΡΡΠΎΠ΅ ΠΊΠΎΠ»ΠΈΡΠ΅ΡΡΠ²ΠΎ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΠΉ. ΠΠ΅Π³ΠΊΠΎ ΠΎΠΏΡΠ΅Π΄Π΅Π»ΠΈΡΠ΅ ΠΎΠΊΡΡΠ³ ΠΠ·ΡΠ°ΠΈΠ»Ρ ΠΈ Π³ΠΎΡΠΎΠ΄ΡΠΊΠΎΠΉ ΡΠ΅Π½ΡΡ, Π° ΡΠ΅ΡΡΡΡ ΠΏΡΠΎΠ΄Π΅ΠΌΠΎΠ½ΡΡΡΠΈΡΡΠ΅Ρ Π²Π°ΠΌ Π²ΡΠ΅ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡ ΠΎ Π·Π°Π½ΡΡΠΎΡΡΠΈ. ΠΠ°Π½ΡΡΠΎΡΡΡ Π² ΠΠ·ΡΠ°ΠΈΠ»Π΅ ΡΡΠΎ ΠΎΠ³ΡΠΎΠΌΠ½ΠΎΠ΅ ΡΠΈΡΠ»ΠΎ Π±Π΅Π·Π²ΠΎΠ·ΠΌΠ΅Π·Π΄Π½ΡΡ
Π²Π°ΠΊΠ°Π½ΡΠΈΠΉ - Π²Ρ Π½Π΅ΠΏΡΠ΅ΠΌΠ΅Π½Π½ΠΎ Π²ΡΠ±Π΅ΡΠ΅ΡΠ΅ Π΄Π»Ρ ΡΠ΅Π±Ρ ΠΌΠ΅ΡΡΠΎ ΠΈΠ»ΠΈ Π²ΡΠΊΠ»Π°Π΄ΡΠ²Π°ΠΉΡΠ΅ ΡΠ²ΠΎΠΈ ΠΏΠΎΠ·ΠΈΡΠΈΠΈ ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΠΉΡΠ΅ ΡΠ΅Π°ΠΊΡΠΈΠΈ ΠΊΠ°Π½Π΄ΠΈΠ΄Π°ΡΠΎΠ². ΠΠ°ΡΠ° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° ΡΠ°ΠΌΠ°Ρ ΡΠ΄ΠΎΠ±Π½Π°Ρ Π΄Π»Ρ ΠΏΠΎΠΈΡΠΊΠ° ΡΠ°Π±ΠΎΡΡ ΠΈ ΡΠΎΡΡΡΠ΄Π½ΠΈΠΊΠΎΠ². ΠΠΎΠ»Π΅Π΅ ΠΏΠΎΠ»Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π½Π° ΡΠ΅ΡΡΡΡΠ΅.
Erstellt am 01/18/26 um 13:28:19
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
toxejoCoopY schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xn----ctbinlsfbmie....>ΡΠ΅ΠΌΠΎΠ½Ρ ΠΎΠΊΠΎΠ½</a>? ΠΠ°ΠΉΠ΄ΠΈΡΠ΅ Π½Π° ΠΏΠΎΡΡΠ°Π» ΡΠ΅ΡΠ²ΠΈΡ-ΠΎΠΊΠΎΠ½.Π±Π΅Π» Π³Π΄Π΅ ΠΡ ΠΏΠΎΠ»ΡΡΠΈΡΠ΅ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΡΡΠ»ΡΠ³ΠΈ ΠΏΠΎ ΡΠ΅ΡΠ²ΠΈΡΡ ΠΈ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ ΠΎΠΊΠΎΠ½ ΠΠΠ₯, Π²ΠΊΠ»ΡΡΠ°Ρ Π·Π°ΠΌΠ΅Π½Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΡ
ΠΈ ΠΏΠΎΡΠΈΠ½ΠΊΡ Π±Π°Π»ΠΊΠΎΠ½Π½ΡΡ
Π΄Π²Π΅ΡΠ΅ΠΉ. Π‘ΡΠΎΠΈΠΌΠΎΡΡΡ Π²ΡΠ΅Ρ
ΡΡΠ»ΡΠ³ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½Π° Π½Π° ΡΠ°ΠΉΡΠ΅, ΠΏΡΠΈ ΡΡΠΎΠΌ ΠΌΠ°ΡΡΠ΅Ρ Π²ΡΠ΅Π·ΠΆΠ°Π΅Ρ Π½Π° ΠΎΠ±ΡΠ΅ΠΊΡ Π² ΠΊΡΠ°ΡΡΠ°ΠΉΡΠΈΠ΅ ΡΡΠΎΠΊΠΈ. Π Π½Π°Π»ΠΈΡΠΈΠΈ Π²ΡΠ΅ Π·Π°ΠΏΡΠ°ΡΡΠΈ, Π΄Π°ΠΆΠ΅ Π½Π° ΡΡΠ°ΡΡΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°. ΠΡΠΊΠ»ΡΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΎΠΊΠΎΠ½ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΡΠΌΠΈ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΡΡΠ²Π°ΠΌΠΈ!
Erstellt am 01/18/26 um 13:52:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Terryprins schrieb:
Need an AI generator? <a href=https://undress-ai.app/>ai nude generator</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/18/26 um 15:20:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Terryprins schrieb:
Need an AI generator? <a href=https://undress-ai.app/>ai undressing</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/18/26 um 15:20:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Terryprins schrieb:
Need an AI generator? <a href=https://undress-ai.app/>ai undressing</a> The best nude generator with precision and control. Enter a description and get results. Create nude images in just a few clicks.
Erstellt am 01/18/26 um 15:20:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zadvizhka 30s41nzh 290 schrieb:
Π·Π°Π΄Π²ΠΈΠΆΠΊΠ° 30Ρ41Π½ΠΆ Π΄Ρ100 ΡΡ16 <a href=https://zadvizhka-30s41nzh.ru/>Π·Π°Π΄Π²ΠΈΠΆΠΊΠ° ΠΊΠ»ΠΈΠ½ΠΎΠ²Π°Ρ Ρ Π²ΡΠ΄Π²ΠΈΠΆΠ½ΡΠΌ ΡΠΏΠΈΠ½Π΄Π΅Π»Π΅ΠΌ 30Ρ41Π½ΠΆ</a>
Erstellt am 01/18/26 um 15:26:24
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zadvizhka 30s41nzh 532 schrieb:
Π·Π°Π΄Π²ΠΈΠΆΠΊΠ° ΠΊΠ»ΠΈΠ½ΠΎΠ²Π°Ρ 30Ρ41Π½ΠΆ <a href=https://zadvizhka-30s41nzh.ru/>30Ρ41Π½ΠΆ Π·Π°Π΄Π²ΠΈΠΆΠΊΠ°</a>
Erstellt am 01/18/26 um 15:26:31
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zadvizhka 30s41nzh 298 schrieb:
Π·Π°Π΄Π²ΠΈΠΆΠΊΠ° Π·ΠΊΠ» 30Ρ41Π½ΠΆ <a href=https://zadvizhka-30s41nzh.ru/>Π·Π°Π΄Π²ΠΈΠΆΠΊΠΈ ΡΡΠ°Π»ΡΠ½ΡΠ΅ ΡΠ»Π°Π½ΡΠ΅Π²ΡΠ΅ 30Ρ41Π½ΠΆ</a>
Erstellt am 01/18/26 um 15:26:33
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zfilm-hd 122 schrieb:
Π»ΡΡΡΠΈΠ΅ 2024 ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zfilm-hd.net/>ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΊΠΈΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/18/26 um 15:27:56
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zfilm-hd 811 schrieb:
ΡΠΌΠΎΡΡΠ΅ΡΡ Π»ΡΡΡΠ΅ ΡΠ΅ΡΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zfilm-hd.net/>ΡΠΌΠΎΡΡΠ΅ΡΡ ΡΠ² ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/18/26 um 15:27:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zfilm-hd 338 schrieb:
Π»ΡΡΡΠΈΠ΅ 2024 ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zfilm-hd.net/>ΡΠΌΠΎΡΡΠ΅ΡΡ Π»ΡΡΡΠ΅ ΡΠ΅ΡΠΈΡ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/18/26 um 15:27:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Terrelllip schrieb:
<a href=https://kwejoperk.ru/>manage</a> manage manage managefg managerey
Erstellt am 01/18/26 um 15:28:38
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyKek schrieb:
ΠΡΠ°Π» ΠΏΠ°ΡΡ ΡΠ°Π· Π²ΡΠ΅ Π±ΡΠ»ΠΎ ΡΠΎΡΠΊΠΎ!! Π²ΡΠ΅ΠΌ ΡΠΎΠ²Π΅ΡΡΡ) <a href=https://mefedronkypit.store>ΠΡΠΏΠΈΡΡ ΠΠΎΠΊΠ°ΠΈΠ½, ΠΠΎΡΠΊΠΈ, ΠΠ΅ΡΠ΅Π΄ΡΠΎΠ½, ΠΠ°ΡΠΈΡ</a> ))) ΡΠΏΠ°ΡΠΈΠ±ΠΎΡΡΡΠΈΡΠΊΠ° Ρ
ΠΎΡΠΎΡΠ°, Ρ ΠΊΠ°ΠΊ Π³ΠΎ Π³ΡΠ΅ΡΠΈΠ» ΡΡΠΎ Π½ΠΈΡΠ²Π°Π½ΠΎΠ²ΡΠΊΠ°Ρ Π±ΡΠ»Π° ΠΊΠ°ΠΊΠ°Ρ ΡΠΎ ΡΡΠΌΠ½Π°Ρ, ΡΠ°ΠΊ Π²ΠΎΡ Ρ ΡΠ΅ΠΌΠΈΠΊΠ°Π»Π° ΠΎΠ½Π° Π²ΠΎΠΎΠ±ΡΠ΅ ΠΏΡΠ°ΠΊΡΠΈΡΠ΅ΡΠΊΠΈ Π±Π΅ΠΆΠ΅Π²Π°Ρ :D ΠΊΠ°ΡΠ΅ΡΡΠ²ΠΎ ΠΏΠΎΡΠ°Π΄ΠΎΠ²Π°Π»ΠΎ, Ρ
ΠΎΡΠΎΡΠ°Ρ Π²Π΅ΡΡ )
Erstellt am 01/18/26 um 20:51:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rapofdrier schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://store-drinks.com>ΠΊΡΠΏΠΈΡΡ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ Π² Π΄ΡΠ±Π°Π΅</a>? ΠΠ½Π»Π°ΠΉΠ½-ΠΌΠ°Π³Π°Π·ΠΈΠ½ store-drinks.com ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΊΡΡΠ³Π»ΠΎΡΡΡΠΎΡΠ½ΡΡ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ ΠΏΠΎ ΠΡΠ±Π°Ρ Ρ ΠΎΠ±ΡΠΈΡΠ½ΡΠΌ ΠΊΠ°ΡΠ°Π»ΠΎΠ³ΠΎΠΌ Π²ΠΎΠ΄ΠΊΠΈ, Π²ΠΈΠ½Π°, ΡΠ°ΠΌΠΏΠ°Π½ΡΠΊΠΎΠ³ΠΎ ΠΈ ΠΊΡΠ΅ΠΏΠΊΠΈΡ
Π½Π°ΠΏΠΈΡΠΊΠΎΠ² Π²Π΅Π΄ΡΡΠΈΡ
ΠΌΠΈΡΠΎΠ²ΡΡ
Π±ΡΠ΅Π½Π΄ΠΎΠ². Π‘Π΅ΡΠ²ΠΈΡ Π²ΡΠ΄Π΅Π»ΡΠ΅ΡΡΡ ΠΌΠ³Π½ΠΎΠ²Π΅Π½Π½ΡΠΌ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΠ΅ΠΌ Π·Π°ΠΊΠ°Π·Π° ΡΠ΅ΡΠ΅Π· WhatsApp, ΠΏΠ΅ΡΡΠΎΠ½Π°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½ΡΠΌΠΈ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡΠΌΠΈ ΡΠΊΡΠΏΠ΅ΡΡΠΎΠ² ΠΈ Π±ΡΡΡΡΠΎΠΉ Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ Π² Π»ΡΠ±ΡΡ ΡΠΎΡΠΊΡ ΡΠΌΠΈΡΠ°ΡΠ°. ΠΠ°ΠΊΠ°Π·ΡΠΈΠΊΠΈ Π² ΡΠ΅ΠΆΠΈΠΌΠ΅ ΡΠ΅Π°Π»ΡΠ½ΠΎΠ³ΠΎ Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΏΡΠ°ΠΉΡΡ, ΠΊΠΎΠΌΠΏΠ΅ΡΠ΅Π½ΡΠ½ΡΠ΅ ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΠΈ ΠΏΠΎ Π½Π°ΠΏΠΈΡΠΊΠ°ΠΌ ΠΈ ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π΅Π½ΠΈΠ΅ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΠΎΠ³ΠΎ ΠΊΠ°ΡΠ΅ΡΡΠ²Π° Π²ΡΠ΅ΠΉ Π»ΠΈΠ½Π΅ΠΉΠΊΠΈ.
Erstellt am 01/18/26 um 22:27:13
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Manuelheign schrieb:
ΠΠ»ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡ Π½Π΅ ΠΌΠ΅Π½ΡΡΠ΅, ΡΠ΅ΠΌ Ρ CHM-400F (AKB48F), ΡΡΡΠ΅ΠΊΡ β Π·Π°Π΄ΡΠΌΡΠΈΠ²Π΅Π΅ ) <a href=https://weedgashish.shop>ΠΡΠΏΠΈΡΡ ΠΠΎΠΊΠ°ΠΈΠ½, ΠΠΎΡΠΊΠΈ, ΠΠ΅ΡΠ΅Π΄ΡΠΎΠ½, ΠΠ°ΡΠΈΡ</a> ΠΠ΅ ΠΏΠ΅ΡΠ΅ΠΆΠΈΠ²Π°ΠΉ,ΡΠ΅Π³ΠΎΠ΄Π½Ρ ΠΏΡΠ°Π·Π΄Π½ΠΈΠΊ Π²ΡΠΉΠ΄ΡΡ Π½Π° ΡΠ²ΡΠ·ΡΠΠ°ΡΠ΅ΡΡΠ²ΠΎ 2Ρ ΠΎΡΠ΅Π½Ρ ΠΏΠΎΡΠ°Π΄ΠΎΠ²Π°Π»ΠΎ, ΡΡΠΈΠΏ ΠΏΠΎΠ·ΠΆΠ΅ ΠΎΡΠΏΠΈΡΡ.
Erstellt am 01/19/26 um 00:53:47
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
kunubViott schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xn----ctbinlsfbmie....>ΡΠ΅ΠΌΠΎΠ½Ρ ΠΎΠΊΠΎΠ½</a>? ΠΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΠ»Π°ΡΡΠΈΠΊΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½ Π² ΠΠΈΠ½ΡΠΊΠ΅ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΡΠΌΠΈ ΠΎΠ±ΡΠ·Π°ΡΠ΅Π»ΡΡΡΠ²Π°ΠΌΠΈ. ΠΡΠΊΡΠΎΠΉΡΠ΅ ΡΠ°ΠΉΡ ΡΠ°ΠΌΠΎΠ½Ρ.Π±Π΅Π» - ΠΏΠΎΠ·Π½Π°ΠΊΠΎΠΌΡΡΠ΅ΡΡ Ρ Π½Π°ΡΠΈΠΌ ΡΠ΅ΡΠ²ΠΈΡΠΎΠΌ, ΡΠ°ΠΊΠΈΠΌ ΠΊΠ°ΠΊ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΎΠΊΠΎΠ½Π½ΡΡ
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ, Π·Π°ΠΌΠ΅Π½Ρ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΡ
, ΡΠ΅ΠΌΠΎΠ½Ρ Π΄Π²Π΅ΡΠ΅ΠΉ Π±Π°Π»ΠΊΠΎΠ½Π° ΠΈ ΠΏΡΠΎΡΠΈΠΌΠΈ ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΠΌΠΈ. Π¦Π΅Π½Ρ Π½Π° ΡΠ΅ΠΌΠΎΠ½ΡΠ½ΡΠ΅ ΡΠ°Π±ΠΎΡΡ ΠΈ Π½Π°ΡΡΡΠΎΠΉΠΊΡ ΠΎΠΊΠΎΠ½ ΡΠΊΠ°Π·Π°Π½Ρ Π½Π° ΠΏΠΎΡΡΠ°Π»Π΅, ΠΏΡΠΈ ΡΡΠΎΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡ ΠΏΡΠΈΠ±ΡΠ²Π°Π΅Ρ Π½Π° ΡΠΊΡΡΡΠ΅Π½Π½ΡΠΉ ΡΠ΅ΠΌΠΎΠ½Ρ ΠΎΠΊΠΎΠ½ Π² ΠΠΈΠ½ΡΠΊΠ΅ Π΅ΠΆΠ΅Π΄Π½Π΅Π²Π½ΠΎ ΠΈ Π² Π»ΡΠ±ΡΡ ΠΏΠΎΠ³ΠΎΠ΄Ρ Π·Π° ΡΠ°Ρ. ΠΠΌΠ΅ΡΡΡΡ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΡΡΡΠΈΠ΅ ΠΎΡ Π²ΡΠ΅Ρ
ΠΈΠ·Π³ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»Π΅ΠΉ ΠΏΡΠΎΡΠΈΠ»ΡΠ½ΡΡ
ΠΎΠΊΠΎΠ½Π½ΡΡ
ΠΊΠΎΠ½ΡΡΡΡΠΊΡΠΈΠΉ. ΠΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°Π΅ΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΠΈΠ·ΠΌ ΠΈ ΠΏΡΠΎΡΠ½ΠΎΡΡΡ ΡΠ΅ΠΌΠΎΠ½ΡΠ° ΠΠ°ΡΠΈΡ
ΠΎΠΊΠΎΠ½.
Erstellt am 01/19/26 um 03:54:01
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Manuelheign schrieb:
ΠΡΠ°Π»Π° ΡΡΡ ΠΊΠΎΠ³Π΄Π°-ΡΠΎ ΠΏΠ°ΡΡ ΡΠ°Π·. ΠΠ°ΡΠ΅Π³Π°Π½Π° Π½Π° ΡΠΎΡΡΠΌΠ΅ ΡΠΎΠ³Π΄Π° Π΅ΡΠ΅ Π½Π΅ Π±ΡΠ»Π°, ΡΠ΅ΠΉΡΠ°Ρ ΠΏΡΠΈΡΠ»ΠΎΡΡ ΠΏΠΎ ΠΎΠ±ΡΡΠΎΡΡΠ΅Π»ΡΡΡΠ²Π°ΠΌ Π·Π°ΡΠ΅Π³Π°ΡΡ Π°ΠΊΠΊΠ°ΡΠ½Ρ. Π Π΅Π±ΡΡΠ° ΡΠ°Π±ΠΎΡΠ°ΡΡ Ρ
ΠΎΡΠΎΡΠΎ, ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ. ΠΠΏΠ΅ΡΠ°ΡΠΎΡ Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΡΠΉ, ΠΈΠ΄Π΅Ρ Π½Π° ΠΊΠΎΠ½ΡΠ°ΠΊΡ. ΠΡΠΎΠ΄ΡΠΊΡΡ Π±ΡΠ»ΠΈ Ρ
ΠΎΡΠΎΡΠΈΠ΅ Π½Π° ΡΠΎΡ ΠΌΠΎΠΌΠ΅Π½Ρ. https://amfet-klad.shop Π― Π΄Π΅Π»Π°Π» Π½Π° ΠΌΡΡΠ°Π²ΡΠΈΠ½ΠΎΠΌ ΡΠΏΠΈΡΡΠ΅ΡΠ²ΠΎΠ΅ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ ΠΈΡΠΏΡΠ°Π²ΠΈΠ»
Erstellt am 01/19/26 um 06:59:40
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Manuelheign schrieb:
203 ΡΡΡ Π³ΠΎΠ²Π½ΠΎ.. 10ΠΊ Π²Π½ΠΈΠΊΡΠ΄Π° ΡΠ»Π΅ΡΠ΅Π»ΠΈ.. ΠΊΠ»ΠΈΠ΅Π½ΡΡ ΠΎΡ ΠΌΠ΅Π½Ρ ΡΠ±Π΅ΠΆΠ°Π»ΠΈ... ΠΏΡΠΈΡΡΠ»Π°Π»ΠΈ ΠΊΠ°ΠΊΡΡ-ΡΠΎ ΠΆΠ΅Π»ΡΡΡ Ρ
ΡΠΉ*Ρ, Π½Π΅ ΡΠ°ΡΡΠ²ΠΎΡΡΠ΅ΡΡΡ Π²ΠΎΠ²ΡΠ΅, Π²ΡΠΏΠ°Π΄Π°Π΅Ρ Π² ΠΎΡΠ΄ΠΎΠΊ.. ΠΏΡΠ΅Ρ ΠΌΠ°ΠΊΡΠΈΠΌΡΠΌ 20-30 ΠΌΠΈΠ½ΡΡ (Π² Π»ΡΡΡΠ΅ΠΌ ΡΠ»ΡΡΠ°Π΅) https://mdma-fast.shop Π‘ΠΏΡΠ°ΡΠΈΠ²Π°ΠΉ Π² ΠΆΠ°Π±Π±Π΅Ρ, ΡΠ°ΠΌ Π±ΠΎΠ»ΡΡΠ΅ 10-15 ΠΌΠΈΠ½ΡΡ Π·Π°Π΄Π΅ΡΠΆΠΊΠΈ Ρ ΠΎΡΠ²Π΅ΡΠΎΠΌ Π½Π΅ Π±ΡΠ²Π°Π΅Ρ.Ρ
ΠΌ.. ΠΈΠ½ΡΠ΅ΡΠ΅ΡΠ½ΠΎ ΡΠΊΠ°Π·Π°Π».. Π½ΠΈΠΊΠΎΠ³Π΄Π° Π½Π΅ Π·Π°Π΄ΡΠΌΡΠ²Π°Π»ΡΡ.. ΠΏΠΎΠ»ΡΡΠ°Π΅ΡΡΡ ΡΡΠΎ ΡΠΎΠ»Π΅Ρ ΠΎΡ ΠΏΡΠΈΠ½ΡΡΠΈΡ ΠΎΠ΄Π½ΠΎΠ³ΠΎ Π²Π΅ΡΠ΅ΡΡΠ²Π° Π²Π»ΠΈΡΠ΅Ρ Π½Π° Π΄ΡΡΠ³ΠΎΠ΅ Π²Π΅ΡΠ΅ΡΡΠ²ΠΎ???
Erstellt am 01/19/26 um 09:01:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Manuelheign schrieb:
ΠΠ°ΡΠ½ΠΈ, Π·Π΄ΡΠ°ΡΡΠ²ΡΠΉΡΠ΅, Π° Π²ΡΠΏΠΈΡΡΠ²Π°Π΅ΡΠ΅ Π½Π° ΡΠ²ΠΎΠ΅ ΠΈΠΌΡ? ΠΏΡΠΎΡΡΠΎ Π²ΡΠ΅ Ρ
ΠΎΡΡ ΠΏΠΎΠΏΡΠΎΠ±ΡΠ²Π°ΡΡ, Π½ΠΎ Π±Π»ΠΈΠ½.. ΡΡΠΊΠΎΡΠ½ΠΎ (( <a href=https://republique-dominica...>ΠΡΠΏΠΈΡΡ ΠΠΎΠΊΠ°ΠΈΠ½, ΠΠΎΡΠΊΠΈ, ΠΠ΅ΡΠ΅Π΄ΡΠΎΠ½, ΠΠ°ΡΠΈΡ</a> ΠΡΠ°ΡΠΈΠ²ΠΎ Π΄Π΅Π»Π°Π΅ΡΠ΅. Π’Π°ΠΊ Π΄Π΅ΡΠΆΠ°ΡΡ!ΠΡ Π²ΠΎΡ ΠΈ Π΄ΠΎΠΆΠ΄Π°Π»ΡΡ!
Erstellt am 01/19/26 um 11:01:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
dikicaelula schrieb:
ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ ΠΠΠ Π’Π Β«Π Π΅Π³ΠΈΠΎΠ½ ΠΠΎΠ²ΡΠ΅ Π’Π΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈΒ» ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π½Π° ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠΌ ΡΡΠ½ΠΊΠ΅ Ρ 2011 Π³ΠΎΠ΄Π°, ΡΠ΅Π°Π»ΠΈΠ·ΡΡ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΎΠ΅ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΠ΅: Π½Π°ΡΠΎΡΡ ΡΠ²ΡΡΠ΅ 19 ΡΠ°Π·Π½ΠΎΠ²ΠΈΠ΄Π½ΠΎΡΡΠ΅ΠΉ, ΡΠ»Π΅ΠΊΡΡΠΎΠ΄Π²ΠΈΠ³Π°ΡΠ΅Π»ΠΈ, Π²Π΅Π½ΡΠΈΠ»ΡΡΠΈΠΎΠ½Π½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ, ΡΠ°ΡΡΠΎΡΠ½ΡΠ΅ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΈ ΡΡΠ΅Π΄ΡΡΠ²Π° Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΠΈ ΠΎΡ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ
ΠΈΠ·Π³ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΠΎΠ΄ΡΠΎΠ±Π½Π°Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ Π΄ΠΎΡΡΡΠΏΠ½Π° Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://ufk-techno.ru/>https://ufk-techno.ru/</a> ΠΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ Π²Π΅ΡΡ ΡΠΏΠ΅ΠΊΡΡ ΡΡΠ»ΡΠ³ β ΠΎΡ ΠΏΠΎΠΌΠΎΡΠΈ Π² ΠΏΠΎΠ΄Π±ΠΎΡΠ΅ ΡΠ΅Ρ
Π½ΠΈΠΊΠΈ Π΄ΠΎ ΠΏΠΎΡΡΠ³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ³ΠΎ ΡΠ΅ΡΠ²ΠΈΡΠ°, ΠΏΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π·Π°ΠΏΠ°ΡΠ½ΡΠ΅ ΡΠ°ΡΡΠΈ, ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΡΠ°Π±ΠΎΡΡ, Π²ΡΠΏΠΎΠ»Π½ΡΠ΅Ρ Π·Π°ΠΊΠ°Π·Π½ΡΡ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΡ ΠΈ ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΠ΅Ρ Π»ΠΎΠ³ΠΈΡΡΠΈΠΊΡ ΠΏΠΎ Π Π€ ΠΈ Π‘ΠΠ ΠΏΠΎ ΠΏΡΠΈΠ²Π»Π΅ΠΊΠ°ΡΠ΅Π»ΡΠ½ΡΠΌ ΡΠ°ΡΠΈΡΠ°ΠΌ.
Erstellt am 01/19/26 um 11:35:21
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
Manuelheign schrieb:
Ρ ΠΌΠ΅Π½Ρ ΠΏΠΎΠ½ΡΠ»ΠΈ https://njbbt.org ΠΡΠΈΠ²Π΅Ρ ΠΡΠ΅ΠΌ!!!!!!!!!!! ΡΡΠΏΠΏΠ΅Ρ ΠΊΠ»Π°ΡΠ½ΡΠΉ ΠΌΠ°Π³Π°Π·! Π²ΡΠ΅ΠΌ ΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡΡ! ΠΏΡΠΈΡΡΠ½ΠΎ ΡΠ°Π±ΠΎΡΠ°ΡΡ! ΠΎΠΏΠ΅ΡΠ°ΡΡ Π°Π΄ΡΠΊΠ²Π°Ρ! Π£ΡΠΏΠ΅Ρ
ΠΎΠ² ΠΈ ΠΏΡΠΎΡΠ²Π΅ΡΠ°Π½ΠΈΠΉ ΠΡΡΠ·ΡΡ! ΠΎΡ Π²ΡΠ΅ΠΉ Π½Π°ΡΠ΅ΠΉ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ!ΠΌΠΈΠ½ Π·Π°ΠΊΠ°Π· ΠΎΡ 1Π³Ρ.
Erstellt am 01/19/26 um 13:03:15
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
vufizumaLge schrieb:
ΠΠΠ Π’Π Β«Π Π΅Π³ΠΈΠΎΠ½ ΠΠΎΠ²ΡΠ΅ Π’Π΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΠΈΒ» ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π½Π° ΡΡΠ½ΠΊΠ΅ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ Ρ 2011 Π³ΠΎΠ΄Π°, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Ρ ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠ΅ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΡ Π½Π°ΡΠΎΡΠ°ΠΌΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
ΠΌΠΎΠ΄ΠΈΡΠΈΠΊΠ°ΡΠΈΠΉ, ΡΠ»Π΅ΠΊΡΡΠΎΠ΄Π²ΠΈΠ³Π°ΡΠ΅Π»ΡΠΌΠΈ, Π²Π΅Π½ΡΠΈΠ»ΡΡΠΈΠΎΠ½Π½ΡΠΌΠΈ ΡΠΈΡΡΠ΅ΠΌΠ°ΠΌΠΈ, ΡΠ°ΡΡΠΎΡΠ½ΡΠΌΠΈ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΠΎΠ²Π°ΡΠ΅Π»ΡΠΌΠΈ ΠΈ ΡΡΠ΅Π΄ΡΡΠ²Π°ΠΌΠΈ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΠ·Π°ΡΠΈΠΈ ΠΎΡ Π½Π°Π΄Π΅ΠΆΠ½ΡΡ
ΠΈΠ·Π³ΠΎΡΠΎΠ²ΠΈΡΠ΅Π»Π΅ΠΉ. ΠΡΠ΅ΡΠ΅ <a href=https://ufk-techno.ru/>Π²ΡΡΡΠ°ΠΈΠ²Π°Π΅ΠΌΡΠ΅ Π°ΡΠΈΠ½Ρ
ΡΠΎΠ½Π½ΡΠ΅ ΡΠ»Π΅ΠΊΡΡΠΎΠ΄Π²ΠΈΠ³Π°ΡΠ΅Π»ΠΈ</a>? Π£Π·Π½Π°ΡΡ Π±ΠΎΠ»ΡΡΠ΅ ΠΎ ΠΏΡΠΎΠ΄ΡΠΊΡΠΈΠΈ ΠΈ ΡΡΠ»ΡΠ³Π°Ρ
ΠΌΠΎΠΆΠ½ΠΎ Π½Π° ΡΠ°ΠΉΡΠ΅ ufk-techno.ru. ΠΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠ΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ Π°ΡΡΠΎΡΡΠΈΠΌΠ΅Π½Ρ Π·Π°ΠΏΡΠ°ΡΡΠ΅ΠΉ, Π³Π°ΡΠ°Π½ΡΠΈΠΉΠ½ΠΎΠ΅ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°Π½ΠΈΠ΅, ΠΈΠ½Π΄ΠΈΠ²ΠΈΠ΄ΡΠ°Π»ΡΠ½ΡΡ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ°ΡΠΈΡ ΠΏΠΎΠ΄ Π·Π°ΠΊΠ°Π· ΠΈ Π΄ΠΎΡΡΠ°Π²ΠΊΡ Π² Π»ΡΠ±ΠΎΠΉ ΡΠ΅Π³ΠΈΠΎΠ½ Π Π€ ΠΈ Π‘ΠΠ ΠΏΠΎ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠ½ΡΠΌ ΡΠ΅Π½Π°ΠΌ.
Erstellt am 01/19/26 um 13:09:00
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zojofdek schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://russkie-serial.net/>ΡΠ΅ΡΠΈΠ°Π»Ρ ΡΡΡΡΠΊΠΈΠ΅ Π½ΠΎΠ²ΡΠ΅ ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½</a>? Π‘ΠΏΠ΅ΡΠΈΠ°Π»ΠΈΠ·ΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ° russkie-serial.net ΠΊΠΎΠ½ΡΠ΅Π½ΡΡΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠΎΡΡΠΈΠΉΡΠΊΠΎΠΌ ΠΊΠΈΠ½Π΅ΠΌΠ°ΡΠΎΠ³ΡΠ°ΡΠ΅, ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ Π·ΡΠΈΡΠ΅Π»ΡΠΌ Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΡΠΉ ΠΏΡΠΎΡΠΌΠΎΡΡ ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ² Π² HD-ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅ Π±Π΅Π· ΡΠ΅Π³ΠΈΡΡΡΠ°ΡΠΈΠΈ. ΠΠΎΠ»Π»Π΅ΠΊΡΠΈΡ ΡΠΎΠ΄Π΅ΡΠΆΠΈΡ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΠ΅ Π½ΠΎΠ²ΠΈΠ½ΠΊΠΈ ΡΠ΅ΠΊΡΡΠ΅Π³ΠΎ ΡΠ΅Π·ΠΎΠ½Π°, Π»Π΅Π³Π΅Π½Π΄Π°ΡΠ½ΡΠ΅ ΡΠ΅Π»Π΅ΠΏΡΠΎΠ΅ΠΊΡΡ ΠΌΠΈΠ½ΡΠ²ΡΠΈΡ
ΠΏΠ΅ΡΠΈΠΎΠ΄ΠΎΠ², Π΄Π΅ΡΠ΅ΠΊΡΠΈΠ²Π½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΠΈ, ΠΌΠ°ΡΡΡΠ°Π±Π½ΡΠ΅ ΠΈΡΡΠΎΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠΎΠ»ΠΎΡΠ½Π°, ΡΠΌΠΎΡΠΈΡΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ ΠΈ ΡΠΎΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΈΠ΅ ΠΏΠΎΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΠΎΡ ΠΊΡΡΠΏΠ½Π΅ΠΉΡΠΈΡ
ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΡΡ
Π²Π΅ΡΠ°ΡΠ΅Π»Π΅ΠΉ. Π Π΅ΡΡΡΡ Π³Π°ΡΠ°Π½ΡΠΈΡΡΠ΅Ρ ΠΌΠΎΠΌΠ΅Π½ΡΠ°Π»ΡΠ½ΡΡ Π±ΡΡΠ΅ΡΠΈΠ·Π°ΡΠΈΡ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ², ΡΡΠ½ΠΊΡΠΈΠΎΠ½ΠΈΡΡΠ΅Ρ Π½Π° Π»ΡΠ±ΡΡ
Π³Π°Π΄ΠΆΠ΅ΡΠ°Ρ
, ΡΠΈΡΡΠ΅ΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΠ±Π½ΠΎΠ²Π»ΡΠ΅ΡΡΡ Π½ΠΎΠ²ΡΠΌΠΈ ΡΠΏΠΈΠ·ΠΎΠ΄Π°ΠΌΠΈ ΠΈ Π²ΠΊΠ»ΡΡΠ°Π΅Ρ ΠΏΡΠ°ΠΊΡΠΈΡΠ½ΡΡ Π½Π°Π²ΠΈΠ³Π°ΡΠΈΡ ΠΏΠΎ ΠΈΡΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠΌ, ΠΏΠΎΡΡΠ°Π½ΠΎΠ²ΡΠΈΠΊΠ°ΠΌ ΠΈ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΡΠΌ Π΄Π»Ρ ΠΏΠΎΠΊΠ»ΠΎΠ½Π½ΠΈΠΊΠΎΠ² Π΄ΠΎΡΡΠΎΠΉΠ½ΠΎΠ³ΠΎ ΠΎΡΠ΅ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠ³ΠΎ Π²ΠΈΠ΄Π΅ΠΎΠΊΠΎΠ½ΡΠ΅Π½ΡΠ°.
Erstellt am 01/19/26 um 14:55:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
ZacharyThuby schrieb:
ΠΠΌ ΠΈΠΌΠ΅Π΅Ρ Π²ΡΡΠΎΠΊΠΈΠΉ ΡΠΎΠ»Π΅Ρ ΠΎΠ± ΡΡΠΎΠΌ ΡΠΆΠ΅ Π³ΠΎΠ²ΠΎΡΠΈΠ»ΠΎΡΡ Π½Π΅ ΡΠ°Π· <a href=https://amfet-market.shop>ΠΡΠΏΠΈΡΡ ΠΠΎΠΊΠ°ΠΈΠ½, ΠΠΎΡΠΊΠΈ, ΠΠ΅ΡΠ΅Π΄ΡΠΎΠ½, ΠΠ°ΡΠΈΡ</a> Π°Π±Π°ΠΊΠ°Π½ Π΅ΡΡΡ?ΠΠ°Π³Π°Π·ΠΈΠ½ ΡΠΎΠ²Π½ΡΠΉ! Π― Π·Π°ΠΊΠ°Π·Π°Π» 1000Ρ, ΠΎΠΏΠ»Π°ΡΠΈΠ» Π―Π, ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡΠ° ΠΏΠΎΠΏΡΠΎΡΠΈΠ» ΠΎΡΠΏΡΠ°Π²ΠΈΡΡ ΠΏΠΎΡΡΠ»Ρ Π½Π° ΡΠ»Π΅Π΄ΡΡΡΠΈΠΉ Π΄Π΅Π½Ρ , Π±Π΅Π· Π·Π°Π΄Π΅ΡΠΆΠΊΠΈ Ρ.ΠΊ. ΡΡΠΎΠΊΠΈ ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΡ ΠΎΡΠ΅Π½Ρ ΠΏΠΎΠ΄ΠΆΠΈΠΌΠ°ΡΡ. ΠΠ° ΡΡΠΎ ΠΎΠΏΠ΅ΡΠ°ΡΠΎΡ Π°Π΄Π΅ΠΊΠ²Π°ΡΠ½ΠΎ ΠΎΡΠ²Π΅ΡΠΈΠ» ΡΡΠΎ Π²ΡΠ΅ ΡΠ΄Π΅Π»Π°ΡΡ.ΠΠ° ΡΠ»Π΅Π΄ΡΡΡΠΈΠΉ Π²Π΅ΡΠ΅Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» ΡΡΠ΅ΠΊ, ΠΏΠΎΡΡΠ»ΠΎΡΠΊΠ° ΡΠΎΠ±ΡΠ°Π½Π½Π° ΠΈ Π²ΠΎΡ Π²ΠΎΡ Π²ΡΠ΅Π·ΠΆΠ°Π΅Ρ))) Π΅ΡΠ»ΠΈ ΡΠΆΠ΅ Π½Π΅ Π²ΡΠ΅Ρ
Π°Π»Π°) ΠΠ°Π³Π°Π·ΠΈΠ½Ρ ΠΊΠ°ΠΊ ΠΈ Π΅Π³ΠΎ Π°Π΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΈΠΈ - ΠΎΡ Π΄ΡΡΠΈ Π·Π° ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎΡΡΡ ΠΈ ΠΎΡΠ½ΠΎΡΠ΅Π½ΠΈΠ΅ ΠΊ ΠΊΠ»ΠΈΠ΅Π½ΡΡ.
Erstellt am 01/19/26 um 15:04:18
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
rovagPausa schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://storedrinks.com>ΠΊΡΠΏΠΈΡΡ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ Π² Π΄ΡΠ±Π°Π΅ c Π΄ΠΎΡΡΠ°Π²ΠΊΠΎΠΉ</a>? Π‘Π΅ΡΠ²ΠΈΡ storedrinks.com ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ Π΄ΠΎΡΡΠ°Π²ΠΊΡ ΠΏΡΠ΅ΠΌΠΈΠ°Π»ΡΠ½ΠΎΠ³ΠΎ Π°Π»ΠΊΠΎΠ³ΠΎΠ»Ρ Π² ΠΡΠ±Π°Π΅ ΠΌΠ΅Π½Π΅Π΅ ΡΠ΅ΠΌ Π·Π° 60 ΠΌΠΈΠ½ΡΡ Ρ ΡΠΈΡΠΎΠΊΠΈΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ ΠΏΠΈΠ²Π°, Π²ΠΈΠ½Π°, ΠΊΡΠ΅ΠΏΠΊΠΈΡ
Π½Π°ΠΏΠΈΡΠΊΠΎΠ² ΠΈ ΡΠΊΡΠΊΠ»ΡΠ·ΠΈΠ²Π½ΡΡ
ΠΏΠΎΠ·ΠΈΡΠΈΠΉ ΠΎΡ ΠΌΠΈΡΠΎΠ²ΡΡ
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Π΅ΠΉ. Π‘Π΅ΡΠ²ΠΈΡ ΡΡΠ½ΠΊΡΠΈΠΎΠ½ΠΈΡΡΠ΅Ρ Ρ ΠΎΡΠΈΡΠΈΠ°Π»ΡΠ½ΡΠΌ ΡΠ°Π·ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ΠΌ, ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΡΡΡ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΠΈ ΡΡΡΠΎΠ³ΠΎΠ΅ ΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΈΠ΅ Π·Π°ΠΊΠΎΠ½ΠΎΠ΄Π°ΡΠ΅Π»ΡΡΡΠ²Ρ ΠΠΌΠΈΡΠ°ΡΠΎΠ² Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΡΡΠ°Π½Π·Π°ΠΊΡΠΈΠΈ. ΠΠ°ΠΊΠ°Π·ΡΠΈΠΊΠΈ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎ Π΄ΠΎΡΡΡΠΏ ΠΊ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½Π½ΠΎΠΌΡ ΠΌΠ΅Π½Ρ Π² WhatsApp, ΡΠΎΠ²Π΅ΡΡΠ°ΡΡ ΡΡΠ°Π½Π·Π°ΠΊΡΠΈΡ Π² Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΊΠ°ΡΠ°Π½ΠΈΠΉ ΠΈ ΠΏΠΎΠ»ΡΡΠ°ΡΡ Π±Π΅Π·ΡΠΏΡΠ΅ΡΠ½ΡΠΉ ΡΠ΅ΡΠ²ΠΈΡ Ρ ΠΊΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΠΎΠΉ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΎΠΉ Π½Π° ΠΊΠ°ΠΆΠ΄ΠΎΠΌ ΡΠ°Π³Π΅.
Erstellt am 01/19/26 um 15:28:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zujonyneupe schrieb:
ΠΠΎΠΊΡΠΏΠΊΠ° ΠΈΠ»ΠΈ ΠΏΡΠΎΠ΄Π°ΠΆΠ° Π½Π΅Π΄Π²ΠΈΠΆΠΈΠΌΠΎΡΡΠΈ Π² Π‘ΡΠ°Π²ΡΠΎΠΏΠΎΠ»ΡΡΠΊΠΎΠΌ ΠΊΡΠ°Π΅ ΡΡΠ΅Π±ΡΠ΅Ρ Π³Π»ΡΠ±ΠΎΠΊΠΈΡ
Π·Π½Π°Π½ΠΈΠΉ ΠΌΠ΅ΡΡΠ½ΠΎΠ³ΠΎ ΡΡΠ½ΠΊΠ° ΠΈ ΡΡΠΈΠ΄ΠΈΡΠ΅ΡΠΊΠΎΠΉ Π³ΡΠ°ΠΌΠΎΡΠ½ΠΎΡΡΠΈ. ΠΠ³Π΅Π½ΡΡΡΠ²ΠΎ Arust ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΈΠΊΠ» ΡΡΠ»ΡΠ³: ΠΎΡ ΠΏΠΎΠ΄Π±ΠΎΡΠ° Π²ΡΠ³ΠΎΠ΄Π½ΡΡ
Π²Π°ΡΠΈΠ°Π½ΡΠΎΠ² Π΄ΠΎ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΠ³ΠΎ Π·Π°Π²Π΅ΡΡΠ΅Π½ΠΈΡ ΡΠ΄Π΅Π»ΠΊΠΈ Ρ Π³Π°ΡΠ°Π½ΡΠΈΠ΅ΠΉ ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ°. ΠΠΏΡΡΠ½ΡΠ΅ ΡΠΈΠ΅Π»ΡΠΎΡΡ ΠΈ ΡΡΠΈΡΡΡ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ ΠΏΡΠΎΠ²Π΅ΡΡΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΠΎΠ±ΡΠ΅ΠΊΡ Π½Π° ΠΎΠ±ΡΠ΅ΠΌΠ΅Π½Π΅Π½ΠΈΡ, ΠΏΡΠΈΠ²ΠΎΠ΄ΡΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ°ΡΠΈΡ Π² ΠΏΠΎΠ»Π½ΠΎΠ΅ ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠ΅ ΡΡΠ΅Π±ΠΎΠ²Π°Π½ΠΈΡΠΌ Π·Π°ΠΊΠΎΠ½ΠΎΠ΄Π°ΡΠ΅Π»ΡΡΡΠ²Π° ΠΈ ΠΊΠΎΠ½ΡΡΠΎΠ»ΠΈΡΡΡΡ Π²ΡΠ΅ ΡΡΠ°ΠΏΡ ΠΎΡΠΎΡΠΌΠ»Π΅Π½ΠΈΡ. ΠΠ° ΡΠ°ΠΉΡΠ΅ <a href=https://ar26.ru/>https://ar26.ru/</a> Π²Ρ Π½Π°ΠΉΠ΄Π΅ΡΠ΅ Π°ΠΊΡΡΠ°Π»ΡΠ½ΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ Π΄ΠΎΡΡΡΠΏΠ½ΡΡ
ΠΏΡΠ΅Π΄Π»ΠΎΠΆΠ΅Π½ΠΈΡΡ
ΠΈ ΡΠΌΠΎΠΆΠ΅ΡΠ΅ ΠΎΡΡΠ°Π²ΠΈΡΡ Π·Π°ΡΠ²ΠΊΡ Π½Π° ΠΊΠΎΠ½ΡΡΠ»ΡΡΠ°ΡΠΈΡ ΡΠΎ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°ΠΌΠΈ Π°Π³Π΅Π½ΡΡΡΠ²Π°.
Erstellt am 01/19/26 um 15:36:08
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
bavigiBer schrieb:
ΠΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ Π²ΠΈΠ½ΡΠΎΠ²ΡΡ
ΡΠ²Π°ΠΉ Π² Π‘Π°ΡΠ°ΡΠΎΠ²Π΅ Π½Π° <a href=https://vintoviesvai64.ru/>https://vintoviesvai64.ru/</a> ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ½ΡΠ΅ ΡΠ΅ΡΠ΅Π½ΠΈΡ Π΄Π»Ρ ΡΠ°ΡΡΠ½ΠΎΠ³ΠΎ ΠΈ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΡΡΡΠΎΠΈΡΠ΅Π»ΡΡΡΠ²Π° Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ ΠΎΠ±ΠΎΡΡΠ΄ΠΎΠ²Π°Π½ΠΈΡ ΠΈ ΠΊΠ°ΡΠ΅ΡΡΠ²Π΅Π½Π½ΠΎΠΉ ΡΡΠ°Π»ΠΈ. ΠΠΎΠΌΠΏΠ°Π½ΠΈΡ Π²ΡΠΏΡΡΠΊΠ°Π΅Ρ ΡΠ²Π°ΠΈ ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ
Π΄ΠΈΠ°ΠΌΠ΅ΡΡΠΎΠ² ΠΈ Π΄Π»ΠΈΠ½Ρ Π΄Π»Ρ Π΄Π΅ΡΠ΅Π²ΡΠ½Π½ΡΡ
Π΄ΠΎΠΌΠΎΠ², Π±Π°Π½Ρ, Π·Π°Π±ΠΎΡΠΎΠ², Π±Π΅ΡΠ΅Π΄ΠΎΠΊ ΠΈ ΠΏΡΠΎΠΌΡΡΠ»Π΅Π½Π½ΡΡ
ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ² Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΡΡ ΠΌΠΎΠ½ΡΠ°ΠΆΠ° Π² Π»ΡΠ±ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ Π³ΠΎΠ΄Π° Π½Π° ΡΠ»ΠΎΠΆΠ½ΡΡ
Π³ΡΡΠ½ΡΠ°Ρ
. Π‘ΠΎΠ±ΡΡΠ²Π΅Π½Π½ΠΎΠ΅ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΠ²Π°Π΅Ρ ΠΊΠΎΠ½ΠΊΡΡΠ΅Π½ΡΠ½ΡΠ΅ ΡΠ΅Π½Ρ Π±Π΅Π· ΠΏΠΎΡΡΠ΅Π΄Π½ΠΈΡΠ΅ΡΠΊΠΈΡ
Π½Π°ΡΠ΅Π½ΠΎΠΊ, ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠ²Π½ΠΎΠ΅ ΠΈΠ·Π³ΠΎΡΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΏΠΎΠ΄ ΠΊΠΎΠ½ΠΊΡΠ΅ΡΠ½ΡΠ΅ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΈ ΠΏΠΎΠ»Π½ΡΠΉ ΡΠΈΠΊΠ» ΡΡΠ»ΡΠ³ ΠΎΡ ΡΠ°ΡΡΡΡΠ° Π½Π°Π³ΡΡΠ·ΠΎΠΊ Π΄ΠΎ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΡΠ²Π°ΠΉΠ½ΠΎΠ³ΠΎ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ°.
Erstellt am 01/19/26 um 16:42:20
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zfilm-hd 351 schrieb:
ΡΠΌΠΎΡΡΡ ΡΠΈΠ»ΡΠΌΡ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zfilm-hd.net/>ΡΠ² ΡΠΎΡ ΠΈ ΠΏΠ΅ΡΠ΅Π΄Π°ΡΠΈ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/19/26 um 17:38:51
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
zfilm-hd 415 schrieb:
Π»ΡΡΡΠ΅Π΅ ΠΊΠΈΠ½ΠΎ ΠΎΠ½Π»Π°ΠΉΠ½ <a href=https://zfilm-hd.net/>ΡΠΈΠ»ΡΠΌΡ ΡΠΆΠ°ΡΠΎΠ² 2026 ΡΠΌΠΎΡΡΠ΅ΡΡ ΠΎΠ½Π»Π°ΠΉΠ½</a>
Erstellt am 01/19/26 um 17:38:52
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
hofegnut schrieb:
ΠΡΠ΅ΡΠ΅ <a href=https://xakerforum.com/foru...>Π²Π·Π»ΠΎΠΌΠ°ΡΡ ΡΠ΅ΡΠ²Π΅Ρ</a>? ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²ΠΎ xakerforum.com ΠΎΠ±ΡΠ΅Π΄ΠΈΠ½ΡΠ΅Ρ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠΎΠ² ΠΏΠΎ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΎΠ½Π½ΠΎΠΉ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ, ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΡΠΎΠ² ΠΈ ΡΡΠΈΡΠ½ΡΡ
Ρ
Π°ΠΊΠ΅ΡΠΎΠ² Π΄Π»Ρ ΠΎΠ±ΠΌΠ΅Π½Π° Π»Π΅Π³Π°Π»ΡΠ½ΡΠΌΠΈ Π·Π½Π°Π½ΠΈΡΠΌΠΈ Π² ΠΎΠ±Π»Π°ΡΡΠΈ ΠΊΠΈΠ±Π΅ΡΠ±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ. ΠΠ»ΠΎΡΠ°Π΄ΠΊΠ° ΠΏΠΎΡΠ²ΡΡΠ΅Π½Π° ΡΠ΅Ρ
Π½ΠΈΠΊΠ°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΎΠ½Π½ΠΎΠΉ Π·Π°ΡΠΈΡΡ, ΠΏΠ΅Π½ΡΠ΅ΡΡΠΈΠ½Π³Ρ ΡΠΈΡΡΠ΅ΠΌ, Π²ΡΡΠ²Π»Π΅Π½ΠΈΡ ΡΠ»Π°Π±ΡΡ
ΠΌΠ΅ΡΡ Π² ΠΊΠΎΠ΄Π΅, ΡΠΎΠ·Π΄Π°Π½ΠΈΡ Π·Π°ΡΠΈΡΡΠ½Π½ΡΡ
ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ ΠΈ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠΈΡΡΠΎΠ²ΡΠΌ ΡΠΈΡΠΊΠ°ΠΌ. ΠΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΏΡΠ±Π»ΠΈΠΊΡΡΡ ΠΏΡΠΈΠΊΠ»Π°Π΄Π½ΡΠ΅ ΡΡΠ΅Π½Π°ΡΠΈΠΈ, ΡΡΠ΅Π±Π½ΡΠ΅ ΡΠ΅ΡΡΡΡΡ, ΠΎΡΠ³Π°Π½ΠΈΠ·ΡΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΡΠ΅ ΠΎΠ±ΡΡΠΆΠ΄Π΅Π½ΠΈΡ ΠΈ Π°ΡΡΠΈΡΡΠΈΡΡΡΡ Π½ΠΎΠ²ΡΠΌ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΠ°ΠΌ Π² ΠΏΠΎΠ½ΠΈΠΌΠ°Π½ΠΈΠΈ ΡΡΠ½Π΄Π°ΠΌΠ΅Π½ΡΠ° Π»Π΅Π³Π°Π»ΡΠ½ΠΎΠ³ΠΎ Π²Π·Π»ΠΎΠΌΠ° Π² ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²ΠΈΠΈ Ρ Π·Π°ΠΊΠΎΠ½ΠΎΠΌ ΠΈ Π΄Π΅ΠΎΠ½ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠΈΠΌΠΈ ΠΏΡΠ°Π²ΠΈΠ»Π°ΠΌΠΈ.
Erstellt am 01/19/26 um 18:49:07
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyBuple schrieb:
the best adult generator <a href=https://pornjourney.app/ai-...>adult fantasy ai chat</a> create erotic videos, images, and virtual characters. flexible settings, high quality, instant results, and easy operation right in your browser. the best features for porn generation.
Erstellt am 01/19/26 um 18:49:10
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
TimothyBuple schrieb:
the best adult generator <a href=https://pornjourney.app/ai-...>emotional ai companion</a> create erotic videos, images, and virtual characters. flexible settings, high quality, instant results, and easy operation right in your browser. the best features for porn generation.
Erstellt am 01/19/26 um 18:49:11
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
email rassylka 807 schrieb:
ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°ΡΡΡΠ»ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠΉ <a href=https://email-rassylka.ru/>ΡΠΎΡΡΠΈΠΉΡΠΊΠΈΠΉ ΡΠ΅ΡΠ²ΠΈΡ ΠΌΠ°ΡΠΊΠ΅ΡΠΈΠ½Π³ΠΎΠ²ΡΡ
email ΡΠ°ΡΡΡΠ»ΠΎΠΊ</a>
Erstellt am 01/19/26 um 18:53:57
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
email rassylka 740 schrieb:
ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°ΡΡΡΠ»ΠΎΠΊ <a href=https://email-rassylka.ru/>email ΡΠ΅ΡΠ²ΠΈΡ ΡΠ°ΡΡΡΠ»ΠΊΠΈ</a>
Erstellt am 01/19/26 um 18:53:58
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
seHuyImpug schrieb:
Π‘ΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΡΠ΅ΡΠΊΠ°Ρ ΡΠ΅ΡΡ Π‘Π΅Π²Π°ΡΡΠΎΠΏΠΎΠ»Ρ ΠΎΠΊΠ°Π·ΡΠ²Π°Π΅Ρ ΡΠΈΡΠΎΠΊΠΈΠΉ ΠΏΠ΅ΡΠ΅ΡΠ΅Π½Ρ ΡΡΠ»ΡΠ³ ΠΏΠΎ ΡΡ
ΠΎΠ΄Ρ Π·Π° ΠΏΠΎΠ»ΠΎΡΡΡΡ ΡΡΠ° Π΄Π»Ρ Π²ΡΠ΅Ρ
. ΠΠ²Π°Π»ΠΈΡΠΈΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠ΅ ΡΠΏΠ΅ΡΠΈΠ°Π»ΠΈΡΡΡ ΡΠ°Π±ΠΎΡΠ°ΡΡ Π½Π° Π½ΠΎΠ²Π΅ΠΉΡΠ΅ΠΉ ΡΠ΅Ρ
Π½ΠΈΠΊΠ΅ Ρ ΠΏΡΠΎΠ²Π΅ΡΠ΅Π½Π½ΡΠΌΠΈ Π΅Π²ΡΠΎΠΏΠ΅ΠΉΡΠΊΠΈΠΌΠΈ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌΠΈ. ΠΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΠΉ ΡΠ΅Π½ΡΡ ΡΠΎΠΊΡΡΠΈΡΡΠ΅ΡΡΡ Π½Π° ΡΠ΅ΡΠ°ΠΏΠΈΠΈ, Π²ΠΎΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½ΠΈΠΈ Π·ΡΠ±ΠΎΠ², ΠΈΠΌΠΏΠ»Π°Π½ΡΠ°Ρ
ΠΈ ΠΊΠΎΡΠΌΠ΅ΡΠΈΡΠ΅ΡΠΊΠΎΠΉ ΡΡΠΎΠΌΠ°ΡΠΎΠ»ΠΎΠ³ΠΈΠΈ ΠΏΠΎ ΡΠΎΠ²ΡΠ΅ΠΌΠ΅Π½Π½ΡΠΌ ΡΠ΅Ρ
Π½ΠΎΠ»ΠΎΠ³ΠΈΡΠΌ. ΠΠ°ΠΏΠΈΡΡ Π½Π° ΠΏΡΠΈΠ΅ΠΌ Π΄ΠΎΡΡΡΠΏΠ½Π° Π½Π° ΡΠ°ΠΉΡΠ΅ <a href=https://24antosplus.ru/>https://24antosplus.ru/</a> Π² Π»ΡΠ±ΠΎΠ΅ ΡΠ΄ΠΎΠ±Π½ΠΎΠ΅ Π²ΡΠ΅ΠΌΡ ΡΡΡΠΎΠΊ. ΠΠ°ΠΆΠ΄ΠΎΠΌΡ ΠΏΠΎΡΠ΅ΡΠΈΡΠ΅Π»Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅ΡΡΡ Π»ΠΈΡΠ½ΡΠΉ ΠΏΠ»Π°Π½ Π»Π΅ΡΠ΅Π½ΠΈΡ ΠΈ ΡΡΡΠ½Π°Ρ ΠΎΠ±ΡΡΠ°Π½ΠΎΠ²ΠΊΠ° Π±Π΅Π· Π΄ΠΈΡΠΊΠΎΠΌΡΠΎΡΡΠ°.
Erstellt am 01/19/26 um 19:34:29
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>
cacivkal schrieb:
ΠΠ΅Π·Π»ΠΈΠΌΠΈΡΠ½ΡΠΉ Ρ
ΠΎΡΡΠΈΠ½Π³ ΡΠ°ΠΉΡΠΎΠ² <a href=https://www.smartape.ru/>https://www.smartape.ru/> SmartApe ΠΏΡΠ΅Π΄Π»Π°Π³Π°Π΅Ρ Π½Π΅ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½Π½ΡΠΉ Ρ
ΠΎΡΡΠΈΠ½Π³ Π΄Π»Ρ ΡΠ°ΠΉΡΠΎΠ² Π½Π° SSD Ρ Π²ΡΡΠΎΠΊΠΎΠΉ ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΡΡ, ΡΡΠ΅Π±ΡΡΡΠΈΡ
Π²ΡΠ΄Π΅Π»Π΅Π½Π½ΡΡ
ΡΠ΅ΡΡΡΡΠΎΠ². ΠΠΎΠ΄ΠΎΠΉΠ΄Π΅Ρ Π΄Π»Ρ ΠΏΡΠΎΠ΅ΠΊΡΠΎΠ², Π³Π΄Π΅ Π²Π°ΠΆΠ½Π° ΡΠΊΠΎΡΠΎΡΡΡ ΠΈ ΡΡΠ°Π±ΠΈΠ»ΡΠ½Π°Ρ ΡΠ°Π±ΠΎΡΠ° Π±Π΅Π· ΠΎΠ³ΡΠ°Π½ΠΈΡΠ΅Π½ΠΈΠΉ ΠΏΠΎ ΡΡΠ°ΡΠΈΠΊΡ. ΠΡΠΈ Π½Π΅ΠΎΠ±Ρ
ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ Π»Π΅Π³ΠΊΠΎ ΠΏΠ΅ΡΠ΅ΠΉΡΠΈ Π½Π° VPS ΡΠ΅ΡΠ²Π΅Ρ, VPS VDS ΠΈΠ»ΠΈ VPS Servers. Π Π»ΠΈΠ½Π΅ΠΉΠΊΠ΅ Π΅ΡΡΡ Π±ΡΡΡΡΡΠ΅ VPS Π½Π° NVMe SSD, Π΄Π΅ΡΡΠ²ΡΠ΅ VPS Π½Π° HDD + SSD, Π°ΡΠ΅Π½Π΄Π° ΡΠ΅ΡΠ²Π΅ΡΠ° ΠΈ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΠ΅ ΡΠ°Π·ΠΌΠ΅ΡΠ΅Π½ΠΈΠ΅ ΡΠ΅ΡΠ²Π΅ΡΠΎΠ² Π² Π΄Π°ΡΠ°-ΡΠ΅Π½ΡΡΠ°Ρ
.
Erstellt am 01/19/26 um 20:35:50
/*
0.1 - initial release
0.2 - new option: rewrite mail addresses with [at] and [dot]
0.3 - userdefined placeholders for [at] and [dot]
0.4 - new option: links can be open in new window (default: off)
0.5 - support for SqlTablePrefix
*/
class NP_AutoLink extends NucleusPlugin {
function getName() { return 'AutoLink'; }
function getAuthor() { return 'Kai Greve'; }
function getURL() { return 'http://kgblog.de/'; }
function getVersion() { return '0.5'; }
function getDescription() {
return 'Automatically creates links for internet and mail addresses';
}
function install() {
$this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes');
$this->createOption('NewWindow','Open links in a new window?','yesno','no');
$this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes');
$this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes');
$this->createOption('at','Placeholder for @','text','[at]');
$this->createOption('dot','Placeholder for .','text','[dot]');
}
function getEventList() {
return array('PreItem', 'PreComment');
}
function Treatment($_text) {
global $CONF, $blog;
if ($this->getOption('NewWindow') == 'yes') {
$nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\"";
}
if ($this->getOption('InternetAddress') == 'yes') {
$_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
$_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text);
}
$at = $this->getOption('at');
$dot = $this->getOption('dot');
if ($this->getOption('MailAddress') == 'yes') {
if ($this->getOption('RewriteMailAddress') == 'no') {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text);
}
else {
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
}
if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){
$_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text);
}
return $_text;
}
function event_PreItem($_data) {
$_data[item]->body = $this->Treatment($_data[item]->body);
$_data[item]->more = $this->Treatment($_data[item]->more);
}
function event_PreComment($_data) {
$_data['comment']['body'] = $this->Treatment($_data['comment']['body']);
}
function supportsFeature ($what)
{
switch ($what)
{
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
}
?>