Seite 1 von 1
[Suche] Vordefinierte Wörter mit bestimmter Url hinterlegen
Verfasst: 13.06.2006 16:20
von senyafin
Guten Tag Community,
gibt es eine Mod mit der es möglich ist, das zuvor definierte Wörter mit einer zuvor festgelegten URL einterlegt werden? Das sollte für das folgende Beispeil etwa so aussehen:
vorher: phpBB ist eine großartige Software
nachher:
phpBB ist eine großartige Software
Vielen Dank für Euer Feedback
LG
Pascal
Verfasst: 13.06.2006 16:35
von Andi1111
Genau das mache ich gerade mit hilfe der Wortzensur, schau mal hier
http://www.phpbb.de/viewtopic.php?t=123547
Verfasst: 13.06.2006 16:43
von senyafin
wenn das klappt, wäre das großartig!!!
btw. das mit Wikipedia war auch meine Intension, aber es gibt da sicherlich noch dutzende Spielereien die man damit machen kann.
Klasse und danke Dir für den Tipp.
Ich teste das mal bei mir.
LG
Pascal
Verfasst: 13.06.2006 17:20
von Max
ansonsten gibt es dafür auch einen MOD
Autolinks for phpBB
Based on Post-Nuke autolinks, this mod borrows heavily from the code with some small alterations.
Features
* Assign a keyword to one particular forum, or all.
* Convert the first of each keyword into a link, or all.
* Give each link its own distinctive CSS style.
For the 2nd feature, you'll find that option in the ACP config page.
Gruß Max
Verfasst: 13.06.2006 17:55
von senyafin
Hi Max, danke sehr für Dein Feedback.
Hast Du die Mod bereits getestet? Mich würde brennend interessieren, ob die Beitragstitel von der Linkumwandlung ausgenommen werden.
Bei Zensur geht das leider nicht
Gruss
Pascal
Verfasst: 13.06.2006 19:51
von senyafin
Ich versuche grad my phpmyadmin den sql Befehl auszuführen,
ich bekomme nachstehende Fehlermeldung.
Kann mir hier jemand weiterhelfen?
Danke vielmals
Code: Alles auswählen
SQL-Befehl:
CREATE TABLE `phpbb_autolinks` (
`link_id` mediumint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`link_keyword` varchar( 50 ) NOT NULL ,
`link_title` varchar( 50 ) NOT NULL ,
`link_url` varchar( 200 ) NOT NULL ,
`link_comment` varchar( 200 ) NOT NULL ,
`link_style` varchar( 200 ) NOT NULL ,
`link_forum` tinyint( 1 ) NOT NUL default '0',
`link_int` tinyint( 1 ) NOT NULL default '0',
KEY `link_id` ( `link_id` )
) TYPE = MYISAM ;
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'NUL default '0',
`link_int` tinyint(1) NOT NULL default '0',
Verfasst: 13.06.2006 19:54
von senyafin
Wenn ich das eine fehlende "l" bei link_forum ändere - kommt nachstehender Fehler
Code: Alles auswählen
SQL-Befehl:
SQL - Befehl : CREATE TABLE `phpbb_autolinks` (
`link_id` mediumint( 5 ) unsigned NOT NULL AUTO_INCREMENT ,
`link_keyword` varchar( 50 ) NOT NULL ,
`link_title` varchar( 50 ) NOT NULL ,
`link_url` varchar( 200 ) NOT NULL ,
`link_comment` varchar( 200 ) NOT NULL ,
`link_style` varchar( 200 ) NOT NULL ,
`link_forum` tinyint( 1 ) NOT NULL default '0',
`link_int` tinyint( 1 ) NOT NULL default '0',
KEY `link_id` ( `link_id` )
) TYPE = MYISAM ;
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SQL-Befehl:
CREATE TABLE `phpbb_autolinks` (
`link_id` medi
Verfasst: 13.06.2006 19:58
von senyafin
falls jemand mal später eine Lösung sucht
Code: Alles auswählen
CREATE TABLE `phpbb_autolinks` [==>LEERZEICHEN ENTFERNEN<==(
`link_id` mediumint(5) unsigned NOT NULL auto_increment,
`link_keyword` varchar(50) NOT NULL,
`link_title` varchar(50) NOT NULL,
`link_url` varchar(200) NOT NULL,
`link_comment` varchar(200) NOT NULL,
`link_style` varchar(200) NOT NULL,
`link_forum` tinyint(1) NOT NUL[==>L<==] default '0',
`link_int` tinyint(1) NOT NULL default '0',
KEY `link_id` (`link_id`)
) TYPE=MyISAM;
INSERT INTO `phpbb_autolinks` VALUES (1, 'phpbb', 'phpBB', 'http://www.phpbb.com', 'phpBB creating communities', 'text-decoration: none;', '0', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('autolink_first', '0');
LG
Pascal