There's a spell from Dragon #304 that also fits the bill (I suppose I'm okay reprinting it here).
Semblance of Life
Necromancy
Level: Sor/Wiz 7
Components: V, S, M
Casting Time: 1 action
Range: Personal
Target: You
Duration: 10 minutes/level
You sacrifice some of your undead qualities in order to protect yourself against some undead vulnerabilities. You gain the gollowing defenses:
-You appear living, rather than undead, to all mundane and magical inspection (including detect undead.
-You are no longer vulnerable to turning/rebuking or to spells that specifically target undead (such as invisibility to undead)
-You are not harmed by sunlight, nor do you take damage from spells such as searing light and sunbeam.
-If you are a vampire, you are no longer repelled by garlic, mirrors, or holy symbols, and you can cross running water and enter a home without an invitation.
-You are healed by positive energy and cure spells, and wounded by negative energy and inflict spells, though you remain immune to energy drain and ability drain.
You lose the following qualities:
-You are subject to mind-affecting spells and vulnerable to specific spells (such as charm person) as though you were a living creature of your former creature type.
-You lose any energy drain, ability drain, or ability damage attack form you possess.
-You lose any damage reduction you possess.
-If you are in corporeal or exsist on the Ethereal Plane, you become fully solid and material.
Material Component: A gem worth at least 100gp, carved into the likeness of a human face. The gem shatters at the end of the spell's duration, and the spell ends prematurely if the gem leaves your person before then.