Support Forums

How to control the number of message sent?

This is a discussion on How to control the number of message sent? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi, it would be interesting if we could control the number of email sent by members. So if I could ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 02-15-2009, 07:36 PM   #1
Customer
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 289
Rep Power: 22
hel68c is just really nice hel68c is just really nice
Default How to control the number of message sent?

Hi,

it would be interesting if we could control the number of email sent by members.

So if I could receive an email when a client has sent more messages allowed, I could see better if there is no abuse. or spam.

Or if it is hard to do I would like to receive an email each time a member is contacted


Is there someone who would have an idea how I could make the change

best regards
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline   Reply With Quote
Old 02-15-2009, 08:17 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I haven't tested this, however I believe this should work.

In your contact.php file around line 140 find this:
PHP Code:
$vars['email']=$to
add this after that:
PHP Code:
$vars["youremail@doman"]=$bcc
-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-15-2009, 09:54 PM   #3
Customer
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 289
Rep Power: 22
hel68c is just really nice hel68c is just really nice
Default

Hi Mike,

I tried and it doesn't work.

Best
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline   Reply With Quote
Old 02-16-2009, 06:58 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Try this instead (again, I haven't tested this)

In contact.php around line 13 find this:
PHP Code:
$format = new Format(); 
Right after that add this on a new line:
PHP Code:
$bcc="youremailaddress"
Then as before around line 140 add this:
PHP Code:
$vars['bcc']=$bcc
Obviously, you should change "youremailaddress" to your actual email address.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-16-2009, 11:19 PM   #5
Customer
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 289
Rep Power: 22
hel68c is just really nice hel68c is just really nice
Default

I tried again but it's not working

I know the variable bcc is assign with myemail address but the email is only sended to the contact not admin.
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Username Length outlook Technical Support 0 07-09-2008 10:36 PM
How much control would i have? doc1975 Pre Sales Questions 6 09-12-2006 11:03 AM
Thank you message page- custom message? zman78 Templates, HTML, CSS, and Design Help 6 04-05-2006 08:58 PM


All times are GMT -4. The time now is 08:40 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0