Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Banned users have no profile page Details »»
Banned users have no profile page
Version: 1.01, by djdonx djdonx is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 10-21-2007 Last Update: 10-23-2007 Installs: 44
Template Edits
Translations  
No support by the author.

Non-Accesible User Profiles

What does this do?
This Mod means that members who belong to the banned usergroup no longer have a profile and their profile will then become accessible once they have been removed from the banned usergroup. (Usergroup ID: 8)

How do I install this?
Follow the template changes which are shown in the file below.

Support is given to those who click install!


I must say that this is based hugely on the ideas that cheat-master30 has been posting although I hope he wasn't planning on releasing this..

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-22-2007, 05:50 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post reserved
Reply With Quote
  #3  
Old 10-22-2007, 06:01 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pity I cannot quote the modification post for some reason, but this reminds me of something I saw on a board I used to visit. It had the same outcome to a good degree, and if this is the first mod of this, then it's something that should have been made ages ago.

Either way, while I won't be installing this, it seems like a pretty useful idea for a modification depending on forum.

Edit: I was not planning on releasing this.
Reply With Quote
  #4  
Old 10-22-2007, 09:06 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey great idea.

Installed. Thanks for offering it up. Simple and effective.

My one issue is that the backgrounds dont match my template... Wonder if anyone has any suggestions... here is the example link...

http://www.ddsog.com/forums/member.php?u=211
Reply With Quote
  #5  
Old 10-23-2007, 03:05 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod will concider installing it soon.
Reply With Quote
  #6  
Old 10-23-2007, 05:56 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Installed. Tweaked it a bit to look more like standard VB. Hope you like.

In step 1, replace djdonx's code with this:
Code:
<if condition="is_member_of($post, 8)">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center">
<tr>
	<td class="tcat">Banned User</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
			
		<blockquote>
			<p>&nbsp;</p>
			<p><strong>This user has been Banned.</strong></p>			
			<p class="smallfont">This member has been banned and their profile page is no longer accessible. Please check back once the ban has been lifted.</p>
			<div>&nbsp;</div>
		</blockquote>
			
	</div>
	</td>
</tr>
</table>
<else />
Reply With Quote
  #7  
Old 10-23-2007, 08:49 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really nice modification. I am still having an issue in it fitting in, not sure why, example:

http://www.ddsog.com/forums/member.php?u=212
Reply With Quote
  #8  
Old 10-23-2007, 10:52 PM
glorify's Avatar
glorify glorify is offline
 
Join Date: Aug 2004
Posts: 376
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod does not work correctly unless you use the new edited code posted in my above reply. The banned box shows in ALL users profiles if you don't. Please update the first post with that code. You may want to update the screen so it reflects my code as well.

BTW, Dr. Death--we can't see a profile unless we log in.
Reply With Quote
  #9  
Old 10-24-2007, 06:25 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doctor Death that looks to be a problem with your template, not the code. Paste the end of your MEMBERINFO template please, you may have placed the </if> in the wrong place..
Reply With Quote
  #10  
Old 10-24-2007, 06:32 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glorify View Post
This mod does not work correctly unless you use the new edited code posted in my above reply. The banned box shows in ALL users profiles if you don't. Please update the first post with that code. You may want to update the screen so it reflects my code as well.

BTW, Dr. Death--we can't see a profile unless we log in.
I have just tried my code on both the standard vBulletin skin and a custom skin. This does work.

EDIT: I was such an idiot, used the wrong code. Apologies for any problems any of you had. New file uploaded, apply the appropriate changes...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04597 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete