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)

Dialtone98 10-28-2007 07:58 PM

I want it to look like your screen shot. I sent you a pm with the website and login.

Dialtone98 10-28-2007 08:01 PM

Nevermind.. I understand now.. thanks

PoetJA-1975 10-28-2007 10:53 PM

Thanx for the sharing ;)

Jacquii.

anwar.abdullakh 11-09-2007 03:24 PM

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?

raywjohnson 05-17-2008 09:01 PM

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

potocki99 04-10-2009 11:48 PM

Perfect - exactly what I was looking for, and with the new code, works splendidly!

ewelin 05-06-2009 03:15 PM

Installed, had to use raywjohnson edits and works perfectly. Great simple MOD!

students_forum 08-20-2009 02:43 AM

Quote:

Originally Posted by anwar.abdullakh (Post 1379092)
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.

s-p0k 08-20-2009 07:45 AM

Quote:

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

students_forum 08-20-2009 03:12 PM

Quote:

Originally Posted by s-p0k (Post 1870892)
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?


All times are GMT. The time now is 03: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.01131 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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