vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - HZBanInformation in Profile (https://vborg.vbsupport.ru/showthread.php?t=178207)

tintructo 05-04-2008 10:00 PM

HZBanInformation in Profile
 
HZBanInformation in Profile.
Current Version: 1.0.1
Initial Release: 1.0.0

Product made by Agustin Saldias (a.k.a. HarZens)

What HZBanInformation in Profile is ?

This product will enable you to display the ban reason of a member on a block on the right of his profile page. Sometimes when you have a large board you want to show people why you banned someone and what they shouldn't do to get banned too! This product is perfect for that!

Settings :
- Turn on/off the product ( On by default )
- You can select the vertical position of the block ( Below Mini Stats by default )
- You can select the usergroups who will be able to see this information. ( All by default )
- You can select wich are the banned usergroup that will display this information on his profile.
- You also have the option to display or not the admin who banned the user. ( On by default )

Demo :
Check attached Screenshot

Extra Information :
New Templates : 1 ( automatic )
-memberinfo_block_hzbaninfo_mini
New Phrases : 13
-hzbaninfo_titulo: title of the block
-hzbaninfo_vacio: text to display if there isn't any ban reason
-The rest is for settings

MultiLanguage :
-English
-Spanish
-Russian [thanks goes to xorex for this]

Installation :
1. download the product product-hzbaninfo101.xml
2. Go to Manage Products ( AdminCP -> Plugin & Products -> Manage Products -> Add/Import Product )
3. Import the product-hzbaninfo101.xml
4. Ready. Will start working right away.

Upgrade :
1. download the product product-hzbaninfo101.xml
2. Go to Manage Products ( AdminCP -> Plugin & Products -> Manage Products -> Add/Import Product )
3. Check Allow Overwrite to Yes
4. Import the product-hzbaninfo101.xml
3. Ready. Will start working right away.

Changelog :
1.0.1 :
- Added a russian version
- Added a spanish version
- Fixed bug displaying a non-existent ban
1.0.0 :
- Initial Release

Next version's todo :
Any idea guys?

Please report ANY bug you find. Will give support only to those who press install and Please, if you install this product, mark it as Installed ! thanks!.

You can donate if you really liked my product (^^,). thanks in advance for this

Saludos,
HarZens.

KURTZ 05-05-2008 03:23 PM

i'm wondering, if i give to a user a temporary ban, it'll showed into profile, and when the ban is lifted this information goes away?

tintructo 05-05-2008 04:03 PM

Quote:

Originally Posted by KURTZ (Post 1509380)
i'm wondering, if i give to a user a temporary ban, it'll showed into profile, and when the ban is lifted this information goes away?

Of course. If the user is not in a bannedgroup and of course the ban was lifted, this information wont be displayed. Also, when the ban is lifted (by time or by hand) the record dissapears from the database so there wont be anything to show.

echo2kk5 05-05-2008 04:30 PM

Installed but it's showing this as the ban date:
Ban Date
12-31-1969

tintructo 05-05-2008 04:32 PM

could you give me more information ?

bannedgroupId's ? and information about the ban ?

echo2kk5 05-05-2008 04:37 PM

Banned user group is: 32

I banned this member through Edit User Profile link > ACP. This particular member was banned on 5-2-08

tintructo 05-05-2008 04:45 PM

please download the new version ( product-hzbaninfo101.xml ), upgrade and let me know if it works (it should work now)

echo2kk5 05-05-2008 04:50 PM

I installed the new version, now it doesn't show the block at all in the members profile page.

tintructo 05-05-2008 04:56 PM

give me this information please :

Banned UsergroupsID's in the product settings
View permissions in the product settings
What was the original usergroup id of the member ?
To what usergroup id are you moving him into ?

echo2kk5 05-05-2008 05:07 PM

Quote:

Originally Posted by tintructo (Post 1509487)
give me this information please :

Banned UsergroupsID's in the product settings
View permissions in the product settings
What was the original usergroup id of the member ?
To what usergroup id are you moving him into ?


Banned UsergroupsID's in the product settings 32 (My banned user group id)
View permissions in the product settings 6,7,2,5,33
What was the original usergroup id of the member ? 2 (Registered Users)
To what usergroup id are you moving him into ? 32

tintructo 05-05-2008 05:16 PM

I guess you have "This Usergroup is not a 'Banned' Group" set to "no".

If it's set to "no", then I really have no idea why it's not working, I'm not able to replicate the bug in any way...although i did fixed one error before (displayed a non-existent ban...and now it doesn't). So my guess would be that for some reason, it's not retrieveing the ban information from the database

echo2kk5 05-05-2008 05:21 PM

Banned usergroup is set to no...the previous version worked fine, it was just the ban date was wrong.
**I went back to the older version...I can live with the 1969...makes my board look real old that way! :D

tintructo 05-05-2008 05:29 PM

Could you please mark as installed :)?

Also, is only with one user or with every banned user ?

echo2kk5 05-05-2008 05:39 PM

O.K. I lifted the ban...then gave a custom infraction ban I had created, now it shows the proper ban date...this is with the original mod version. Do you suggest I try using the newer version? or shall I not fix what's not broken? :p

*** Clicked Installed, and thanks for your time.

massizero 05-06-2008 10:35 AM

is it possible to show both the infractions?
I mean either red card (ban) or yellow card (warning) depending on the infraction?
SO all the users could see why a user got a warning too

thanks

Koroku 05-07-2008 05:23 AM

This is great. I had to make an announcement when a popular member asked to be banned to study for exams... with this, I won't need to anymore :D

tintructo 05-07-2008 09:45 AM

Quote:

Originally Posted by echo2kk5 (Post 1509544)
O.K. I lifted the ban...then gave a custom infraction ban I had created, now it shows the proper ban date...this is with the original mod version. Do you suggest I try using the newer version? or shall I not fix what's not broken? :p

*** Clicked Installed, and thanks for your time.

Well, the new version Does fix a pretty big display bug...other than that...you wont loose anything other than time, it's up to you :)

Quote:

Originally Posted by Koroku (Post 1511276)
This is great. I had to make an announcement when a popular member asked to be banned to study for exams... with this, I won't need to anymore :D

haha, in my comminity the users are very close, and it's practically normal to ban at least one of them for some days every 2 weeks or so, and all of them always wanted to know WHY was the ban and I had to make this product :P Glad you liked it :)

Quote:

Originally Posted by massizero (Post 1510252)
is it possible to show both the infractions?
I mean either red card (ban) or yellow card (warning) depending on the infraction?
SO all the users could see why a user got a warning too

thanks

vbulletin by default shows an Infractions Tabs...this was made for Bans, not infractions (given that that information already exists in the profile). So I really don't know what you mean.

massizero 05-07-2008 06:03 PM

Quote:

Originally Posted by tintructo (Post 1511453)
vbulletin by default shows an Infractions Tabs...this was made for Bans, not infractions (given that that information already exists in the profile). So I really don't know what you mean.

Sorry If i was not clear enough :)
What I meant it is exactly what you said, I'd like that in the box your hack shows the ban date/ban reason, it could even show the warning date/ warning reason..

that's all

thanks

xorex 05-08-2008 12:43 AM

Great hack thanks !

russian translate attachment

update first post please ....

installed

tintructo 05-08-2008 01:13 AM

Quote:

Originally Posted by xorex (Post 1512183)
Great hack thanks !

russian translate attachment

update first post please ....

installed

Thanks!! Updated first post and also added a Spanish version

@ massizero

gonna check into moving the tab to a block, give me a few days and i will work on it in my free time :)

massizero 05-08-2008 08:00 AM

Quote:

Originally Posted by tintructo (Post 1512199)
@ massizero
gonna check into moving the tab to a block, give me a few days and i will work on it in my free time :)

Thanks a lot!
M

samet54 05-08-2008 08:34 AM

turkish language turkler ıcın ugrastım buyrun

SauravG 05-14-2008 07:47 AM

Quote:

Originally Posted by echo2kk5 (Post 1509470)
I installed the new version, now it doesn't show the block at all in the members profile page.

I am experiencing the same problem.
Ay idea why?

tintructo 05-24-2008 06:37 AM

Not at all without any details..

Give me the configuration you are using for the plugin.
Usergroups and Banned Usergroups ID's

lostguy 06-11-2008 11:34 PM

I wonder any update for Vb3.7.1 pl 1 ?? can the coder make update for this version pls ?

lg

TimberFloorAu 06-11-2008 11:53 PM

Now we get Error on page, will uninstall this. Until it is stable.

Version is 3.7.0

Images below of issues

SauravG 06-20-2008 12:45 AM

Quote:

Originally Posted by tintructo (Post 1529756)
Not at all without any details..

Give me the configuration you are using for the plugin.
Usergroups and Banned Usergroups ID's

Sorry I didnt configure the settings properly. Works now. :up:
Thanks for the modification, its great.

tintructo 07-02-2008 12:11 AM

Wow guys, it's been a Long time. I'm so sorry for this.

I haven't got any free time for around a month. I will be having some free time at the end of the week and I'm going to try to fix the possible errors the plugin has.

@ TimberFloorAru :

I used the mod in 3.7.0, 3.7.1/PL1/PL2 (haven't installed 3.7.2 yet) and it's working Great without any problem. Also, from what i see in your screenshot, there is a "this.form" javascript line, and this mod it's not using javascript nor forms anywhere, so my best guess is that another mod is conflicting with this mod somehow.

Try to disable each mod except this one, and enable each of them by one until you get the error so we can check =)

RHWiRED 07-06-2008 12:46 AM

It's working 100% on vBulletin 3.7.2 here :)

Installed & Rated excellent.

lostguy 08-21-2008 12:13 AM

thanks for sharing :)

EvilJohn 08-21-2008 05:11 AM

clicks installed. Very nicely done. just import the product. :)

TilkiBey 09-04-2008 01:01 PM

i translated it to Turkish:D:up:

Turkish Explaning:
eklentinin 1.0.1 s?r?m?n?n T?rk?e versiyonudur

Sunka 12-13-2008 07:16 PM

Installed!
Working very good.
Thanks :D

momo2 12-17-2008 05:02 PM

what a excellent hack... Installed works gr8..

Sunka 01-11-2009 12:44 PM

Is this MOD working on vBulletin v3.8.0?

tintructo 01-19-2009 06:27 AM

I just checked it, it's working fine in vB 3.8.0

Dan Clement 05-03-2009 11:47 PM

Very handy! Thanks a lot. :)

Elixar 06-15-2015 10:26 PM

Any of this for vB4?

z3r0 06-16-2015 01:12 PM

I've been using this one for vb4 for the last few years, the author seems to have removed it from here now though.

https://vborg.vbsupport.ru/showthread.php?t=244039

[Attachment Removed - Please don't post code you don't own]

cellarius 06-17-2015 10:53 AM

Quote:

Originally Posted by z3r0 (Post 2547952)
I've been using this one for vb4 for the last few years, the author seems to have removed it from here now though.

https://vborg.vbsupport.ru/showthread.php?t=244039

So, this addon has been removed to the Graveyard, for whatever reason. And you think it is smart to repost it here? Either it contains security flaws, or the author asked for it to be removed, in which case you have no right to overrule his decision.


All times are GMT. The time now is 07:14 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.01340 seconds
  • Memory Usage 1,819KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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