vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Lock Profile Editing (https://vborg.vbsupport.ru/showthread.php?t=42291)

Mephisteus 08-13-2002 10:00 PM

Lock Profile Editing
 
Thanks to lesane for his help ;)

This hack will allow you to lock profiles off your members to prevent them from editing them.

This can be done through the public profile (smods and admins only). They use the same table so if you lock the profile through the public profile it will also change the status in admin cp where it can also be done.

Screenshot admincp in next post, there is no screenshot of the public profile since you can place it where ever you want.

If you install it please click install

[edit]
confirmed working on ALL 2.2.x version of vbulletin.

[edit]
confirmed to be working on 2.3.0

Mephisteus 08-14-2002 03:09 PM

Screenshot

NTLDR 08-14-2002 04:00 PM

Nice ;)

One thing though, its says:

Quote:

/------------------------------------\
| PIN code itemshopv5 addon |
| by DarkSSJ3 |
|additional coding provided by Lesane|
\------------------------------------/
at the top of your text file which I guess wasn't updated from your last hack ;)

Mephisteus 08-14-2002 05:22 PM

Quote:

Originally posted by NTLDR
Nice ;)

One thing though, its says:


at the top of your text file which I guess wasn't updated from your last hack ;)

lol, fixed :)

Boofo 08-15-2002 10:58 PM

I have 2 questions:

First, the part we need to add after this:

Code:

// do modify profile form
Is that if the Start Modify Profile section or the Start Modify Options section? I put it in the Start Modify Profile section.

Second, when I lock a profile, it takes me to a blank page with just the words Profile locked on it and no way back to the profile or anything else. Shouldn't it just give you a template message and then take you back to the profile page? Any way around this?

And no one can see the words in the getinfo template unless they are admins or mods right?

Edit: In this bit of code:

Code:

new template: lockprofile

Your profile is locked by one of the mods/admins.

The template name needs to be changed to profilelock istead of what you have now or the error messges is blank. :)

And is there a way to not allow mods to lock or unlock the admins or supermods profile? :)

Mephisteus 08-16-2002 06:32 AM

I'll fix it when I get back (that's tonight :p)

Boofo 08-16-2002 06:38 AM

I already fixed it and made a couple of changes to your code. If you want to see the changes I made, let me know and I can PM them to you for you to look at. :)

Quote:

Originally posted by DarkSSJ3
I'll fix it when I get back (that's tonight :p)

Mephisteus 09-03-2002 05:47 PM

OK, Updated with Boofo's version

dm02 09-20-2002 04:22 AM

has anyone used this hack in 2.2.7?? will it work with the code as is???

Thanks

snyx 10-07-2002 11:07 PM

works fine on 228 ;)


All times are GMT. The time now is 01:33 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.01798 seconds
  • Memory Usage 1,733KB
  • 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
  • (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