Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[HACK] TT 2 integration with PunBB
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-09-18 22:25:37
"guiux, post: 74651":
Please post the DB code for this Pun_BB
Thanks!

Sorry buddy its been 2 years since i worked on that, i dont have the files no more but if i get a bit of free time i shall see what i can do for you.

Edit: its been a while but as far as im aware you use the database that comes with punbb
Unknown User
2013-01-16 16:51:10
i used, punbb 1.4.2 from http://punbb.informer.com/downloads.php#1.4.2, i used the rar file, uploaded to the root folder, chmod cache to 0777 and img/avatar to 0777,  Then i uploaded both the files in the original rar to the root directory and changed convert.php to



<?php

require_once("backend/functions.php");

dbconn(false);

loggedinonly();

stdhead("PunBB User Import");



$insertusers = mysql_query("INSERT INTO punbb_users (id, group_id, username, realname, password, email, registration_ip) SELECT id, username, username, password, email, ip, class FROM `users`") or die(mysql_error());

if (!$insertusers)

{

show_error_msg("PunBB Import Failed!", "Something Went Wrong Their!!!!", 1);  

}

else

show_error_msg("PunBB Import Successfull", "Everything Was Okai", 1);



stdfoot();

?>



follow the steps in the original rar file at the beginning of the topic, but 1 flaw i've noticed, not only do you have to make a forums folder, u have to copy the contents of the forums folder into another folder called forum.
Unknown User
2013-01-16 18:05:47
.. something tells me this will error out really..

$insertusers = mysql_query("INSERT INTO punbb_users (id, group_id, username, realname, password, email, registration_ip) SELECT id, username, username, password, email, ip, class FROM `users`") or die(mysql_error());



i dont use it but this looks like it might work..



$insertusers = mysql_query("INSERT INTO punbb_users (id, group_id, username, realname, password, email, registration_ip) SELECT id, class, username, username, password, email, ip FROM `users`") or die(mysql_error());
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728