Does this work?
<div class="main-head">
<h2 class="hn"><span>Advertisement</span></h2>
</div>
<div class="main-content">
<!-- forum_include "banner1.php" -->
</div>
You are not logged in. Please login or register.
PunBB Forums → Posts by User33
Does this work?
<div class="main-head">
<h2 class="hn"><span>Advertisement</span></h2>
</div>
<div class="main-content">
<!-- forum_include "banner1.php" -->
</div>
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?
@pdvor: It works OK.
I use sort of a Trac "hack". Here's the URL: http://punbb.informer.com/trac/changese … format=zip
Permissions maybe?
Expanding PunBB to ASP.NET is a really good move, IMO.
What are you expecting from
<!-- forum_include "banner1.php" -->
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:
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?
It could be done with AJAX, I believe... with the onload and onunload events.
Browser session would be simpler, though.
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.
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.
PunBB Forums → Posts by User33
Powered by PunBB, supported by Informer Technologies, Inc.