Thanks !

I made a little image to show you the place i would like to reduce (shown in red) :
[img=http://img152.imageshack.us/img152/599/capturewidthcl4.th.jpg]

Do you know where to hack in the stylesheet (original one)?

Thanks

Thanks, i start having results but not yet perfect.

Edit: That works nicely smile
Bye

Smartys wrote:

The way I would think about doing it is with two completely separate forum installations, with one installation storing all of the user data.

But there are english messages existing in th DB hmm

i prefer to try to "hardcode" category in SQL query
Kind of

AND (c.cat_name = Forum Sansa EN)

Thanks anyway smile

Sorry, i'll try to explain better. I first created two categories at the same url.
I want to keep only one database but have two (virtually) separated forums with separated languages on separated url's.

One on http://dormrf.free.fr/toutsansa/ (i want only filled from french categorie), one on http://dormrf.free.fr/allsansa/  (i want only filled from english categorie)
Categories as defined in admin_categories.php

Edit:
I suppose i found the place to modify query in original index.php

// Print the categories and forums
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE fp.read_forum IS NULL OR fp.read_forum=1 ORDER BY c.disp_position, c.id, f.disp_position', true) or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());

Hi all,

i made few weeks ago a dedicate forum about Sansa mp3 player with mixed languages (French + English) at the same URL (for curious, "Tout Sansa" in my signature).
Later i tried to duplicate http://.../toutforum with copy/paste and renamed the second directoryhttp://.../allforum, then restarted installation from install.exe , gave identical setup informations. That works perfectly and i have defaut language setup for EN and FR. 
Thats great, i love PunBB (since a few years smile )

Now, i would like to limit call categorie queries to database at categorie 1 (for french version) and at categorie 2 (for english version).

I suppose i just need to change SQL query to change the SELECT argument for both index, forum.php and search (maybe not for searches finaly ?) but don't find where to hack that.
Could a nice knight help me with his light ?

Thanks,
habana

7

(98 replies, posted in News)

Thanks You, Rickard.

just finished the hdiff fun !

Die Flash, die !

Shockwave, active x should go to hell as well.

9

(8 replies, posted in General discussion)

I noticed a lot of bandwith usage with various rss parsers/readers.
They often update to verify if there are changes in the topic/blog/site and are sometimes very badly configured with a wait time of 5 minutes (a case i had with a website using my rss feed parsed on their site).

Two possibilities :
- your webhost sucks
- your forum is very sucessful !

For me, it's the first one when i see this message on mine :\

11

(43 replies, posted in General discussion)

hcgtv wrote:

If anyone is still sitting on the fence and wondering if they should try out Linux, then the latest Ubuntu is for you.

Done since two years smile
I slowly started to evaluate Linux with Mandrake and Debian, tried a few distros and then discovered earlier versions of Ubuntu. Now, Ubuntu became my easy to use system for 3 of my computers.
No pain, only pleasure to use my PC's at their full potential.

Nearly free from Micromachin ! the only thing we would need is more commercial games directly compatible for Linux  !

12

(95 replies, posted in News)

Updated with hdiff output.
Thanks for your continuous support, Rickard !

"last night an antispam saved my life..."

Hi all,

as my PunBB forum was violently spammed each time i gave full acess to all visitors, i lost a lot of visitors when i restricted write access to only registered people.
As they were often using my forum for ponctual trouble (virus, hijackers and so), and even more often are not interested to become members, the board became more than quiet and i resolved to renew write acess to all visitors.
A good antispam "saved" my life (or at least a part of my time). it's name ? Akismet for PunBB

big thanks to PS and his PunBB mod :
Akismet for PunBB

14

(68 replies, posted in PunBB 1.2 discussion)

MadHatter wrote:

you update its index (in this case a blacklisted ip address) and query it over http / xml so it would be a really good candidate for a blacklist server.

Can be useful but the trouble is that people writing and surfing  hidden between an anonymous proxy won't be able to come anymore because spammers use the same proxies to put their 5h1t on our forums.

15

(68 replies, posted in PunBB 1.2 discussion)

Hi all,

until now , my punbb forum only had spam posts (only in answer) pretty often.
Since yesterday, i receive too topic spams from a guy using proxy to hide his ip adress to sell ringtones and viagra hmm

i'm going to install "Forbidden word spam blocker" mod with hope it will help ...

Good luck to board admins !

16

(12 replies, posted in PunBB 1.2 show off)

Yann wrote:

Brand new! wink
http://forum.ubuntu-fr.org

I love them two !
Jolie feuille de style et très bonne distribution smile

17

(1,382 replies, posted in General discussion)

vinegar

judas_iscariote wrote:

If your server was compromised PunBB is unlikely to be the cause. you need a better sysadmin tongue

Not very funny for those who have ever been hacked...

vnpenguin, do you have access to server logs ? It may help you to find the way were used to hijack your forum.
if you can't read the logs, ask to your hosting service to send you logs around the 'crime' hour or for the day it happened. You could ask them to give you a backup of your database before assault.

bye,
habana

19

(10 replies, posted in PunBB 1.2 troubleshooting)

Too bad for me, my forum and website are located on the same MySQL access and abcdelasecurite.free.fr receive very often the "Unable to connect to MySQL server. MySQL reported: Too many connections." message.

In fact, each time there is more than 50 users at the same time (limited by my free host).

20

(39 replies, posted in General discussion)

I use freeware antivirus (Avast - personal use) for my Windows systems and none for my GNU/Linux systems (but installed just for tests Clamav and F-prot  for Linux).
Funny when you think about it smile
Why ? I just don't boot on Windows and prefer to use Ubuntu and Mandriva for my daily activities !

Sorry for this useless post, CodeXP.

I will read full topic before submitting silly messages.
I will read full topic before submitting silly messages.
I will read full topic before submitting silly messages.
I will read full topic before submitting silly messages.
I will read full topic before submitting silly messages.
...

Thanks "quand même" from paris smile

Nice plugin smile

It would be great too to add an option to create a "clone" file (wich could be renamed as bidule.php.SAV and saved in a forbidden access folder) when editing a file and another option to retreive the saved file in case of "editing earthquake" on a file.

23

(4 replies, posted in PunBB 1.2 troubleshooting)

Hello Gargouille,

PUN_ROOT est l'adresse relative définissant où est situé le forum par rapport à la racine du site , d'où le PUN(bb)_ROOT .
On y fait référence dans le fichier install.php

define('PUN_ROOT', './');

Tu peux ensuite y faire référence dans tes propres pages (externes au dossier où est installé le forum) afin d'exploiter les variables et constantes. (utilisateurs, nombre de messages , ...)

@+
hab

Congratulations zaher  !
And three times the same for the mother.

they will always surprise me for their strenght

25

(10 replies, posted in General discussion)

Podcasting is a really cool way to grab and listen to things you may like.

I use BashPodder on Ubuntu Linux to retreive me each day songs and talks from approximately 30 sources.
When i really enjoy some of them, i keep them in a separate folder