Seite 1 von 1

Wo wir der Text Konvertiert? {L_USERNAME}

Verfasst: 09.02.2011 21:13
von VIP3R
Hallo,

ich bin dabei ein kleines externes Script zu Schreiben. (extern heißt ich habe eine neue Datei angelgt.)
Ich will gerne auf die Texte/Variabelen von Phpbb zurück greifen.
Was muss ich dafür Includen damit die Texte zb wie das Hier "{L_USERNAME}" als "richtiger" Text wieder ausgegeben wird? Ich bin gerade mal wieder etwas überfordert.
Ich weiß auch nicht wie ich danach am besten suchen soll.

Danke
VIP3R

Re: Wo wir der Text Konvertiert? {L_USERNAME}

Verfasst: 09.02.2011 21:17
von Mahony

Re: Wo wir der Text Konvertiert? {L_USERNAME}

Verfasst: 11.02.2011 15:03
von VIP3R
Irgendwie läuft das alles noch nicht so wie ich will!
also ich will eine etwas abgewandelte Feedseite erstellen.

bis jetzt sieht das so aus.

Code: Alles auswählen

<?xml version="1.0" encoding="utf-8"?>
<?php  
define('IN_PHPBB', true);  
// Specify the path to you phpBB3 installation directory.  
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);  
// The common.php file is required.  
include($phpbb_root_path . 'common.' . $phpEx);  
//your PHP and/or HTML code goes here   

?> 
<feed xmlns="http://www.w3.org/2005/Atom">
  <author>
    <name>Autor des Weblogs</name>
  </author>
  <title>Titel des Weblogs</title>
  <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
  <updated>2003-12-14T10:20:09Z</updated>
 
  <entry>
    <title>Titel des Weblog-Eintrags</title>
    <link href="http://example.org/2003/12/13/atom-beispiel"/>
    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
    <updated>2003-12-13T18:30:02Z</updated>
    <summary>Zusammenfassung des Weblog-Eintrags</summary>
    <content>Volltext des Weblog-Eintrags
         {LOGGED_IN_USER_LIST} 
     </content>
  </entry>
</feed>