Notify all phpBB users at new post

Last weekend I made a little hack for the phpBB software. Now every time a user makes a new post to our phpBB-forum, ALL users are notified by email. Since we have a closed board, there a only a few users and a few comments a day.
Instructions:
- Locate the file includes/functions_posting.php
- Find this code in the file:
// -- get forum_userids || topic_userids
$sql = 'SELECT u.user_id, u.username, u.user_email, u.user_lang, u.user_notify_type, u.user_jabber
FROM ' . (($topic_notification) ? TOPICS_WATCH_TABLE : FORUMS_WATCH_TABLE) . ' w, ' . USERS_TABLE . ' u
WHERE w.' . (($topic_notification) ? 'topic_id' : 'forum_id') . ' = ' . (($topic_notification) ? $topic_id : $forum_id) . "
AND w.user_id NOT IN ($sql_ignore_users)
AND w.notify_status = 0
AND u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')
AND u.user_id = w.user_id';
$result = $db->sql_query($sql);
- Replace the above code with:
// -- get forum_userids || topic_userids
$sql = 'SELECT u.user_id, u.username, u.user_email, u.user_lang, u.user_notify_type, u.user_jabber
FROM ' . USERS_TABLE . " u
WHERE u.user_id NOT IN ($sql_ignore_users)
AND u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ')';
$result = $db->sql_query($sql);
Now all your users are notified by email!


Reader Comments (177)
Hi Friends,
Well I wanna thank you for sharing your information. Nice do keep us update with some more.
Предприятие "Шляхет-Сталь" (Польша) предлагает оборудование для автоматических линий убоя птицы производительностью 500-10000 шт./час: парализаторы,
ванны ошпарки, скубарки (автоматы обесперивания), мойки, автоматы патрошки и разделки тушки, ванны охлаждение и т.д.
Предоставляем услуги поэтапной модернизации существующих линий, а также поставки необходимых запчастей к ним.
Преимущества сотрудничества с нами: оборудование высокого качества,
конкурентно способные цены, сервисная бригада и склад запчастей на территории Украины.
http://szlachet-stal.org.ua/
The modern replica nomos watches
comes housed in a black plastic case with stainless steel lugs at each side. The black wristband is nicely crafted from leather, and in case you plan on banging your new watch around a bit, the display is protected by a durable, scratch-resistant mineral crystal face.
What are impotence causes, and what can I do about them?
Impotence (or erectile dysfunction) is defined as the inability of a man to gain an erection as a result of sexual stimulation, or to maintain an erection sufficient enough to have successful sexual intercourse.
Impotence causes a number of men to feel frustrated, inadequate, and anxious. Many men see impotence as a reflection of their sexual ability and virility and because of this often experience loss of self-esteem and depression when faced with impotence. The general belief that psychological factors are the primary causes of impotence is untrue; most impotent men have underlying physical rather than psychological impotence causes.
Impotence causes could be categorized into four main factors: physical, psychological, lifestyle and medication-related causes.
To read more, go here
coach bags outlet
coach bags
Coach Baby Bags
Coach Backpack Bags
Coach Claire Bags
Coach Garnet Bags
Coach HOBO Bags
Coach Luggage Bags
Coach Patchwork Purse
Coach Shoulder Bags
Coach Spotlight Bags
Coach Travel Bags
New Coach Handbags
COACH JEWELRY
Coach Earrings
COACH WALLETS
COACH SHOES
Coach Heels
Coach Sandals
Coach Wedges
chanel bags 2010
chanel bags
chanel bags online
Chanel Luggage
Chanel Cambon Bags
New Chanel Handbags
Chanel Tote Bags
Chanel Wallets
Chanel Belts
Chanel Bracelets
Chanel Earrings
Chanel Jewelry
Chanel Rings
Chanel Sunglasses
Предприятие "Шляхет-Сталь" (Польша) предлагает оборудование для автоматических линий убоя птицы производительностью 500-10000 шт./час: парализаторы,
ванны ошпарки, скубарки (автоматы обесперивания), мойки, автоматы патрошки и разделки тушки, ванны охлаждение и т.д.
Предоставляем услуги поэтапной модернизации существующих линий, а также поставки необходимых запчастей к ним.
Преимущества сотрудничества с нами: оборудование высокого качества,
конкурентно способные цены, сервисная бригада и склад запчастей на территории Украины.
http://szlachet-stal.org.ua/
[b]Free Wordpress Blog Hosting - Blogeters.com[/b]
[b]Blogeters is free, so what’s the catch?[/b]
There’s no catch! To cover costs of running the site, discrete ads are placed on each
page advertising sites relevant to the content of that page. The ads are text-only and have been designed
to blend into the site, to prevent from being an eye-sore.
[b]More than 54 customizable themes![/b]
Blogeters offers over 54 gorgeous themes ranging from fun to professional,
and you can change the look of your blog at any time, with just a click of a button.
[b]Prefered language - 23 localization of your choice.[/b]
[url=http://blogeters.com][b]SIGN UP HERE[/b][/url]
Amazon's competition is already moving in that direction. Shortly after Bezos unveiled the new Kindle, a company called Copia—one of several small manufacturers trying to break into the e-reader market—became the first to break the $100 barrier. Its Ocean Reader will go for $99 when it comes out in the fall.
Nothing to do? see replica calvin klein watches and find your favourite.
This Site is neat and Keep up to the Awesome Work on the Site
____________________
[url=http://bestlowincomehealthinsurance.com/michigan-temporary-health-insurance/]temporary health insurance michigan[/url]
this is a good article.I will keep vRoss replica watches
it and share it whit my friends .I think thay will like it .Richard Mille named his newest uncover of RM011, Felipe Massa Titanium Black DLC Grand Prix Brazil.
Essentially the most latest expression of virtuoso craftsmanship by the Manufacture Jaquet Droz, La Ligne Bleue pushes back the limits of the Grand Feu enameling technique to obtain a colour of unique depth and luminosity: the Jaquet Droz blue.
A colour of the imagination, reverie and meditation, blue has often inspired Jaquet Droz which, from its origins towards the present day, has frequently chosen to array its creations in this fabulous shade. Beginning inside the Enlightenment, its pocket watches replicas and precious snuff boxes celebrated every conceivable nuance of blue.replca tag heuer|
Auf Burning-Series kannst du die Simpsons und zahlreiche weitere Serien kostenlos online sehen! Wir bieten dir mehr als 50 verschiedene Serien, darunter auch Two and a Half Men, Scrubs und Futurama auf 9 verschiedenen Hostern!
On Burning-Series you can find the Simpsons and many more series for free watch online! We offer over 50 different series, including Two and a Half Men, Scrubs and Futurama on 9 different hosting providers!
http://www.burning-series.org/
I have buyed many products on line.Cool.I found some good sites,whose
pruducts have gained popularity among socialites and celebrities.From
these sites,several of my friends buyed products.The Website including.
weight loss
diet pills
how to
lose weights fast
louis vuitton
replica
handbags
lv
louis
vuitton bags
louis
vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
louis
vuitton
replica
handbags
lv
louis
vuitton bags
louis vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
christian
louboutin
louboutin
christian louboutin shoes
louboutin
shoes
bridal shoes
sexy shoes
high heels
shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin
shoes
bridal
shoes
sexy shoes
high
heels shoes
ed hardy
ed hardy
clothing
ed hardy
clothing shirts
ed hardy
clothes
ed hardy
t shirts
ed hardy
ed hardy
clothing
ed hardy
clothing shirts
ed hardy
clothes
ed hardy t
shirts
rosetta stone
rosetta stone
software
rosetta
chaojimengnan supplier
chaojimengnan
pump seals
Mechanical Seals
Silicon Carbide
Alumina
Carbon Graphite
ZL1/1A Mechanical
Seals
ZL43 Mechanical Seals
Electric Pallet
Truck
Electric Pallet
Stacker
Pallet Truck
Pallet Stacker
ed hardy
christia
sex
viagaraonsale
youono
Try our free [url=http://www.roulettelove.com/]online accelerated dating[/url] service
Я живу в Вольске, работаю журналистом информационного центра volsk-life.ru - а вы откуда?
в москве дожди
Hi!
Ich bin Stefan und das ist mein erster beitrag hier.
Ich habe hier etwas gefunden und wollte hier mal fragen was Ihr darueber denkt:
[url=http://www.afreego.com/Categories/Web_Tools/Offline_Web_Readers/105386.php]http://www.afreego.com/Categories/Web_Tools/Offline_Web_Readers/105386.php[/url]
Die Betreiber sagen man kann damit automatisch Geld verdienen. Man kann sich ne Demo runterladen, programm geht aber erst mit lizenz...
Wenn es funktioniert, lohnt sich das bestimmt. Ich werde mir demnaechst eine Einzellizenz kaufen und die Software testen, gibt ja ne Geld zurück Garantie
Hat von euch damit schon jemand Erfahrungen?
Die Betreiber Webseite ist hier:
[url=http://www.automatisch-geld-verdienen.com]Geld verdienen im Internet[/url]
Hello, this is my first post on this forum.
Only three Acai Berry Supplements working for Maximum Lose Weight,
Come and Get [url=http://www.acai-berry-memo.info]Acai Berry[/url] to lose weight!
[url=http://www.acai-berry-memo.info]acai-berry-memo.info [/url]
There is always something indispensable to some guy, while something dispensable, for example, career, family and kindness are indispensable along with a high-class Ferrari or Porsche is dispensable. This also applies to some man’s put on. A successful guy would really feel ok without having a high-classic fit or an high-priced necklace, nonetheless would be unacceptable to be out of the very good swiss replica watches or own just one particular belt. The very reason is not difficult to tell, you can not put on the exact very same one particular for a complete year. You require diverse belt on diverse events.
In the way, the exact belt for the waist represents the exact status, taste and characteristic of the guy. For instance, the exact classic mixture of black alligator belt and silvery white shows a man’s nature of brightness and purity.
Just the exact very same seeing as dress, the exact IWC Da Vinci can also be sorted out into formal, casual and trendy. The very sort of the belt has a close relationship towards the occasion as well as the complete image. The very function of the belt has surpassed its original function—fixing the exact trousers.
Within the formal events such seeing as negotiation or official meeting, the exact belt’s pattern really should accord with the exact formal fit and shoes. The very black and deep brown color would be a very best selection. And the alligator really should be superb, the exact cowhide produced is preferable. There really should not be other articles hanging for the belt. Just seeing as a guy require a woman who could live well with, he also require a correct belt to fit himself. Any discomfort would make you divorce your belt a great deal quicker.
You can find fewer restrictions when matching a belt towards the casual dress. It’s time to present your cost-free life when inside a casual dress. The very color could be any on the dress as well as the material could be produced from crocodile skin, snake skin or even ostrich skin. This is both casual and high-quality.
If your dress is quite trendy, your belt really should be exaggerative and trendy when in friends meeting or party. It’s a very good opportunity to present your personality. On such events, the exact belt could be punk, or like the exact one particular for the waist of firefighter or other people creating you stand out. The very materials of such kind of belt are a great deal additional different. Any sort which you can believe of is appropriate for such occasion.
Anyway, ways to select a belt depends for the cloth on you body. And don't forget that a great match would make you a great deal additional great.
Please visit my personal blog exacthandbag.net for more information.replica iwc|