Thread: Profile Enhancements - Banned users have no profile page
View Single Post
  #35  
Old 04 Jul 2013, 15:41
D3m0n h311ra153's Avatar
D3m0n h311ra153 D3m0n h311ra153 is offline
 
Join Date: Sep 2012
Installed

I have posted this here because I feel wrong posting this in the Vb4 template modifications forum, as I did not originally write the code, nor amended it for vB4.x.

Maybe a Super Moderator could move the necessary posts to where it would be more suited. Thanks in advance

Firstly I'd like to thank djdonx for the original code, yankidank for his vB4.x updated code, and furnival for his addition to allow Admins and Super Mods access to blocked User Profiles, which have all been implemented in the following code, with the addition of my own modification

With my modification, I have separated the code for different usergroups, this was implemented so I can have different Profile messages for 'Banned Members' and 'Users Awaiting Email Confirmation'

I am fairly new to all of this, so I hope I haven't stepped on anyone's toes, or forgot to give credit where it's due.

Please either replace or add the code as follows, or follow djdonx's original text file as it's pretty much the same.

Find in the template MEMBERINFO:-

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And below it add:-

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Also find in the template MEMBERINFO (Which is almost at the bottom)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


And add above it add:-

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


That's pretty much it, now members who try to access blocked profiles, they will either see a message for Banned Users or a message for 'Users Awaiting Email Confirmation'. Of course you can change all of this to whatever user groups you like, add more, and have different messages for all. See attachments
Attached Images
File Type: jpg Banned.jpg (24.6 KB, 8 views)
File Type: jpg NonVerified.jpg (30.6 KB, 7 views)
__________________
Reply With Quote