Go to the "config" table in phpmyadmin and find the "o_base_url" element (probably not on the first page). When you find it you can alter the base url and change it to your current domain.

I almost finished the integration of punbb into my website and found this page after using the search option. Currently when you login on the forum you get redirected the the page you came from. When I login from the frontpage this does not happen. After looking at the code I came to the conclusion I could only use a static page to go to when you login from the frontpage. What code should I add to the pages that are not a part of the forum when you login via login.php to get back to those pages after logging in?

28

(2 replies, posted in PunBB 1.2 troubleshooting)

Is there a way to fetch a single post out of a topic? Currently I was only able to fetch the first post with code comparable to the one from the first post of this topic. I intended to use a pid but without avail.

A simple sql query to retrieve a post would be

SELECT message 
FROM posts
WHERE id=3