You still have to setup your template to show multiple rows
- Code: Select all
<!-- BEGIN posts -->
Subject: {posts.POST_SUBJECT}
Post: [posts.POST_TEXT}
<!-- END posts -->
I'll add more to this later such as a link to the topic, poster name and more.
<!-- BEGIN posts -->
Subject: {posts.POST_SUBJECT}
Post: [posts.POST_TEXT}
<!-- END posts -->







Warning: include(./forum/common.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/nrg3.de/httpdocs/test2.php on line 17
Warning: include() [function.include]: Failed opening './forum/common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/nrg3.de/httpdocs/test2.php on line 17
Fatal error: Call to a member function session_begin() on a non-object in /var/www/vhosts/nrg3.de/httpdocs/test2.php on line 20

<?php $phpbb_root_path = '../../';<?php $phpbb_root_path = 'http://forum.nrg3.de/;

Highway of Life wrote:You should be able to, but you need to find out where your forum is located.
It looks like you have a VPS, so I'm guessing it's something like:
/var/www/vhosts/nrg3.de/forum/ or some such thing. (just a guess)
And in that case, your phpbb_root_path should be:
- Code: Select all
<?php $phpbb_root_path = '../../';
if all else fails, you can try using an absolute path... I've never tested it before, but if you can't get anything else to work, it might be worth a try.
- Code: Select all
<?php $phpbb_root_path = 'http://forum.nrg3.de/;
<?php $phpbb_root_path = '/var/www/vhosts/nrg3.de/forum/';

<?php $phpbb_root_path = '';Fatal error: Cannot redeclare class bbcode_firstpass in /var/www/vhosts/nrg3.de/subdomains/forum/httpdocs/includes/message_parser.php on line 869
<?php $phpbb_root_path = './';Rafterman wrote:mmmh all this did´t work.
now i just take the testfile into my forum dir and tested it with
- Code: Select all
<?php $phpbb_root_path = '';
but then i get this error here
- Code: Select all
Fatal error: Cannot redeclare class bbcode_firstpass in /var/www/vhosts/nrg3.de/subdomains/forum/httpdocs/includes/message_parser.php on line 869




Users browsing this forum: Magpie Crawler and 3 guests