Thank you, I'll compare it to what is in my file.
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.
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.
Re: Where does PunBB set its sessions/cookies for being logged in? (2 replies, posted in PunBB 1.2 discussion)
Thanks Smartys, that's what I was looking for.
Topic: Where does PunBB set its sessions/cookies for being logged in? (2 replies, posted in PunBB 1.2 discussion)
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:)
Topic: An SQL syntax error of some sort- Help appreciated (3 replies, posted in Programming)
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());
Re: Um like Super noob hear and ultra big Question. (6 replies, posted in PunBB 1.2 troubleshooting)
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?
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?
Re: Anyone interested in helping a friend and I make a blog script? (3 replies, posted in General discussion)
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.
Topic: Anyone interested in helping a friend and I make a blog script? (3 replies, posted in General discussion)
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.
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?
Not more than one question a thread, but you can have multiple choice.
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.
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.
Hi, I can't figure out how to get rid of this certain SQL syntax error when going to userlist.php.
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!
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.