151

(32 replies, posted in PunBB 1.2 troubleshooting)

I've looked at it, and I don't think there's an easy solution. Phpnuke use PhpBB as forum-module, but I think it's heavily modified to fit phpnuke's user-database. Phpnuke's user-database might look very similar to phpbb, so maybe it's just a matter of changing some predixes in the converter.

I might look closer at it, but not today... not this weekend.

152

(7 replies, posted in Feature requests)

Frank H wrote:
Paul wrote:

Would it be a huge job for somebody to write a fixadmin script for people who have locked themselves out i.e. something that could access the punbb database and restore admin rights? Or maybe there already is one and I've missed it.

Probably possible to do a page like the page that ends maintenence mode. Upload it, it searches the users and gives a dropdown, just select user and then delete the script ... but, it could be a bit risky, if someone doesn't remove it afterwards, then admins would be free for all :(

You could make it so that if an admin already exists, the script refuses to "create" another one.

153

(7 replies, posted in Feature requests)

Yes, it's a great idea :) I like it!

154

(36 replies, posted in Feature requests)

I was afraid that was the answer :(

Thanks.

155

(36 replies, posted in Feature requests)

Gaah! I'm going crazy!

Why does IE show a vertical scrollbar too!? I think it's beqause the "image" gets a bit higher when the horizontal scrollbar is added. Someone knows whats wrong?

Update: As expected, the Zaanzone Forum also took the top position in the 'Most new posts per day'-list from Norwegian Nintendo-forum (~600 compared to ~400).

157

(32 replies, posted in PunBB 1.2 troubleshooting)

I'll look at it later today. If it's phpbb, there should be no problems altering the conveter so it's working again (or make it as a new converter).

158

(1,382 replies, posted in General discussion)

Terrance & Phillip :D

In message_send.php it should look like this around line ~91:

// Get userid
$result = $db->query('SELECT id,username,status FROM '.$db->prefix.'users WHERE id!=1 AND username=\''.addslashes($_POST['req_username']).'\'') or error('Unable to get user id', __FILE__, __LINE__, $db->error());

// Send message
if(list($id,$user,$status) = $db->fetch_row($result)){

    // Check inbox status
    if($pun_config['o_pms_messages'] != 0 && $cur_user['status'] < PUN_MOD && $status < PUN_MOD){

160

(3 replies, posted in PunBB 1.2 show off)

Nice! :)

Will be fun to see what you guys does when 1.2 is released :)

Done!

I've put a new version at PunBB Resource.

Changes:
1. Users can now send messages to admins/moderators even if their inbox is full.
2. Added a 'Mark all messages as read'-link.

You don't have to reinstall the mod. All changes are done in the mod-files, so just replace those and it'll work fine!

Edit: I've also added a few entries to the language-file, so if you've translated a non-english-file I'd be glad if you could post the correct lines here :)

Nice :D

You can mail it to me (address below the post).

Ohh! My mistake :)

I did not consider this scenario when I made the mod. I'll make a fix right away.

164

(24 replies, posted in Archive)

Har en kompis som kör redhat på sin server, uptime på 450+ dagar nu :)

165

(24 replies, posted in Archive)

Exempel för hur det kan se ut om man vill installera apache:

>apt-cache search apache

apache-doc - Apache web server docs
apache-dev - Apache web server development kit
apache-ssl - Versatile, high-performance HTTP server with SSL support
apache-common - Support files for all Apache web servers
apache - Versatile, high-performance HTTP server
apache-perl - Versatile, high-performance HTTP server with added Perl support

>apt-get install apache

Söker först, får en fin lista, väljer sedan vad man vill installera. Är det ngt mer som behöver installeras för att apache skall fungera får du bara frågan om du vill installera det också. Behöver inte kompilera en massa!

166

(32 replies, posted in PunBB 1.2 troubleshooting)

I think it's using PhpBB as forum-module, so I don't think it's gonna be any problem. I'm not really sure of how it works, but you might be able to use the phpbb-converter that's on the download-page.

167

(24 replies, posted in Archive)

Jag installerade debian på min gamla p133:a häromdagen (för att testa lite hur det fungerade). Gick mycket smidigt måste jag säga! Riktigt enkelt att använda 'apt-get' för att installera saker.

168

(1,382 replies, posted in General discussion)

Elvis

I recently approved a new forum on PunBBig: forum.zaanzone.nl. It currently has 170'000+ posts, and it's the largest (that I'm aware of) PunBB-forum in the world! It's more than twice as big as the forum on the second position, Legends forum.

With this new board, the total post-count for all Punbb-boards passed 1'000'000!

See the list and more info at PunBBig.shacknet.nu.

170

(5 replies, posted in PunBB 1.2 troubleshooting)

SpAZ wrote:

hi, i was wondering if it is possible to make some1 an admin or the owner again via mySQL coz i used a phpbb 2 punbb converter and it went wrong and deleted my user....

Do you know which user (it's id)? (I'm the one written the converters, and it's not good when it's loosing users)

Gary13579 (lazy) wrote:

im at school right now, so i cant check the code, but i did update it. is the newest version 1.1.2?

Yes it is.

True. I've tested it at your forum, and it seems to be somewring wrong yes. Though, when I
created a user named "Dr. D'nar" on my test-forum, everything worked just fine!

Here's the code that do the test in message_send.php, I can't see what might be wrong...

// Get userid
$result = $db->query('SELECT id,username FROM '.$db->prefix.'users WHERE id!=1 AND username=\''.addslashes($_POST['req_username']).'\'') or error('Unable to get user id', __FILE__, __LINE__, $db->error());

// Send message
if(list($id,$user) = $db->fetch_row($result)){
    ... alot of code...
}
else{
    message($lang_pms['No user']);
}

173

(1,382 replies, posted in General discussion)

Gordon

174

(1,382 replies, posted in General discussion)

Paranormal

Gary13579 wrote:

well, i got a bug.

im trying to send a message to Dr. D'nar and it wont. it says that theres no one with that username.

i think it has to do with the ' or the . in it. plz fix this.

Which version are you running? I know I've had this problem before, but it should be fixed already.