Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Delete User Lock 2.2.1 (Read 706 times)
gizmoya
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 8
Joined: Nov 15th, 2007
Delete User Lock 2.2.1
Mar 13th, 2008 at 12:08pm
Print Post  
Delete User Lock 2.2.1

This mod was released for Yabb 2.1, But we cannot apply that mod in Yabb 2.2.1

Feature:

This modification will allow only Admin to delete any User profile, For all registered Users Their Will be NO option for Delete User under their User profile.

So by this modification User CAN NOT DELETE their user profile.



Step:

>

Open Sources/profile.pl

Search for :

Code
Select All
if(($iamadmin && ($username ne $user)) || ($username ne "admin"))

 



Replace it with :

Code
Select All
if($iamadmin)

 



After this save profile.pl


And Their Will be NO OPTION for DELETE USER button under profile for any user OTHER THAN ADMIN, so only Admin can delete any user profile


gizmoya

__________________________________

Thanks Yabb Developers for wonderfull Yabb forum Smiley


« Last Edit: Mar 15th, 2008 at 8:17pm by gizmoya »  

delete-lock.zip ( 0 KB | Downloads )
Back to top
 
IP Logged
 
Outumuro
God Member
*****
Offline


Publisher - YaBB Toolbar

Posts: 569
Location: Los Angeles
Joined: Apr 14th, 2004
Gender: Male
Re: Delete User Lock 2.2.1
Reply #1 - Mar 14th, 2008 at 6:43am
Print Post  
  


Back to top
WWW  
IP Logged
 
jamesc
New Member
*
Offline



Posts: 5
Joined: Mar 14th, 2008
Re: Delete User Lock 2.2.1
Reply #2 - Mar 14th, 2008 at 11:40am
Print Post  

thanks for this mod dude
you guys doing great job here

checked working fines
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Delete User Lock 2.2.1
Reply #3 - Mar 14th, 2008 at 10:12pm
Print Post  
Hi,

I spend a boardmod-file for this mod.

@gizmoya: You can add it to first Post.


Greetz
Mick
  

delete_lock.zip ( 0 KB | Downloads )
Back to top
WWW  
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Delete User Lock 2.2.1
Reply #4 - Mar 15th, 2008 at 4:11am
Print Post  
This Mod works great on my 2.2.1 forum

Thanks  Grin
  

Back to top
WWW  
IP Logged
 
gizmoya
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 8
Joined: Nov 15th, 2007
Re: Delete User Lock 2.2.1
Reply #5 - Mar 15th, 2008 at 8:18pm
Print Post  
mick wrote on Mar 14th, 2008 at 10:12pm:
Hi,

I spend a boardmod-file for this mod.

@gizmoya: You can add it to first Post.


Greetz
Mick



Thanks Mike,

I thought of creating mod for this , But as it was small modification so I did not created that.

But i have attached your Mod.

Thanks
  
Back to top
 
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Delete User Lock 2.2.1
Reply #6 - Jul 8th, 2008 at 11:56am
Print Post  
Does this work with 2.2.2

Thanks
  
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Delete User Lock 2.2.1
Reply #7 - Jul 8th, 2008 at 1:10pm
Print Post  
Why do not test it and then you report us  Wink
  

Greeting ThM
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Delete User Lock 2.2.1
Reply #8 - Jul 8th, 2008 at 1:52pm
Print Post  
Yes, it work with 2.2.2 Wink
  
Back to top
WWW  
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Delete User Lock 2.2.1
Reply #9 - Jul 8th, 2008 at 6:32pm
Print Post  
Thanks for lettin us know..i didnt want to try until i know for sure.. Wink
  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Delete User Lock 2.2.1
Reply #10 - Jul 9th, 2008 at 11:23am
Print Post  
Yes works on my 2.2.2 forum  Wink
  

Back to top
WWW  
IP Logged
 
smith21
Full Member
***
Offline


I love YaBB 2.1

Posts: 130
Location: North East Of Eangland
Joined: Feb 19th, 2006
Gender: Male
Re: Delete User Lock 2.2.1
Reply #11 - Jul 13th, 2008 at 2:57pm
Print Post  
Quote:
Yes works on my 2.2.2 forum  Wink


What about 2.2.3
  


Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Delete User Lock 2.2.1
Reply #12 - Jul 15th, 2008 at 4:26pm
Print Post  
@modwriter

Interest on a modification? If yes, send me an pn with email adress and i send the modfile if it's ready.  Wink

I've added a checkbox in admin panel -> forum settings -> tab member to enable/disable the button for members.

If checkbox enabled -> member can delete himself and admin can delete member
If checkbox disabled -> member can't delete himself. only admin can delete member and see the "Remove User" button.

  

Greeting ThM
Back to top
 
IP Logged
 
Eagle_f90
God Member
*****
Offline


For those with wings,
fly to your dreams.

Posts: 926
Location: Derry
Joined: Mar 7th, 2002
Gender: Male
Re: Delete User Lock 2.2.1
Reply #13 - Jul 23rd, 2008 at 7:34pm
Print Post  
Yea sorry I would have updated my mod but I lost all track of what mods I had done. If anyone wants to update my old mods go ahead. Next month I will be back to mod writting and updating all my old mods to work with 2.2.3.
  

For those with wings, fly to your dreams

Dreams are what we find at the end of reality, your reality if what you find at the end of your dreams.

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint