Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Allow admins to email users using the user to user email function Details »»
Allow admins to email users using the user to user email function
Version: 1.00, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.2 Rating:
Released: 10-26-2006 Last Update: Never Installs: 14
 
No support by the author.

This hack will let admins send emails to users using the front-end email user feature even if the user has opted to hide their email from normal members. So no longer will you have to go into the admin cp to send an email to these members.

Support Will Be Given Here: http://vbhacks.extremewebtech.com/fo...read.php?t=181

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-27-2006, 04:21 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a good idea, I will install this a little later on in the week when i get time so then ill give you some feedback then.

Thanks.
Reply With Quote
  #3  
Old 10-27-2006, 05:09 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now this does sound like a very good idea
thanks alot eXtremeTim, will try it tonight after work

wow, just looked at the instruictions, and its as easy as that lol
I did have a wee search through the templates to see what i could
but as i aint no coder i didnt find out lol....

Thanks again....
Reply With Quote
  #4  
Old 10-27-2006, 08:25 AM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent .............................Bravo
Reply With Quote
  #5  
Old 10-27-2006, 10:40 AM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@*sorry didn't mean to post here!
Reply With Quote
  #6  
Old 10-27-2006, 04:03 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i click the send email to member i get a blank page

heres the 2 edits i made
1st
Code:
	else if (!$userinfo['showemail'] && $vbulletin->userinfo['usergroupid']!=6))
2nd
Code:
	else if (!$userinfo['showemail'] && $vbulletin->userinfo['usergroupid']!=6))
You will see there both the same so no mistake there, all i did was replace the original code with yours as stated.

I noticed that once the edits were made there were 2 )) on the end, is this correct? as there was already a ) in place but was not show in the Find:
Code:
else if (!$userinfo['showemail']
Any ideas please? I am gonna try an remove that extra ) and report back in a mo
Reply With Quote
  #7  
Old 10-27-2006, 04:05 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT:

Ok thats what it was in your instructions you need to add the closing ) to the find, it should be:
Code:
else if (!$userinfo['showemail'])
That way it will replace instead of adding 1

Thanks again, its working great after the fix, well done for a quick responce
I only asked last night...Have a good day!!
Reply With Quote
  #8  
Old 10-29-2006, 07:40 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This can be done via plugins ex: global_start :

PHP Code:
if (THIS_SCRIPT == 'sendmessage' and $vbulletin->userinfo['usergroupid'] == 6)
{
    
$vbulletin->options['displayemails'] = true;
    
$vbulletin->options['secureemail'] = true;

Reply With Quote
  #9  
Old 10-29-2006, 07:43 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the previous to send email via the normal form, but to see the email replace:
PHP Code:
$vbulletin->options['secureemail'] = true
with:
PHP Code:
$vbulletin->options['secureemail'] = false
Reply With Quote
  #10  
Old 02-16-2007, 05:09 AM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible for the admin to see when he's overwriting the user setting?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05628 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete