Sweet
1,302 2008-01-25 23:08
Re: Special permissions for index vs. read (4 replies, posted in PunBB 1.2 troubleshooting)
index.php?
1,303 2008-01-25 22:16
Re: Isnt its time for Punbb to be more SEO Friendly (36 replies, posted in General discussion)
eh, what? No offense, but this post sounds to me like you just heard someone talk about SEO and are trying to show off.
1. I've never seen any PunBB forum have trouble getting indexed (and indexed well).
2. Search engine optimization is not just about your URLs: in fact, they're not even a major piece
3. Search engine optimization does not mean adding .htm or .html to the end of your URL
As Bekko said, 1.3 will natively support SEF (search engine friendly) URLs. That simply means that PunBB will support URLs that aren't simply filename.php?querystring=something. Not all that important, in my opinion
As Matt said, content is king. You can certainly have a site that for various reasons is hard for search engines to index. PunBB is not such a site.
1,304 2008-01-25 22:14
Re: Special permissions for index vs. read (4 replies, posted in PunBB 1.2 troubleshooting)
Mmm, then you probably need to add a new column to forum_perms (show_on_index) and change admin_forums.php so that the permission is used properly. Then, when all your forums are set up properly, you can change the index query to use your new column instead of the read_forum column.
1,305 2008-01-25 21:47
Re: Anyone know what happened to Connorhd / how to get in touch with him? (2 replies, posted in PunBB 1.2 discussion)
If you're talking about a PunBB vulnerability, send me an email (smartys at this domain).
1,306 2008-01-25 21:39
Re: $db->query_build with or without prefix (9 replies, posted in Feature requests)
intedinmamma wrote:Wouldn't $prefix="prefix" be better, so it's possible to set a prefix (or none) instead of the default one? Just a thought.
That's how it's done now, and I personally can't see how setting $prefix empty in any external scripts, (or to whatever prefix required), is any different to having a toggle within the query itself. I'd agree with you, personally.
You guys obviously haven't looked at the query builder code
Here's some example code:
$sql = 'SELECT '.$query['SELECT'].' FROM '.$this->prefix.$query['FROM'];
Now, how exactly is an extension writer supposed to change the prefix? Your way makes sense (although it's an ugly hack) if you're writing a query with all tables without the prefix. But what if you're just adding one individual table without a prefix to an existing query?
1,307 2008-01-25 11:03
Re: Adobe photoshop icon plugin (3 replies, posted in General discussion)
Moved to General Discussion, since this has nothing to do with PunBB plugins.
1,308 2008-01-25 11:01
Re: $db->query_build with or without prefix (9 replies, posted in Feature requests)
Good point, we'll check it out
1,309 2008-01-23 16:13
Re: Forum cleanup - problem with deleting orphans post (3 replies, posted in PunBB 1.2 troubleshooting)
Not sure if this will work (have no "orphaned" posts in my db)...
To find posts where users don't exist:
SELECT p.id
FROM posts p
LEFT JOIN users u
ON p.poster_id = u.id
WHERE u.id IS NULLThen set poster_id for these rows to some new user id, etc etc?
From an older topic
1,310 2008-01-23 04:16
Re: To display Current User's (PHP) (1 replies, posted in Programming)
http://punbb.org/docs/dev.html#integration
Then it's just a matter of looking at index.php to see what the queries look like
1,311 2008-01-23 01:32
Re: [Information] Europe could make the IP address personal data (1 replies, posted in General discussion)
That's not what the article says: it says that the German official in charge of preparing a report on search engine privacy policies and how they comply with EU privacy laws feels that IP addresses should be regarded as personal data (which would change the way it's dealt with in privacy policies). That's one official's personal statement in an official venue. I don't see what's so special about that, given that his statement (as far as I can tell) has no impact other than that which the news coverage gives it. He could certainly put that in his report, which would give it more weight, but a report isn't law by any means. Just because he says he thinks IP addresses should be considered personal data when used to identify people does not mean that there will be new draconian laws implemented to prevent the harvesting of IP addresses.
Let me know if I'm missing something.
1,312 2008-01-23 01:00
Re: Custom Page truncation (6 replies, posted in General discussion)
$trunc_len isn't set anywhere in that code. It also has nothing to do with the actual size of the string, which is what you want in the if statement. You're looking for the strlen function.
1,313 2008-01-22 22:17
Re: [1.3] Simple configuration for extensions (6 replies, posted in Feature requests)
That hook was not there at the time I wrote the post, it was added in the past 24 hours. There is also no guarantee that we won't decide to change the name of that hook between now and the beta. Finally, it doesn't change the fact that there are not yet any hooks within the admin pages themselves where you could add inputs for new config values easily.
1,314 2008-01-21 22:48
Re: Dedicated Servers (6 replies, posted in General discussion)
I'm running PunBB-Hosting off of a server from ThePlanet, excellent service
1,315 2008-01-21 22:47
Re: MySQL version poll (51 replies, posted in PunBB 1.2 discussion)
Smartys wrote:Except when you tell a user that their code using mysql_* functions needs to start using MySQLi functions.
Yeah, but that's only if you need to use any of the added features. The mysql extension works with later version of MySQL as well.
Except that the default password handling was changed, which would lead to those "Client does not support authentication protocol requested by server; consider upgrading MySQL client." messages
1,316 2008-01-21 13:05
Re: MySQL version poll (51 replies, posted in PunBB 1.2 discussion)
Jérémie wrote:Rickard wrote:Weird that they're running completely different MySQL versions on different servers
A lot are. Especially since MySQL changed its password() field handling (at 4.1, I think) and it was a support nightmare from what I hear.
That was only a problem if you had a different version of the client libraries. This isn't an issue for a hosting company because when they update MySQL, they just recompile PHP at the same time.
Except when you tell a user that their code using mysql_* functions needs to start using MySQLi functions.
1,317 2008-01-21 13:03
Re: Punbb.org lately: MySQL errors (1 replies, posted in PunBB 1.2 discussion)
Yup, we're aware of the problem and doing our best to resolve it
1,318 2008-01-21 01:53
Re: MySQL version poll (51 replies, posted in PunBB 1.2 discussion)
Hob Bramble wrote:midPhase - http://midphase.com
I probably ought to get on them about upgrading that...
Apparently, you can just ask and they'll move you to a server with MySQL 5. Weird that they're running completely different MySQL versions on different servers
Probably to make it easier for people. The same reason a lot of hosts run both PHP 4 and PHP 5.
1,319 2008-01-20 23:10
Re: I want my forum may contain HTML. (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
1,320 2008-01-20 20:21
Re: Excluding myself from a particular feature I am using. (7 replies, posted in General discussion)
Yes, except that first line is completely not required. And you could do it with appending instead, which is what I was talking about. But your way should work fine.
1,321 2008-01-20 20:18
Re: Excluding myself from a particular feature I am using. (7 replies, posted in General discussion)
You simply append
<a href="javascript:void(0)" onClick="document.getElementById(\'show_quick\').style.display = \'none\' ? \'block\' : \'none\'; insert_text(\'[b][color=red]@'.pun_htmlspecialchars($cur_post['username']).'[/color][/b] - \',\'\');" rel="nofollow" title="'.$lang_topic['Address Post'].'"><img style="vertical-align: middle;" src="'.$pun_config['o_base_url'].'/img/address_to.gif" alt="'.$lang_topic['Address To'].'" title="'.$lang_topic['Address To'].'" /></a>
to the original value of $username only when they're not the same user.
1,322 2008-01-20 18:53
Re: Emotion Plugin (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Look at the top of the file
1,323 2008-01-20 18:37
Re: Emotion Plugin (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Moved to Modifications, since that's what you're looking for
You can remove the width/height attributes in include/parser.php
1,324 2008-01-20 17:24
Re: Redirect difficulties at login/logout with integrated site (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Aha. Yes, the redirect function will only redirect to paths within the forum base URL.
1,325 2008-01-20 16:54
Re: Redirect difficulties at login/logout with integrated site (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
AracornRed: Removing those lines will expose you to a security risk.
lostcoin: We would need to see your code to figure out what's happening