1. Are you running 1.2.12? If not, upgrade.
2. Have you made any modifications to the scripts? If yes, try it with a fresh copy.
You are not logged in. Please login or register.
PunBB Forums → Posts by Rickard
1. Are you running 1.2.12? If not, upgrade.
2. Have you made any modifications to the scripts? If yes, try it with a fresh copy.
Do you get anything in your webserver error log?
Correct. We have to think long and hard on where to position the hook calls. I'll probably start a topic asking people to suggest places to put hook calls.
You use a proxy to view your own site?
dhdesign (and 505): Open up mod_install.php and look for:
case 'mysql':
After that, insert:
case 'mysqli':
And you should be fine.
I'm using dojo for a non-PunBB related project and it's been great so far. It's not quite what your looking for though (it's huge ).
A good idea. I'll put it on the list for 1.3.
As much as I'm a fan of the "do it yourself instead of using some bloated framework" approach, you could have a look at one of the lighter framworks. For example Prototype.
I'm almost certain the issue is that your webserver is sending a header saying that all content is UTF-8 and that this takes precedence over the meta tag character encoding that PunBB sets. Try creating a .htaccess file in your forum root directory with the contents:
AddDefaultCharset iso-8859-1
Edit: Nevermind I just saw your new post.
If you get a blank page, that probably means you didn't edit the cache file properly. Try setting o_additional_navlinks to NULL. It should looks something like this:
...
'o_quickjump' => '1',
'o_gzip' => '0',
'o_additional_navlinks' => NULL,
'o_report_method' => '0',
'o_regs_report' => '0',
...
Here's what you should do.
Open up cache/cache_config.php and look for o_additional_navlinks. Edit that field and remove your paypal form thing. Then go to admin/options and edit it there as well (and submit).
Updated. Sorry for the delay.
Thanks a lot for the donation!
Well, it basically means that the forum with ID 18 is empty.
In order for those to line up properly, you would have to use the exact same font and font size as PunBB does in posts.
Settle down now. I'm quite aware of the issue. There's not a lot I can do about it though apart from implementing support for MySQL fulltext indexing (something that is on the todo list for 1.3).
chrizz: In the meantime, maybe you should hack your search.php to strip out any leading %?
It's not quite that simple. With your suggested change, you'll end up on the last page if you don't supply the script with a page number.
Here's me: http://digg.com/users/Rickard/dugg
Lets all be friends
Chepra: Insert $pun_config['o_base_url'] and you should be fine. Don't forget to add $pun_config to the globals list in the do_smilies() function.
elbekko: They won't be updated to use PUN_ROOT. They will be prefixed with o_base_url though. PUN_ROOT won't make sense because PUN_ROOT is the relative path on the actual server and might not match the relative path in the URL. These problems arise primarily when using "fancy URLs".
This was featured on Digg today: http://www.myextralife.com/forum/viewtopic.php?id=8915
I saw it at work
<internal joke> Tappa inte böschen! </internal joke>
Enable DEBUG mode and try again. Then post the full error message.
Even though 30-40 seconds might not be a lot in the greater scheme of things, it's incredibly annoying from a user's POV.
chrizz: There's no faster way to search a large table of words (that I know of) unless we switch to MySQL's built-in fulltext indexing. The reason %text% is a lot slower than text% is that the latter assumes the word must start with text. If we search for %text%, MySQL has to read every byte of every word (or at least until the search pattern can't fit).
What you could do is strip out some more noise words from your index. That might speed up the query a bit. Run the following query:
SELECT sw.word, COUNT(sm.post_id) AS hits
FROM search_words AS sw
INNER JOIN search_matches AS sm ON sw.id = sm.word_id
GROUP BY sw.id
ORDER BY hits DESC LIMIT 50
That'll list the top 50 most frequent words used in your forum. I'm sure at least 20 of those words can be added to stopwords.txt in your language pack. Then just rebuild your search index.
Whoops My mistake.
I'm not sure I understand. Looking at the topic ID's in the PunBB feed, the newest topics seem to be at the top.
PunBB Forums → Posts by Rickard
Powered by PunBB, supported by Informer Technologies, Inc.