26

(12 replies, posted in PunBB 1.2 discussion)

Forum : http://sinhvienthainguyen.com/
http://forum.vnoss.org/pub/svtn-punbb-copyright.png

Reaction at VnOSS : http://forum.vnoss.org/viewtopic.php?id=2845

sad

27

(25 replies, posted in General discussion)

iatbm wrote:

vpnpenguin : can you tell me how you implemented this ? I would need it for my soccer forum

1. Write a parser script to get the page from http://fifaworldcup.yahoo.com/06/en/w/group/index.html and output to HTML files (group_a.html, group_b.html,...)
2. Modify parser.php :
  a. Add some special tag for example :WC2006GroupA: :WC2006GroupB:
  b. Add a new function "do_wc2006" to check tag and include HTML corresponding file at step 1.
3. Run cron job on script 1. to update automatically

That's all smile

28

(25 replies, posted in General discussion)

Resultats (update real time) for each group on our punbb forum too smile
http://forum.vnoss.org/viewtopic.php?id=2826

29

(3 replies, posted in PunBB 1.2 discussion)

Technically, you need define UTF-8 support fonts in your CSS file too.

30

(11 replies, posted in General discussion)

trongha wrote:

i have an domain name. i want a host free of php. where is fint it?

Google will give you a lot ... smile

This is NOT bug, so you posted in wrong forum (which is named "Bug reports")  smile

32

(19 replies, posted in PunBB 1.2 discussion)

Hi all,
It's very sad to tell you that our forum (with latest release of PunBB) was hacked last week sad
Our backup server is compromised. We lossed db with md5 hashed-password. I dont know how they can login into our forum with admin control panel.

Anyone here could confirm me : MD5 hash is hackable ? Admin password in this case is 10 char length with letter + number + special char,... sad
If you tell me that MD5 hash is not hackable, so where is the cause of our accident ?

Thank you,

elbekko wrote:

I usually just do the changes manually so I don't loose precious mod code smile.

I do the same. I have not so many mod in fact, but I have a lot of modifications. So I do always manual update, file by file smile

34

(71 replies, posted in News)

zaher wrote:

One hour is too long, all my user come in my country are behind one proxy, that make a problem so 1 minute is good i will change it by my hand 3600 -> 60, but i prefer put it in Config.php as variable

I used 900 (=15') here smile

35

(5 replies, posted in PunBB 1.2 discussion)

ext wrote:

- and what's the alternative chmod code to get it working properly?

If your web (apache) server runs under "apache" user and you have root access, not need to chmod 0777 at all.
Try:

# chown -R apache cache avatar
# chmod 0755 cache avatar

36

(1 replies, posted in Feature requests)

A simple php script can do the job smile Pay attention to password encryption method if you like to import them from CSV to use with punbb.

37

(5 replies, posted in PunBB 1.2 troubleshooting)

I think this is a SQL compatibility problem. Check version of SQL servers.

38

(9 replies, posted in Feature requests)

Jérémie wrote:

It's possible right now. Set the charset to utf-8, encode the locale strings into utf-8, for the most part it works. A full support of utf-8 would be nice though, and even more nicer to set utf-8 as the default charset (it would solve most of the non-english issues).

Yes, agree with you smile  (t'as raison).

It's ok now. I could "convert" punbb into full-utf8-support forum with MySQL 5.0.18 smile
Thanks,

40

(9 replies, posted in Feature requests)

Yes, you're right. But I think it's the time to think about a full-utf8-support PunBB smile
Until now, after many days play with punBB & MySQL UTF8, I think it's possible smile

More more info: viewtopic.php does not work sad It seems that the following query returns nothing !:

require PUN_ROOT.'include/parser.php';

$bg_switch = true;  // Used for switching background color in posts
$post_count = 0;    // Keep track of post numbers

// Retrieve the posts (and their respective poster/online status)
$result = $db->query('SELECT u.email, u.title, u.url, u.location, u.use_avatar, ....

So in page viewtopic I loss all topics sad

Any ideas ?

More info: word field in table punbb_search_words was changed to varbinary(20).

Hi all,
I'm trying 1.2.10 with UTF8 charset in MYSQL 5.0.17 :
1. All punbb tables are defined with "DEFAULT CHARSET=utf8" and "Collation = utf8_general_ci"
2. Added $db->query("SET NAMES 'UTF8'"); at end of include/dblayer/common_db.php (proposed by someone in this forum)
3. All data was saved as UTF8 charset and under phpMyAdmin I can view all data correctly.

Problems:
1. All forums are lossed. My board is empty. But in Control panel they are there, showed in UTF8 correctly.
2. I can not rebuild index (Forum Maintenance). When I click button nothing is displayed in browser and the tables are empty.

Any ideas about this ?

TIA,

44

(17 replies, posted in PunBB 1.2 discussion)

http://echo.or.id/adv/adv22-y3dips-2005.txt

____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \ 
|    __)_ /    \  \//    ~    \/   |   \
|        \\     \___\    Y    /    |    \
/_______  / \______  /\___|_  /\_______  /
        \/         \/       \/         \/

    .OR.ID
ECHO_ADV_22$2005

---------------------------------------------------------------------------
            PunBB BBCode IMG Tag Script Injection Vulnerability
---------------------------------------------------------------------------

Author: y3dips
Date: August, 20th 2005
Location: Indonesia, Jakarta
Web: http://echo.or.id/adv/adv22-y3dips-2005.txt

---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version: 1.2.6 and most likely below
url : http://punbb.org
Author: Rickard Andersson
Description:

PunBB is a fast and lightweight PHP powered discussion board. It is released
under the GNU Public License. Its primary goal is to be a faster, smaller
and less graphic alternative to otherwise excellent discussion boards
such as phpBB, Invision Power Board or vBulletin. PunBB has fewer features
than many other discussion boards, but is generally faster and outputs
smaller pages.

---------------------------------------------------------------------------

Vulnerabilities:
~~~~~~~~~~~~~~~~

According to the issue that affect PHPBB discovered by easyex recently
at http://www.securityfocus.com/bid/14555/info , so it also affected in
another bulletin board or forum that allow BBcode such as PunBB.

The issue is due to a failure of the application to properly sanitize
user-supplied input in bbcode '[IMG]' tags included in a message or
user signature (if allowed , default is off) .

Successful exploitation of this vulnerability could permit the injection
of arbitrary HTML or script code into the browser of an unsuspecting user
in the context of the affected site.


Exploit:
~~~~~~~~

No Exploit exposed tongue , maybe soon

The fix:
~~~~~~~~

Vendor will be info with details


---------------------------------------------------------------------------
Shoutz:
~~~~~~~

~ m0by, the_day, comex, z3r0byt3, K-159, c-a-s-e, S`to, lirva32, anonymous
~ waraxe , LINUX, Heintz , slimjim100 , lunix, easyex all member of waraxe
~ newbie_hacker@yahoogroups.com ,
~ #e-c-h-o & #aikmel @DALNET

--------------------------------------------------------------------------
Contact:
~~~~~~~~

     y3dips || echo|staff || y3dips[at]gmail[dot]com
     Homepage: http://y3dips.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------

Is this serious ?

Replika wrote:

thanks.
punBB show exactly Vietnamese form file lang.
My problem is when i try to to post a topic and punBB save it to Mysql.
There're an error appears:
"An error was encountered
Error: Unable to fetch search index words."
but the topic is posted with wrong character.

I think the reason is MySQL 4.1.

Hmm, i don't think so. VnOSS forum runs with MySQL 4.1.10 without any problem. No special configuration of MySQL was made in our server.

Replika wrote:

@vnpenguin:
minh khong tim thay van de nay tren trang cua ban.
Ban co the giup minh ko, minh moi dung PunBB.

Yes, I could help you. Just post your question/error at VnOSS forum.

Rickard wrote:

"vietnamese unicode utf-8"? I thought the whole idea of Unicode was to prevent localized character sets smile

You're right. But the notion Unicode is too big wink So "Vietnamese Unicode" means that's a subset of Unicode for vietnamese language wink Of course there is no sense with HTML header, but it's important to know with the fonts.

47

(2 replies, posted in Feature requests)

It would be nice if there is possibility to keep a log of all admin & mod's activities.
So one could know who do what, when,....

just my 0.02 euro  smile

48

(3 replies, posted in General discussion)

jvmedia wrote:

Yeah, 1.15, thanks!

No, there is no 1.15 smile It's 1.1.5

Replika wrote:

I have problem with some utf 8 charater in punBB.
when I try to post "?i?n", it become "?i?n", or "h?c" -> "H?c"...
I can't read in phpMyadmin, because all like "C�ng hoà xã h�i"

I got the same error with my post-page when save to mysql.
However I fixed it by add "mysql_query("SET NAMES 'utf8'", $Sql);"
after select mydatabase:

//
$Sql = mysql_connect("localhost","root","") or die ("error");
mysql_select_db("xyz",$Sql) or die ("error");
mysql_query("SET NAMES 'utf8'", $Sql);
//

My post-page works fine, and in phpMyadmin all nice.
So, anyone help me about this.
---
Apologies for my bad english.

It looks like you use vietnamese unicode utf-8, right ?
If yes, firstly have a look at HTML headers (reply of Rickard). And then do a visit at our forum (url found in my signature).
After that, if you have any problem with vietnamese & punbb, just post your question here or at VnOSS forum.

50

(5 replies, posted in PunBB 1.2 troubleshooting)

Thank you, Smartys!