![Show/hide content [x]](themes/dragonfly/images/minus.png) Navigation
Home Community News Search Projekte
![Show/hide content [x]](themes/dragonfly/images/minus.png) Wer ist wo
Bots:1: Google > Bildergalerie
2: YANDEX > Forum 9.x
Visitors:1: Forum 9.x
2: Downloads
![Show/hide content [x]](themes/dragonfly/images/minus.png) Languages
![Show/hide content [x]](themes/dragonfly/images/minus.png) Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
![Show/hide content [x]](themes/dragonfly/images/minus.png) Downloads (Top)
|
wysiwyg Editor
| Author |
Message |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: wysiwyg Editor Posted: 15.09.2005 22:42 |
|
Hi,
habe gerade zum ersten mal das Dragonfly cms installiert und noch einige Module und Blöcke und muss sagen, bis jetzt hatte ich noch kein System was sich so problemlos installieren lies ! Kompliment !
Ich wollte nun auch mal einen wysiwyg Editor einbinden, aber ich verstehe die "Anleitung" unter
www.cpgnuke.com/cvs/wy....txt?v=1.3
nicht 
Hat das schon mal irgendjemand hier gemacht ?
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 17.09.2005 08:18 |
|
Ja ich hab nen reingebracht in submit news. Hab den code einwenig aendern muessen. Es geht htmlarea im IE auch der fck geht. Unter firefox gehen sogar der Spaw und tine mce. Muss die templ. css noch anpassen.
Gruss
RECON
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 19.09.2005 08:59 |
|
und gibt es dafür noch eine etwas ausfürlichere Anleitung ?
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 19.09.2005 09:07 |
|
Ich mach ne Anleitung und changelist was zum editieren ist und als alternative ein download fertig. Wir haben probleme mit nem router, webp[age is temporary down. Bitte gedulde dich ein paar tage. Werd die anleitung hier rein posten. Vielleicht kanns dann noch jemand verbessern und alle editoren unter den internet explorer die settings configs optimieren.
Ich habe von cpg nuke im news module die page seiten nummern drinn werd versuchen 2 versionen mit und ohne zu machen.
Gruss Recon
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
designSumpf


Joined: Dec 25, 2004 Posts: 88 Location: Burgbernheim (Franken)
|
Post subject: Re: wysiwyg Editor Posted: 19.09.2005 19:20 |
|
Jo, das wäre eine Sache !
Da warte ich auch schon drauf.
designsumpf
_________________ Glaube nicht alles, was du denkst
designSumpf's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache /MySQL 5.0.32/PHP 5.2.0-8/DF 9.2.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 19.09.2005 21:19 |
|
ich setze erstmal den submit news bereich fuer anonymouse use damit ihr euch das anseht bevor ihr das dann einbaut.
testet es mit ie und auch firefox das reagiert bei mir unterschiedlich
recon-news.de
dort submit news koennt ja auch deutsch stellen.
postet mir bitte keinen miss rein, ich gebe das modul jetzt frei um das ihr es anseht bevor ihr das editieren anfaengt oder ich die downloads zusammen bastle fuer submit news. feedback ist immer willkommen.
Gruesse zu euch nach Deutschland rauf
RECON
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 20.09.2005 07:49 |
|
Hey Super !!!
Besonders das mit der Auswahlbox der verschiedene Editor gefällt mir gut !
Allerdings gehen nicht alle ?!
Ansonsten sehr schön !
Also für Submit News schon mal sehr gut, könnte man das auch leicht für die News selber machen, also wenn ich News schreibe ? Das wäre ideal ! 
Aber auch sonst eine schöne Seite !
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 23.09.2005 11:05 |
|
Hi, gibt es schon etwas neues ? 
Könntest Du deinen Sumbit_News hier vielleicht mal posten ?
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 24.09.2005 06:16 |
|
Hi
Du meinst in admin news das rein machen? Ja das ist ne gute Idee ich werde es versuchen zuvor muss ich noch die editoren ein wenig anpassen das moeglicherweise alle unter ie wie auch firefox laufen.
Kurz vorab hier mein submit.php
[php]<?php
/*********************************************
CPG Dragonfly™ CMS
********************************************
Copyright © 2004 - 2005 by CPG-Nuke Dev Team
www.dragonflycms.com
Dragonfly is released under the terms and conditions
of the GNU GPL version 2 or any later version
$Source: /cvs/html/modules/News/submit.php,v $
$Revision: 1.1 $
$Author: djmaze $
$Date: 2005/04/29 14:08:15 $
WYSIWYG by WWW.RECON-NEWS.DE
www.recon-news.de
please report errors to recon @ reply.ws
**********************************************/
if (!defined('CPG_NUKE')) { exit; }
get_lang('Submit_News');
require_once('includes/nbbcode.php');
require('includes/wysiwyg/wysiwyg.inc');
$pagetitle .= _Submit_NewsLANG;
global $notify, $notify_email, $notify_subject, $notify_message, $notify_from, $bgcolor1, $bgcolor2, $CPG_SESS;
if (isset($_POST['submit'])) {
if (!isset($CPG_SESS['submit_story']) && !$CPG_SESS['submit_story']) { cpg_error(_SPAMGUARDPROTECTED); }
$uid = is_user() ? $userinfo['user_id'] : 1;
$name = is_user() ? $userinfo['username'] : _ANONYMOUS;
$subject = isset($_POST['subject']) ? Fix_Quotes($_POST['subject']) : '';
$story = isset($_POST['story']) ? Fix_Quotes($_POST['story']) : '';
$storyext = isset($_POST['storyext']) ? Fix_Quotes($_POST['storyext']) : '';
$topic = isset($_POST['topic']) ? intval($_POST['topic']) : 1;
$alanguage = isset($_POST['alanguage']) ? Fix_Quotes($_POST['alanguage']) : '';
$subject = check_words($subject);
if (function_exists('encode_bbcode')) {
$story = encode_bbcode(check_words($story));
$storyext = encode_bbcode(check_words($storyext));
} else {
$story = check_words($story);
$storyext = check_words($storyext);
}
$db->sql_query('INSERT INTO '.$prefix."_queue VALUES (NULL, '$uid', '$name', '$subject', '$story', '$storyext', ".gmtime().", $topic, '$alanguage')", false, __FILE__, __LINE__);
if ($notify) {
$notify_message = "$notify_message\n\n\n========================================================\n$subject\n\n\n".decode_bbcode($story, 1, true)."\n\n".decode_bbcode($storyext, 1, true)."\n\n$name";
if (!send_mail($mailer_message,$notify_message,0,$notify_subject,$notify_email,$notify_email,$notify_from,$name)) {
echo $mailer_message;
}
}
$CPG_SESS['submit_story'] = false;
unset($CPG_SESS['submit_story']);
list($waiting) = $db->sql_ufetchrow("SELECT COUNT(*) FROM ".$prefix."_queue", SQL_NUM, __FILE__, __LINE__);
//cpg_error(_SUBTEXT.'<br />'._WEHAVESUB.' <strong>'.$waiting.'</strong> '._WAITING, _Submit_NewsLANG, getlink('&file=index'));
cpg_error(_SUBTEXT.'<br />'._WAITING.''._WEHAVESUB.' <strong>'.$waiting.'</strong> ',_Submit_NewsLANG, getlink());
} else {
$CPG_SESS['submit_story'] = true;
$story = isset($_POST['story']) ? $_POST['story'] : false;
$storyext = isset($_POST['storyext']) ? $_POST['storyext'] : false;
$subject = isset($_POST['subject']) ? $_POST['subject'] : false;
$topic = isset($_POST['topic']) ? intval($_POST['topic']) : 0;
$alanguage = isset($_POST['alanguage']) ? $_POST['alanguage'] : '';
$wysiwyg_story = new Wysiwyg('submitnews', 'story', '100%', '350px', $story);
$wysiwyg_story->setHeader();
$wysiwyg_storyext = new Wysiwyg('submitnews', 'storyext', '100%', '400px', $storyext);
$wysiwyg_storyext->setHeader();
require_once('header.php');
OpenTable();
//if ($story && !(isset($_POST['.$wysiwyg->getSelect().']))) {
if ($story && !(isset($_POST['wysiwyg']))) {
if (function_exists('decode_bb_all')) {
$f_story = decode_bb_all(encode_bbcode($story), 1, true);
$f_storyext = decode_bb_all(encode_bbcode($storyext), 1, true);
} else {
$fstory = $story;
$f_storyext = $storyext;
}
if ($topic < 1) {
$topicimage = 'AllTopics.gif';
$warning = '<div align="center" class="option">'._SELECTTOPIC.'</div>';
} else {
$warning = '';
$result = $db->sql_query('SELECT topicimage, topictext FROM '.$prefix."_topics WHERE topicid='$topic'", false, __FILE__, __LINE__);
list($topicimage, $topictext) = $db->sql_fetchrow($result);
}
echo '<div align="center" class="gen"><strong>'._NEWSUBPREVIEW.'</strong></div><br />
<div align="center">'._CHECKSTORY.'</div><br />
<table align="center" class="newsarticle" style="width: 70%"><tr><td>
<img src="images/topics/'.$topicimage.'" border="0" alt="'.(isset($topictext) ? $topictext : '').'" title="'.(isset($topictext) ? $topictext : '').'" align="right" />
<span class="gen"><strong>'.$subject.'</strong></span><br /><br />
<font size="2">'.$f_story;
if ($f_storyext != '') {
echo '<br /><br />'.$f_storyext;
}
echo '</font></tr></td></table>'.(($warning != '') ? '<br />'.$warning : '');
} else {
echo '<div align="center" class="genmed">'._SUBMITADVICE.'</div>';
}
CloseTable();
OpenTable();
echo open_form(getlink('&file=submit'), 'submitnews', _Submit_NewsLANG)
.$wysiwyg_story->getSelect().'<br /><br />
<label class="ulog" for="subject">'._SUBTITLE.'</label>
<input type="text" name="subject" id="subject" size="65" maxlength="80" value="'.$subject.'" /><br /><br />
<label class="ulog" for="topic">'._TOPIC.'</label>
<select name="topic" id="topic">';
$result = $db->sql_query('SELECT topicid, topictext FROM '.$prefix.'_topics ORDER BY topictext', false, __FILE__, __LINE__);
echo '<option value="">'._SELECTTOPIC."</option>\n";
while ($row = $db->sql_fetchrow($result)) {
$sel = ($row['topicid'] == $topic) ? 'selected="selected" ' : '';
echo "<option $sel value=\"$row[topicid]\">$row[topictext]</option>\n";
}
echo '</select><br /><br />';
if ($multilingual) {
echo '
<label class="ulog" for="alanguage">'._LANGUAGE.'</label>
'.lang_selectbox($alanguage).'<br /><br />';
}
echo '
<label class="ulog"></label><br />
<label class="ulog" for="story">'._STORYTEXT.'</label>
<div style="float: left; width: 99%">'.$wysiwyg_story->getHTML().'</div><br />
<label class="ulog"></label>
<div style="float: left; margin-left: 0px">'.smilies_table('onerow', 'story', 'submitnews').'</div><br clear="all" /><br />
<label class="ulog"></label><br />
<label class="ulog" for="storyext">'._EXTENDEDTEXT.'</label>
<div style="float: left; width: 99%">'.$wysiwyg_storyext->getHTML().'</div><br />
<label class="ulog"></label>
<div style="float: left; margin-left: 0px">'.smilies_table('onerow', 'storyext', 'submitnews').'</div><br /><br />
<div align="center"><input type="submit" value="'._PREVIEW.'" />';
if ($story != '') { echo '
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 24.09.2005 12:51 |
|
Danke, funktioniert soweit ganz gut, aber wenn ich auf vorschau klicke, dann ist nichts mehr im editor zu sehen und im admin menü, wenn ich die Nachricht freigeben will, sehe ich auch nichts mehr, hast Du das auch ?
Ansonsten DANKE für deine mühe !
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 24.09.2005 15:05 |
|
Ja das kenne ich. den manche editoren senden scheinbar den html code nicht richtig. Mit fck?
Versuche mal htmlarea der geht bei mir.
Ich hab den fck auch hin bekommen.
Mit Internet Explorer nehme ich html area nich fck. Mit dem ie 7 geht das ploetzlich auch mit fck. ich kann nicht so einfach auf ie 6 zurueck blicken da ich in den betatest bin.
Da sind unterschiede in den neuen browsern mit ich glaub stylesheet CSS support.
Wie gesagt ich pack die editoren noch in ner rar oder zip und mein submit news folder.
wie sind Deine server spec. hast du url rewrite on?
Kannst du mit deinem Browser testen ob es auf meiner seite geht oder ist es dort das selbe?
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 25.09.2005 14:45 |
|
Also ich habe den ie6, mit htmlara geht die seite dann gar nicht mehr, muss dann erst die cookies löschen und bei Spaw kann ich nichts schreiben, dass ist auf meiner und auf Deiner seite so :/
Urlrewrite habe ich off.
Gibt es den TinyMC eigentlich auch irgendwo als zip oder so oder muss man jede Datei einzeln aus dem cvs runterladen ?
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
RECON


Joined: Sep 17, 2005 Posts: 16 Location: TH-MY
|
Post subject: Re: wysiwyg Editor Posted: 25.09.2005 17:14 |
|
Hi
Kannst du mal den fck testen im ie 7 geht der auf einmal super. HTMLarea ja den muss ich auch hin und wieder neu laden damit er erscheint. ein trick ich hab das noch mal durchgetestet da ich das auch habe das die news nicht erscheinen stell nachdem du die news reingetan hast die ansicht auf html code dann preview voransicht dann erneut im editor ansicht html code und senden das haut bei mir immer hin.
Der spam hat ein wie heisst das templates problem. das mus ich suchen den der ist ohne funktion. im firefox 1.5 nicht hoeher nicht im 1.61 geht er mit ein paar tricks an den schaltflaechen.
es gibt dor ne moeglichkeit den ie 7 ohne zu installieren zu verwenden, hab ne anleitung gepostet ware mal ein vergleich wert. opera so viel ich weis unterstuetzt keine wysiwyg. Es durften nur noch anpassungen bei den editoren und den templates layouts dieser ausgearbeitet werden dann muss es gehen.
ich habe fuer htmlarena ne variable fuer TCD NAtural Theme festgelegt, wusste den alternativ weg nicht um auf das jeweilige gewaehlte theme das zu stellen. Ich werde wie gesagt die ganzen files zusammen packen und auf nen server tun dann kann man das besser ausarbeiten. Gib mir ein paar tage.
Gruss
RECON
_________________

RECON's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2) |
|
| Back to top |
|
 |
warly


Joined: Jun 01, 2004 Posts: 16
|
Post subject: Re: wysiwyg Editor Posted: 26.09.2005 08:47 |
|
JA sonst sag einfach bescheid wenn Du das Paket fertig hast, dann können wir einen 1 zu 1 Vergleich starten 
Wie gesagt, hatte früher bei postnuke den htmlarea und der hat eigentlich völlig gereicht umd einfach nette News etc. zu erstellen, für Leute die kaum Ahnung von HTML haben.
warly's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 2.0.54 / PHP 4.3.3/ MySQL 4.1.12 / DF 9.0.6.1 |
|
| Back to top |
|
 |
albiurs


Joined: Sep 24, 2005 Posts: 31
|
Post subject: Re: wysiwyg Editor Posted: 28.09.2005 10:06 |
|
Hi
Grossartige Idee, einen wysiwyg Editor zu integrieren!
Eigentlich währe ich bereits glücklich mit einem korrekt laufenden BBCode im Modul "Submit News". Doch leider läuft nicht mal dieser korrekt mit dem IE.
...warte gespannt auf den Download!
Vielen Dank auf jeden Fall RECON für die super Arbeit!!!
albiurs's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache 1.3.33/PHP 4.3.11/MySQL 4.0.24/DF 9.0.6.1 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 HourGo to page 1, 2 Next
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|