You seem to have some problems, but it looks fine yes. Try chmodding your images folder to 777.
If you want, I'll write the plugin, since I ave nothing better to do. Find me on MSN or IRC (#punbb channel on quakenet).
You are not logged in. Please login or register.
PunBB Forums → Posts by elbekko
You seem to have some problems, but it looks fine yes. Try chmodding your images folder to 777.
If you want, I'll write the plugin, since I ave nothing better to do. Find me on MSN or IRC (#punbb channel on quakenet).
Yes, very.
You might want to take a look here: http://be2.php.net/manual/en/features.file-upload.php
Try changing
for($c=2; $c<=(count($images)-1); $c++){
to
for($c=2; $c<=count($images); $c++){
and see if it works
It's odd, the code you posted there shouldn't give any errors. Check if there are any spaces before your <?php tag.
Simple, don't make calls to header() if something is already outputted.
The italian language might give some problems. But I don't think so, as I checked every language file and it gave no errors.
lol, now really, how stupid
updated Forgot that =/
Oh, and how on earth did you un-admin yourself if you can't use phpMyAdmin?
Do you know what your user id is? (I guess it'll be 1) Then paste this code in a php file on your forum root:
<?php
define('PUN_ROOT', './');
include "includes/common.php";
$userid = 2;
$db->query("UPDATE ".$db->prefix."users" SET group_id=1 WHERE id=".$userid);
echo "User with id ".$userid." has been made administrator.";
?>
There's this giant clickable image "Download now" on the right. I suggest you click it
Just add this:
else
$user_avatar = '<img src="'.$avatardir.'/noavvy.png" alt="" border="1" />';
*in a burns voice*
Excellent
Try this:
Find ~line 922-927 in profile.php:
// View or edit?
if ($pun_user['id'] != $id &&
($pun_user['g_id'] > PUN_MOD ||
($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_edit_users'] == '0') ||
($pun_user['g_id'] == PUN_MOD && $user['g_id'] < PUN_GUEST)))
{
Add after:
header('Location: <yourpagecomeshere>.php');
Maybe it's best to just check against $lang_login as was done for $lang_register, like this:
if($pun_user['is_guest'] && !isset($lang_register) && !isset($lang_login))
header('Location: login.php');
Else you wouldn't really be able to login... (yes, you can slap me)
Hrmmm... Try changing == to !=
Yes, post that code in a file called AP_PM_Monitoring.php, and it should work.
PunBB has less features in its standard installation, but if far more secure and faster than phpBB.
I think that kinda sums it up =/
I'm not so sure about this one, but it might work:
if($pun_user['is_guest'] && !isset($lang_register) && ($page_title == pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_login['Request pass']))
Hrmm... didn't think of that Maybe this will work (just a wild guess, but might work by looking at the code )
if($pun_user['is_guest'] && !isset($lang_register))
header('Location: login.php');
At the top in header.php, after common.php is loaded, put this:
if($pun_user['is_guest'])
header('Location: login.php');
I think that should do...
Oops, I see what you mean I'll correct that, although it makes not much of a difference really.
The problem is you use the div with id "left" inside another box with id "left". The left-box is for the whole sidebar on the left, not for each element
PunBB Forums → Posts by elbekko
Powered by PunBB, supported by Informer Technologies, Inc.