What else could we have done? We didn't know what was causing it, so didn't reply. If, as you said, your host doesn't support SQLite, then why are you getting pissed at us?
Go get some logic from the local supermarket.
You are not logged in. Please login or register.
PunBB Forums → Posts by elbekko
What else could we have done? We didn't know what was causing it, so didn't reply. If, as you said, your host doesn't support SQLite, then why are you getting pissed at us?
Go get some logic from the local supermarket.
http://Cricket.no/Cricket Forum/install.php
Make sure the directory where your database file is saved is writable.
This is an error with file permissions.
Check your server's error_log
Now, to answer the question:
In header.php, change
<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />
to
<link rel="stylesheet" type="text/css" href="style/<?php echo (isset($forum_style) ? $forum_style : $pun_user['style']).'.css' ?>" />
And then on your pages you can define, before loading header.php, the style like so:
$forum_style = 'Oxygen';
For example, in viewforum.php you could do the following:
find
$id = isset($_GET['id']) ? intval($_GET['id']) : 0;
add after
switch($id)
{
case 1:
$forum_style = 'Oxygen';
break;
case 6:
$forum_style = 'Cobalt';
break;
}
This would use the Oxygen style for the forum with ID 1 and the Cobalt style for the forum with iD 6.
Unless you have a dedicated server, contact your host.
vBulletin by itself is a waste of bandwidth.
Have you tried reuploading the admin_ files? They might be corrupt.
You have to make a group for each type of user, put them in it and set the forum permissions for the forums in those categories.
Isn't this described in the same wiki article?
<div class="block">
<h2 class="block2"><span>Top News Topics</span></h2>
<div class="box">
<?php
$trunc_len = 50; // Fill this in
$result = $db->query('SELECT subject, id FROM '.$db_prefix.'topics ORDER BY last_post DESC LIMIT 4') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
while($cur_topic = $db->fetch_assoc($result))
{
?>
<li>»<a href="viewtopic.php?id=<?php echo $cur_topic['id']; ?>"><?php echo substr($cur_topic['subject'], 0, $trunc_len); ?></a> </li>
<?php
}
?>
</div>
</div>
Put it in a pot and water it?
Unlike phpBB3, 1.3 will be ready when it's ready.
Look through db_update.php, it'll perform all the updates to a 1.2 database, so it can pretty much tell you the changes
cURL is a library for loading external pages.
http://be2.php.net/manual/en/ref.curl.php
Try using cURL.
I'm quite sure Jannson will notice and fix it (if he's not the source of the problems that is ).
Delete all files in the cache folder.
Try doing a LEFT JOIN for topics instead of an INNER JOIN.
You're off a forum.
I don't see what you mean by page caching actually. Would you care to explain?
Well, inside the DB layer it translates to either mysql_query() or mysql_unbuffered_query()
When I made it, I just used a database prefix.
PunBB Forums → Posts by elbekko
Powered by PunBB, supported by Informer Technologies, Inc.