Remove Greetings completely

I have removed every appearance of Greeting from my site. It's does not show up on profile. Nowhere!

 

I have even removed the member browse from my menu so no one can go to a member's profile unless they specifically know whom they're looking for. 

I've changed settings so no one can send greetings. I've removed the option from all pages. Yet, systematically, every Thursday, everyone in the database is getting an e-mail stating

 

"We are glad to inform you that Visitor sent you a greeting!

A greeting means that the person visited your profile and liked it. Have a nice day and enjoy!

Thank you for using our services!!"

 

How is this possible? How do I completely disable this? Which file do I remove? Please help!

 

 I know this is happening because I have 2 registrations myself on my site and also, 2 other people have a problem receiving e-mail so the e-mail to them gets kicked back.

 

ANOTHER STRANGE THING ... the greetings are usually sent out at 1 am or 2 am.

 

Have I been hacked? It almost seems this thing is happening automatically!!!!???? 

 

How do I get to the root of this?

 

It must be annoying to everyone. How do I stop this????? 

Quote · 13 Aug 2008

How about removing yoursite.com/greet.php or renaming for now to see what happens?

If the greets come at the same time every night, you might check your logs to see if they happen to be from the same ip address. If so you could block the ip address completely. Chances are they might just change there ip and try again, but it could just be some kid messing with you too.

I added the following to my greet.php

if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
if ( !( $logged['member'] = member_auth( 0, true ) ) )
{
if ( !( $logged['aff'] = member_auth( 2, false ) ) )
{
$logged['moderator'] = member_auth( 3, false );
}
}
}



Just under:
$_page['name_index']     = 44;
$_page['css_name']

So besides the rest of the code it looks something like:

$_page['name_index']     = 44;
$_page['css_name']        = 'vkiss.css';
if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
if ( !( $logged['member'] = member_auth( 0, true ) ) )
{
if ( !( $logged['aff'] = member_auth( 2, false ) ) )
{
$logged['moderator'] = member_auth( 3, false );
}
}
}


This makes it so only a registered member can use it. A guest wouldn't be able to directly access the file anymore. But a registered member could certainly abuse it too.

I don't have any problems with greet when using the above code.

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 13 Aug 2008

How about removing yoursite.com/greet.php or renaming for now to see what happens?

If the greets come at the same time every night, you might check your logs to see if they happen to be from the same ip address. If so you could block the ip address completely. Chances are they might just change there ip and try again, but it could just be some kid messing with you too.

I added the following to my greet.php

if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
if ( !( $logged['member'] = member_auth( 0, true ) ) )
{
if ( !( $logged['aff'] = member_auth( 2, false ) ) )
{
$logged['moderator'] = member_auth( 3, false );
}
}
}



Just under:
$_page['name_index']     = 44;
$_page['css_name']

So besides the rest of the code it looks something like:

$_page['name_index']     = 44;
$_page['css_name']        = 'vkiss.css';
if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
if ( !( $logged['member'] = member_auth( 0, true ) ) )
{
if ( !( $logged['aff'] = member_auth( 2, false ) ) )
{
$logged['moderator'] = member_auth( 3, false );
}
}
}


This makes it so only a registered member can use it. A guest wouldn't be able to directly access the file anymore. But a registered member could certainly abuse it too.

I don't have any problems with greet when using the above code.

gameutopia

Is this compatible with 6.1.4.?

Where does the code go exactly?

// --------------- page variables

$_page['name_index']     = 44;
$_page['css_name']        = 'vkiss.css';

$logged['member'] = member_auth(0, false);

$_page['header'] = _t("_Send virtual kiss");

// --------------- page component

--------------------------------------------

Like this?

// --------------- page variable

$_page['name_index']     = 44;
$_page['css_name']        = 'vkiss.css';
if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
if ( !( $logged['member'] = member_auth( 0, true ) ) )
{
if ( !( $logged['aff'] = member_auth( 2, false ) ) )
{
$logged['moderator'] = member_auth( 3, false );
}
}
}

$_page['header'] = _t("_Send virtual kiss");

// --------------- page component

Thanks, Stuart

There are none so blind as those that will not see.
Quote · 13 Aug 2008

That's correct. I can't say that it will eliminate your problem totally. It's what I use. After using that and someone tries to go to yoursite.com/greet.php it will tell them they need to sign in before they can use that page instead. Try going to yoursite.com/greet.php before adding this and after adding it to see the difference. Make a backup of the original or grab a copy of greet.php from the download just in case you mess up or miss part of the code in your edit.

I don't know if it will solve your problem. So far I haven't had any issues with greetings, but I have been using that code on the page as long as I can remember in all dolphin versions.

The line with the "true" is saying that they have to be signed in before they can use the page. If it said "false" then they wouldn't have too, like the admin line above it.

Worth a try anyway.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 13 Aug 2008

I do agree many ignore a robots.txt file, and I really can't verify that this will prevent them. It does stop random visitor or guests from accessing the page regardless of robots.txt

Whether there is some way around this or other hack to take advantage of it and continue sending out greets I do not know for sure.

Try it out and see if it helps. If not remove greet.php from your main directory completely if you continue to have issues.

I do not have any issues or problems with spamming the greet.php file when using this code. But every site is different and others seem to get hit harder than some.

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 13 Aug 2008

I have removed greetings.php

I have removed the greetings icon from Actions.

 

I see that on the contacts.php page there is still an icon for greetings.

Is there a correct way to remove this?

 

Is there anywhere else that there is a 'greeting' icon?

 

Thanks DV

Quote · 21 Nov 2008

How do you completely remove all reference to Greetings throughout the site? In other words, what files do I need to comment out code from?  I've already commented out greeting from the actions panel, but what about the search results, etc.?

I have removed every appearance of Greeting from my site. It's does not show up on profile. Nowhere!

 

Quote · 14 Oct 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.