vankon wrote:

most language is single byte/character, but Chinese is double byte/character(word) ,
in utf-8, most Chinese Word is 2 byte, other is 3byte or 4 byte.

this is a problem!

This should be fine. Russian (my native) is 2 bytes in UTF-8 too.

vankon wrote:

str_replace('*', '%', $cur_word)

This replaces * with % in SQL query. You should search *数据库* if you want search *database* and 数据库 for just database - these may give two different results. Using %word% every time is not good as I will find all the carpet, scare, careful instead of just car I was really looking for.
Do I miss something?

vankon wrote:

the smilies will not work if without blank before smilies code

We suppose this is a feature, not a bug :-)

102

(16 replies, posted in Discussions)

ganes wrote:

come on'..which one is serious?

$9,99 monthly? or what?

Though you may pay $9,99 monthly... or at least yearly... if you want tongue

103

(16 replies, posted in Discussions)

No plans to charge users now.
PunBB is currently under GPL.
Even if the license ever will be changed, some one may take last GPL-ed version (once published under GPL, the code cannot be "taken back") and go on development of the free version. See GForge story for example.

104

(4 replies, posted in PunBB 1.3 additions)

Try to add

global $forum_user;

in the beginning of the function (about line 581).

105

(3 replies, posted in PunBB 1.3 extensions)

Garciat is right.
pun_poll is not ready yet, but coming soon (from days to weeks).

SlavoK is working on solution for you, ganes.

movingzachb wrote:

I know that restoring means "restoring the database" - and when I attempted to do that it gave me an error  regarding duplicate entries" - thats what im trying to explain. Your intructions included me changing someting IN the database -  - if you can't support me in that area then i dont know what im going to do - I need this forum to work.

Please, learn how DB works.
I don't know whether you have DROP commands before CREATE in your DB dump (open it in text viewer and try just to read). If you don't, you should first drop all the tables manually or recreate the whole DB.

Step by step.
1. Be sure you have a good DB dump (i.e. it created all the tables and rows). Be sure you have a copy of your old 1.2 files.
2. Drop all the tables in your DB (or drop the DB itself and recreate it again with the same name).
3. Restore tables fro the dump.
4. Follow these instructions then: Migration from PunBB 1.2 (replace old 1.2 files with new 1.3 ones keeping config.php and img/avatars and upgrade DB)
5. You should now have working PunBB 1.3 installed.

rob_van_triet wrote:

extensions had other collations then original forum

Still interested in.
What extensions? How did this happen that they had different collations?
Do you DB has latin1_swedish_ci as default collation?

Thanks.

Очаровательно! smile

vart wrote:

додано Є=YE, Ї=YI, Ґ=KG

Should we add it to the default url_replace.php?

Garciat wrote:

I can make it next week.

I still suppose you should stop promising doing everything next week. See Valve Time :-)
Best of all is just having a prioritized queue adding new tasks to the end. Also remember Rickard's signature.

111

(21 replies, posted in PunBB 1.3 extensions)

8k84 wrote:

If pun_quote is enabled, then those who have javascript disabled can not quote at all (well, they can use cut&paste, etc.)

Why not javascript-enable only the new "Quick quote" button, leaving the "old' Quote/Reply button intact for those who prefer (or have to) keep javascript switched off?

You are right.
Added to wiki.

vankon wrote:

The search engine is very well for English, but is not good for Chinese.
it only can get Result for English, no Result for Chinese!

What's wrong with Chinese?
(Are you on the topic? Create new topic if this is not related to this one, please.)

113

(2 replies, posted in PunBB 1.3 troubleshooting)

Administration => Forums => Edit => Edit forum permissions

if you mean this

maststef wrote:

I get the following errors when I try to automatically install extensions

You mean you use pun_repository?
Try to remove the pun_bbcode.tgz file form /extensions/ - looks like it was broken while downloading.
If this doesn't help, try to uninstall all extensions and remove their directories - except pun_repository! - and try to download/install again.

danno 86 wrote:

hello again, i have just realised that it is only one section of my forum that is showing the page numbers wrong. the other sections are all fine.
this has only been after upgrade.
if anyone have any information please plese let me know.

All you said to this moment is that something is wrong.
Please, give us more details:
1. What are you doing/looking at?
2. What are you expecting to get/see?
3. What are you actually getting/seeing?
Maybe screenshot?

To all. Please, specify:
1. DB version you had while updating
2. what collations were set on db/tables before update
3. what was the actual encoding of the texts you had in database before update


w00t wrote:

No magic at all. Just convert text/varchar fields like posts & topics to uft_general_ci.
Wrote a small script to automatize all of them and after beeing converted, ran the update script.

Everything now runs smoothly with correct chars.

Do you mean setting collation to uft_general_ci at what moment of the update?
db_update.php should have set them while updating.

Sorry, but teaching the base web-knowledge is not included into official PunBB support.
Try to find someone who would be ready to help you to understand and use base techniques of host/site/db administration or just use Google and Wikipedia at least.

I don't get what are you actually trying to do now.
Just restore (this means not files, but database) your forum from the backup (you said you have) and solve the "Bad HTTP_REFERER" issue as described above (best way is to directly config table via any DB-administration tool).
Another way is to upgrade forum to 1.3 after restoring from backup. There will be no "Bad HTTP_REFERER" issue.

118

(1 replies, posted in Fun)

Ha-ha.
Things will change :-)

esupergood wrote:

I cannot find any directory called EXTRAS.
Sorry if I'm being stupid but I just can't find it.

You are right, warning message is incorrect. Will be fixed. Thanks for report.

120

(27 replies, posted in News)

snapsolutions wrote:

Where is the script turn maintenance_mode_off then?

Use

define('FORUM_TURN_OFF_MAINT', 'true');

instead.
This may be added to config.php.

121

(14 replies, posted in PunBB 1.3 troubleshooting)

If not solved, try to uncomment/edit RewriteBase parameter in your .htaccess file.

122

(2 replies, posted in PunBB 1.3 troubleshooting)

Do you mean that "Last post" makes the topic-line two-lines-height?

Could you please point an issue (draw/outline) at the screenshot?

PunBB version/mods? URL?

hcgtv wrote:

Try the feed aggregator - http://www.punres.org/desc.php?pid=373

Carciat: maybe it is easier just simply port this mod to 1.3 as an extension.

125

(14 replies, posted in General discussion)

Garciat wrote:

but it could be done with an extension

Yes, this would be a nice extension.

Though I'd also think of adding per-user color option :-)