101

(20 replies, posted in PunBB 1.2 troubleshooting)

Could you get Rickard to look at this thread, because he remembers that one can eval the output of punBB and therefore parsing the code that's in the template. It was functioning fine in 1.2, but as soon as I upgraded to 1.2.5 I started having the errors. Removing the eval and replacing the default exit(); fixes the error, although it causes one to have raw PHP on the pages. I might consider downgrading to 1.2 if it's no longer possible to have code in templates.

102

(20 replies, posted in PunBB 1.2 troubleshooting)

Wait, I found that eval()ing $tpl_main at the end of footer.php causes the problem. The problem is fixed when it is simply exit($tpl_main). I don't know why this occurs, but my site pretty much falls apart if I can't eval it, therefore this could be a problem.

You mean at cash4posts.com?

104

(20 replies, posted in PunBB 1.2 troubleshooting)

My entire forum is screwed up... It's not even funny

105

(20 replies, posted in PunBB 1.2 troubleshooting)

No, I haven't modded it at all. I did an update from 1.2 to 1.2.5... maybe I missed a database change somewhere.

*edit*

I also tried with a fresh copy of the search.php all the way back to 1.2, still same errors.

I also have errors all over the place, with the orange table saying the error. It was in the administrator panel under "check for upgrade"

This is really freaking me out.

106

(20 replies, posted in PunBB 1.2 troubleshooting)

Blank Search Results With:

File: /home/xxx/domains/creaturecorp.com/public_html/forum/search.php
Line: 707

PunBB reported: Unable to fetch category/forum list

Real search Results with:

File: /home/xxx/domains/creaturecorp.com/public_html/forum/search.php
Line: 290

PunBB reported: Unable to fetch topic list

107

(20 replies, posted in PunBB 1.2 troubleshooting)

I did

108

(20 replies, posted in PunBB 1.2 troubleshooting)

http://forum.creaturecorp.com/search.php

Search for anything, even a blank, and look what happens.

I don't even know where to start, since there seem to be multiple errors.

$result = $db->query('SELECT t.id FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'topics AS t ON t.id=p.topic_id 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 p.id IN('.implode(',', $search_ids).')'.$forum_sql.' GROUP BY t.id', true) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());

109

(11 replies, posted in PunBB 1.2 discussion)

Oh, I see. Sorry about that. tongue Then it becomes more complex, because it would involve making another column in the database and modifying profile.php. That itself would include making a form with which variables can be edited, adding the column name(s) to the query, etc. It would be nice if punBB had the option to add and remove information fields within the software rather than manually.

110

(11 replies, posted in PunBB 1.2 discussion)

I added another section to the profile in my forum, and it's as easy as copying an existing section and modifying it to suit your needs. Swing by mine to check it out.

111

(1 replies, posted in PunBB 1.2 discussion)

I've been heavily modding my installation of punBB in the last few weeks, including adding the PMs system that was added a few months ago. Would it be wise to even try and update punBB to a newer version?

Damn, you beat me to it! XD

No comment system? Piffle.

113

(3 replies, posted in PunBB 1.2 troubleshooting)

I've decided to do this script with a "next 10" feature so it will keep the boxes from squishing. big_smile This also will save bandwidth.

114

(3 replies, posted in PunBB 1.2 troubleshooting)

Maybe it would be better if the blockquote tags were simply excluded before the squishing started, with means of a counter like you  suggested. The only other problem then is it's not apparent which comment is a reply to which.

Maybe a fixed size table would prevent the squish?

Hopefully my site won't be busy enough to have such a large thread anyway. tongue

115

(3 replies, posted in PunBB 1.2 troubleshooting)

I have a nested comments script here, based on punBB's style. Everything goes well, until a thread grows to such a size that the boxes are squished up the edge.

I'm looking for a way to have the boxes level out at a certain point. They are indented with <blockquote>. Any suggestions?

EDIT: Feel free to play with it if you wish, just don't spam it.

http://creaturecorp.com

I'm setting up a comments system, where artistic submissions can be made and usernames from punBB are used when posting comments to them in threaded format. Right now I have the submission information, comments, etc. in a separate database, which is a little troublesome considering I have to consistantly open and close DB connections. I also wish to create a Deviantart.com-style message system, in a central location for PM, reply, and new submission messages. It will take a while but the experience I'll get from coding it will be great! big_smile

For what you want to do, I think it's almost required that you edit the header.php. I can't think of any other way, because the section you wish to be rid of is required for the navigation of the forum. You could just edit it to better suit your needs.

118

(13 replies, posted in PunBB 1.2 troubleshooting)

Use single quotes without the brackets. Try that.

119

(5 replies, posted in Programming)

I fixed it... I have no idea how. Internet stuff is funny that way.

120

(5 replies, posted in Programming)

this is retarded... it's still not working. It's the servers fault, I think.

121

(5 replies, posted in Programming)

I have no idea. big_smile

122

(5 replies, posted in Programming)

I'm having a problem using mod_rewrite. I'm trying to rewrite my main pages into fake directories.

RewriteEngine On
RewriteRule ^([0-9]+)/?$ index.php?page=$1 [L]

That's in the root dir in a .htaccess file. I have mod_rewrite installed and yet this fails to bring up http://creaturecorp.com/index.php?page=contact when I type in http://creaturecorp.com/contact

What's wrong?

Regards,

Creaturecorp

123

(26 replies, posted in PunBB 1.2 bug reports)

This'll be some awesome publicity for you, Rickard! big_smile

124

(2 replies, posted in General discussion)

Aww I shoulda looked harder first. ;_;

125

(2 replies, posted in General discussion)

I was surfing the Macaddict site (http://macaddict.com/forums) because I was putting off studying for my exams. They're now using punbb! I bet Rickard will be thrilled!

Now fat free! big_smile