• Login
  • Register
  • Search
  1. Dashboard
  2. Forum
    1. Unresolved Threads
  3. Members
    1. Recent Activities
    2. Users Online
    3. Team-Mitglieder
    4. Trophy
    5. Search Members
  4. Lexicon
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Lexikon
  • More Options
  1. Informatik Forum
  2. Webmaster & Internet
  3. Development

Woltlab Plugin Hilfe

  • PixelPatron
  • February 19, 2025 at 3:56 PM
  • Thread is Resolved
  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 19, 2025 at 3:56 PM
    • #1

    Moinsen,

    ich suche auf diesem Wege Hilfe beim Start einer Entwicklung eines WBB Plugins .. Bin bereits der anleitung gefolgt aber es kommen immer wieder Fehler.

    Aktuell sieht es so aus das er deswegen meckert:

    Chatgpt ist mir dabei leider keine grosse Hilfe da scheinbar deren Wissenstand zu veraltet ist. Vielleicht hat jemand den entscheidenen Hinweis dazu. Ansonsten kann ich das Plugin (ist sowieso nur das Demo Dings) auch hier anhängen.

    PS: Das ist mein erster Mal mit Woltlab.

    Liebe Grüsse

    Alexander

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

  • Go to Best Answer
  • Syntafin
    27
    Syntafin
    LISTstack Dev
    Reactions Received
    508
    Points
    7,962
    Trophies
    2
    Posts
    1,446
    • February 19, 2025 at 4:02 PM
    • #2

    Das ein LLM bei etwas das es nicht kennt nicht hilft, ist klar.

    Aber wo genau tritt denn der Fehler auf? GZipFileClass klingt stark nach entpacken einer Archiv Datei.

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 19, 2025 at 4:06 PM
    • #3

    Danke für deine Antwort.

    Tatsächlich tritt der Fehler beim "Installieren" auf und chatgp sagt zu dem Fehler:

    Quote

    1. Defektes oder leeres Archiv

    2. Falsches Packen

    Ich kann beides nicht nachvollziehen da ich das Archiv bereits selber entpackt habe und es genauso rauskommt wie es soll:

    Falls jemand das Ding anschauen möchte: https://easyupload.io/1kjerv

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

  • Syntafin
    27
    Syntafin
    LISTstack Dev
    Reactions Received
    508
    Points
    7,962
    Trophies
    2
    Posts
    1,446
    • February 19, 2025 at 4:09 PM
    • #4

    Kannst du das Archiv mal senden? Ich gehe davon aus das WinRAR wie so üblich scheiße gebaut hat :thinking_face:.

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 19, 2025 at 4:10 PM
    • #5
    Quote from Syntafin

    Kannst du das Archiv mal senden? Ich gehe davon aus das WinRAR wie so üblich scheiße gebaut hat :thinking_face:.

    Habs mal hochgeladen: https://easyupload.io/1kjerv

    Hoffe die Seite ist seriös .. :grinning_squinting_face: nur bisschen viel Werbung .. :frowning_face:

    ABER das ist gar nicht mit WINRAR gepackt sondern mit 7zip .. bzw auch mal mit vscode über das Terminal (kann sein das das terminal winrar nutzt .. sollte es aber eigentlich nicht automatisch oder?)

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

  • Syntafin
    27
    Syntafin
    LISTstack Dev
    Reactions Received
    508
    Points
    7,962
    Trophies
    2
    Posts
    1,446
    • February 19, 2025 at 4:13 PM
    • #6

    Kannst du das auch per Discord senden? Die Seite geht nicht :thinking_face: (Also die lädt sich zu tode...)

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 19, 2025 at 4:14 PM
    • #7
    Quote from Syntafin

    Kannst du das auch per Discord senden? Die Seite geht nicht :thinking_face: (Also die lädt sich zu tode...)

    Hab ich getan.

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

  • Syntafin
    27
    Syntafin
    LISTstack Dev
    Reactions Received
    508
    Points
    7,962
    Trophies
    2
    Posts
    1,446
    • February 19, 2025 at 4:21 PM
    • Best Answer
    • #8

    Feststellung:

    Die files.tar und templates.tar innerhalb des Archivs sind falsch verpackt gewesen :) .

    Das waren GZip Dateien mit TAR als Endung, darin aber nochmal TAR-Dateien und defekte Archive oben drauf.


    Kleine Hilfe beim Packen, als GitHub Action:

    YAML
    name: Release
    
    on:
      push:
        tags: ['*']
      workflow_dispatch:
    
    jobs:
      build:
        runs-on: ubuntu-latest
        permissions:
          contents: write
    
        steps:
          - uses: actions/checkout@v4
    
          - uses: actions/setup-node@v3
            with:
              node-version: 18
    
          - name: Create package
            run: |
              rm -rf *.tar.gz
              npx --yes wspackager@latest
    
          - name: Check file existence
            id: check_files
            uses: andstor/file-existence-action@v2.0.0
            with:
              files: "*.tar.gz"
    
          - name: On Build Failure
            if: steps.check_files.outputs.files_exists == 'false'
            run: |
              echo "Packaging FAILED" && exit 1
    
          - name: Release
            uses: softprops/action-gh-release@v0.1.15
            if: startsWith(github.ref, 'refs/tags/') && steps.check_files.outputs.files_exists == 'true'
            with:
              files: "*.tar.gz"
    Display More

    Von wem ich es habe... weiß ich so genau nicht mehr, glaube Hanashi oder doch SoftCreatR.

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

    Edited once, last by Syntafin (February 19, 2025 at 9:24 PM).

  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 19, 2025 at 4:49 PM
    • #9

    Ok, also es gab einige Fehler. Angefangen hat es mit dem fehlerhaften Packen der Files.tar und Templates.tar .. dumm gewesen ..

    Der zweite Fehler war dann das die README.md anscheinend leer nicht genommen wird ..

    JETZT geht aber alles und ich danke Syntafin das sie wie immer geholfen hat!

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

  • PixelPatron February 19, 2025 at 4:49 PM

    Selected a post as the best answer.
  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 20, 2025 at 12:47 AM
    • #10

    Kann mir vielleicht jemand erklären wie ich eine system box erstellen mit meinem Plugin?

    Und ja .. Ich kenne die docs :)/aber die erklären das so komisch ...

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

    Edited once, last by PixelPatron (February 20, 2025 at 2:16 AM).

  • Syntafin
    27
    Syntafin
    LISTstack Dev
    Reactions Received
    508
    Points
    7,962
    Trophies
    2
    Posts
    1,446
    • February 20, 2025 at 2:56 AM
    • #11

    Du brauchst einen Controller im entsprechenden Namespace der die Box erstellt.

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • PixelPatron
    20
    PixelPatron
    github.com/pixelpatron90
    Reactions Received
    166
    Points
    4,146
    Posts
    735
    Einträge
    3
    • February 20, 2025 at 2:07 PM
    • #12

    Prinzipell weiss ich das. Das Problem ist ich sehe meinen Fehler mal wieder nicht:

    In der package.xml habe ich:

    Code
    <boxType>
    	<identifier>discordShoutbox</identifier>
    	<className>wcf\system\box\DiscordShoutboxBox</className>
    	<name>Lorem Ipsum Name</name>
    	<description>Lorem Ipsum</description>
    	<objectType>com.woltlab.wcf.box.system</objectType>
    </boxType>

    Klappt nicht ... natürlich sind die Klasse und das TPL dazu erstellt.

    2te Variante:

    Seperate box.xml mit instructions in der package.xml:

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/box.xsd">
        <import>
    		<!-- box controllers -->
    		<type>
    			<name>com.evarioo.discord-toolbox.DiscordShoutbox</name>
    			<definitionname>com.woltlab.wcf.boxController</definitionname>
    			<classname>wbb\system\box\DiscordShoutbox</classname>
    		</type>
    		<!-- /box controllers -->
    	</import>
    </data>
    Display More

    pixelpatron-100000?style=for-the-badge&logo=X&logoColor=white&labelColor=000000&color=FF0000 pixel_patron-100000?style=for-the-badge&logo=Discord&logoColor=white&labelColor=000000&color=FF0000

    EVARIOO - DISCORD

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login

  1. Privacy Policy
  2. Legal Notice
Website-Design: Fury - © NetzLiving GmbH