Page 2 of 3

Re: [3.0.5] Hide a part of the message for Guests (1.0.0)

Posted: Sat Jun 13, 2009 9:13 am
by onehundredandtwo
EsmerÖzcan wrote:
katib wrote: And what about bots and spiders like google?
I want google to be able to spidre my forum withut restriction
deos your Mod allow this !?
Thanks
bots have no restrictions they can see everything without problems
Just remember that anybody could change their user-agent to have GoogleBot/ at the end, and they would be classified as a bot. :geek:

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Tue Jun 16, 2009 6:36 pm
by Andrea.Trionfera
I've tryed to install this mod on my community, but it doesn't work. Why?

I use phpBB 3.0.4
Thank you.

Re: [3.0.5] Hide a part of the message for Guests (1.0.0)

Posted: Tue Jun 16, 2009 7:25 pm
by drankur
drankur wrote:i am getting this error
Fatal error: Call to undefined function mb_substr() in /home/xxxx/public_html/forums/includes/functions_hide_message.php on line 31
can anybody help me on this?? i am using phpbb-seo mod

Re: [3.0.5] Hide a part of the message for Guests (1.0.0)

Posted: Tue Jun 16, 2009 7:45 pm
by EsmerÖzcan
drankur wrote:
drankur wrote:i am getting this error
Fatal error: Call to undefined function mb_substr() in /home/xxxx/public_html/forums/includes/functions_hide_message.php on line 31
can anybody help me on this?? i am using phpbb-seo mod
I also use phpbb-seo and i have no error with this codes...

Replace the functions_hide_messeage.php with

Code: Select all

<?php
/**
*
* @package phpBB3
* @version $Id: hide_message.php 2009-06-6 $
* @copyright (c) 2008, 2009 TeskilatForum.neT - EsmerÖzcan 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/


/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if 	($user->data['user_id'] == ANONYMOUS) 
{
	$user->add_lang('mods/hide_message');
    $messagelength		= 	250;	//	You can edit the message length here
    $messagelength1 	= 	strlen($message);
	$l_messagelength 	=	$user->lang['MESSAGE_LENGTH']; 
	$l_messagelength1 	=	$user->lang['MESSAGE_LENGTH1'];
        
	if ($messagelength1 > 	$messagelength)
    {
		$message		=   "$l_messagelength <b><u>$messagelength</u></b> $l_messagelength1"
		.substr($message, -$messagelength1, $messagelength); 
	}    
}

?>
Andrea.Trionfera wrote: I've tryed to install this mod on my community, but it doesn't work. Why?

I use phpBB 3.0.4
Thank you.
get you a error message or is the mod not displayed?

Re: [3.0.5] Hide a part of the message for Guests (1.0.0)

Posted: Tue Jun 16, 2009 8:09 pm
by Andrea.Trionfera
EsmerÖzcan wrote:
get you a error message or is the mod not displayed?
MOD not displayed.

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Wed Jun 17, 2009 3:20 pm
by Andrea.Trionfera
Can you help me?

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Wed Jun 17, 2009 3:39 pm
by EsmerÖzcan
Andrea.Trionfera wrote:Can you help me?
sry for my late reply but I am almost all day in school :)

I have this mod only tested on 3.0.5 :?

maybe you have forgotten to make the changes from the install.xml??

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Wed Jun 17, 2009 4:07 pm
by Andrea.Trionfera
EsmerÖzcan wrote:
Andrea.Trionfera wrote:Can you help me?
sry for my late reply but I am almost all day in school :)

I have this mod only tested on 3.0.5 :?

maybe you have forgotten to make the changes from the install.xml??
No, i've make all changes that install.xml says.

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Thu Jun 18, 2009 4:33 pm
by Andrea.Trionfera
Are you sure this MOD run correct on phpBB 3.0.4?

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Thu Jun 18, 2009 5:35 pm
by EsmerÖzcan
Andrea.Trionfera wrote:Are you sure this MOD run correct on phpBB 3.0.4?


I have not tested on 3.0.4, I have written this mod after 3.0.5 was released...

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Fri Jun 19, 2009 7:16 am
by Andrea.Trionfera
So I think in future I will update 3.0.4 to 3.0.5

:(

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Sat Jun 20, 2009 2:05 pm
by katib
Andrea.Trionfera wrote:Are you sure this MOD run correct on phpBB 3.0.4?
Yes !! it works on 3.0.4 as well as on 3.0.5
I tested it on both
onehundredandtwo wrote: Just remember that anybody could change their user-agent to have GoogleBot/ at the end, and they would be classified as a bot. :geek:
thanks
I am aware of that, fortunatelly, ot all internet users are aware of that
but it is unimportant. because in a way or in a other, the bord's visitor can access the content..
I am only using this Mod to put some lazy guests to registers :mrgreen:
to be more content protective, I would use another Mods like "Post count requirement"

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Sat Jun 20, 2009 2:10 pm
by Andrea.Trionfera
katib wrote:
Andrea.Trionfera wrote:Are you sure this MOD run correct on phpBB 3.0.4?
Yes !! it works on 3.0.4 as well as on 3.0.5
I tested it on both
Ok, I try to re-install.
Thank you!

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Sat Jun 20, 2009 2:37 pm
by spaceace
very nice work. have it installed and it seems to work very nice :D

looking forward to the finished version :mrgreen:

Re: [BETA] Hide a part of the message for Guests (1.0.0)

Posted: Sat Jun 20, 2009 7:56 pm
by youngjediknight
Out of curiosity, has anyone that has this mod installed for a period of time noticed that their registration rates have gone up at all? And try to be honest. :lol: