Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 10-28-2007, 07:58 PM
Dialtone98 Dialtone98 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want it to look like your screen shot. I sent you a pm with the website and login.
Reply With Quote
  #23  
Old 10-28-2007, 08:01 PM
Dialtone98 Dialtone98 is offline
 
Join Date: Nov 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind.. I understand now.. thanks
Reply With Quote
  #24  
Old 10-28-2007, 10:53 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for the sharing

Jacquii.
Reply With Quote
  #25  
Old 11-09-2007, 03:24 PM
anwar.abdullakh anwar.abdullakh is offline
 
Join Date: Oct 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works like a charm...
but I would like to hide it only for my other usergroups...my staff (admin, mods, sup mods etc..) should be able to view the banned users profile page. Can you tell me how to do that, plz?
Reply With Quote
  #26  
Old 05-17-2008, 09:01 PM
raywjohnson's Avatar
raywjohnson raywjohnson is offline
 
Join Date: Feb 2007
Location: Las Vegas
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked well in vB 3.7, just had to change $post to $userinfo. Also, you can make it hide profiles for more that one group.

Code:
Change:  
<if condition="is_member_of($userinfo, 8)">
To:
<if condition="is_member_of($userinfo, array(8,#,#,etc))">
--RayJ
Reply With Quote
  #27  
Old 04-10-2009, 11:48 PM
potocki99 potocki99 is offline
 
Join Date: Jan 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect - exactly what I was looking for, and with the new code, works splendidly!
Reply With Quote
  #28  
Old 05-06-2009, 03:15 PM
ewelin ewelin is offline
 
Join Date: Dec 2007
Location: Cambridge, MA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, had to use raywjohnson edits and works perfectly. Great simple MOD!
Reply With Quote
  #29  
Old 08-20-2009, 02:43 AM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anwar.abdullakh View Post
works like a charm...
but I would like to hide it only for my other usergroups...my staff (admin, mods, sup mods etc..) should be able to view the banned users profile page. Can you tell me how to do that, plz?
me too, and I think that requires an actual hack.
Reply With Quote
  #30  
Old 08-20-2009, 07:45 AM
s-p0k's Avatar
s-p0k s-p0k is offline
 
Join Date: Jun 2009
Location: S1n C1ty
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by glorify View Post
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 />
i get this when i try to use this one ^^^ any help on this plzz
Reply With Quote
  #31  
Old 08-20-2009, 03:12 PM
students_forum's Avatar
students_forum students_forum is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s-p0k View Post
i get this when i try to use this one ^^^ any help on this plzz
did you place the </if> tag at the end above the $footer at the end of the template?
Reply With Quote
Reply


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 10:26 AM.


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.04599 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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