vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Admin Auto HTML Email (https://vborg.vbsupport.ru/showthread.php?t=232687)

CypherSTL 01-09-2010 10:00 PM

Admin Auto HTML Email
 
1 Attachment(s)
This hack takes any emails sent by administrators only that has the <html> tag present, and sends it as an HTML email message.

iask 01-10-2010 09:31 AM

first :)

BBF 01-10-2010 09:40 AM

this is the same like this mod -> https://vborg.vbsupport.ru/showthread.php?t=231532

BlackJacket 01-10-2010 11:39 AM

Thanks. Tagged for later use.

abdobasha2004 01-10-2010 11:38 PM

thanks
needed very much

AzzidReign 01-11-2010 09:46 AM

Thank you.

roymogg 01-11-2010 11:49 AM

Thanks Cypher,

I was waiting for this for version 4 - good work

RoyMogg

CRDeveloper 01-17-2010 11:41 PM

This one doesnt change the normal mail system right?

Dr.osamA 01-18-2010 02:08 AM

Quote:

Originally Posted by BBF (Post 1951800)
this is the same like this mod -> https://vborg.vbsupport.ru/showthread.php?t=231532

it is same 1

thanxx

installed
________
Public movie

CypherSTL 01-18-2010 05:06 AM

Quote:

Originally Posted by Dr.osamA (Post 1958799)
it is same 1

thanxx

installed

Do you actually know how to read? As in, open the XML and look before just saying "Yes, it's the SAME", when it's not?

Or, do you just have no idea what usergroup ID 6 is? It means for ADMINISTRATORS.

So, let's go back to first grade and put things together?

Code:

if ($vbulletin->userinfo['usergroupid'] == 6)                        {
If you guessed, That everything after the { happens for usergroup ID 6, you're getting better!

Now, let's look at the next part:
Code:

if(strlen($message) != strlen(strip_tags($message)))                                {                                $headers = str_replace('Content-Type: text/plain', 'Content-Type: text/html', $headers);                                }
This part tells PHP to send email as HTML

So, if you managed to pass first grade, you could tell that this mod functions for Usergroup ID 6 Only, which was?? come on...you remember...that's right..Administrators.

Bottom line, learn to read, and look at code before saying it's the same.


All times are GMT. The time now is 07:23 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.01035 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete