vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Ban Info on User Profile (https://vborg.vbsupport.ru/showthread.php?t=127809)

zappsan 09-28-2006 10:00 PM

Ban Info on User Profile
 
3.7 version can be found here: https://vborg.vbsupport.ru/showthread.php?t=188670

What does this hack do?
If a user has been banned it will display information about the ban (ban date, reason and the person who has banned the user) on the user's profile.

Demo: http://piforums.info/member.php?u=44

This is my first hack and I hope everything will work correctly :)

Don't redistribute it without my permission.

Updates:
[30/9/2006] Version 1.0.2: Added improvements posted by flash7 here
[30/9/2006] Version 1.0.1: Fixed the HTML bugs found by flash7 here
You need to reupload the baninfo.php if you want to apply the changes.
[29/9/2006] Version 1.0.0: First public release

zappsan 09-29-2006 12:19 AM

Reserved.

Enigm@tic 09-29-2006 01:08 AM

Thanks, i m installing...

Keyser S?ze 09-29-2006 01:55 AM

man tthat is great! this needs to be motm ;p

Yorixz 09-29-2006 04:48 AM

Thanks a lot, it's a shame vB doesn't have this by default.

Masiello 09-29-2006 05:28 AM

That's great

Kuimera 09-29-2006 07:25 AM

Tks for this m8.

TMM-TT 09-29-2006 08:33 AM

I changed the code a bit to use vbphrases instead of static text.

Nice one! Thanks! :)

ecansel 09-29-2006 09:40 AM

Thanks.. Working good..

Yorixz 09-29-2006 11:59 AM

Doesn't seem to work here at all sadly, I'm receiving just this warning and no other data; "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/ftpusers/otfans/html/baninfo.php on line 5"
Anyone has a clue on how to fix that? I'm using MySQL version 4.1.15.


All times are GMT. The time now is 10:52 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.01025 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
  • (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