276

(11 replies, posted in PunBB 1.3 additions)

Does it look the same on all browsers? If not, you should point that out in your post.

277

(25 replies, posted in PunBB 1.3 extensions)

Nice.

It's not finding it...

Undefined index: Design by

'Design by' doesn't exist...

ob_end_clean();
?>
<p id="copyright">Whatever you want on the copyright...</p>
<?php

281

(0 replies, posted in Feature requests)

Since using 'break' or 'return' to stop a loop or function inside eval() doesn't work, I think this should be used:

Every hook inside functions.

$return = ($hook = get_hook('test')) ? eval($hook) : null;
if ($return != null) return $return;

and inside loops:

$return = ($hook = get_hook('test')) ? eval($hook) : null;
if ($return == FORUM_BREAK) break $break_level;

where 'FORUM_BREAK' is defined as whatever string and $break_level is defined by the developer (optional).

and loops inside functions:

$return = ($hook = get_hook('test')) ? eval($hook) : null;
if ($return == FORUM_BREAK) break $break_level; if ($return != null) return $return;

282

(7 replies, posted in PunBB 1.3 troubleshooting)

The way I see it, there's only one way to do it: use the 'fn_cookie_login_start' hook and copy the whole function to your extension and change it the way you want, then use 'return true' so the function doesn't repeat.

283

(2 replies, posted in PunBB 1.3 troubleshooting)

Server wrote:
The server is too busy at the moment.

Please reload this page few seconds later.

That error?

Yeah, if you want to see which users should be deleted, use 'SELECT *' instead of 'DELETE'.

echo str_replace(array('>PunBB<', $lang_common['Powered by']), array('<img src="'.$ext_info['path'].'/img/punbb.png" alt="PunBB" width="16" height="16" border="0"></a>', $lang_common['Design by']), $tpl_temp);

286

(14 replies, posted in PunBB 1.3 additions)

I actually just tried it really fast, but I did notice the profile page looks really nice.

And the category titles have no black border.

DELETE FROM users WHERE num_posts=0 AND email NOT LIKE '%.co.nz' AND id!=1

Remember to add your table prefix before 'users' on the query.

288

(14 replies, posted in Discussions)

Your language pack probably doesn't have email templates. They're supposed to be on '{yourforum}/lang/{yourlanguage}/mail_templates/'.

289

(14 replies, posted in PunBB 1.3 additions)

Deleted my post to keep the topic clean smile

290

(7 replies, posted in PunBB 1.3 troubleshooting)

Line 1176, perhaps.

(!$password_is_hash && forum_hash($password, $forum_user['salt']) != $forum_user['password']))

291

(14 replies, posted in PunBB 1.3 additions)

Why create a new topic?

292

(28 replies, posted in PunBB 1.3 additions)

Lol, I was using the user's ID for the post ID -.- It's fixed!

293

(28 replies, posted in PunBB 1.3 additions)

big_smile Enjoy!

See this post http://punbb.informer.com/forums/topic/ … ith-topic/ it uses the time thing

295

(28 replies, posted in PunBB 1.3 additions)

Ok, redownload the script from the same link.

<img ... />

FYI

297

(28 replies, posted in PunBB 1.3 additions)

This works for me: http://snipplr.com/view/10940/topic-tit … ted-by-me/

Yep.

The footer is already in the buffer. You need to get the buffer, clear it, and re-send the footer with your changes made.

$tpl_temp = forum_trim(ob_get_contents());
ob_end_clean();
echo str_replace('>PunBB<', '<img src="'.$ext_info['path'].'/img/punbb.png" alt="PunBB" width="16" height="16" border="0"></a>', $tpl_temp);

Change it back. Then, if it works that way, leave it like that.