Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2011-07-14 22:37:34

Spiky
Member
From: France
Registered: 2009-08-31
Posts: 54

[MOD] Tag HIDE

Tag HIDE for FluxBB

Mod latest version:       1.2.2
Review date:       2013-10-09 for FluxBB 1.5.4
                          2012-11-14 for FluxBB 1.5.1
                          2012-05-19 for FluxBB 1.5.0
                          2011-07-10 for FluxBB 1.4.5

Release date:      2006-04-11 for PunBB 1.2.11 by angelsin.

Author:               Spiky aka lesurfeur for 1.4.x / 1.5.x

Description:         Allows to hide from the text (or link) to all the members (excepted
                          for the administrators and the moderators) with beacons
                          [hide][/hide].
                          The members will have to write an answer to see the hidden
                          message.

                          French:
                          Permet de cacher du texte (ou lien) à tous les membres
                          (Excepté pour les administrateurs et les modérateurs) avec
                          les balises [hide][/hide].
                          Les membres devront écrire une réponse pour voir le message
                          caché.

Affected files:      include/parser.php
                          viewtopic.php
                          lang/English/common.php (P.S: Make him for all the languages                                    installed in your forum)
                          lang/French/common.php (P.S: le faire pour toutes les langues                                  installées dans votre forum)

Affects BD:          No




down_current.png Download

Last edited by Spiky (2013-10-09 14:52:28)

Offline

#2 2011-07-14 22:40:16

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,729
Website

Re: [MOD] Tag HIDE

Thanks.
We would be glad about a fully internationalized version soon. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2011-07-14 23:20:43

Spiky
Member
From: France
Registered: 2009-08-31
Posts: 54

Re: [MOD] Tag HIDE

I did not want to weigh down the installation by creating files languages for three lines.
If need, I shall make him during the next revision.

Offline

#4 2012-02-27 09:07:15

unikum
Member
From: Russia
Registered: 2012-02-18
Posts: 4
Website

Re: [MOD] Tag HIDE

This mod not compability with current version FluxBB.
I fixed readme.txt for current version. Can anyone come in handy.
http://privatepaste.com/685c023937

Last edited by unikum (2012-02-27 13:55:39)

Offline

#5 2012-11-14 18:34:32

Spiky
Member
From: France
Registered: 2009-08-31
Posts: 54

Re: [MOD] Tag HIDE

Update for FluxBB 1.5.1

Offline

#6 2013-10-09 14:50:16

Spiky
Member
From: France
Registered: 2009-08-31
Posts: 54

Re: [MOD] Tag HIDE

Update for FluxBB 1.5.4

Offline

#7 2013-11-22 17:18:37

abdellah
Member
From: France
Registered: 2010-10-19
Posts: 10

Re: [MOD] Tag HIDE

Hello,

I installed it on FluxBB 1.5.5 I did the tests locally there is no problem, but oddly online (in 1AND1) there is a bug that affects the viewtopic.php file. indeed if I did as he was told in redame lines 7 to 8 I did the first post of the thread (the message from the person who created the topic) other messages have disappeared.

I think this is the query that problem

$result_num_post = $db->query('SELECT count(message) as num_message FROM '.$db->prefix.'posts WHERE poster_id='.$pun_user['id'].' AND topic_id='.$id, true) or error('Cannot found the amount of message of the user', __FILE__, __LINE__, $db->error());

Host (1AND1) forced us to spend all php4 5.4 php scripts do not work on their servers, is that its just come from?

Offline

Board footer

Powered by FluxBB 1.5.6