Tipafriend and Anonimus user

Author Message

Martynas Bilevičius

Sunday 21 October 2007 11:15:00 am

Hi, i want tu use this modul in site, but only register users can send mail to friens using this tipafriend function, can everyone use on site use this function and send mail to friends. I creat link to tipa friend for all users but wthen click on it system want that i login to page. Way a cant use it mauby Roles anr policies bloc it ?

Diego Barcia

Sunday 21 October 2007 12:15:29 pm

Hi,

I think it's better to allow the tipafriend functionality only for registered users. I had this enabled on a 3.8.x instance, and had to remove it because of spammers. Spammers can use this feature to send unwanted mail without you even knowing it.

See this issue: http://issues.ez.no/8851

I think you can enable/disable this function by means of yout site.ini settting for your siteacces, under [SiteAccessRules]

As for 3.8.x series this function was enabled by default, but perhaps today is the opposite. You would have to change the default settings for this.

The disable setting I did use was
[SiteAccessRules]
Rules[]=access;disable
Rules[]=module;content/tipafriend

I think there is a "cpatcha" extension (replicate a string generated by an image) to allow anonymous users send the page URL to other mail addresses. For this see
http://ez.no/developer/forum/general/how_avoid_tip_a_friend_abuse

Martynas Bilevičius

Sunday 21 October 2007 12:39:23 pm

Thanks, i also fink about spamers so i try to use cpatcha to solve spam problem.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 08:14:31
Script start
Timing: Jan 31 2025 08:14:31
Module start 'layout'
Timing: Jan 31 2025 08:14:31
Module start 'content'
Timing: Jan 31 2025 08:14:31
Module end 'content'
Timing: Jan 31 2025 08:14:31
Script end

Main resources:

Total runtime0.0170 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.1328151.2109
Module start 'layout' 0.00580.0023 739.343836.6484
Module start 'content' 0.00810.0073 775.992290.0313
Module end 'content' 0.01540.0016 866.023429.9922
Script end 0.0170  896.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.7539140.0002
Check MTime0.00116.4291140.0001
Mysql Total
Database connection0.00073.895810.0007
Mysqli_queries0.002313.589930.0008
Looping result0.00000.057410.0000
Template Total0.00127.110.0012
Template load0.00095.209310.0009
Template processing0.00031.812910.0003
Override
Cache load0.00063.614610.0006
General
dbfile0.002816.621280.0004
String conversion0.00000.046240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs