Page 1 of 1

EQDKP Integration in Board3

Posted: 17. May 2008 20:51
by Talantyyr
Hallo!

Nach langem herumprobieren und googlen hab ichs leider selbst nicht geschafft. Es gibt zwar Lösungen für das phpmagic Portal, aber das ist nicht mal halb so schön wie das Board3 ;) Nachdem ich mir sicher bin, dass davon mehrere Leute profitieren würden, hab ich mir dann gedacht, frag die netten Leute im Forum, da haben dann alle was davon :)

Hier mal meine Probleme. Ich würde gerne das EQDKP in das board3 Portal integrieren, so dass der EQDKP Raidplaner (und die Unterseiten) im Portal geöffnet werden.
Also ich hab mal mit der faq.php rumprobiert, aber ich keine Ahnung, wie ich es schaffe, da drin die (php) Seite zu integrieren.

Das EQDKP hab ich bereits von seinem Menü befreit. Dazu hab ich einfach 2tes Style angelegt, in dem das Menü gar nicht erst angezeigt wird, und eine 2te Variante, wo noch alles dran ist (zur Administration)
http://www.incendi.eu/raid/listraids2.php
soll in http://www.incendi.eu angezeigt werden.

Hier noch das voll EQDKP, falls es jemanden interessiert: http://www.incendi.eu/raid/listraids.php

Edit: Ich hab jetz folgendes Probiert:
- portal.php kopiert -> portal2.php
- portal_body.html kopiert -> portal_body2.html
- portal_body2.html editiert -> Anstatt des Announcenments einfach mal das html template vom EQDKP includet. ( /raid/.../listraids2.html)
-> Allerdings sucht der jetzt die EQDKP dateien im templates Pfad von phpbb (und da wird er natürlich nicht fündig.
Link: http://www.incendi.eu/portal2.php

Hat also nicht geklappt. -.-

Ich bin über jede Hilfe / Lösungsansätze dankbar.

Grüße,
Chris

Re: EQDKP Integration in Board3

Posted: 19. May 2008 22:01
by Talantyyr
Ok, ich habs geschafft!

Für diejenigen, die das selbe Problem haben, hier mal eine kleine Erklärung. Bei Bedarf kann ichs auch etwas genauer beschreiben.

portal.php kopiert -> portal2.php
templates/portal/portal_body.html kopiert -> portal_body2.html

In template/portal/block neue Datei erstellen. z.b. raid1.html

Code: Select all

<!--version $Id: attachments.html 216 2008-04-29 07:23:22Z kevin74 $ //-->
    <table class="tablebg" cellspacing="1" width="100%">
       <tr>
          <th class="thTop" colspan="2" height="28">Teamspeak</th>
       </tr>
       <tr class="row1">
          <td>
          	<iframe src="raid/listraids2.php" width="100%" height="300" frameborder="0"></iframe> 
          </td>
       </tr>
    </table>
    <br />

Hier den richtigen Pfad zu euren EQDKP php Dateien angeben.

Code: Select all

<!-- IF S_DISPLAY_ANNOUNCEMENTS -->
suchen

Code: Select all

		<!-- IF S_DISPLAY_ANNOUNCEMENTS -->
			<!-- INCLUDE portal/block/raid.html -->

ergebnis: http://www.incendi.eu/portal2.php

Noch nicht ganz sooo elegant, aber ist doch schon mal was :)

Für eventuelle Verbesserungsvorschläge bin ich gerne offen ;)

Edit:

Ok, leider ist die Lösung auch mist...
ich seh grad, wenn man nen Link anklickt, wird ne Seite in dem iFrame geöffnet, und dieser skaliert sich net automatisch...
...
ich gebs auf, da meine PhP kentnisse da leider nicht ausreichen :(

Re: EQDKP Integration in Board3

Posted: 12. June 2009 04:25
by tring2200
My website is a Guild Web Site and I would love to get this integrated, can someone translate this to English, I would greatly appreciate it.

Tim

Re: EQDKP Integration in Board3

Posted: 22. June 2009 19:48
by dro
okay here we go:
the whole thing is based on using the announcemnt feature of board3 for the display of eqdkp in board3

FIRST:

Copy:

portal.php --> portal2.php
templates/portal/portal_body.html --> portal_body2.html


SECOND:

Go to template/portal/block and create new file named e.g. raid1.html and fill it with this code:

Code: Select all

<!--version $Id: attachments.html 216 2008-04-29 07:23:22Z kevin74 $ //-->
    <table class="tablebg" cellspacing="1" width="100%">
       <tr>
          <th class="thTop" colspan="2" height="28">Teamspeak</th>
       </tr>
       <tr class="row1">
          <td>
             <iframe src="raid/listraids2.php" width="100%" height="300" frameborder="0"></iframe>
          </td>
       </tr>
    </table>
    <br />
remember to post the right path to your eqdkp in that code.



THIRD:

go to styles/YOURSTYLE/template/portal and open portal_body.html

find:

Code: Select all

<!-- IF S_DISPLAY_ANNOUNCEMENTS -->
REPLACE:

Code: Select all

      <!-- IF S_DISPLAY_ANNOUNCEMENTS -->
         <!-- INCLUDE portal/block/raid.html -->



hopefully that was a little helpful @tring2200

Re: EQDKP Integration in Board3

Posted: 24. June 2009 17:16
by tring2200
Thank you, I will be working on this today, I really appreciate this.

Tim

Re: EQDKP Integration in Board3

Posted: 24. June 2009 17:45
by Mike
1. This Block is for subsilver2 Templates only and besides not compatible with B3P1.0.3
2. If you place the include after <!-- IF S_DISPLAY_ANNOUNCEMENTS --> , you always have to activate the announcement Block too, to show your Raid-Block (makes no sense)
3. Why copy and rename portal.php?
4. You forget to translate his EDIT:
Edit:

OK, it's a bad solution...
If you klick a Link, the Site will be open into this iFrame but wouldn't scaled quite correct ...

Re: EQDKP Integration in Board3

Posted: 14. July 2009 09:16
by ahmiquilena
Is this mod still in development? I've been wanting to add a "next raids" block into my portal, but this solution would work too.
I just want raidplanner integrated somehow within Board3.

The instructions to try this out, are not quite clear though :(