vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vBPunch v1.2 - A Quick Warning System (https://vborg.vbsupport.ru/showthread.php?t=97117)

jugo 09-29-2005 12:07 PM

LMAO...This is why I love this Community. Because even in jest we can produce some good stuff.

Awesome work.

Hey, if I change some of the Phrases can I make it a positive thing...like "The Admin" kisses (pulling name out of a hat) amykhar in the lips". or something like that?

Also, it would be a cool addon if this added or took away rep points.

BTW: INSTALLED!!!

Alan @ CIT 09-29-2005 03:50 PM

Thanks for the good comments guys :)

Jugo: I'll make the add/remove rep points an option in the next version.

Bad Bunny 09-29-2005 05:18 PM

Quote:

Originally Posted by Hawkbizkit
yes in the plugin vBPunch : Template conditional checks change this line:
PHP Code:

 else if (can_administer()) 

To:
PHP Code:

else if (in_array($vbulletin->userinfo[usergroupid], array(5,6,7,9))) 

just add the usergroups you want to the array.

Also edit vbpunch.php on line 25:
PHP Code:

if (!can_administer()) 

With this:
PHP Code:

if (!in_array($vbulletin->userinfo[usergroupid], array(5,6,7,9))) 


Yes! I need to go gold, then my users will be spurred on to participate more as their love to punch each other in the face will be encouraged! YES!

utw-Mephisto 09-29-2005 05:41 PM

I like that addition, however, I rather moved it on the bottom of the post rather on the top ... I guess a button would be cool too rather than simple text (gonna make one soon myself).

Another idea : Instead of a link rather a drop down menu entry (Moderation) where you simply tick the post u want to punch ..

Alan @ CIT 09-29-2005 06:11 PM

Hi Mephisto,

Changing it to a button is on my todo list, and it can be placed anywhere on the postbit, just move it about :)

As for the dropdown, I thought about doing this, but it would mean the admin would have to tick the post, scroll down, pick Punch from the dropdown, enter the reason, then scroll back up and carry on reading. Or, they would tick multiple posts, scroll down and pick Punch from the menu, then have to enter x amount of additional text to add to the PM's (if they wanted), and all this just seemed like a lot of hassle comapred to the 2 click system at the moment.

utw-Mephisto 09-29-2005 06:53 PM

Quote:

Originally Posted by Alan @ CIT
Hi Mephisto,

Changing it to a button is on my todo list, and it can be placed anywhere on the postbit, just move it about :)

As for the dropdown, I thought about doing this, but it would mean the admin would have to tick the post, scroll down, pick Punch from the dropdown, enter the reason, then scroll back up and carry on reading. Or, they would tick multiple posts, scroll down and pick Punch from the menu, then have to enter x amount of additional text to add to the PM's (if they wanted), and all this just seemed like a lot of hassle comapred to the 2 click system at the moment.

Ok, point for you :)

jesus likes pie 09-29-2005 08:15 PM

Alan, is this why you asked me to count my rows in phpmyadmin over at #vbfans about 2 weeks ago? (I'm ATI4EVER! on vbfans).

eh?

Anyways, lmao, this looks awesome but does it really "warn" as in after X ammount of warnings the user gets banned?

I would really like to see a full wrning system that uses AJAX.

jesus likes pie 09-29-2005 08:21 PM

To add to my last post (editing sucks without Ajax :P), there should be an option to just "punch" and one to actually warn. So punching would be for little stupid things that kinda break forum rules or are just stupid posts that make no sense, and another one punches AND adds a "warn", and after say, X ammount of warns the user gets banned for X ammount of days.

Ideally you should be able to change these values through the admincp. But this would then be a full warning system that is probably harder to do.

Anyways Alan, if you do this, I'll kiss your feet.

See ya at #vbfans!

Alan @ CIT 09-29-2005 09:23 PM

lol - hey ATI mate,

I was asking for the number of rows in your threadrate table as I'm working on a rating system for a different project and wanted to see how well vB's performed on a big forum :D

At the moment, this isn't really what you'd call a real warning system (points / bans / etc), all it does is send a PM to the user with some pre-set text + whatever additional text you send. At the moment it says something along the lines of "You have been warned for this post, pleae follow the forum rules when posting"...etc - this can be changed in the Phrase manager though.

I didn't plan on adding points / bans / etc to vBPunch, but I might write another hack based on it that works as a proper warning system.

I'll see what I can do bud :)

jesus likes pie 09-29-2005 09:23 PM

Alright.....

now join #vbfans and we can talk real time :D


All times are GMT. The time now is 08:24 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.01424 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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