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 2005-06-03 21:56
Re: Unable to fetch (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.
103 2005-06-03 21:50
Re: money/points when making a post (25 replies, posted in PunBB 1.2 modifications, plugins and integrations)
You mean at cash4posts.com?
104 2005-06-03 21:29
Re: Unable to fetch (20 replies, posted in PunBB 1.2 troubleshooting)
My entire forum is screwed up... It's not even funny
105 2005-06-03 21:01
Re: Unable to fetch (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 2005-06-03 20:09
Re: Unable to fetch (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
108 2005-06-03 02:43
Topic: Unable to fetch (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 2005-05-30 20:19
Re: add a new column in user's profile? (11 replies, posted in PunBB 1.2 discussion)
Oh, I see. Sorry about that. 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 2005-05-30 15:07
Re: add a new column in user's profile? (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 2005-05-29 19:00
Topic: Modded Punbb Upgrades (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?
112 2005-04-29 20:00
Re: OLD TOPIC TO DELETE (45 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Damn, you beat me to it! XD
No comment system? Piffle.
113 2005-04-24 03:49
Re: Nested comments question (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. This also will save bandwidth.
114 2005-04-24 00:19
Re: Nested comments question (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.
115 2005-04-23 23:44
Topic: Nested comments question (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.
116 2005-04-22 16:11
Re: Integrated Punbb into your site? Post your link (60 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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!
117 2005-04-08 16:19
Re: Layout Questions: Your own header without using iframe (11 replies, posted in PunBB 1.2 troubleshooting)
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 2005-03-09 22:20
Re: extern not allowed (13 replies, posted in PunBB 1.2 troubleshooting)
Use single quotes without the brackets. Try that.
119 2005-03-05 03:30
Re: Mod rewrite help (5 replies, posted in Programming)
I fixed it... I have no idea how. Internet stuff is funny that way.
120 2005-03-04 23:23
Re: Mod rewrite help (5 replies, posted in Programming)
this is retarded... it's still not working. It's the servers fault, I think.
122 2005-03-04 22:02
Topic: Mod rewrite help (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 2005-01-27 21:01
Re: Lack of indexes? (26 replies, posted in PunBB 1.2 bug reports)
This'll be some awesome publicity for you, Rickard!
124 2005-01-27 20:58
Re: Macaddict Punbb? (2 replies, posted in General discussion)
Aww I shoulda looked harder first. ;_;
125 2005-01-27 20:29
Topic: Macaddict Punbb? (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!