Does it look the same on all browsers? If not, you should point that out in your post.
277 2009-01-06 19:38
Re: [release] Favorite topic (25 replies, posted in PunBB 1.3 extensions)
Nice.
278 2009-01-06 17:23
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
It's not finding it...
279 2009-01-06 17:06
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
Undefined index: Design by
'Design by' doesn't exist...
280 2009-01-06 16:45
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
ob_end_clean();
?>
<p id="copyright">Whatever you want on the copyright...</p>
<?php
281 2009-01-06 16:25
Topic: Different Hook Call (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 2009-01-06 14:21
Re: sha1 hash to crypt hash (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 2009-01-06 14:17
Re: hi (2 replies, posted in PunBB 1.3 troubleshooting)
The server is too busy at the moment.
Please reload this page few seconds later.
That error?
284 2009-01-06 14:15
Re: Help with deleting multiple users (3 replies, posted in PunBB 1.3 discussion)
Yeah, if you want to see which users should be deleted, use 'SELECT *' instead of 'DELETE'.
285 2009-01-06 13:43
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
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 2009-01-05 23:52
Re: [Release] Mercury 3b (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.
287 2009-01-05 22:58
Re: Help with deleting multiple users (3 replies, posted in PunBB 1.3 discussion)
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 2009-01-05 22:52
Re: I forgot my admin password (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 2009-01-05 22:48
Re: [Release] Mercury 3b (14 replies, posted in PunBB 1.3 additions)
Deleted my post to keep the topic clean
290 2009-01-05 21:34
Re: sha1 hash to crypt hash (7 replies, posted in PunBB 1.3 troubleshooting)
Line 1176, perhaps.
(!$password_is_hash && forum_hash($password, $forum_user['salt']) != $forum_user['password']))
291 2009-01-05 18:02
Re: [Release] Mercury 3b (14 replies, posted in PunBB 1.3 additions)
Why create a new topic?
292 2009-01-05 18:00
Re: Replace date with Topic (28 replies, posted in PunBB 1.3 additions)
Lol, I was using the user's ID for the post ID -.- It's fixed!
294 2009-01-05 17:52
Re: Time Stamp in the format "3 days ago" or "2 hours ago" (10 replies, posted in Feature requests)
See this post http://punbb.informer.com/forums/topic/ … ith-topic/ it uses the time thing
295 2009-01-05 17:31
Re: Replace date with Topic (28 replies, posted in PunBB 1.3 additions)
Ok, redownload the script from the same link.
296 2009-01-05 16:42
Re: [Extension] Copyright Yoursite - a png leading to url of your choice (6 replies, posted in PunBB 1.3 extensions)
<img ... />
FYI
297 2009-01-05 16:02
Re: Replace date with Topic (28 replies, posted in PunBB 1.3 additions)
This works for me: http://snipplr.com/view/10940/topic-tit … ted-by-me/
298 2009-01-05 15:34
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
Yep.
299 2009-01-05 15:09
Re: Str_Replace question for a hook in footer (26 replies, posted in PunBB 1.3 troubleshooting)
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);
300 2009-01-05 15:04
Re: [Release] Meta Tags Administration (48 replies, posted in PunBB 1.3 extensions)
Change it back. Then, if it works that way, leave it like that.