1

(5 replies, posted in PunBB 1.2 troubleshooting)

Thank you, I'll compare it to what is in my file.

2

(5 replies, posted in PunBB 1.2 troubleshooting)

If it does, perhaps I've accidentally changed how posts are censored when I installed a mod or something.

Can someone still tell me where the censor is applied in the code? Just what file, general direction, etc.

3

(5 replies, posted in PunBB 1.2 troubleshooting)

The censor system is alright, but it only censors the word, and not the word with a prefix or suffix on it. I do know MySQL, so I'm wondering if anyone can direct me to where the censors are applied to a post. Thank you.

Thanks Smartys, that's what I was looking for.

I'd like to have other parts of my site only accessible to those logged in, so I'm just wondering where the login cookie/session is at. Thank for the help in advance:)

I'm working on a comment system for the news updates on my site. In doing so, I want the article, let's say it is 1.php, to have a table in the comments database called 1.

The table is $commenttable. However, when I tried writing a comment, I get an error message, which says something about the syntax on this line. I'm guessing the problem is a $commenttable. Any ideas or something that stands out? I can't figure out what the error is. The page is at http://gamesource.biz/news/1.php.

mysql_query("INSERT INTO $commenttable SET name = '$name', comment ='$comment', time = '$time', email = '$email', ip = '$ip'") or die(mysql_error());

All you really have to do is upload the appropriate files to your host (if you are using one, which I'm assuming you are) and read the Readme file along with running install.php.

Would it be possible for you to give a small txt document with changes between each version, so I don't have to go back and look at all the files to see what has changed?

9

(5 replies, posted in Feature requests)

Yeah, one of the files (probably install_mod) has an array at the top where you will see a '1.2.something'. Change it to 1.2.9

Thank you very much NeoTall for the update!

Is there a change file if we have the old one installed already?

Sadly to say it wouldn't be. I can give you free advertising space on the site, but other than that, I can't pay.

Our goal with the blog script is to allow each user on the message boards to have their own blog. We've made a blog script, and have connected it to the PunBB database, and are having some problems like allowing each user to have their own blog (all accounts currently go to the same blog, so we need each person to point to a different table or something). He wrote most of the script, and I connected it to the PunBB accounts. However, his time to work on it is pretty random, so I can't expect a consistent fix. Anyone interested in helping post here, IM, or email me, and I can show you the files and set you up with an FTP account.

14

(1 replies, posted in Programming)

I'd like to create an RSS feed for my site so that readers can get their gaming news and articles easily, like what RSS and Atom feeds should do. I've Googled, Wikipedia'd, the whole schabang, and still don't quite understand how to implement one onto a website. I have a feed reader, and get feeds daily, but I don't know how to make an RSS feed. Any help on the concept would be appreciated.

Stasis, vek, you two are LueLinkers?

16

(4 replies, posted in Feature requests)

Not more than one question a thread, but you can have multiple choice.

17

(4 replies, posted in Feature requests)

http://www.punres.org/desc.php?pid=60

This mod adds three types of polls to PunBB where you can check multiple boxes, click yes/no or true/false on multiple options, or just vote on one option.

18

(2 replies, posted in PunBB 1.2 troubleshooting)

Hmm, I just deleted then retyped the code and it worked o_O
Thanks for mentioning that though. I had gone back and copy+pasted the edited color usergroup code, which never worked. Who knows, but thank you.

19

(1,382 replies, posted in General discussion)

Tom and Jerry

20

(2 replies, posted in PunBB 1.2 troubleshooting)

Hi, I can't figure out how to get rid of this certain SQL syntax error when going to userlist.php.

File: /home/gamesour/public_html/boards/userlist.php
Line: 157

PunBB reported: Unable to fetch user list

Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BY username ASC LIMIT 0, 50' at line 1 (Errno: 1064)

Now, I've found Line 157, but I can't make out any syntax error, although I'm a newbie when it comes to SQL syntax. Line 157 is:

$result = $db->query('SELECT u.id, u.username, u.title, u.num_posts, u.registered, g.g_id, g.g_user_title, g.g_color FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id>1'.(!empty($where_sql) ? ' AND '.implode(' AND ', $where_sql) : '').'ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50') or error('Unable to fetch user list', __FILE__, __LINE__, $db->error());

Because the error mentions the "near 'BY username ASC LIMIT 0, 50'" I'm guessing the error is near the only BY I see, along with the 50, so that's why that area is below as well. All help is appreciated. Thanks in advance.


'ORDER BY '.$sort_by.' '.$sort_dir.' LIMIT '.$start_from.', 50')

Thanks, didn't even think about that. It worked!

22

(6 replies, posted in General discussion)

http://www.bihira.com is also very good for the same price.

23

(3 replies, posted in Feature requests)

My bad completely, a little overzealous to answer at 1 I guess.

My friend and I are working on a website. I originally used PunBB to get the forums started and tested while he went to work finishing a blog script he had been working on before. When he recently finished, I began pieceing (piecing?) the two together so that the blogs would use the usernames and passwords from the PunBB database. It reads the usernames, but won't recognize the passwords. Does anyone know why or how we can get the passwords to be matched by the blog? Tables and everything appear to match and such, so any ideas are welcome.

Links:  Blog and Boards