Wie installiert man den Real Upload Progressbar Mod

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
acidrain
Mitglied
Beiträge: 185
Registriert: 05.12.2011 05:06

Wie installiert man den Real Upload Progressbar Mod

Beitrag von acidrain »

hallo

Also ich hab mir den Real Upload Progress Bar Mod heruntergeladen
Aber es gibt keine XML install datei ..und mit automod gehts auch nicht.
wie kann ich das installieren??

bitte kennt das jemand==
infos:
Mod:http://www.phpbb.com/community/viewtopi ... &t=1740135
Mein Board: www.warez-load.net
Mein Style : Prosilver
Version : 3.0.9
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12256
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von Mahony »

Hallo
Du musst die install.xml in deinem Browser öffnen und der Anleitung folgen
In diesem Download-Paket http://www.serva1.net/?dl_id=10 befindet sich die benötigte install.xml

P.S. Beachte dabei folgenden Hinweis:
Requirements: uploadprogress package installed and enabled on your server.

After installation of the uploadprogress package go to you php.ini file and add the following to the very end -
Grüße: Mahony
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
acidrain
Mitglied
Beiträge: 185
Registriert: 05.12.2011 05:06

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von acidrain »

danke aber ich kanns nicht gut öffnen...alles kommt nur in einer schlange und da seh
ich nicht was ich machen soll.....
egal mit welchen editor oder explorer ichs aufmache es ist immer ne schlange..

und was bedeutet der hinweis=??

heist das wenn ich nen webspace habe und zugriff zur datenbank habe
das ich es installieren kann?==??
Benutzeravatar
Miriam
Mitglied
Beiträge: 12310
Registriert: 13.10.2004 07:18
Kontaktdaten:

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von Miriam »

Deine Fehlerbeschreibung ist traumhaft, Acid.
Da stand doch eine eindeutige Fehlermeldung:
install.xml hat geschrieben:XML-Verarbeitungsfehler: Nicht übereinstimmendes Tag. Erwartet: </script>.
Adresse: file:///blablabla/install.xml
Zeile Nr. 288, Spalte 5: </diy-instructions>
------------------^

Finde in der install.xml:

Code: Alles auswählen

<script type="text/javascript" src="js/jquery.js">
tausche aus gegen:

Code: Alles auswählen

<script type="text/javascript" src="js/jquery.js">
ODER gegen:

Code: Alles auswählen

<![CDATA[<script type="text/javascript" src="js/jquery.js">]]>
Gruss, Miriam.
Ich schmeiß' alles hin und...
... lasse es liegen
acidrain
Mitglied
Beiträge: 185
Registriert: 05.12.2011 05:06

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von acidrain »

danke für eure antworten

@miriam welche fehlerbeschreibung=??ich habe keine fehlerbeschreibung gegeben..
ich hab nur gesagt das ich die install.xml datei wenn ichs öffne nur in ner schlange sehe.


EDIT:also ich habe jetzt in der install xml das gefunden:

Code: Alles auswählen

<action type="after-add"><![CDATA[<script type="text/javascript" src="js/jquery.js"></script>
ist eigentlich genau das was ich suchen sollte nur das, das hier <action type="after-add"> davor steht.

ich habe jetzt schon alle zwei vorschläge probiert aber jetzt zeigt er mir die install nur zur hälfte an.

hier mal die ganze install wie ich sie sehe:

Code: Alles auswählen

http://opensource.org/licenses/gpl-license.php GNU General Public License v2 Real Upload Progress Bar This is a real Upload Progress Bar with additional connection information for a user who uploads a file to your forum. admin@serva1.net ServA1 2.0.1 easy 300 3.0.7 2009-08-15 1.0.0 Initial Release. 2009-08-16 1.0.1 Changed $GET requests to use the request_var function according to PhpBB coding guidelines. Updated the install.xml file to better fit PhpBB mod coding standards. 2010-03-27 2.0.0 Updated mod to use the latest jQuery Progress Bar plugin, from version 1.1.0 to version 2.0 Added filesize and uploaded amount to progress bar display Numerous small bugfixes 2010-04-02 2.0.1 Added Chrome and Safari browsers graceful degradation 2011-12-01 2.0.2 Removed html from Progress Bar image alt and title attributes. Now displays correctly even without Progress Bar images uploaded. Install is now AutoMod compatible, fixed SubSilver installation errors. Better DIY instructions. Updated the included jquery.js to version 1.7.1 Cleaned jquery.progressbar.js and added better documentation for easier user customization. Install instructions function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_attach_box = true) { global $template, $config, $phpbb_root_path, $phpEx, $user, $auth; $uuid = uniqid(); $template->assign_vars(array( 'S_SHOW_ATTACH_BOX' => $show_attach_box, 'S_HAS_ATTACHMENTS' => sizeof($attachment_data), 'FILESIZE' => $config['max_filesize'], 'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '', )); $template->assign_vars(array( 'S_SHOW_ATTACH_BOX' => $show_attach_box, 'S_HAS_ATTACHMENTS' => sizeof($attachment_data), 'FILESIZE' => $config['max_filesize'], 'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '', 'S_UP_ID' => $uuid, )); <!-- INCLUDE overall_header.html --> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.progressbar.js"></script> <script type="text/javascript"> var progress_key ='{S_UP_ID}'; $(document).ready(function() {$("#uploadprogressbar").progressBar();}); function beginUpload() { $("#uploadprogressbar").fadeIn(); var i = setInterval(function() { $.getJSON("upload_progress.php?id=" + progress_key, function(data) { if (data == null) { clearInterval(i); return false; } var percentage = Math.floor(100 * parseInt(data.bytes_uploaded) / parseInt(data.bytes_total)); var uspeed = parseInt(data.speed_last); var totalsize = parseInt(data.bytes_total); var avuspeed = parseInt(data.speed_average); var timeleft = (totalsize/avuspeed); var eta=timeleft-(parseInt(data.time_last)-parseInt(data.time_start)); var uploaded = parseInt(data.bytes_uploaded); var filename = data.filename; var filecount = parseInt(data.files_uploaded); var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; var is_safari = navigator.userAgent.toLowerCase().indexOf('safari') > -1; if (is_chrome == true || is_safari == true) { return false; } $("#uploadprogressbar").progressBar(percentage,uspeed,totalsize,avuspeed,eta,uploaded,filename,filecount);});}, 1500); return true; } </script> <noscript>Enable JavaScript in your browser for the Upload Progress meter and other useful functions to work.</noscript> <form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> <form id="postform" onsubmit="beginUpload();" enctype="multipart/form-data" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> <input id="progress_key" name="UPLOAD_IDENTIFIER" type="hidden" value="{S_UP_ID}" /> <fieldset class="fields2"> <dl> <dt></dt> <dd><span class="progressbar" id="uploadprogressbar"></span></dd> </dl> .clear { display: block; clear: both; font-size: 1px; line-height: 1px; background: transparent; } #uploadprogressbar { display: none; } <script type="text/javascript"> /** * Show upload progress bar */ function popup_progress_bar() { close_waitscreen = 0; // no scrollbars popup('{UA_PROGRESS_BAR}', 400, 200, '_upload'); } </script> <!-- IF S_CLOSE_PROGRESS_WINDOW --> <script type="text/javascript"> close_waitscreen = 1; </script> <!-- ENDIF --> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.progressbar.js"></script> <script type="text/javascript"> var progress_key ='{S_UP_ID}'; $(document).ready(function() {$("#uploadprogressbar").progressBar();}); function beginUpload() { $("#uploadprogressbar").fadeIn(); var i = setInterval(function() { $.getJSON("upload_progress.php?id=" + progress_key, function(data) { if (data == null) { clearInterval(i); return false; } var percentage = Math.floor(100 * parseInt(data.bytes_uploaded) / parseInt(data.bytes_total)); var uspeed = parseInt(data.speed_last); var totalsize = parseInt(data.bytes_total); var avuspeed = parseInt(data.speed_average); var timeleft = (totalsize/avuspeed); var eta=timeleft-(parseInt(data.time_last)-parseInt(data.time_start)); var uploaded = parseInt(data.bytes_uploaded); var filename = data.filename; var filecount = parseInt(data.files_uploaded); var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; var is_safari = navigator.userAgent.toLowerCase().indexOf('safari') > -1; if (is_chrome == true || is_safari == true) { return false; } $("#uploadprogressbar").progressBar(percentage,uspeed,totalsize,avuspeed,eta,uploaded,filename,filecount);});}, 1500); return true; } </script> <noscript>Enable JavaScript in your browser for the Upload Progress meter and other useful functions to work.</noscript> <td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td> </tr> <tr> <td class="row1"></td> <td class="row2"><span class="progressbar" id="uploadprogressbar"></span></td> </tr> <form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}> <form id="postform" onsubmit="beginUpload();" enctype="multipart/form-data" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> <input id="progress_key" name="UPLOAD_IDENTIFIER" type="hidden" value="{S_UP_ID}" /> .username-coloured { font-weight: bold; } #uploadprogressbar { display: none; } This mod requires JSON and the PHP UPLOADPROGRESS PACKAGE to be installed on your server. Check your phpinfo file for these. The latest UploadProgress build can be found here - http://pecl.php.net/package/uploadprogress Once the uploadprogress package is installed open your servers php.ini file and at the very end add - extension=uploadprogress.so Now reboot the server and remember to purge your forums cache and refresh the theme and template cache after installing. Delete from your posting_layout.html (ProSilver) or posting_attach_body.html (SubSilver) template if you are already calling this file somewhere when an attachment is being uploaded. If you want to change the colour of the progress bar, take a look in the /contrib/images/ folder and see if there is something that you like there. Now edit /js/jquery.progressbar.js, at around line 33 to 37 - barImage : { 0: 'images/progressbg_red.gif', 30: 'images/progressbg_orange.gif', 70: 'images/progressbg_green.gif' }, In the above example (default settings) the progress bar starts as a red color from 0% to 30%. Once 30% has been reached the bar color changes to orange, then at 70% it changes to green. You can change these numbers (precentages) to whatever you like along with different bar color combinations. If you only want one color then delete all the lines except for the first. The last line has to end without a comma so be sure you remove that as well, like so - barImage : { 0: 'images/progressbg_green.gif' }, If you would like this mod installed for you and/or uploadprogress.so with all it's dependencies email me through the contact form at ServA1.net - http://www.serva1.net/contact/ 
egal mit welchen editor oder explorer ich sie öffne..
Benutzeravatar
Miriam
Mitglied
Beiträge: 12310
Registriert: 13.10.2004 07:18
Kontaktdaten:

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von Miriam »

Nochmal.....

Ich mache es jetzt noch etwas genauer
finde in der install.xml:

Code: Alles auswählen

Delete <script type="text/javascript" src="js/jquery.js"> from your posting_layout.html (ProSilver) or posting_attach_body.html (SubSilver) template if you are already calling this file somewhere when an attachment is being uploaded. 
tausche aus gegen:

Code: Alles auswählen

Delete <![CDATA[<script type="text/javascript" src="js/jquery.js">]]> from your posting_layout.html (ProSilver) or posting_attach_body.html (SubSilver) template if you are already calling this file somewhere when an attachment is being uploaded. 
und die Datei modx.prosilver.en.xsl muss sich im gleichen Verzeichnis wie die install.xml befinden.

P.S.: Ich hatte gehofft, dass du mit dem Hinweis ->>>
install.xml hat geschrieben:XML-Verarbeitungsfehler: Nicht übereinstimmendes Tag. Erwartet: </script>.
Adresse: file:///blablabla/install.xml
Zeile Nr. 288, Spalte 5: </diy-instructions>
------------------^
etwas hättest anfangen können. Schade.
Gruss, Miriam.
Ich schmeiß' alles hin und...
... lasse es liegen
acidrain
Mitglied
Beiträge: 185
Registriert: 05.12.2011 05:06

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von acidrain »

danke

du bist echt toll jetzt gehts thx...


weist du vl auch noch was für mein anderes problem das ich schon seit monaten habe?
also: mein board verschickt keine aktivierungs emails
obwohl unter ACP-Algemein-Board einstellungen-PHP Funktion-aktiviert ist
und bei registrierung auch durch benutzer (aktivierung durch email) eingestellt ist.
aber es wird nichts verscickt.
unter wartung wird auch kein fehler angezeigt.

könntest du vl mal vorbeischauen und es ansehen wenn ich dir meine daten gebe??
Benutzeravatar
Shorty1968
Mitglied
Beiträge: 1894
Registriert: 08.09.2011 17:37

Re: Wie installiert man den Real Upload Progressbar Mod

Beitrag von Shorty1968 »

acidrain hat geschrieben: weist du vl auch noch was für mein anderes problem das ich schon seit monaten habe?
also: mein board verschickt keine aktivierungs emails
obwohl unter ACP-Algemein-Board einstellungen-PHP Funktion-aktiviert ist
und bei registrierung auch durch benutzer (aktivierung durch email) eingestellt ist.
aber es wird nichts verscickt.
unter wartung wird auch kein fehler angezeigt.

könntest du vl mal vorbeischauen und es ansehen wenn ich dir meine daten gebe??
Das wird warscheinlich an deinen server einstellungen liegen,da solltest du dich mit deinem Hoster (Seiten Betreiber) in verbindung setzen!
Antworten

Zurück zu „[3.0.x] Mod Support“