myhosting.com/forums/someonesforum/index.php
would be translated by .htaccess to
myhosting.com/forums/index.php?forum=someonesforum
626 2007-06-25 20:06
Re: [1.2.15] One Punbb for multiple users. (31 replies, posted in Feature requests)
627 2007-06-25 17:41
Re: Unicode Full Name gets Cut (9 replies, posted in PunBB 1.2 bug reports)
That's because unicode is multi-byte, which uses 2 bytes instead of 1 for a single character.
628 2007-06-25 14:51
Re: [1.2.15] One Punbb for multiple users. (31 replies, posted in Feature requests)
+1, if you have 200 forums on a shared server plz TELL me who this webhost is !!!
Dreamhost. That's where PunBB-hosting is.
softlinks are a very simple and efficient way to deal with multi-forums ... ( i think that's what every forum hosting service like mypunbb does )
Hardly, just sending the identifier through the URL is much easier.
629 2007-06-25 10:45
Re: Calling a new MySQL query stops a current one? (3 replies, posted in PunBB 1.2 troubleshooting)
This is in viewtopic.php I take it?
That's because the main query is set to be unbuffered, so when another query runs after it the resultset gets deleted. You can change this by replacing true with false in the last argument of the main query.
630 2007-06-25 10:41
Re: REGISREING PROBLEM (4 replies, posted in General discussion)
This is not a standard PunBB feature and thus not a bug.
Try disabling your adblocking software, and if that doesn't solve the issue, contact the webmaster of that forum.
631 2007-06-24 21:19
Re: Is Punbb suitable for a Maths Forum? (5 replies, posted in PunBB 1.2 discussion)
Yes, I posted that link as a reference on how to use it
632 2007-06-24 20:51
Re: Is Punbb suitable for a Maths Forum? (5 replies, posted in PunBB 1.2 discussion)
It is the mathematical markup format used by eg. Wikipedia.
http://en.wikipedia.org/wiki/LaTeX
http://en.wikipedia.org/wiki/Wikipedia:LaTeX
633 2007-06-24 19:05
Re: Is Punbb suitable for a Maths Forum? (5 replies, posted in PunBB 1.2 discussion)
There is a LaTeX mod
634 2007-06-24 19:04
Re: Unable to fetch group forum permission list. (5 replies, posted in PunBB 1.2 troubleshooting)
Did you run install_mod.php when installing the mod?
635 2007-06-22 13:37
Re: Avatar Uploads (3 replies, posted in PunBB 1.2 discussion)
Use this: http://be2.php.net/manual/en/ref.ftp.php
636 2007-06-22 10:48
Re: How To Move All Topics From One Forum To Another ? (15 replies, posted in PunBB 1.2 troubleshooting)
It's the same query most likely.
637 2007-06-22 08:01
Re: How To Move All Topics From One Forum To Another ? (15 replies, posted in PunBB 1.2 troubleshooting)
How is that safer?
638 2007-06-21 22:27
Re: How To Move All Topics From One Forum To Another ? (15 replies, posted in PunBB 1.2 troubleshooting)
Correct me if I'm wrong, but wouldn't making a new post in the forum result in update_forum() being run and fixing this issue?
It's certainly worth a try I'd say.
639 2007-06-21 16:06
Re: Changeset 969 - topics => first_post_id (14 replies, posted in PunBB 1.2 discussion)
News scripts are scripts like those on the front page of punbb.org. With this change, you'd be able to make a 'simple' join, like so:
SELECT p.message, t.subject FROM topics AS t INNER JOIN posts AS p ON t.first_post_id = p.id
This would fetch the first post in a topic and the subject of the topic.
640 2007-06-21 10:23
Re: Unable to fetch group forum permission list. (5 replies, posted in PunBB 1.2 troubleshooting)
Enable debug mode and post the full error please.
641 2007-06-21 10:21
Re: Add GeSHi in the parser (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Doesn't GeSHi require you to start highlighted code with their opening tags (if applicable)? So you'd do
<?php $var = "my var"; ?>
642 2007-06-20 21:28
Topic: Insert query in post.php (0 replies, posted in PunBB 1.2 bug reports)
In the posts table, hide_smilies is defined as an integer:
hide_smilies TINYINT(1) NOT NULL DEFAULT 0
Yet in post.php, it is being inserted as a character:
$db->query('INSERT INTO '.$db->prefix.'posts (poster, poster_id, poster_ip, message, hide_smilies, posted, topic_id) VALUES(\''.$db->escape($username).'\', '.$pun_user['id'].', \''.get_remote_address().'\', \''.$db->escape($message).'\', \''.$hide_smilies.'\', '.$now.', '.$tid.')') or error('Unable to create post', __FILE__, __LINE__, $db->error());
I encountered this error when porting PunBB to Sybase, which wasn't too keen on this implicit conversion.
EDIT: edit.php has this 'bug' too, on line 127.
643 2007-06-19 18:00
Re: Avoid unnecassary string concatenation. (4 replies, posted in Feature requests)
That's actually a rather good suggestion.
644 2007-06-17 18:46
Re: Register problem (4 replies, posted in PunBB 1.2 troubleshooting)
It's because Firefox caches the last version of the page (modified by Javascript). The function is there to prevent users clicking the button twice when the site is lagging for example. Not much can be done about it except for removing the Javascript code.
645 2007-06-16 17:02
Re: flood control has gone haywire! (2 replies, posted in PunBB 1.2 troubleshooting)
Just a shot in the dark, but try running the following query in phpMyAdmin or so:
UPDATE prefix_users SET last_post = 1181910840 WHERE group_id != 3
Replace 'prefix_' with your prefix.
646 2007-06-15 19:42
Re: new registration disabled unsuccessfully (27 replies, posted in PunBB 1.2 discussion)
No, the check is at the top of the page and should work just fine. Unless you've modified it, I believe the message function calls exit(); at the end.
647 2007-06-15 18:58
Re: new registration disabled unsuccessfully (27 replies, posted in PunBB 1.2 discussion)
No, MattF is correct, it should stop the displaying of the whole page. Quite odd.
648 2007-06-15 18:41
Re: new registration disabled unsuccessfully (27 replies, posted in PunBB 1.2 discussion)
Ack, sorry. Looked over that. I just didn't see it in the part where a user is being added =P
649 2007-06-15 17:36
Re: new registration disabled unsuccessfully (27 replies, posted in PunBB 1.2 discussion)
Hrmm, it seems register.php doesn't check if registration is enabled when processing the form at all... I'd see this as a bug actually.
650 2007-06-15 15:06
Re: How does PunBB do against spam attacks (28 replies, posted in PunBB 1.2 discussion)
Are you sure nobody just got hold of your DB info? It certainly seems more plausible.