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)

puertoblack2003 12-04-2005 02:30 PM

Quote:

Originally Posted by Juzmi
Okay when i send a user a punch.. it does not show a new PM message.... but if you go into your PM box it shows it.. any reason why it would do this>

yea same here ran a test on my test user , went into pm and found all of the punches...lol i'll wait for the fix.... :ermm:

coolgus 12-11-2005 04:28 PM

Quote:

Originally Posted by Alan @ CIT
Juzmi: Sorry, didn't see your message - I'll look into this.

Everyone: Anyone got any feature requests for the next version? I plan on starting work on it next week.

I believe that this mod only misses the options to choose in how many warnings the user will be banned permanently or for a short time. Sure I can use the other mod but I like simplicity and of course AJAX :-)

eXaulz 12-11-2005 08:26 PM

Very nice modification, indeed. I modified this modification a bit, and this is what I got:

A 'Punch X' in the user menu

If you want to do this, find the following in the postbit / postbit_legacy template:

Quote:

<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
Add after:

Quote:

<if condition="$can_punch">
<tr><td class="vbmenu_option"><a href="#" onClick="do_punch('$post[userid]', '$post[postid]'); return false;"><phrase 1="$post[username]">$vbphrase[punch_x_user]</phrase></td></tr>
</if>
Add the phrase:

punch_x_user
Punch {1}

Done! :)

By the way, to the developer:

Bug? My PM count doesn't get updated when the PM is sent (nor do I receive the new pm notice).

Alan @ CIT 12-12-2005 07:20 AM

Hi,

Quote:

Originally Posted by coolgus
I believe that this mod only misses the options to choose in how many warnings the user will be banned permanently or for a short time. Sure I can use the other mod but I like simplicity and of course AJAX :-)

Writing a full fledged Warning system based of vBPunch has always been on my todo list, and still is. Unfortunatly, there are many many things above it on my todo list :D

Quote:

Originally Posted by eXaulz
Bug? My PM count doesn't get updated when the PM is sent (nor do I receive the new pm notice).

Thanks, I've added it to the vBPunch todo list :)

AWI 12-12-2005 07:27 AM

Quote:

By the way, to the developer:

Bug? My PM count doesn't get updated when the PM is sent (nor do I receive the new pm notice).
Same here, installed it on 3.5.2...great hack man

puertoblack2003 12-13-2005 03:58 PM

Quote:

Originally Posted by Juzmi
Okay when i send a user a punch.. it does not show a new PM message.... but if you go into your PM box it shows it.. any reason why it would do this>


any updates with the problem when sending pm's

thanks

Alan @ CIT 12-14-2005 01:43 PM

Sorry, but I've been unable to reproduce this.

I've done various tests on my forum (3.5.2) and it all works fine. When I punch a user, they recieve the PM popup if they have it enabled, and recieve an e-mail about the new PM if they have that enabled.

Thanks,
Alan.

MissKalunji 12-16-2005 11:00 PM

n e one has a couple screen shot or a demo ? i'de love to know how it looks

puertoblack2003 12-16-2005 11:43 PM

Quote:

Originally Posted by Alan @ CIT
Sorry, but I've been unable to reproduce this.

I've done various tests on my forum (3.5.2) and it all works fine. When I punch a user, they recieve the PM popup if they have it enabled, and recieve an e-mail about the new PM if they have that enabled.

Thanks,
Alan.

will, i checked that out and it's activated so i did a test run it won't show either the pop-up or it won't show that that the user received a pm upon using the vbpunch..

any idea's :ermm:

GSM_electronic 12-17-2005 12:17 AM

My board's running on vb 3.5.2 also, is it possible that I can't see 'punch' icons at all?

They're shown in the 'preview' of template, but not at the forum...


All times are GMT. The time now is 01:06 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.01367 seconds
  • Memory Usage 1,744KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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