They aren't, PunBB uses PHP's date function.
2,676 2007-07-11 11:03
Re: [Solved] Where are the date expressions? (5 replies, posted in PunBB 1.2 troubleshooting)
2,677 2007-07-11 11:03
Re: anyone can post (4 replies, posted in PunBB 1.2 troubleshooting)
Well, that sounds like two issues: one with viewtopic.php or include/functions.php (the admin tag).
Check the usergroup permissions first
2,678 2007-07-11 02:59
Re: i get a lot of these messages... (1 replies, posted in PunBB 1.2 troubleshooting)
Sounds like a mod_security issue, I would talk to your host
2,679 2007-07-11 01:41
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
OK.
You just want to add the following code
update_forum(number);
where number is the ID of the forum where the topic is. This assumes you've included include/functions.php somehow (most likely using include/common.php)
2,680 2007-07-11 01:32
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
No, it needs to be called within your file: include/functions.php simply defines what the function is and does, it doesn't execute it.
2,681 2007-07-11 01:31
Re: maybe not a bug..... (4 replies, posted in PunBB 1.2 bug reports)
Which has been fixed in 1.3 for some time now
2,682 2007-07-10 21:01
Re: Later Update (6 replies, posted in PunBB 1.2 troubleshooting)
http://punbb.org/download/hdiff/hdiff-1 … .2.15.html
Hdiff to update directly. Then run the update PHP file.
2,683 2007-07-10 01:55
Re: How many mysql connections are normal for a standard forum? (5 replies, posted in PunBB 1.2 troubleshooting)
connections != queries
Long lasting connections can cause an issue, yes, but the issue is much more likely to be host restrictions to cut down on one person hogging the connections.
2,684 2007-07-10 00:36
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
It's a PHP function.
2,685 2007-07-09 21:11
Re: Where is error code located? (1 replies, posted in PunBB 1.2 troubleshooting)
include/functions.php, error function
2,686 2007-07-09 20:37
Re: !! Improving Form Display (10 replies, posted in PunBB 1.2 discussion)
Post your code
2,687 2007-07-09 20:36
Re: PHP4 is dead check it out!! (15 replies, posted in PunBB 1.2 discussion)
As Paul pointed out, PunBB supports both PHP 4 and PHP 5. I can't think of any features we've decided not to implement because of PHP4. So, it doesn't make sense for us to limit PunBB to PHP5
2,688 2007-07-09 20:33
Re: How many mysql connections are normal for a standard forum? (5 replies, posted in PunBB 1.2 troubleshooting)
That's a host specific setting, as pedrotuga said.
As for how many, it's 1 per pageview.
2,689 2007-07-09 20:31
Re: Restrict access to profile pages (14 replies, posted in PunBB 1.2 troubleshooting)
Userlist isn't possible without a mod I believe.
2,690 2007-07-09 20:30
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
Make the first query
update topics set poster="name", last_poster="name" where id=topic_id
and run update_forum
2,691 2007-07-08 21:04
Re: Setting the image path based on user style (14 replies, posted in General discussion)
I don't see any of that code being used anywhere in the code you just pasted
2,692 2007-07-08 20:59
Re: Merging an existing PunBB forum with a vBulletin forum (2 replies, posted in PunBB 1.2 troubleshooting)
Merging can be done, but it isn't the simplest thing to do
The simplest way would be to convert the vB forum to PunBB and then try merging the two PunBB forums.
2,693 2007-07-08 20:20
Re: Setting the image path based on user style (14 replies, posted in General discussion)
echo '<img style="vertical-align: middle;" src="'.$pun_config['o_base_url'].'/img/'.$pun_user['style'].'/blog_icon_dot.gif">';
There are a couple reasons the code you had wouldn't work. This code should work fine, assuming you're inside a block of PHP
2,694 2007-07-08 02:43
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
Oh, you want to change the author of a topic?
update topics set poster="name" where id=topic_id
where name is the name you want and topic_id is the ID of the topic.
UPDATE posts SET poster_id=X, poster="name" WHERE id=Y;
Variable use is the same (name is the name you want, X is the user id, Y is the id of the post
2,695 2007-07-08 00:36
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
mmm, I should probably have mentioned this, but user_id doesn't exist: poster_id is what you're looking for
2,696 2007-07-08 00:24
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
update table won't work on MySQL I believe, you need just update
2,697 2007-07-08 00:03
Re: !! Improving Form Display (10 replies, posted in PunBB 1.2 discussion)
Both users and topics should be a left join
2,698 2007-07-08 00:00
Re: [Solved] Changing the author of a thread through the database (25 replies, posted in PunBB 1.2 troubleshooting)
That would be an update statement, not an alter table statement
2,699 2007-07-08 00:00
Re: MySQL: Index types INDEX und UNIQUE (4 replies, posted in PunBB 1.2 troubleshooting)
That's not the reason you can't optimize it, you can't optimize it because it's a HEAP table and thus doesn't require optimization.
2,700 2007-06-23 01:41
Re: My plug ins will not work (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
From admin_loader.php
if (!defined('PUN_PLUGIN_LOADED'))
message('Loading of the plugin \''.$plugin.'\' failed.');
Did you edit the plugins?