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)
-   -   [mini-hack] Hidden profile fields viewable by admins & mods IN profile. (https://vborg.vbsupport.ru/showthread.php?t=51761)

EvilLS1 04-17-2003 10:00 PM

[mini-hack] Hidden profile fields viewable by admins & mods IN profile.
 
I decided to add a couple of custom profile fields that I'd like to keep hidden from regular members.

When adding a new field in the admin control panel it says:
Quote:

Field hidden on Profile? - Field only viewable by admins and mods
But I've found that it doesn't work as expected. The hidden field still can't be viewed by admins & mods when they click on someones profile.. To view the field you have to click on user options and then login to the control panel, which is more trouble than its worth IMO.

This mini-hack will fix that. It will allow admins, mods and supermods to view the hidden fields IN the profile. The fields will remain hidden for regular users.

Very simple hack (1 file edit).

Logik 04-18-2003 05:28 AM

What would be the point of this hack??

EvilLS1 04-18-2003 05:31 AM

Quote:

Today at 06:28 AM Logik said this in Post #2
What would be the point of this hack??
To make hidden profile fields viewable by admins and mods IN the profile itself. It saves you from having to click user options and logging in to the admin control panel to view the field. ;)

joeboo 04-18-2003 05:56 AM

Quote:

Today at 06:28 AM Logik said this in Post #2
What would be the point of this hack??
Whats the point of over 100 un-useful hacks around here? Every hack will be useful to at least one person. Anyhow, thanks for sharing Evil :)

EvilLS1 04-18-2003 06:02 AM

n/p joeboo . :)

I'm sure that everyone who has added hidden profile fields will know the exact purpose of this hack. ;)

Logik 04-18-2003 06:40 AM

All i did was just ask a question. No need to get hostal on me. Ok?

Logik 04-18-2003 06:40 AM

I was askin to see if i had any use for it.

Intex 04-18-2003 08:18 AM

What would be the point in living? One mans rubbish is another mans gold to coin a phrase. I can personally think of loads of reasons for having these hidden fields.

Good hack Evil :cool:.


Quote:

Today at 06:28 AM Logik said this in Post #2
What would be the point of this hack??

sphinx 04-18-2003 09:21 AM

looks good to me m8 thanks

Logik 04-18-2003 08:52 PM

Hmm. I dont appreciate getting jumped at just for askin a simple question. To see if i had any use for it..


All times are GMT. The time now is 11:02 AM.

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.01049 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)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