Quote:
Originally Posted by Dr.osamA
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.