Welcome, Guest. Please Login or Register.
May 04, 2024, 07:30:55 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  German User Help  |  Archiv  |  übersetzer gesucht ! « previous next »
Pages: [1] Reply Ignore Print
Author Topic: übersetzer gesucht !  (Read 2755 times)
Siberian...Husky
Jr. Member
**
Posts: 64


WWW
übersetzer gesucht !
« on: January 05, 2002, 10:10:42 PM »
Reply with quote

also ich kann ganz gut php. aba leider haperts bei eng ein wenig(und beim deutsch ganz sicher auch ;D). deswegen hab ich diese "anleitung" im mods forum nicht so ganz verstanden. wenn einer mal lange weile hat etc. kann er ja mal diesen text übersetzten.



THX im forraus.


Husky aka DER Schnuff aka The Siberian riesen Dogge ;D
Logged

Marko
Full Member
***
Posts: 113


ICQ - 134116193 WWW
Re:übersetzer gesucht !
« Reply #1 on: January 05, 2002, 10:15:30 PM »
Reply with quote

poste doch mal den englischen text hier rein.
Logged

cu BlackHunter
(I can't speak english very vell)
Siberian...Husky
Jr. Member
**
Posts: 64


WWW
Re:übersetzer gesucht !
« Reply #2 on: January 05, 2002, 10:18:07 PM »
Reply with quote

ok  :D


Quote from: Zef Hemel on December 18, 2001, 10:00:20 AMHow to pack your mod into a YaBB Package
  • Create a directory on your harddisk for example called mymod.
  • In there create a directory called Packages
  • In there you put your modification.mod, modification.txt and modification.php files (the .txt and .php ones are optional)
  • If additional files/images have to be uploaded to the board (additional images, sources) put them in the same directory with the standard YaBB directory structure
  • Your directory structure should look something like this now:
mymod/Packages/modification.mod
mymod/Packages/modification.txt
mymod/YaBBImages/additional.gif
mymod/Sources/superlib.php
  • Now with ftp create a folder in your YaBB SE directory, for example in your Packages folder: Packages/mymod and upload all the files in your local Packages folder you just created in there.
  • Go to your board to the Admin > Package Manager > Create a new package
  • In "Directory to pack" put the location of your "mymod" directory relative to your YaBB SE path. So in the example we gave that would be: mymod
  • In "Root directory" put the same as you put in "Directory to pack"
  • Choose the filename of the package you want to create, but make sure it's extention is .mod.yp
  • Click "Go!", your package will be created right now
  • If everything went alright you can download the package from your Packages directory now

How to create a mod

Packages/modification.mod
The modification.mod file looks much like the boardmod mods. To set the file you're currently modding you put in a <file> and </file> tag, for example:
<file>
index.php
</file>
or
<file>
Sources/BoardIndex.php
</file>
after that you can search for a sequence of characters/lines:
<search>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE';
$YaBBplver = 'YaBB SE';
</search>
and either replace it or add text after it:
<replace>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE Zef Edition :P';
$YaBBplver = 'YaBB SE ZEF';
</replace>
or
<add>
echo "Zef was here";
// Not very useful but who cares
</add>

The mod file consits of this multiple times typically. You can put several <search>es per file, just put in the <file> tag if you want to switch to another file.

Packages/modification.php (optional)
In the modification.php file you can put additional php commands (for instance for editing the database etc.) you can assume the database connection has already been created, so you can use mysql_query directly. Also the settings are loaded.

Packages/modification.txt (optional)
This is a normal text file with additional instructions, warnings, credits etc.

Logged

Marko
Full Member
***
Posts: 113


ICQ - 134116193 WWW
Re:übersetzer gesucht !
« Reply #3 on: January 05, 2002, 10:32:19 PM »
Reply with quote

Quote from: Siberian...Husky on January 05, 2002, 10:18:07 PMok  :D


Quote from: Zef Hemel on December 18, 2001, 10:00:20 AMWie du den Mod in YaBB SE installierst
  • Mach ein ordner auf derner Festplatte mit irgendeinem namen.
  • mach in diesme ordner nen unterordner packages
  • darin tust du modification.mod, modification.txt und modification.php (the .txt and .php ones are optional)
  • Wenn du noch nen Extra Bild hinzufügen musst, mach die selbe verzeichnisstruktur wie in deinem online-yabb
  • Deine Verzeichnisstruktur sollte jetzt sein:
mymod/Packages/modification.mod
mymod/Packages/modification.txt
mymod/YaBBImages/additional.gif
mymod/Sources/superlib.php
  • Nun uppst du das ganze in den ordner Packages, also: Packages/mymod .
  • Dann gehts du zu Admin > Package Manager > Create a new package
  • Nun wählst du den ordner mmymod aus
  • Ins "Root directory" tuts du das gleiche rein die in Diretory to pack"
  • Nun wähle einen Dateinamen aus, muss aber die Endung .mod.yp haben
  • Klick auf Go! um das Packages zu erstellen
  • Wenn du alles richtig gemacht hast, findest du nun deinen Mod im Ordner Packages
Wie man einen Mod erstellt

Packages/modification.mod
Das File modification.mod ist das gleiche wie Boardmiod. To set the file you're currently modding you put in a <file> and </file> tag, for example:
<file>
index.php
</file>
oder
<file>
Sources/BoardIndex.php
</file>
hiernach kannst du nacht einer sequence suchen (?!?)characters/lines:
<search>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE';
$YaBBplver = 'YaBB SE';
</search>
and either replace it or add text after it:
<replace>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE Zef Edition :P';
$YaBBplver = 'YaBB SE ZEF';
</replace>
oder
<add>
echo "Zef was here";
// Not very useful but who cares
</add>

The mod file consits of this multiple times typically. You can put several <search>es per file, just put in the <file> tag if you want to switch to another file.

Packages/modification.php (optional)
In the modification.php file you can put additional php commands (for instance for editing the database etc.) you can assume the database connection has already been created, so you can use mysql_query directly. Also the settings are loaded.

Packages/modification.txt (optional)
Hier kannste ne Installationsanleitung oder Schreiben, wer den Mod gemacht hat, etc....

ich übersetz es noch weiter
« Last Edit: January 06, 2002, 10:08:51 AM by BlackHunter » Logged

cu BlackHunter
(I can't speak english very vell)
Siberian...Husky
Jr. Member
**
Posts: 64


WWW
Re:übersetzer gesucht !
« Reply #4 on: January 05, 2002, 10:45:06 PM »
Reply with quote

THX :)
Logged

Marko
Full Member
***
Posts: 113


ICQ - 134116193 WWW
Re:übersetzer gesucht !
« Reply #5 on: January 06, 2002, 10:09:35 AM »
Reply with quote

den rest versteh ich nicht, den kann ja auch jemand anders übersetzen.
Logged

cu BlackHunter
(I can't speak english very vell)
curious
Full Member
***
Posts: 178


WWW
Wie man Mods schreibt
« Reply #6 on: January 07, 2002, 01:41:51 PM »
Reply with quote

Hier die vollständige Übersetzung:

Quote from: Zef Hemel on December 18, 2001, 10:00:20 AMWie Du Dein Mod in ein YaBB Package steckst
  • Erstelle ein Verzeichnis auf Deiner Festplatte, das Du z.B. mymod nennst.
  • Darin erstellst Du ein Verzeichnis, das Du Packages nennst
  • Dorthinein stellst Du Deine modification.mod, modification.txt und modification.php Dateien (die .txt und .php Dateien sind optional)
  • Wenn zusätzliche Dateien/Bilder auf das Board hochgeladen werden müssen (z.B. zusätzliche Grafiken, sources), dann erstelle sie in einem Verzeichnis, das der YaBB Standard Verzeichnisstruktur entspricht
  • Deine Verzeichnisstruktur sollte jetzt so aussehen:
mymod/Packages/modification.mod
mymod/Packages/modification.txt
mymod/YaBBImages/zusätzliches.gif
mymod/Sources/superlib.php
  • Erstelle jetzt via FTP einen Ordner in Deinem YaBB SE Verzeichnis, z.B. in Deinem Packages Ordner: Packages/mymod und lade alle eben in Deinem lokalen Packages Ordner erstellten Dateien hoch.
  • Geh auf Dein Board und in die Admin-Sektion > Package Manager > Create a new package
  • In "Directory to pack" gibst Du die Addresse Deines "mymod" Verzeichnisses relativ zu Deinem YaBB SE Pfad ein. In unserem Beispiel wäre das: mymod
  • In "Root directory" gibst Du das gleiche ein, wie in "Directory to pack"
  • Wähle den Dateinamen des Packages, das Du erstellen willst, aber achte darauf, daß die Dateiendung .mod.yp ist
  • Klick auf "Go!" und Dein Package wird erstellt
  • Wenn alles glatt gelaufen ist, kann man jetzt das Package von Deinem Packages Verzeichnis herunterladen.

Wie man einen Mod erstellt

Packages/modification.mod
Die .mod Datei sieht eigentlich genauso aus, wie die von Boardmod. Um die Datei, die Du gerade modifizierst auszuwählen, mußt Du ein <file> und </file> Tag einfügen. Z.B.:
<file>
index.php
</file>
oder
<file>
Sources/BoardIndex.php
</file>
Danach suchst Du nach einer Abfolge von Buchstaben und Zeilen:
<search>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE';
$YaBBplver = 'YaBB SE';
</search>
und entweder ersetzt die oder fügst Text danach ein:
<replace>
/* ### Version Info ### */
$YaBBversion = 'YaBB SE Zef Edition :P';
$YaBBplver = 'YaBB SE ZEF';
</replace>
oder
<add>
echo "Zef was here";
// Nicht sehr nützlich, aber wen stört's?
</add>

Die .mod Datei besteht normalerweise aus mehreren derartigen Abläufen solcher Anweisungen. Du kannst mehrmals <search> pro zu modifizierender Datei angeben, oder füge einfach das <file> Tag ein, um die zu modifizierende Datei zu wechseln.

Packages/modification.php (optional)
In die Datei modification.php kannst du zusätzliche PHP Kommandos/Befehle einbauen (z.B. zum Editieren der Datenbank), von denen Du annimmst, daß sie die Datenbank schon erstellt/generiert hat, so daß Du mysql_query (MySQL Anfrage?) direkt benutzen kannst. Außerdem werden die Einstellungen geladen.

Packages/modification.txt (optional)
Das ist eine normale Textdatei mit zusätzlichen Anweisungen, Warnungen und Credits etc.

« Last Edit: January 07, 2002, 01:47:04 PM by curious » Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  German User Help  |  Archiv  |  übersetzer gesucht ! « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.025 seconds with 20 queries.