Thanks !
1 2007-10-27 21:54
Re: Cant find the place to change a width (3 replies, posted in General discussion)
2 2007-10-27 20:26
Topic: Cant find the place to change a width (3 replies, posted in General discussion)
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
3 2007-10-27 01:20
Re: SQL hack help needed (was How to clone an PunBB forum ?) (6 replies, posted in General discussion)
Thanks, i start having results but not yet perfect.
Edit: That works nicely
Bye
4 2007-10-27 00:13
Re: SQL hack help needed (was How to clone an PunBB forum ?) (6 replies, posted in General discussion)
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
i prefer to try to "hardcode" category in SQL query
Kind of
AND (c.cat_name = Forum Sansa EN)
Thanks anyway
5 2007-10-26 23:55
Re: SQL hack help needed (was How to clone an PunBB forum ?) (6 replies, posted in General discussion)
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());
6 2007-10-26 23:02
Topic: SQL hack help needed (was How to clone an PunBB forum ?) (6 replies, posted in General discussion)
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 )
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 2007-04-12 01:17
Re: PunBB 1.2.15 (98 replies, posted in News)
Thanks You, Rickard.
just finished the hdiff fun !
8 2006-11-15 14:59
Re: Most evil technology on the web? (28 replies, posted in General discussion)
Die Flash, die !
Shockwave, active x should go to hell as well.
9 2006-11-07 19:06
Re: Attempted hack? (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).
10 2006-10-30 14:40
Re: Too Many MySQL Connections (4 replies, posted in PunBB 1.2 troubleshooting)
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 2006-10-16 13:15
Re: Ubuntu 6.06 LTS (43 replies, posted in General discussion)
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
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 2006-10-16 13:09
Re: PunBB 1.2.14 (95 replies, posted in News)
Updated with hdiff output.
Thanks for your continuous support, Rickard !
13 2006-09-25 10:08
Topic: A useful antispam filter for PunBB (3 replies, posted in PunBB 1.2 discussion)
"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 2006-07-11 08:59
Re: How big a problem is spam (68 replies, posted in PunBB 1.2 discussion)
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 2006-07-05 08:41
Re: How big a problem is spam (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
i'm going to install "Forbidden word spam blocker" mod with hope it will help ...
Good luck to board admins !
16 2006-06-05 18:05
Re: Ubuntu-fr.org - New version ;) (12 replies, posted in PunBB 1.2 show off)
Brand new!
http://forum.ubuntu-fr.org
I love them two !
Jolie feuille de style et très bonne distribution
17 2006-05-18 10:39
Re: Word Association Thread (1,382 replies, posted in General discussion)
vinegar
18 2006-05-11 09:02
Re: MD5 hash password is hackable ? (19 replies, posted in PunBB 1.2 discussion)
If your server was compromised PunBB is unlikely to be the cause. you need a better sysadmin
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 2006-04-06 12:22
Re: Too many connections (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 2006-03-07 22:11
Re: What AntiVirus do you use? (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
Why ? I just don't boot on Windows and prefer to use Ubuntu and Mandriva for my daily activities !
21 2006-01-25 16:04
Re: [Release] Update: PunBB Text/File Editor plugin 1.1.2 (52 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
22 2006-01-24 19:14
Re: [Release] Update: PunBB Text/File Editor plugin 1.1.2 (52 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Nice plugin
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 2006-01-12 22:36
Re: Help! Au secours! (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
24 2005-12-13 11:52
Re: Another product was released,born yesterday (8 replies, posted in General discussion)
Congratulations zaher !
And three times the same for the mother.
they will always surprise me for their strenght
25 2005-12-04 22:49
Re: Podcasting (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