101

(7 replies, posted in PunBB 1.3 troubleshooting)

Does this work?

    <div class="main-head">
        <h2 class="hn"><span>Advertisement</span></h2>
    </div>
    <div class="main-content">
        <!-- forum_include "banner1.php" -->
    </div>

102

(7 replies, posted in PunBB 1.3 troubleshooting)

OK, but by "shows the contents of banner1.php" you mean the PHP is not being executed or what?

Also, is this question for 1.2 or 1.3?

103

(9 replies, posted in PunBB 1.3 extensions)

@pdvor: It works OK.

104

(98 replies, posted in PunBB 1.3 extensions)

I use sort of a Trac "hack". Here's the URL: http://punbb.informer.com/trac/changese … format=zip

105

(98 replies, posted in PunBB 1.3 extensions)

Permissions maybe?

106

(58 replies, posted in PunBB.NET discussion)

Expanding PunBB to ASP.NET is a really good move, IMO.

107

(7 replies, posted in PunBB 1.3 troubleshooting)

What are you expecting from

<!-- forum_include "banner1.php" -->

108

(13 replies, posted in PunBB 1.3 troubleshooting)

Try

echo file_get_contents('http://forexsb.com/forum/extern.php');

OK, if you wanna do it your way, you can copy the user_avatars.php file from the extension folder to the include/user/ folder and then just add the include comment.

<hook id="hd_template_loaded">
str_replace('<!-- forum_announcement -->', "<!-- forum_include \"user_avatars.php\" -->\n<!-- forum_announcement -->", $tpl_main);
</hook>

It get bigger than my screen:
http://arch.kimag.es/share/35962870.jpg

You don't need to change the template, just output your code.

An option to add those common image hosting sites would be helpful, no?

113

(7 replies, posted in PunBB 1.3 discussion)

It could be done with AJAX, I believe... with the onload and onunload events.

Browser session would be simpler, though.

114

(5 replies, posted in PunBB 1.3 troubleshooting)

This won't guarantee a working installation, but you could try removing the following lines from 'admin/install.php':

if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
    exit('You are running PHP version '.PHP_VERSION.'. PunBB requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');

I couldn't find a way to fix that, sorry.

You should make this an extension or a 1-step cut-and-paste mod.

forum_htmlencode($forum_user['prev_url'])

That would be it.

Try again. I edited my post like 10 seconds after I posted it.

http://punbb.informer.com/trac/changese … format=zip

Use

<?php echo forum_link($forum_url['login']); ?>

on the form action and see if that works.

Can I see the code?

SuperMAG, that bug has been fixed here.

It's supposed to work with all smiley sizes. Make sure you have the latest PunBB from SVN.

Of course it doesn't work. This:

$forum_page['form_action']

is not set. Use this instead

forum_link($forum_url['login'])

Just build a new one.