1

(4 replies, posted in PunBB 1.2 show off)

Hey,
Finished working on my site, http://www.darkgaming.co.uk I owe a big thanks to Steven Bullen who basically did the intergration of punbb. Tell me what you think.

2

(8 replies, posted in PunBB 1.2 troubleshooting)

// Fetch some info about the topic
if (!$pun_user['is_guest'])
    $result = $db->query('SELECT t.subject, t.closed, t.num_replies, t.sticky, t.last_post, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, s.user_id AS is_subscribed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'subscriptions AS s ON (t.id=s.topic_id AND s.user_id='.$pun_user['id'].') LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$id.' AND t.moved_to IS NULL') or error('Unable to fetch topic info', __FILE__, __LINE__, $db->error());
else
    $result = $db->query('SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$id.' AND t.moved_to IS NULL') or error('Unable to fetch topic info', __FILE__, __LINE__, $db->error());

if (!$db->num_rows($result))
    message($lang_common['Bad request']);

$cur_topic = $db->fetch_assoc($result);

I guess this is where you mean.. is part of the code missing or something?

3

(8 replies, posted in PunBB 1.2 troubleshooting)

cheers big_smile

4

(8 replies, posted in PunBB 1.2 troubleshooting)

Sorry for being a newbie, but which sheet is this on?

Basically Steven Bullen (hes a mod at punres) has helped me massivley with the site and he takes care of the backend database and intergration. Therefore, i don't know alot. I would have asked him but hes never online tongue

5

(8 replies, posted in PunBB 1.2 troubleshooting)

Arcade
Calendar
DB Managment
Private Message
Newsletter
Profile Fields
Reputation

Think that is about it.

6

(8 replies, posted in PunBB 1.2 troubleshooting)

Hi guys,
Website URL: http://www.darkgaming.co.uk
Problem: Firstly, When I post a new topic and want to go back to view that particular topic, the screen goes white. The only way you can view the topic is by logging out and logging back in again.

Secondly, When I post a reply to a thread, everything registers that the post has been saved, it shows up in the no# of posts in topic column etc. But when you click on the topic itself, you can only see the very first post (the one by the topic starter)

Can anyone help me out?
Thanks in advance
Phil 91

Right to start off, i am completely new to punbb. So I am sorry if this sounds stupid.

My site is http://www.darkgaming.co.uk I have recently changed to punbb (so ignore the invisionfree forum linked on site) The new forum is at http://www.darkgaming.co.uk/forums/

I want to know if it is possible to embed the forum into a page on my website. Basically here is a quick screen that i edited to show what i want to achieve...

http://www.darkgaming.co.uk/punbb%20help.jpg

If you know of a tutorial, or you know how to do it, please help me! It would be most apreciated!

Thanks in advance for any help.

8

(9 replies, posted in PunBB 1.2 show off)

Nice one steve big_smile