vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Email users regardless of 'no mail from admin'-setting in CP (https://vborg.vbsupport.ru/showthread.php?t=37748)

Sparkz 04-21-2002 09:00 PM

Email users regardless of 'no mail from admin'-setting in CP
 
Description: Small hack that adds a Yes/No options to 'Email Users' and 'Build Mailing List', which allows the admin to include users that has chosen to not recieve emails from admins.
All changes are done in admin/email.php

Tested on: 2.2.5
Requested by: angelsb i tch
All directions are included in the attached file.

John 04-22-2002 09:14 AM

Nice :)

afterlab 04-22-2002 09:41 AM

I'm not going to install this, but i'll help ya out with a little something.. I checked out your instructions, and why don't you add in the deletion of the "Receive notices by Moderators etc.." row in the template, editoptions. Because if you leave that in there, it would seem worthless, and members could become confused.

Sparkz 04-22-2002 09:54 AM

I think it should stay there. The only times I would use this hack (if I had it installed myself) was if I wanted to notify the members of something really important. By leaving it the users can opt to not recieve 'normal' messages from admins (of course, the admins would have to use some common sense when chosing to send messages to all users.)

Floris 04-22-2002 03:09 PM

Very nice hack! We will discuss this to see if we want to install it

Sparkz 04-22-2002 03:30 PM

Thank you :)
I was kinda bored at work today, and desperate to do something not work-related... This was the result :)

Sparkz 04-23-2002 10:08 PM

It suddenly dawned on me that this could be quite useful to notify that the site have to go offline - or something like that - for whatever reason... I might even install this myself now... lol :)

jjj0923 04-24-2002 03:37 PM

I think it's a great hack. If you want to take advantage of all the benefits of my forum that I installed, pair for and maintain, they'd better be willing to accept important emails from me once in a while. If not, leave....

:) - jeff

Sparkz 04-24-2002 04:39 PM

I have not tested it on 2.2.4. It is only tested on 2.2.5.
The option should be added at the bottom of the page, tho.

Matt 06-09-2002 05:14 PM

This hack isn't actually complete, at least it doesn't do what its supposed to fully. It works for the first page but when there is more than one page the variable isn't sent to the other pages. So basically after the first page it will only send to those who have specified that they want to receive email. I managed to fix this though.

Great hack btw!

Derek 06-20-2002 03:08 PM

Matt, do you mind posting the code that you edited? It would be helpful as you called for the bug, fixed it yourself, yet aren't showing us what you did... :D

Kathy 06-23-2002 07:02 PM

Yes, please?

I need to be able to email my entire membership regardless of their prefs in their control panel for emailing.

Would you mind explaining the code you changed to make sure that all the members (not just the ones on the first page) are emailed?

Thanks!

Matt 07-31-2002 05:13 PM

Sorry it took me so long to reply, I have been REALLY busy. Lemme try and remember what I did......

*looks at code*

FIND :
makehiddencode("postsupper",$postsupper);

UNDERNEATH add:
makehiddencode("regardless",$regardless);


This ensures that the variable $regardless is passed to every page rather than just to the first page :) Hope that helps you guys!


All times are GMT. The time now is 12:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02425 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete