PDA

View Full Version : Show time remaining for a temporary ban on forum home


RaZor Edge
07-20-2005, 10:00 PM
================================================== =======

Show time remaining for a temporary ban on forum home v.1.0

Author: RaZor Edge (https://vborg.vbsupport.ru/member.php?u=4675 (https://vborg.vbsupport.ru/member.php?u=4675))
Release date: 21/07/2005

================================================== =======


History:
-------

This hack is inspired from a Beta Hack made by eoc_Jason (https://vborg.vbsupport.ru/member.php?userid=3454): Display Ban Remaining time on Error Page (https://vborg.vbsupport.ru/showthread.php?t=62313).

I've modify his hack to show a warning to banned users on my forum home page rather than have to show an error page... as my "Banned" members can still see my forum.

Original author have been contacted about this and he's ok with it.


Description:
-----------

This simple hack will add a message at the top of your Forum Home page, informing a user he have been "ban" by a moderator, and for how much time he will be (permanent or temporary)! (See the screenshot)


Installation information:
----------------------

Time to install: 2 minutes

File Mods: 1
/index.php

Templates to edit: 1
FORUMHOME

This hack will only add one query on your Forum Home IF user is member of "Banned" group.


Support:
---------

I'm not a professionnal coder and english is not my first language, but this hack is not very complicated, so I will do my best to help you!

Feel free to modify this code if you want to!


Installed?
---------

Please click install if you install

https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=92627)

yoyoyoyo
08-17-2005, 07:10 PM
cool- thanks!

ZeryabPhone
09-06-2005, 04:02 PM
Thanks

but not work in vb v3.0.8
any idea ?

Private
09-11-2005, 05:00 AM
Great Hack
but can u add whos moderator banned him?

Thanks

but not work in vb v3.0.8
any idea ?
i already tested it on 3.0.8 .. It Works...

ZeryabPhone
09-12-2005, 11:09 PM
i upgraded to v3.0.9
and still same error

can any one help please.

Regads

ZeryabPhone
09-23-2005, 06:57 PM
i just reinstall it and work fine with vb 3.0.9
thx :)

RaZor Edge
09-26-2005, 12:54 PM
i just reinstall it and work fine with vb 3.0.9
thx :)

Great!!!

:nervous:

MrMister
09-27-2005, 05:38 PM
Doesn't work on my 3.07 :(

It just says "Warning!"

Nevermind, I'm retarded :P

Nice hack baby :)

robert_2004
04-24-2006, 05:56 AM
can we see this ported to 3.5.4??

RaZor Edge
04-26-2006, 02:29 AM
Hi,

I don't have any plan to port it right now... but if someone want to do it, don't hesitate! :)

alshehi
04-29-2006, 09:41 PM
Tnak You