MattF wrote:

Just out of curiosity, could you try editing this part out in the mail template in which it's generated:

X-Mailer: PunBB Mailer

and see if that makes any difference.

Does not makes any difference.  I think now that my problem is my VPS, not punBB...

Well, i've changed to smtp now.  But no mail is reaching hotmail!  Looks at the header now :

Return-path: <>
Delivery-date: Sun, 27 Jan 2008 23:29:04 -0500
Received: from [] (
    by with esmtpa (Exim 4.68)
    (envelope-from <>)
    id 1JJLcG-00056d-73
    for; Sun, 27 Jan 2008 23:29:04 -0500
Subject: test smtp 2
To: <>,
From: "God" <>
Date: Sun, 27 Jan 2008 23:29:03 -0500
MIME-Version: 1.0
Content-transfer-encoding: 8bit
Content-type: text/plain; charset=iso-8859-1
X-Mailer: PunBB Mailer

However, using the same address/smtp settings with Roundcube or a mail client, it works.  Look at the header generated by Roundcube :

Return-path: <>
Delivery-date: Sun, 27 Jan 2008 23:40:10 -0500
Received: from [] (
    by with esmtpa (Exim 4.68)
    (envelope-from <>)
    id 1JJLn0-0005fh-LE
    for; Sun, 27 Jan 2008 23:40:10 -0500
MIME-Version: 1.0
Date: Sun, 27 Jan 2008 23:40:10 -0500
From: <>
To: God <>
Subject: test from roundcube
Message-ID: <f7c60d7488a2159f28e7901e90279862@localhost>
User-Agent: RoundCube Webmail/0.1-rc1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Really not too different.  But it works !  I am really out of solution right now... sad

MattF wrote:

As Smartys mentioned however, make sure your PTR record and everything else are fine first. If after that you're still suffering the problem, it'll most likely ne'er improve no matter what you do.

What is PTR and how can I set them ?

MattF wrote:

No, I don't think either of those have to do with it
I would ask your host to set the reverse DNS for your IP to

Done..  still it doesn't works but I will have to wait a few hours for the DNS to propagate. 

Any ideas how to change Received: from nobody and the [b]Message-Id: part to something more..  intelligent ?

I've tried different things, and follow some of the old thread in this forum about this issue.  But nothing seems to help.  Emails sent from the forum, using the mail() php function won't reach Yahoo/Aol/Hotmail users.  Here's a header sample from one of my punbb emails :

Return-path: <info[at]>
Envelope-to: info[at]
Delivery-date: Sun, 27 Jan 2008 18:34:29 -0500
Received: from nobody by with local (Exim 4.68)
    (envelope-from <info[at]>)
    id 1JJH1B-0007jF-Ee
    for info[at]; Sun, 27 Jan 2008 18:34:29 -0500
To: info[at]
Subject: Aloa kid!
From: "God" <info[at]>
Date: Sun, 27 Jan 2008 18:34:29 -0500
MIME-Version: 1.0
Content-transfer-encoding: 8bit
Content-type: text/plain; charset=iso-8859-1
X-Mailer: PunBB Mailer
Message-Id: <E1JJH1B-0007jF-Ee[at]>

I think the 2 things that makes my email treated as spam by hotmail/yahoo are the one i highlited in bold.  Am I correct ?  Can I change them ?

ps i replace @ with [at] to avoid being spammed.  This email was sent from myself, to myself!

I agree with you, this is way better.  This should 'mod-re-mod' be included in the next release!
Thanks you very much Steven big_smile

Here how it looks now, after those corrections you suggested:

Do u remember how you fixed it?

Does anyone have this graphic bug with IE ?

Paul wrote:

#vf td.tcl span.byuser {
  height: 0;
  position: absolute;
  left: -10000px

Or if that gives you problems

#vf td.tcl span.byuser {
  display: none;

Nice.  This way I won't alter the viewforum.php cod big_smile

To which .css file do I add this div ?

I don't want to display it as it takes too much place.
Thx in advance, i need it!

Ajandurah wrote:

Firstly Hi, been playing with PunBB for the last few days and loving it so far.

Anyway, I've installed this mod 1.0.4 with Last Topic Link but it wasn't showing the subforum posts on the index page, the post counts went up correctly but Last Post details where incorrect. So in good fashion I hit the source code to figure out why, quite a simple fix so I'm not sure if I missed this somehow after trying the install twice.

Basically, in index.php the routine that checks for the last post still uses $cur_forum['last_post'] which based off the last query run does not include any sub forums, this needs to be changed to $l_post which is setup through some for loops previous.

So change the line...

if ($cur_forum['last_post'] != '')


if ($l_post != '')

It around about line 162 in index.php

This should now display the last post details correctly taking into account sub forums.

Again appologies if this is something I've overlooked while installing, but if it helps anyone else with the problem then thats the main thing I guess. Now to figure out why Modern BBCode doesn't paste the smilie code when you use the 'more...' popup window.

Good to see you are enjoying punBB. 

Does you mod on line 162 work ? What does it show exactly?

nectere wrote:

Freddygb adding the html code in the description gets them to show up

What did u mean by 'adding the html code in the description' ?  Did you finally managed to get this work?

Big thanks to you smartys! Works fine.  Sorry for making you repeat but i'm was not familiar with the pun_include fonction.  Now I am! big_smile

See results at
or later :

Alright!  wink

But do you mean save this code as html and call it back later with pun_include ?

The code you were looking at has been added to an external html page wich is then called into the main.tpl file. To resume my integration :

I called
<tpd_header> in main.tpl

Then I add in header.php
// START SUBST - <tpd_header>
    $tpl_temp = file_get_contents('../tpd_header.php');
    $tpl_main = str_replace('<tpd_header>', $tpl_temp, $tpl_main);
// END SUBST - <tpd_header>

It works well except the phpadsnew invocation code included in 'tpd_header.php' is failing to show the banner.

I tried to remove the @
Did not get any warning.... 

Does this thing have something to do with the punBB templates ?

Using local invocation code, my banner won't show when coupled with my punBB forum (  Same code work's well  on my portal ( and in the tpd/forum when I retire the punBB code of the html.

Here's the phpadsnew invocation code in question:

                if (@include(getenv('DOCUMENT_ROOT').'/tpd/adserver/')) {
                if (!isset($phpAds_context)) $phpAds_context = array();
                $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
                echo $phpAds_raw['html'];

Does it have something to do with 'document_root'?

That is what i was explaining before.  Let's mod this mod!

Woaaah...  could someone transcript this in easy tutorial for the php newbie of me!

nectere wrote:

Hey freddykgb  -

oh I finally found it, you have to create new forum edit it and then assign it a parent. yay I am not blind!

New forum edit?  What do you mean ?
And how can I assign it tot the parent one?

Thanks for helping nectere!

Someone listening?

Anyone got an idea ?  Should I move to phpBB ?

Already did no answer.  That's why I posted here.

What should I mod into the code to display topics from others forums into another one  I would like to see both at the same time (forum topics and other topics from tier forums at the same time)?  Is it possible?

Do I make myseflt clear or is it chinese? big_smile

I would like to categorise my topics so they can be viewed by 'genre' or grouped. An example of what i want :
> You see that the 'General motherboard' forum is categorized in 'brand' subforums (or category), but when you open the 'General Motherboard' forum you can see all posts from different brands.

Using the sub-forum mod, I think it could be achieved by making all the 'subforums' topics to still appear in the 'forum'.  Anybody know how to do that?