The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
LOL! I got it right before you wrote this message. Here's what I used and it worked. You pointed me in the right direction with the $displayemails. I looked at the code right above it and it jumped out at me.
Wouldn't the if (!$enableemail) actually work better than the $displayemails, though? (I don't need it but if in the future I wanted to mess with it, I mean.) Code:
if($userinfo[email]!="" and $userinfo[showemail]) { eval("\$userinfo[email] = \"".gettemplate("getinfo_email")."\";"); } else { $userinfo[email]=""; } Quote:
|
#12
|
||||
|
||||
hmm, i don't know if !enabledemail would work better, i just found $displayemails in the same clauses as $userinfo[showemail] so i think these belong together
|
#13
|
||||
|
||||
I understand what you are saying, but if all I need is to have error_emaildisabled not show up if they have it disabled, would I really need the $displayemails, too? I'm just trying to learn here, I don't mean to sound argumentative or anything. If you really think I need it, I will add it. You know alot more about this than I do.
Quote:
|
#14
|
||||
|
||||
as long as you have enabled e-mails in your admin-cp you dont need it, but if you want to disable the email-functions somewhere in future, you have to add it
|
#15
|
||||
|
||||
Ok, now that makes sense once you explain it like that. I thought it was basically doing the same thing as showemail did. I will add it then. Thanks for explaining that to me.
|
#16
|
||||
|
||||
np
i try to help if and when i can |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|