05 Mar WPMU: Checking if User is Member of Blog
When I first started using WPMU, I assumed that when you registered subscribers to a specific blog, they would only be able to access that blog. I was completely wrong. I was shocked to not see any setting that kept users out of other blogs once they were registered.
Here is a fix to keep users separated. I put this in the header.php, inside my theme folder.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | if( ! is_user_logged_in() ): //Do Nothing else: // Get current user Info global $current_user; get_currentuserinfo(); // Check if user is member of blog if ( is_user_member_of_blog( $current_user->ID ) ) { // If they are a member } else { //If they are not a member of blog, redirect them somewhere else wp_redirect( 'http://example.com' ); } endif; |
cialis online pills
Posted at 09:45h, 13 Maycialis online pills
cialis online pills
tadalafil patent expiration
Posted at 10:18h, 13 Maytadalafil patent expiration
tadalafil patent expiration
levitra online usa
Posted at 21:29h, 13 Maylevitra online usa
levitra online usa
price of ivermectin tablets
Posted at 12:39h, 17 Mayprice of ivermectin tablets
price of ivermectin tablets
cost of ivermectin pill
Posted at 19:25h, 17 Maycost of ivermectin pill
cost of ivermectin pill
canadian pharmacy viagra prices
Posted at 22:00h, 17 Maycanadian pharmacy viagra prices
canadian pharmacy viagra prices
ivermectin cream 1%
Posted at 03:50h, 18 Mayivermectin cream 1%
ivermectin cream 1%
prednisone for sinus infection
Posted at 13:03h, 26 Juneprednisone for sinus infection
prednisone for sinus infection
how much provigil should i take
Posted at 13:53h, 26 Junehow much provigil should i take
how much provigil should i take
swiss chems nolvadex
Posted at 19:13h, 26 Juneswiss chems nolvadex
swiss chems nolvadex
is trazodone addictive
Posted at 07:37h, 27 Juneis trazodone addictive
is trazodone addictive
how much will 5 mg lisinopril lower blood pressure
Posted at 07:41h, 27 Junehow much will 5 mg lisinopril lower blood pressure
how much will 5 mg lisinopril lower blood pressure
ampicillin contraindications
Posted at 19:48h, 27 Juneampicillin contraindications
ampicillin contraindications
doxycycline for dogs side effects
Posted at 22:07h, 27 Junedoxycycline for dogs side effects
doxycycline for dogs side effects
how long does it take for valtrex to work
Posted at 05:26h, 01 Julyhow long does it take for valtrex to work
how long does it take for valtrex to work
does tadalafil increase size
Posted at 12:40h, 20 Decemberdoes tadalafil increase size
does tadalafil increase size
tadalafil online pharmacy
Posted at 15:13h, 20 Decembertadalafil online pharmacy
tadalafil online pharmacy
best place to buy levitra
Posted at 17:34h, 20 Decemberbest place to buy levitra
best place to buy levitra
sildenafil side effects
Posted at 04:56h, 21 Decembersildenafil side effects
sildenafil side effects
sildenafil cost
Posted at 06:38h, 21 Decembersildenafil cost
sildenafil cost
buy levitra usa
Posted at 21:53h, 22 Decemberbuy levitra usa
buy levitra usa
tadalafil and blood pressure medication
Posted at 22:49h, 22 Decembertadalafil and blood pressure medication
tadalafil and blood pressure medication
cialis blood pressure side effects
Posted at 23:58h, 22 Decembercialis blood pressure side effects
cialis blood pressure side effects
sildenafil discount
Posted at 05:32h, 24 Decembersildenafil discount
sildenafil discount
does publix pharmacy carry oxycodone
Posted at 09:27h, 24 Decemberdoes publix pharmacy carry oxycodone
does publix pharmacy carry oxycodone
comprar vardenafil
Posted at 13:27h, 24 Decembercomprar vardenafil
comprar vardenafil
tadalafil best price
Posted at 10:28h, 25 Decembertadalafil best price
tadalafil best price
pharmacy website
Posted at 14:07h, 25 Decemberpharmacy website
pharmacy website
b12 injections online pharmacy
Posted at 15:16h, 25 Decemberb12 injections online pharmacy
b12 injections online pharmacy
how long does it take for tadalafil to work
Posted at 15:17h, 25 Decemberhow long does it take for tadalafil to work
how long does it take for tadalafil to work
gabapentin for back pain
Posted at 15:43h, 27 Decembergabapentin for back pain
gabapentin for back pain
which is better naproxen or ibuprofen
Posted at 20:08h, 27 Decemberwhich is better naproxen or ibuprofen
which is better naproxen or ibuprofen
celebrex anger
Posted at 23:20h, 27 Decembercelebrex anger
celebrex anger
lamotrigine vs carbamazepine bipolar
Posted at 00:31h, 28 Decemberlamotrigine vs carbamazepine bipolar
lamotrigine vs carbamazepine bipolar
side effects of mebeverine hydrochloride 135mg
Posted at 02:29h, 31 Decemberside effects of mebeverine hydrochloride 135mg
side effects of mebeverine hydrochloride 135mg
diclofenac tablet
Posted at 05:13h, 31 Decemberdiclofenac tablet
diclofenac tablet
difference between sumatriptan and rizatriptan
Posted at 17:15h, 07 Januarydifference between sumatriptan and rizatriptan
difference between sumatriptan and rizatriptan
side effect of mobic tablets
Posted at 21:08h, 07 Januaryside effect of mobic tablets
side effect of mobic tablets
para ke sirve el piroxicam
Posted at 21:18h, 07 Januarypara ke sirve el piroxicam
para ke sirve el piroxicam
lioresal 10 mg prospecto
Posted at 21:30h, 07 Januarylioresal 10 mg prospecto
lioresal 10 mg prospecto
how can i get cheap ketorolac without insurance
Posted at 12:32h, 09 Januaryhow can i get cheap ketorolac without insurance
how can i get cheap ketorolac without insurance
cost of generic toradol for sale
Posted at 17:11h, 09 Januarycost of generic toradol for sale
cost of generic toradol for sale