4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Sunny C. on August 07, 2010, 02:22:36 PM
-
[MOD] Commentbox v0.2 bietet eine Schnittstelle um das Kommentarformular in einem Popup öffnen zu lassen
Mit dieser Modifikation ist es möglich, dass man Kommentare über ein Popup schreiben kann. Das spart enormen Platz auf der Detailsseite und kommt den web2.0 Standard nahe. Die Voraussetzung ist Javascript und funktioniert mit der jQuery- Unterstützung.
Online Installation and Screenshots: :arrow: (http://scripts.benny-boehnke.info/4images/commentbox_v02/)
-
First of all, thanks for the mod.
There are a few things that are not quiet right.
1) you've copied entire details.php into comment_pop.php - why? All it needs a part that saves the comment, it doesn't need anything else. And besides, provided comment_pop.php file doesn't work on fresh 4images, there are some parts left from your early modifications (it's always a good idea test it on unmodified 4images ;))
2) in comment_pop_form.html template you are using comment_pop.php in the form without parsing it through $site_sess->url() function, it can break sessions, and to make it maximum compatible with integrations, image_id must be replaced by constant URL_IMAGE_ID when parsing trough url() function. Also, there is some google code left from your site.
3) in details.html template you are adding new tag next to {rate_form}, which means if visitor not allowed to rate, they won't be able comment as well (link for comments will not be showed).
4) the link for pop will be showed even if visitor not allowed view comments, it's easily fixed by using {if comment_form}{comment_popup}{endif comment_form}
5) 4images is already suffers from having too much HTML code inside .php files, your javascript code is unnecessary placed inside details.php
6) since you are not providing any scirpts to update database with default values, you'll need to mention, that after installing this mod, one must go to ACP->Settings and manually enter width/height numbers for the popup dimensions.
7) would be nice if the popup close itself when comment successfully added.
-
First of all, thanks for the mod.
There are a few things that are not quiet right.
1) you've copied entire details.php into comment_pop.php - why? All it needs a part that saves the comment, it doesn't need anything else. And besides, provided comment_pop.php file doesn't work on fresh 4images, there are some parts left from your early modifications (it's always a good idea test it on unmodified 4images ;)) If I take out everything else, then the form will not be displayed - Fixed
2) in comment_pop_form.html template you are using comment_pop.php in the form without parsing it through $site_sess->url() function, it can break sessions, and to make it maximum compatible with integrations, image_id must be replaced by constant URL_IMAGE_ID when parsing trough url() function. Also, there is some google code left from your site. Fixed
3) in details.html template you are adding new tag next to {rate_form}, which means if visitor not allowed to rate, they won't be able comment as well (link for comments will not be showed). Fixed
4) the link for pop will be showed even if visitor not allowed view comments, it's easily fixed by using {if comment_form}{comment_popup}{endif comment_form} Fixed
5) 4images is already suffers from having too much HTML code inside .php files, your javascript code is unnecessary placed inside details.php If the modification is off, then his need not to see the code or so?
6) since you are not providing any scirpts to update database with default values, you'll need to mention, that after installing this mod, one must go to ACP->Settings and manually enter width/height numbers for the popup dimensions. Fixed - Added install.php
7) would be nice if the popup close itself when comment successfully added. The popup closes after 2 seconds when the entry was successful - Fixed
-
If I take out everything else, then the form will not be displayed
Ok, but there is no need code to display image, next/prev images, comments, etc. If you are planning on leaving everything as it is, then you could've simply add little code into details.php and comment_pop.php would not be necessary at all ;)
-
Ich habs mal installiert.
Wenn ich ein Kommentar abgeben möchte (oder auch andere das machen wollen)
kommt als Nachricht: Kommentarfunktion deaktivert...
Wo liegt der Fehler??
-
Der Fehler ist mir nicht bekannt.
Sind die Einstellungen auch richtig?
Bist du sicher das die Kommentarfunktion eingeschaltet ist?
Deaktiviere die Popup- Funktion und versuche so ein Kommentar zu schreiben
-
Hab ich getan...
Kommentare funktionieren und sind aktiviert.
Wenn ich Popup einschalte, Kommentar schreiben möchte, erscheint diese o.g. Fehlermeldung.
(http://www.bizipic.de/data/media/92/popup.jpg)
-
This message has been deleted by Rembrandt as spam!
-
Hi,
danke für den MOD Benny :thumbup:
Ich glaube einen Fehler gefunden zu haben, du schreibst in deinem ersten Post folgende Codezeile:
$comment_popup_jscode .= " shoehe=shoehe+".$config['popup_comment_height'].";\n";
diese führt zumindest bei mir dazu das, dass Popup immer die doppelte höhe hat bzw. sich über die
gesamte Bildschirmhöhe erstreckt.
Meine Änderung:
$comment_popup_jscode .= " shoehe=".$config['popup_comment_height'].";\n";
EDIT:
Hi Benny,
bei mir führt:
{if allow_comments}{comment_popup} {endif allow_comments}
dazu das auch Gäste den Link sehen und wenn er angeklickt wird fehlt im
Popup die comment form es ist nur der footer zu sehen.
Hat jemand eine Idee?
EDIT2:
Hi Benny,
ich hab noch ein viel gravierenderes Problem:
Die Kommentare landen nicht beim gewollten Bild sondern scheinbar Wahllos woanders,
hier Beispiele:
comment_popup.php?image_id=5006 = 4984
comment_popup.php?image_id=3350 = 4820
Kommentare landen je bei der ID hinter dem gleich. Mir ist das eben aufgefallen als ich
einen Testkommentar geschrieben habe.
Hilfe bitte...
Gruß Jens
Gruß X23
-
Ich muss das in einer frischen Installation mal testen, nur Momentan keine Zeit! Aber am WE eventuell
-
Ich muss das in einer frischen Installation mal testen, nur Momentan keine Zeit! Aber am WE eventuell
Hi,
wäre prima :) bis dahin habe ich es erstmal ausgeschaltet.
Danach ging/geht wieder alles wie gewohnt.
Gruß Jens
-
Neue Version online!
Online Installation: :arrow: (http://scripts.benny-boehnke.info/4images/commentbox_v02/)
-
Neue Version online!
Online Installation: :arrow: (http://scripts.benny-boehnke.info/4images/commentbox_v02/)
Hi Benny,
ich habs ausprobiert sehe den Link zur Popup Box aber nicht.
Ich habe hier noch zwei Fehler gefunden:
$setting['comment_popup_height'] = "Popup Höhe<br><span class="\"smalltext\"">In Pixel angeben. Empfohlen: 100</span>";
$setting['comment_popup_width'] = "Popup Breite<br><span class="\"smalltext\"">In Pixel angeben. Empfohlen: 480</span>";
So funktioniert es bei mir:
$setting['comment_popup_height'] = "Popup Höhe<br><span class=\"smalltext\">In Pixel angeben. Empfohlen: 100</span>";
$setting['comment_popup_width'] = "Popup Breite<br><span class=\"smalltext\">In Pixel angeben. Empfohlen: 480</span>";
Desweiteren verlierst du kein Wort in deiner Readme zur "comment_popup_form.html"
Wo die hin muss weiß ich aber irgendwer vielleicht nicht ;)
Hmm hast du ne Idee wieso das bei mir nicht auftaucht?
Dein Script...:
if($config['comment_popup_onoff'] == 1) {
$comment_form = " <script src=\"".ROOT_PATH."comment_popup/jquery.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script src=\"".ROOT_PATH."comment_popup/popup.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script type=\"text/javascript\">\n";
$comment_form .= " jQuery(document).ready(function($) {\n";
$comment_form .= " $('a[rel*=facebox]').facebox({\n";
$comment_form .= " loading_image : '".ROOT_PATH."comment_popup/loading.gif',\n";
$comment_form .= " close_image : '".ROOT_PATH."comment_popup/closelabel.gif'\n";
$comment_form .= " }) \n";
$comment_form .= " })\n";
$comment_form .= " </script>";
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
$comment_form .= " ".$site_template->parse_template("comment_popup_form")."\n";
}
...sollte doch unabhängig sein vom dem was in der details.html steht? Ich kann mir nicht erklären
wo der Link sein soll bzw. warum er fehlt.
Der Code Part wird scheinbar durchlaufen, da bei fehlen der comment_popup_form.html das System
nach dem fehlenden Template mault und es wird ja nur hier referenziert:
$comment_form .= " ".$site_template->parse_template("comment_popup_form")."\n";
Hmm ohje ich komm hier alleine nicht weiter... Hilfe Benny :D
Gruß Jens
-
Danke,
den Fehler habe ich in der Anleitung ausgetestet!
Zu dem Link,
hast du in deiner lang/deutsch/main.php folgenden Code stehen?
$lang['post_comment']
Der Link wird in der details.php generiert
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
Das ist für den Link zuständig!
Hast du ein Link zur Seite?
Edit://
Die comment_pop_form.html muss in deinem templates ordner. Wenn die dort nicht vorhanden ist, ist ja klar das er meckert!
-
Zu dem Link,
hast du in deiner lang/deutsch/main.php folgenden Code stehen?
$lang['post_comment']
Ist vorhanden...
Der Link wird in der details.php generiert
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
Das hab ich ja schon gesehen der ist aber im Quelltext nicht (Erzeugte Seite)...
Hast du ein Link zur Seite?
Die comment_pop_form.html muss in deinem templates ordner. Wenn die dort nicht vorhanden ist, ist ja klar das er meckert!
Das ist mir klar ich wollte dir nur mitteilen das eine Erwähnung in deiner Readme dazu fehlt ;)
Hier mal noch der ausgedünnte Code meiner details.html falls das für die Funktion des
Popups relevant ist zur Kontrolle für dich:
{header}
<div class="header"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td width="100%" valign="top">
<table align="center" border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td>{if prev_image_name}<a href="{prev_image_url}" title="{prev_image_name}"><img border="0" src="{template_url}/images/prev.png"></a>{endif prev_image_name}</td>
<td><div align="center" id="imagebg"><br>{ms_style}<br></div></td>
<td>{if next_image_name}<a href="{next_image_url}" title="{next_image_name}"><img border="0" src="{template_url}/images/next.png"></a>{endif next_image_name}</td>
</tr>
</table>
<br>
<table align="center" cellspacing='1' cellpadding="0" border='0'>
<tr>
<td width='12' height='12' bgcolor='#000' style="border: 1px solid #828282;" onmouseover=bg('#000')></td>
<td width='12' height='12' bgcolor='#171717' style="border: 1px solid #828282;" onmouseover=bg('#171717')> </td>
<td width='12' height='12' bgcolor='#2E2E2E' style="border: 1px solid #828282;" onmouseover=bg('#2E2E2E')> </td>
<td width='12' height='12' bgcolor='#464646' style="border: 1px solid #828282;" onmouseover=bg('#464646')> </td>
<td width='12' height='12' bgcolor='#5D5D5D' style="border: 1px solid #828282;" onmouseover=bg('#5D5D5D')> </td>
<td width='12' height='12' bgcolor='#747474' style="border: 1px solid #828282;" onmouseover=bg('#747474')> </td>
<td width='12' height='12' bgcolor='#8B8B8B' style="border: 1px solid #828282;" onmouseover=bg('#8B8B8B')> </td>
<td width='12' height='12' bgcolor='#A2A2A2' style="border: 1px solid #828282;" onmouseover=bg('#A2A2A2')> </td>
<td width='12' height='12' bgcolor='#B9B9B9' style="border: 1px solid #828282;" onmouseover=bg('#B9B9B9')> </td>
<td width='12' height='12' bgcolor='#D1D1D1' style="border: 1px solid #828282;" onmouseover=bg('#D1D1D1')> </td>
<td width='12' height='12' bgcolor='#E8E8E8' style="border: 1px solid #828282;" onmouseover=bg('#E8E8E8')> </td>
<td width='12' height='12' bgcolor='#FFFFFF' style="border: 1px solid #828282;" onmouseover=bg('#FFFFFF')> </td>
</tr>
</table>
<br>
<div align="center">{if details}{lightbox_button} {postcard_button} {if has_rss}<a href="{rss_url}"><img src="{template_url}/images/rss.png" title="{rss_title}" border="0" alt="{rss_title}" /> </a>{endif has_rss}{download_button} {download_zip_button}{endif details}</div>
<map name="navi">
{if prev_image_name}
<area shape="rect" coords="0,0,150,{height}"
href="{prev_image_url}" alt="{prev_image_name}">
{endif prev_image_name}
{if next_image_name}
<area shape="rect" coords="{navi},0,{width},{height}"
href="{next_image_url}" alt="{next_image_name}">
{endif next_image_name}
</map>
{if msg}
{msg}
{endif msg}
</td>
</tr>
</table>
es handelt sich nicht um meine icon Seite, ich schick dir den Link gleich per PM,
sind privat Fotos drin ;)
Gruß Jens
-
ich glaube es liegt an Step #4
Schau dir den Code nochmal an, ich habe den gerade geändert!
-
ich glaube es liegt an Step #4
Schau dir den Code nochmal an, ich habe den gerade geändert!
Hi,
wo ist denn die Änderung?
« Letzte Änderung: Heute um 12:55:03 von Benny »
Gruß Jens
-
Online:
http://scripts.benny-boehnke.info/4images/commentbox_v02/
if($config['comment_popup_onoff'] == 0) {
$comment_form = $site_template->parse_template("comment_form");
}
if($config['comment_popup_onoff'] == 1) {
$comment_form = " <script src=\"".ROOT_PATH."comment_popup/jquery.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script src=\"".ROOT_PATH."comment_popup/popup.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script type=\"text/javascript\">\n";
$comment_form .= " jQuery(document).ready(function($) {\n";
$comment_form .= " $('a[rel*=facebox]').facebox({\n";
$comment_form .= " loading_image : '".ROOT_PATH."comment_popup/loading.gif',\n";
$comment_form .= " close_image : '".ROOT_PATH."comment_popup/closelabel.gif'\n";
$comment_form .= " }) \n";
$comment_form .= " })\n";
$comment_form .= " </script>";
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
$comment_form .= " ".$site_template->parse_template("comment_popup_form")."\n";
}
-
Online:
http://scripts.benny-boehnke.info/4images/commentbox_v02/
Hi,
kein Erfolg.
Ich glaube die if Schleife wird nie getriggert, ich nehm mal das if raus mal sehen...
EDIT:
Ich hab mal:
if($config['comment_popup_onoff'] == 0) {
$comment_form = $site_template->parse_template("comment_form");
}
$comment_form = " <script src=\"".ROOT_PATH."comment_popup/jquery.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script src=\"".ROOT_PATH."comment_popup/popup.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script type=\"text/javascript\">\n";
$comment_form .= " jQuery(document).ready(function($) {\n";
$comment_form .= " $('a[rel*=facebox]').facebox({\n";
$comment_form .= " loading_image : '".ROOT_PATH."comment_popup/loading.gif',\n";
$comment_form .= " close_image : '".ROOT_PATH."comment_popup/closelabel.gif'\n";
$comment_form .= " }) \n";
$comment_form .= " })\n";
$comment_form .= " </script>";
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
$comment_form .= " ".$site_template->parse_template("comment_popup_form")."\n";
...versucht da taucht auch nichts auf... verdammt
Gruß Jens
-
Generell muss der Code so aussehen:
if($config['comment_popup_onoff'] == 0) {
$comment_form = $site_template->parse_template("comment_form");
}
if($config['comment_popup_onoff'] == 1) {
$comment_form = " <script src=\"".ROOT_PATH."comment_popup/jquery.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script src=\"".ROOT_PATH."comment_popup/popup.js\" type=\"text/javascript\"></script>\n";
$comment_form .= " <script type=\"text/javascript\">\n";
$comment_form .= " jQuery(document).ready(function($) {\n";
$comment_form .= " $('a[rel*=facebox]').facebox({\n";
$comment_form .= " loading_image : '".ROOT_PATH."comment_popup/loading.gif',\n";
$comment_form .= " close_image : '".ROOT_PATH."comment_popup/closelabel.gif'\n";
$comment_form .= " }) \n";
$comment_form .= " })\n";
$comment_form .= " </script>";
$comment_form .= " <a href=\"#info\" rel=\"facebox\">".$lang['post_comment']."</a>\n";
$comment_form .= " ".$site_template->parse_template("comment_popup_form")."\n";
}
Das kannst du auf jeden Fall so lassen.
Komisch das der Link nicht zu sehen ist.
-
Komisch das der Link nicht zu sehen ist.
Genauso ist das ja bei mir eingebaut, wo soll der Link denn auf der Seite auftauchen?
Gruß Jens
-
Der Link soll da zu sehen sein, wo eigentlich das Kommentar- Formular zu sehen ist!
-
Der Link soll da zu sehen sein, wo eigentlich das Kommentar- Formular zu sehen ist!
Hi,
dass will ich doch die ganze Zeit von dir wissen ob das irgendwovon abhängig ist,
schau dir mal meinen details.html code weiter oben an, da ist kein Kommentar-Formular
mehr drin. ;)
Gruß Jens
-
Wenn das Popup eingeschaltet wird, wird das Kommentarformular ausgeblendet und dafür der Link eingeblendet!
Wenn du es ausschaltest, ist aber das Formular zu sehen oder?
Schick mir mal deine details.php
Ps.: Bist du dir auch sicher das du die bearbeitete details.php in dem richtigen Projekt hochgeladen hast? Ist alles möglich ;)
Edit://
In deinem Quelltest ist auch absolut nichts davon zu sehen. Selbst das Javascript ist nicht zu sehen was ich auch nicht verstehe. Jetzt bin ich mir nicht mehr sichher ob der Fehler bei mir liegt.
-
Wenn das Popup eingeschaltet wird, wird das Kommentarformular ausgeblendet und dafür der Link eingeblendet!
Wenn du es ausschaltest, ist aber das Formular zu sehen oder?
Schick mir mal deine details.php
Ps.: Bist du dir auch sicher das du die bearbeitete details.php in dem richtigen Projekt hochgeladen hast? Ist alles möglich ;)
Edit://
In deinem Quelltest ist auch absolut nichts davon zu sehen. Selbst das Javascript ist nicht zu sehen was ich auch nicht verstehe. Jetzt bin ich mir nicht mehr sichher ob der Fehler bei mir liegt.
Hi,
wenn das hier meine details.html ist:
{header}
<div class="header"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td width="100%" valign="top">
<table align="center" border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td>{if prev_image_name}<a href="{prev_image_url}" title="{prev_image_name}"><img border="0" src="{template_url}/images/prev.png"></a>{endif prev_image_name}</td>
<td><div align="center" id="imagebg"><br>{ms_style}<br></div></td>
<td>{if next_image_name}<a href="{next_image_url}" title="{next_image_name}"><img border="0" src="{template_url}/images/next.png"></a>{endif next_image_name}</td>
</tr>
</table>
<br>
<table align="center" cellspacing='1' cellpadding="0" border='0'>
<tr>
<td width='12' height='12' bgcolor='#000' style="border: 1px solid #828282;" onmouseover=bg('#000')></td>
<td width='12' height='12' bgcolor='#171717' style="border: 1px solid #828282;" onmouseover=bg('#171717')> </td>
<td width='12' height='12' bgcolor='#2E2E2E' style="border: 1px solid #828282;" onmouseover=bg('#2E2E2E')> </td>
<td width='12' height='12' bgcolor='#464646' style="border: 1px solid #828282;" onmouseover=bg('#464646')> </td>
<td width='12' height='12' bgcolor='#5D5D5D' style="border: 1px solid #828282;" onmouseover=bg('#5D5D5D')> </td>
<td width='12' height='12' bgcolor='#747474' style="border: 1px solid #828282;" onmouseover=bg('#747474')> </td>
<td width='12' height='12' bgcolor='#8B8B8B' style="border: 1px solid #828282;" onmouseover=bg('#8B8B8B')> </td>
<td width='12' height='12' bgcolor='#A2A2A2' style="border: 1px solid #828282;" onmouseover=bg('#A2A2A2')> </td>
<td width='12' height='12' bgcolor='#B9B9B9' style="border: 1px solid #828282;" onmouseover=bg('#B9B9B9')> </td>
<td width='12' height='12' bgcolor='#D1D1D1' style="border: 1px solid #828282;" onmouseover=bg('#D1D1D1')> </td>
<td width='12' height='12' bgcolor='#E8E8E8' style="border: 1px solid #828282;" onmouseover=bg('#E8E8E8')> </td>
<td width='12' height='12' bgcolor='#FFFFFF' style="border: 1px solid #828282;" onmouseover=bg('#FFFFFF')> </td>
</tr>
</table>
<br>
<div align="center">{if details}{lightbox_button} {postcard_button} {if has_rss}<a href="{rss_url}"><img src="{template_url}/images/rss.png" title="{rss_title}" border="0" alt="{rss_title}" /> </a>{endif has_rss}{download_button} {download_zip_button}{endif details}</div>
<map name="navi">
{if prev_image_name}
<area shape="rect" coords="0,0,150,{height}"
href="{prev_image_url}" alt="{prev_image_name}">
{endif prev_image_name}
{if next_image_name}
<area shape="rect" coords="{navi},0,{width},{height}"
href="{next_image_url}" alt="{next_image_name}">
{endif next_image_name}
</map>
{if msg}
{msg}
{endif msg}
</td>
</tr>
</table>
...kann das die Commentbox überhaupt funktionieren?
Darin fehlt der Kommentarbereich (vorhandene Kommentare und Kommentar schreiben)
komplett, muss das wieder rein damit das überhaupt funktionieren kann?
Bzgl. dem Code im Quelltext das ist mir ja auch selbst schon aufgefallen ist sollte unter
"facebox" was finden sofern das funktioniert ;)
Jetzt brauch ich ne klarte Antwort von dir ob das nur klappen kann wenn in der details.html
noch der ganze Kommentar kram vorhanden ist?
Ich bin die Änderungen noch einige male durchgegangen es ist alles da wos hin soll :)
EDIT:
Das hier hat in meiner details.html gefehlt:
Photo Comments
<a name="comments"></a>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top"><strong>{lang_author}</strong></td>
<td valign="top"><strong>{lang_comment}</strong></td>
</tr>
{comments}
</table>
{comment_form}
{endif allow_comments}
Danke für deine Mühe :)
Gruß Jens
-
Hallo,
ja ist ja logisch!
Das muss wieder rein:
{if allow_comments}
<a name="comments"></a>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="head1" valign="top">
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top" class="head1">{lang_author}</td>
<td valign="top" class="head1">{lang_comment}</td>
</tr>
{comments}
</table>
</td>
</tr>
</table>
<br />
{comment_form} {endif allow_comments} <br />
<br />
Des weiteren, gucke dir bitte noch einmal Step #4 an :D
Musste noch etwas korrigieren. Aber nur der obere Teil
Somit muss:
"captcha_comments" => (bool)$captcha_enable_comments
mit das hier ersetzt werden:
"captcha_comments" => (bool)$captcha_enable_comments,
"comment_popup_close" => $lang['comment_popup_close'],
"comment_popup_height" => $config['comment_popup_height'],
"comment_popup_width" => $config['comment_popup_width']
Dann sollte auch alles funktionieren!
-
Hallo,
ja ist ja logisch!
Das muss wieder rein:
Des weiteren, gucke dir bitte noch einmal Step #4 an :D
Musste noch etwas korrigieren. Aber nur der obere Teil
Somit muss:
"captcha_comments" => (bool)$captcha_enable_comments
mit das hier ersetzt werden:
"captcha_comments" => (bool)$captcha_enable_comments,
"comment_popup_close" => $lang['comment_popup_close'],
"comment_popup_height" => $config['comment_popup_height'],
"comment_popup_width" => $config['comment_popup_width']
Dann sollte auch alles funktionieren!
Hi,
das ist mir jetzt auch klar ;)
So nochmal überarbeitet, funzt :thumbup:
Danke für den MOD und die nette Beta-Phase ;)
Das nächste mal kannste gleich via Team-Viewer dazukommen das geht
schneller und wir reden nicht aneinander vorbei hehe...
Gruß Jens
-
Na endlich :D
Ich wusste nicht mehr weiter ^^
-
Hi,
Na endlich :D
Ich wusste nicht mehr weiter ^^
Hi,
war auch kurz vorm kapitulieren ;) konnte ja nicht ahnen das der MOD
die Tags für die Kommentare vorraussetzt.
MfG Jens
-
Und ich konnte mir ja nicht denken das du die rausnimmst :P
Naja nun geht ja alles ^^
-
Und ich konnte mir ja nicht denken das du die rausnimmst :P
Naja nun geht ja alles ^^
Hi,
nimm das vielleicht mal mit in deine readme auf bevor der nächste sucht der
seine Templates so vergewaltigt wie ich.
Ich bereite gerade ein: [Style] Background Image vor, weißt du zufällig ob es
sowas schon gibt was ich mit den gängigen Suchworten nicht finde?
Das Teil setzt dir den BG immer Fullscreen zentriert, ich bastel noch an einem
dynamischen wechsel... hast du evtl. schon bemerkt vorhin als du auf der Seite warst?!
Gruß Jens
-
Ich glaube soetwas gibt es schon
http://www.4homepages.de/forum/index.php?topic=25987.msg141707#msg141707
Kann sein das du was anderes meinst!
Da habe ich nicht drauf geachtet oder meinst du das mit den Farben? Dann habe ich das gesehen, ja!
-
Hi Benny,
ich hab da doch noch 2 "kleine" Probleme:
Zum einen fehlt bei mir oben beim Popup der Titelleisten Hintergrund:
(Ich nehme an das es mit dem Template zu tun hat (Iceberg)
(http://www.xup.in/tn/2010_11/98749663.jpeg) (http://www.xup.in/dl,98749663/temp.jpg/)
Zum anderen wie sieht es aus mit der Positionierung des Popup Fensters, wie kann ich diese beeinflussen?
Ich möchte das Popup relativ weit nach oben setzen damit es komplett auf den Bildschirm passt.
Evtl. magst du sowas ja noch mit einbauen (ACP, zusätzlich zur Größe noch Position bestimmten)
Ich hab das hier in der js gefunden:
$('#comment_popup').css({
top: getPageScroll()[1] + (getPageHeight() / 10),
left: 385.5
}).show()
Verstehen tue ich das nicht so ganz die erste Zeile verstehe ich so das, dass Popup nach einem
zehntel der Seitenhöhe angezeigt wird, aber what the hell ist bitte left: 385.5?
Wenn das die mitte sein soll fress ich nen Besen, eigentlich macht das doch margin: auto;
Hilfe bitte :)
Gruß Jens
-
Das gucke ich mir mal morgen an :D
-
Das gucke ich mir mal morgen an :D
Ja bitte ;)
EDIT:
Fährte...
evtl. ist das der z-index meiner anderen Seiten-Elemente, das Popup war zunächst komplett
im Hintergrund, habs dann nach vorne geholt mit hohem z-index, evtl. hat die Titelleiste
einen eigenen css part, dann muss der natürlich auch nach vorn...
Ich schau später evtl. hat sich das bis morgen erledigt...
EDIT2: Erledigt ;)
Ich hab mir ein div mit entsprechendem style im die gesamte Tabelle in der comment popup gelegt:
(http://www.xup.in/tn/2010_11/35897886.jpeg) (http://www.xup.in/dl,35897886/temp.jpg/)
EDIT3:
Die Größeneinstellung ist irgendwie strange, manche Werte gehen und stimmen und einige haben dann
echt werkwürdige auswirkungen auf die abmessungen des popup...
EDIT4:
Innerhalb des Comment Popups funktioniert der tinymce nicht, er ist sichtbar aber nicht benutzbar, nach einem
Austausch mit Benny kam mir die Idee das es daran liegen muss das hier javascript innerhalb eines javascripts
ausgeführt werden soll was soweit ich weiß nicht funktioniert.
Kann das jemand bestätigen?
Gruß Jens