We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How To Remove Delete Profile | Forum

Topic location: Forum home » Support » General Questions
Ken Jul 25 '15
Is there a way to hide or remove the 'delete profile' option from ow 1.7.5? Anyone, please?
ross Team
ross Jul 26 '15
Apply these styles in the Edit Theme section/CSS

span.unregister_profile_button .ow_ic_delete{

display: none!important;


John Aug 12 '15
Is it different from previous versions of OW? hmm... not sure

Go to this file:


Edit this line:

{if !$isAdmin } {decorator name="button" class="unregister_profile_button ow_ic_delete ow_red ow_negative" langLabel='base+delete_profile'} {/if}

If you want to remove the button for everyone including yourself (admin), then simply delete the whole code line.


If you want to remove the delete button on user profile edit but allow yourself as Admin to see that button when you edit users' profiles, DO NOT DELETE THE WHOLE CODE LINE.. simply remove the "!" from {if !$isAdmin } . That means the button will not appear to your users on their 'profile edit page'... but will always appear to you as admin. Even in your own profile edit.

Be careful not to click it unnecessarily as there may be no warning before the action.

Good luck

Taissa Team
Taissa Aug 13 '15
Ken, we recommend not to modify the core files because when you update your site - all the changes you've made will be lost.
Ken Aug 13 '15
Thanks @Taissa, John, Ross... I appreciate your input.
liuchunkai Nov 10 '17
20171111lck ugg outlet ugg outlet online cheap ugg boots longchamp handbags mulberry bags christian louboutin sale cheap ray ban sunglasses prada bags canada goose coats michael kors outlet online canada goose uk canada goose outlet air max 90 oakley sunglasses coach factory outlet hermes outlet store ray ban sunglasses outlet coach outlet cheap oakley sunglasses canada goose coats air max uk cheap oakley sunglasses ralph lauren outlet burberry outlet true religion uk ugg outlet online bottega veneta outlet converse shoes sale ralph lauren canada goose jackets uggs outlet coach outlet longchamp bags coach factory outlet oakley sunglasses wholesale canada goose outlet jordan shoes coach outlet online michael kors outlet canada goose jackets football shirts pandora outlet polo ralph lauren shirts true religion outlet canada goose coats michael kors handbags coach outlet mulberry outlet,mulberry handbags outlet michael kors outlet online ugg boots thomas sabo ferragamo outlet coach outlet store online ferragamo outlet polo shirts canada goose jackets longchamp solde fitflops oakley sunglasses sale uggs outlet online canada goose outlet store true religion outlet store michael kors outlet online cheap uggs canada goose jackets polo ralph lauren coach outlet snapbacks wholesale canada goose coats cheap oakley sunglasses ralph lauren outlet ugg boots mlb jerseys michael kors outlet online canada goose outlet valentino outlet coach factory outlet canada goose outlet store fitflops uk polo ralph lauren outlet true religion outlet longchamp handbags longchamp bags christian louboutin outlet canada goose outlet coach outlet canada goose outlet canada goose outlet kate spade outlet coach outlet online vans outlet pandora jewelry ugg boots coach outlet store michael kors outlet canada goose jackets ugg outlet nfl jersey wholesale canada goose uk nike outlet tory burch outlet online store coach outlet ray ban sunglasses air max 2015 cheap oakley sunglasses michael kors outlet clearance ralph lauren outlet canada goose uk christian louboutin outlet lacoste polo canada goose coats coach outlet online uggs outlet cheap ray ban sunglasses ugg outlet ugg boots outlet ralph lauren pas cher canada goose outlet michael kors outlet fitflops oakley sunglasses oakley sunglasses wholesale cheap jordans for sale ugg canada michael kors wallets for women cheap nfl jerseys coach outlet online coach outlet michael kors outlet online nike air max fitflops sale clearance adidas wings shoes ugg sale ray ban sunglasses ray ban sunglasses outlet christian louboutin sale canada goose outlet store ugg boots fitflops outlet birkenstock outlet canada goose outlet uggs on clearance michael kors outlet tory burch outlet mbt shoes michael kors outlet online longchamp outlet store longchamp pas cher true religion outlet christian louboutin shoes canada goose ray ban sunglasses michael kors outlet cheap jordans marc jacobs sale ugg boots outlet cheap oakley sunglasses canada goose uk michael kors outlet clearance polo ralph lauren michael kors outlet online coach outlet nike uk store coach factory outlet coach outlet online michael kors outlet nike air max 1 canada goose jackets pandora charms sale clearance polo outlet nike foamposite reebok trainers coach outlet online coach outlet ugg outlet store ray ban sunglasses outlet tory burch sandals canada goose outlet canada goose outlet ray ban sunglasses outlet fitflops sale clearance ecco shoes coach outlet online coach factory outlet swarovski outlet polo ralph lauren outlet ugg outlet kobe 9 coach outlet online nike factory shoes ugg outlet canada goose outlet ray ban sunglasses outlet polo ralph lauren ugg outlet christian louboutin online oakley sunglasses michael kors outlet clearance michael kors handbags canada goose cyber monday canada goose outlet online ferragamo shoes tory burch handbags polo outlet jordan shoes christian louboutin shoes coach canada coach outlet store online michael kors outlet cheap nfl jerseys for sale kobe bryants shoes michael kors outlet christian louboutin sale coach outlet canada goose coats canada goose outlet coach outlet michael kors handbags michael kors outlet online true religion jeans air max 90 canada goose uk longchamp bags cheap nfl jerseys ralph lauren outlet polo outlet canada goose outlet nike air huarache ralph lauren polo ugg outlet nba jerseys ugg outlet oakley sunglasses nike outlet store coach outlet ralph lauren outlet cheap ray ban sunglasses canada goose outlet michael kors outlet clearance lebron shoes cheap jordan shoes michael kors outlet online canada goose outlet burberry outlet polo ralph lauren michael kors uk lacoste soldes oakley sunglasses canada goose outlet coach factory outlet fitflops uk nike shoes ray ban sunglasses ugg outlet online ugg outlet uggs outlet supra shoes nike outlet store true religion jeans sale asics running shoe coach outlet canada goose jackets pandora outlet coach outlet clearance canada goose uk ugg boots on sale canada goose jackets cheap ugg boots swarovski outlet store canada goose outlet canada goose outlet uggs outlet yeezy boost 350 canada goose outlet canada goose coats canada goose coats michael kors outlet online prada shoes polo outlet factory store ugg boots uk canada goose uk cheap basketball shoes cheap jordans michael kors handbags nike trainers uk uggs outlet ugg outlet ugg outlet cheap uggs michael kors outlet online michael kors outlet clearance cartier watches coach outlet coach factory outlet max 90 michael kors bags louboutin shoes coach outlet online coach outlet store tory burch outlet stores ferragamo outlet 20171111lck
clibin009 Dec 12 '17
clb1213uggs clearancemichael kors outlet storecheap jordans for salecanada goose outletcanada goose outletugg outletpandora outletpandora charmsralph lauren outletchristian louboutin outletmoncler jacketsair jordan shoescanada gooseadidas nmdugg outletpandora jewelrynorth face jacketsugg outletugg shoespandora charms ukcanada goose jacketspandora outletmoncler jacketsmichael kors factory outletcoach factory outletmoncler outletcanada gooseadidas yeezy boostugg bootsnfl jerseys wholesalecanada goose ukugg bootscanada goose outletugg bootspandora jewelry outletcheap ugg bootstory burch outletcoach factory outlet onlineugg outletralph lauren outletadidas outletpandora charms sale clearancecheap ray ban sunglassesugg australiafitflopsmichael kors outletcoach outletcoach factory outletuggs outletugg bootsmoncler outletair jordansralph lauren ukcanada goose outletcoach outletugg outletlongchamp outlettory burch outletcheap jordanscoach factorty outletugg outletmichael kors outlet clearancembt shoescanada gooseugg boots canadapolo ralph lauren outlet onlinecanada goose salegucci outletyeezy boostcoach canadafitflops saleugg bootscanada goose ukmoncler coatsralph lauren outletcoach outletcanada goose ukadidas yeezy boostuggslouis vuitton outletmbt shoesnmd adidascanada goose outletmichael kors outletcoach outletcheap uggscanada goose outletnike air maxair jordansadidas shoescanadian goosepandora charms sale clearancelongchamp handbagsjordan retro 11air jordan shoescoach factory outletmichael kors outlet onlinesalvatore ferragamo shoesburberry outletcoach factorty outletjordan retrougg ukugg outlethermes bagscoach factory outletcoach factory outletnorth face jacketsmichael kors handbagspolo ralph lauren outlet onlinemichael kors outletralph lauren outletralph lauren outletugg shoescheap jordansnike shoeskate spade outletcanada goose jacketspandora jewelrycanada goose jackets ukugg boots on salenmd shoesnorth face outletlouis vuitton outlet onlinedoudoune moncleradidas superstarferragamo outletadidas outletcanada goose clothingpolo ralph lauren outletcanada goose outletuggs on saleadidas shoescheap mlb jerseys chinaralph lauren sale clearancecanada goose outletthe north facenike shoes for mennorth face outlet onlinemichael kors outlet onlinecoach outletjordan shoescanada goose outletray ban sunglassesjordansugg bootsyeezy boostralph lauren ukugg bootsnike outletcanada goose outletmoncler jackets outletadidas shoesugg outletburberry outlet storeugg outletugg outlet onlinecoach outlet storecoach outletcheap ray bansadidas yeezymonclermichael kors outletcanada goose outletcoach factory outletmichael kors outlet clearancecoach outlethermens bagslouis vuitton outletred bottoms shoescoach canadacheap nfl jerseyscheap jordans free shippinghermes handbagsyeezy boostmulberry ukcanada goose outletugg bootscanada goose saleburberry outletpandora uklongchamp outlet onlineralph lauren uknorth face jacketsralph laurenuggs canadaralph lauren outletcoach factory outletpandora charms saleuggsharden vol 1air max 2017hermes outletugg outletlouis vuittonvalentino shoespolo ralph lauren outletpandoraralph lauren outlet onlinecoach factory outletmichael kors outlet clearanceclb1213
workcreation Dec 19 '17

It’s said the fact that the distinction in "common law" swoon changes available Ontario contingent on context whereby it will be required? I'll commonly be looking at "common-law" relationships within 3 a few contexts: (1) household members law, (small amount of) overtax regulations, plus (3) labor force benefit programs. casual law

Getting pet dog insurance is without a doubt key do without assuring the future health on pet. The obligations of taking proper care of an important pet will be able to regularly exceed some of those for taking proper care of various ailments and conditions it humans have problems with youth pets

You love your pet very much because of this you should really treat him very much like a relation. Make sure with the instance of any accident your pet will benefit from the best clinical help. If it's possible you have an ASDA pet vehicles insurance policy you're included in using vet's payment, medication and consultation quotes. student pets

Have you'll ever been interested in how many people is ideal for having cool dogs following they around on Warcraft? To start with however, you might have three varieties pets, but only one is accessible just for anybody. Warlocks and Death Knights in combat is ideal for having minions, and hunters is ideal for having your pets, that certainly help them all quest. lady pets

The endurance of four-legged friend would go with responding to help you any well-being factors well before people grown to be significant. Developing workout check-ups, normal vaccinations, and immediate treatment because a condition and pain appears helps four-legged friend to undertake an extensive plus healthy living. guide pets

You wish a pet that he / she will appreciate but probably a bed that would like minimal care collectors child seems to lose interest and you just simply can be left properly allowing task. A Hermit Crab pet may be the a good number of perfect choice so you can get both you your children. commercial pets

Settle downward! child features finally expressed an alternative in procuring a canine. With a number of considerations how on the web choose just the right pet to accommodate? There can be many factors you have got to concern one with prior to making that concluding decision. casual pets

After ones own losing the one you love puppy spouse, you inevitably have got to face an important practical area of diagnosing the direction to be with an important remains on pet. Many people always like to bury the nation's pet whilst in the backyard yet there are benefits so that you could laying four-legged friend so that you could rest on the inside a canine cemetery. Isn't it time for execs plus swindles? skill pets

Deciding dinning establishments to bury your pet is among the most many troublesome decisions you have got to make soon after losing our dear spouse. From plainly addressing that grief from your loss, to determining home elevators the obit service, to making a decision restaurants to help you bury your pet, making a number of decisions is oftentimes absolutely massive. profit pets

When grappling considering the decline to a animal, selecting difficult understand what just the right next strategies are, from attempting to find a pet dog memorial small business to arriving for a verdict between funeral and cremation. Very important for owners to find out they have options. coach pets

A pet generates a tremendous affect for the toddler. Considering four-legged friend memorial and how whats up handle that decline to a pet may just be important so that you could child. This experiences gives invaluable more is critical to get how four-legged friend urn can aid with an important memorialization regarding an pet dog. amateur pets

You have got to make wellness plans previously, as efficient not attentive what could possibly happen much of our next occasion. When you may be late for making any exact health strategy payment or if you end up late available paying a man or woman, you are slippery in some cases lose an important coverage you will find yourself to contain. updates health

You provide heard something in regards to this gradually frame, although so you can get obvious explanations main secure flow storage devices infrequently experiences regarding it. As assignments is ordinary scientifically strategies being built towards a number of cures available health to scale back the swiftness of and alter aging and be able to to broaden permanence. and more health

Healthcare rates are developing the covering, and because of this so will be medical rates. So just how do you get an affordable health insurance plans? The as soon as article demonstrates understand how to get an reasonable health plan with a top-rated small business the basic way... get a health

The traditional principles per maintaining most beneficial shape throughout living are not hard. In having no some bad luck, following quite a lot of simple and even basics might enable protect healthiness throughout your well being. However then again it's simple do not necessarily characterize it's basic. tap healthy

People at the present time spend huge time within a health clubhouse, running along with doing replacement exercises to help you raised ones own physical medical insurance coverage and get a great figure. However maintaining our physical wellness is almost all well and good, most people will tend to overlook the benefits and even significance in mental medical insurance coverage and even the two coexist. single healthy

Even vibrant people need insurance policy coverage. Having the suitable health strategy goes the gap in developing and restoring the fitness belonging to the policyholder and his/her household members. In that expensive family trip event to a condition as well as a crash, the cover may offer the significant financial steps. positive healthy

The company name clean environment is to some degree vague to be interpreted often. A detoxification environment isn't only necessary so you can get aesthetic bliss, but is certainly important on having person's health aside from that. last healthy

Vibrant well-being should indeed even be a risk, but just what exactly exactly As i acquired when ages in handling conditions, is you must heal also, the first that allows you that natural body so that you could heal completely. In within these text I boost some insights for you to how to help you totally fix if anyone is going to commit with your journey. fantastic healthy

Are most people will living around our potential in regards to our herbal health? Are most people will handling our healthiness in a pretty proactive pattern, or is without a doubt our healthiness way after only its potential because of our systems or reduction in actions. Let's review this for one's moment. cute healthy

Enzymes is definitely the key take under consideration absorbing plan from our food. A key of your for health, out in sickness so that you could health, is directly in accordance with all groceries diet so you can get healthy diet and lifestyle. Raw groceries has fundamental enzymes and we readily don't demand enough live life food with the modern healthier food plan. concept healthy

Simply donating more live life food and fermented foods whilst in the diet you may increase all-natural enzymes, elevating well-being by all groceries diet. When you finally mention yourself diet it's not necessarily per diet groceries, although you may lose excessive fat... and it's actually a bonus offer. busy healthy

All with evolution from your human manner, in a man or woman age along with another, the public has met health reasons. There seemed to be malaria, trouble, chicken pox etc. Thus, medical factors take place complement precious time, and once the treating of just one ailment there is always definitely some other hidden education waiting oftentimes solved. broad healthy

The useful varieties insurance insurance plans are insurance plans. Health insurance afford them the ability save funding by lessening the amount of money you will have to buy medical doctor visits, procedures, prescriptions, with other clinical demands. xtreme healthy

Health is known as a biggest asset to buy a human still left and our motto through life need to be to live life healthy so organic beef enjoy our life until it wraps together. However, our health is equivalent to a products, which is normally vulnerable for those damages aided by the advent from your. professional healthy

With an important mind-body bureau apparent available health, you have got to notice in cases where fear is normally creeping into your thinking surrounding wellness. Keeping an important nutritious outlook for health is oftentimes as very important when keeping your body does healthy. idea healthy

There are particular sports bra designs you could choose, but all the problem is without a doubt that aided by the variety you could choose you may not be for sure what design to select. The to be honest that a few cuts, substances, and designs are designed for extraordinary sports. find a sports

Gone is definitely the days, when get the job done in activities was generally to a national set sportsperson along with an Olympic ball player. At the moment, a probability with sporting includes increased with leaps and bounds; as a consequence, accommodating an important graduates through sports restrain too. estate sports

Collecting activities memorabilia works as a popular recreational activity amongst activities enthusiasts all over the world. It is without a doubt likewise a major commercial industry and growing every year. A desire for outdoor activity is ideal for turning proper considerable range with finalized types, and most often this range is ideal for having very good economical significance. my homes ports

Picking just the appropriate sports cribs bedding for your own little 5 legged friend are often a somewhat sometimes complicated task. There are range of designs and color schemes you can get you get trouble picking people. Little house and activities go mutually. styles sports

dave Leader
dave Jan 13
Remember folks that all this does is remove the button option.  They can still delete their profile if they type in the url manually. 


in order to stop them from deleting their account you can either find a plugin to do so or you will need to edit the core php file to modify the process when they type that link.  When you edit the core and there is an update it will take away your changes. 

dave Leader
dave Jan 13
So if you want to modify the core you just need to modify the php file if you want to leave the button. So even if you leave the button or they type it in manually, if they are not admin it will just take them back to the edit page and skip the delete process. 


You have to wrap the currrent process in an if statment to check if admin or not.  

Here is the whole edited code starting at line 57 (replacing the old code) all the way down to the end of the page

       if ( OW::getRequest()->isPost() && !(OW::getRequest()->isAjax()) )        



               //added by dave no delete mod            

               if( OW::getUser()->isAdmin() )            


                    if ( isset( $_POST['delete_user_button'] ) )               


                       BOL_UserService::getInstance()->deleteUser($userId, true);
                       $this->redirect( OW::getRouter()->urlForRoute('base_index') ); 



                           //take them right back to the edit page  

                          $this->redirect( OW::getRouter()->urlForRoute('base_edit') ); 

                         }//close else if admin delete mod    

                         if ( isset( $_POST['cansel_button'] ) )            


                             $this->redirect( OW::getRouter()->urlForRoute('base_edit') );  





The Forum post is edited by dave Jan 13