vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Profile Enhancements - Banned users have no profile page (https://vborg.vbsupport.ru/showthread.php?t=160852)

djdonx 10-21-2007 10:00 PM

Banned users have no profile page
 
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..

djdonx 10-22-2007 05:50 PM

First post reserved

cheat-master30 10-22-2007 06:01 PM

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.

Doctor Death 10-22-2007 09:06 PM

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

bada_bing 10-23-2007 03:05 PM

Nice mod will concider installing it soon.

glorify 10-23-2007 05:56 PM

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 />


Doctor Death 10-23-2007 08:49 PM

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

glorify 10-23-2007 10:52 PM

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.

djdonx 10-24-2007 06:25 PM

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..

djdonx 10-24-2007 06:32 PM

Quote:

Originally Posted by glorify (Post 1367080)
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...


All times are GMT. The time now is 10:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00991 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete