The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

10.09.10 at 21:02:17, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Delete User Lock 2.2.1 (Read 2316 times)
gizmoya
Bloody Novice
*
Offline

Posts: 8



13.03.08 at 12:08:16  
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:


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



Replace it with :

Code:


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: 15.03.08 at 20:17:37 by gizmoya »  
IP Logged
 

delete-lock.zip (0 KB | 23 )
Outumuro
Hacker God
*****
Offline

Los Angeles, California, USA
Posts: 569



Reply #1 - 14.03.08 at 06:43:32  
 
IP Logged
 

...
... ... ... ... ...
jamesc
Bloody Novice
*
Offline

Posts: 5



Reply #2 - 14.03.08 at 11:40:48  

thanks for this mod dude
you guys doing great job here

checked working fines
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 337



Reply #3 - 14.03.08 at 22:12:23  
Hi,

I spend a boardmod-file for this mod.

@gizmoya: You can add it to first Post.


Greetz
Mick
 
IP Logged
 

delete_lock.zip (0 KB | 26 )
Derek Bullock
Fulltime Hacker
***
Offline

Brisbane, Queensland, Australia
Posts: 125



Reply #4 - 15.03.08 at 04:11:26  
This Mod works great on my 2.2.1 forum

Thanks  Grin
 
IP Logged
 

...
gizmoya
Bloody Novice
*
Offline

Posts: 8



Reply #5 - 15.03.08 at 20:18:58  
mick wrote on 14.03.08 at 22:12:23:
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
 
IP Logged
 
chillipepper
Fulltime Hacker
***
Offline

, United Kingdom
Posts: 182



Reply #6 - 08.07.08 at 11:56:14  
Does this work with 2.2.2

Thanks
 
IP Logged
 
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 536



Reply #7 - 08.07.08 at 13:10:48  
Why do not test it and then you report us  Wink
 
IP Logged
 

Greeting ThM
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 337



Reply #8 - 08.07.08 at 13:52:49  
Yes, it work with 2.2.2 Wink
 
IP Logged
 
chillipepper
Fulltime Hacker
***
Offline

, United Kingdom
Posts: 182



Reply #9 - 08.07.08 at 18:32:50  
Thanks for lettin us know..i didnt want to try until i know for sure.. Wink
 
IP Logged
 
Derek Bullock
Fulltime Hacker
***
Offline

Brisbane, Queensland, Australia
Posts: 125



Reply #10 - 09.07.08 at 11:23:06  
Yes works on my 2.2.2 forum  Wink
 
IP Logged
 

...
smith21
Fulltime Hacker
***
Offline

North East Of Eangland, United Kingdom
Posts: 128



Reply #11 - 13.07.08 at 14:57:34  
Quote:
Yes works on my 2.2.2 forum  Wink


What about 2.2.3
 
IP Logged
 

...
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 536



Reply #12 - 15.07.08 at 16:26:23  
@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.

 
IP Logged
 

Greeting ThM
Eagle_f90
Hacker God
*****
Offline

Derry, New Hampshire, USA
Posts: 926



Reply #13 - 23.07.08 at 19:34:28  
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.
 
IP Logged
 

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.

...
Page Index Toggle Pages: 1
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum