651

(3 replies, posted in General discussion)

Moved to general discussion.

I'm no SEO expert, but I believe that you may at least partially fix that problem by making mod_rewrite rules or similar to redirect possible variants of the address to one single format. Also just being consistent with the URLs of links to your site (when you can control them) should help.

652

(7 replies, posted in Programming)

MadHatter wrote:

mysql is not an OS.

I think he meant "it's OS" as in "it is open source".

I'm thinking of switching over to SQLite (if I can successfully convert my database) because my host has a pretty old version of MySQL. Oddly enough, though, my host told me that they do not "support" SQLite even though I did a little test and they most certainly do. I'm not sure if that means they don't want people doing it, whoever answered my email didn't know what he/she/I was talking about, or they don't want to confusion in case I'm using PHP 4 rather than 5.

653

(25 replies, posted in General discussion)

I was so sad when I heard about this. sad

654

(9 replies, posted in PunBB 1.2 show off)

Oooh, very cool. I especially like the modded userlist (or did you just start that over from scratch?).

The style looks great as well.

655

(12 replies, posted in Programming)

Does anyone happen to know of any good Ajax tutorials about making Ajax apps without some sort of funky "framework" or "library", preferably with a bias towards PHP on the server-side?

I've done a bit of quick searching, but I haven't found much so far. sad

656

(7 replies, posted in Feature requests)

Smartys wrote:

Muahaha, fast posting is fun tongue

You and elbekko are so annoying. wink

I spend way too long on some posts.

657

(7 replies, posted in Feature requests)

The ability to set multiple moderator groups will be included in 1.3 AFAIK.

FYI, plugins prefixed with AP_ are viewable only by administrators, while those prefixed with AMP_ are viewable by both administrators and moderators. Once 1.3 is released and the ability to create multiple moderator groups is implemented, it should be fairly easy to hard-code group checks into plugins.

EDIT: darn it smile

Tomas: for that PHP code, you can use pun_include as described at the following URL: http://punbb.org/docs/faq.html#faq3_4

No, that is not right. This should work though:

<?php

if($pun_user['is_guest'])

{

?>

<center><b>xyz</b></center>

<?php

}

?>

660

(11 replies, posted in PunBB 1.2 show off)

Quaker: the text of the chatbox on your site extends over the border in Firefox (2.0 Beta 2, although I don't think it has any changes that would make its rendering of that page any different than 1.5).

661

(13 replies, posted in PunBB 1.2 show off)

Ok, let's stop arguing about this. How Life Spirit uses his forum is his own business. If Jagex wants to do something about it, it can. smile

662

(8 replies, posted in Programming)

elbekko wrote:

Well, when I installed Zend Studio for testing it screwed up my PHP and moved php.ini =/ So yeah, I guess phpinfo() can be useful there tongue

Hmm, the problem I mentioned ocurred when I tried to install Zend Optimizer. A pattern, maybe...?

663

(4 replies, posted in PunBB 1.2 discussion)

You'll want to edit this block of code in viewtopic.php:

                // We only show location, register date, post count and the contact links if "Show user info" is enabled
                if ($pun_config['o_show_user_info'] == '1')
                {
                        if ($cur_post['location'] != '')
                        {
                                if ($pun_config['o_censoring'] == '1')
                                        $cur_post['location'] = censor_words($cur_post['location']);

                                $user_info[] = '<dd>'.$lang_topic['From'].': '.pun_htmlspecialchars($cur_post['location']);
                        }

                        $user_info[] = '<dd>'.$lang_common['Registered'].': '.date($pun_config['o_date_format'], $cur_post['registered']);

                        if ($pun_config['o_show_post_count'] == '1' || $pun_user['g_id'] < PUN_GUEST)
                                $user_info[] = '<dd>'.$lang_common['Posts'].': '.$cur_post['num_posts'];

                        // Now let's deal with the contact links (E-mail and URL)
                        if (($cur_post['email_setting'] == '0' && !$pun_user['is_guest']) || $pun_user['g_id'] < PUN_GUEST)
                                $user_contacts[] = '<a href="mailto:'.$cur_post['email'].'">'.$lang_common['E-mail'].'</a>';
                        else if ($cur_post['email_setting'] == '1' && !$pun_user['is_guest'])
                                $user_contacts[] = '<a href="misc.php?email='.$cur_post['poster_id'].'">'.$lang_common['E-mail'].'</a>';

                        if ($cur_post['url'] != '')
                                $user_contacts[] = '<a href="'.pun_htmlspecialchars($cur_post['url']).'">'.$lang_topic['Website'].'</a>';
                }

Simply add the other link to the $user_contacts array. Use $cur_post['poster_id'] to get the user id.

664

(8 replies, posted in Programming)

Smartys wrote:
pogenwurst wrote:

I think some people use C:\WINNT\ too. I think I did at one point (I'm not sure, that's when I ended up with 2 php.ini files and wasn't sure which one was right smile ).

phpinfo() is useful for figuring that out tongue

Hehe, stupid me, I forgot about that. I never remember how useful phpinfo() is when I most need its help. tongue

Oh well, it was a few months ago anyway.

665

(8 replies, posted in Programming)

I think some people use C:\WINNT\ too. I think I did at one point (I'm not sure, that's when I ended up with 2 php.ini files and wasn't sure which one was right smile ).

666

(7 replies, posted in PunBB 1.2 troubleshooting)

Please enable debug mode and paste the full error (there are instructions on how to do so in this forum).

667

(146 replies, posted in PunBB 1.2 modifications, plugins and integrations)

phatax wrote:

PunCMS - did it ever get done...?
I need it so badly smile

No. There is, however, a custom pages mod and a portal mod created by Connorhd. There are also more ambitious projects such as PunBB Frontpage and Puntal - neither is really a full-fledged CMS, but they're almost like CMSs.

Dr.Jeckyl wrote:

that's going to be an interesting movie for sure.

Oh god, I saw the trailer at the theater and just couldn't help laughing. It was so dramatic and ominous... about transformers. big_smile

669

(18 replies, posted in General discussion)

Mine is hard to guess. wink

Hey! We're already friends. smile

Anyone else on Digg?

670

(16 replies, posted in PunBB 1.2 troubleshooting)

MadHatter wrote:

think 30-40 seconds is slow? 

we do a massive tracking system for united way that has some fairly complex searching of the database (sproc's that are hundreds of lines long).  we moved the searches off of the sqlserver and into an online search engines, and the query that indexes the search data into the search engine takes about 5 hours to execute, and thats a seriously optimized query too.

Ouch. Sounds like fun. sad

671

(14 replies, posted in PunBB 1.2 discussion)

calande wrote:

Yes, unordered and ordered lists would be great smile
I'd like h1, h2, h3 as well...

I don't know of any mod that adds support for header tags, but you can get ordered / unordered lists through the list BBCode mod.

672

(13 replies, posted in PunBB 1.2 show off)

Haha, exactly. smile

Life Spirit - please don't interpret this as me criticizing you, I simply don't agree with the methods you employ. Many others use similar methods, and if you are one of them, I fully respect that.

673

(13 replies, posted in PunBB 1.2 show off)

elbekko wrote:

Yeah, it's kinda stupid to advertise a forum only registered users can see >=/

It's a fairly common strategy for getting more registrations. I think it's a bit foolish since many of the extra users you'll get won't post anyway, but some people seem to like that method.

674

(13 replies, posted in PunBB 1.2 show off)

iatbm wrote:

there are no forums !

My guess would be that he has them set to be viewable by members only.

Smartys wrote:

Because $fid only applies for new topics.
To make it work for new posts and new topics, using $cur_posting['id'] instead

Aaargh, I looked for something like that, but couldn't find it. sad