![]() |
updated yes but where is the actual hack, cos its not in the 1st post?
|
2 minutes, I'll upload it
|
Sorry folks, last minute bug has reared it's ugly head - just fixing now - 5 more minutes...
|
ok bug (hopefully) fixed :)
v1.1 is now available for download |
sweet new version is great.... :)
|
Personally, I don't like the punch starts even if Cancel is clicked on prompt window... if I click erroneously the user gets punched because I can't undo my action... that's not good for me, not intuitive ("cancel" usually means "cancel action"). I've changed "do_punch" to suit my needs: if (message != null) then punch else don't do anyting :)
I'll add also an alert box to confirm that punch was sent (no errors) because some browsers (eg. firefox by default) don't allow status bar text changing via javascript :) Keep testing it... btw good idea :) |
Security checks should be hardened... I was able to send a punch even if I'm not logged in. Try to write the url with the querystring and the user receive a PM from a "non registered" user...
http://[forum_root]/vbpunch.php?punch=[YourUserId]&postid=1&warning=message A workaround that seems to work (but I don't think is the right way): In vbpunch.php replace: PHP Code:
PHP Code:
|
Osmosis: Thanks for pointing that out, I forgot to add "$permissions['vbpunch']" in vbpunch.php - an oversight on my part :) I'll fix it in the next release.
|
hey I uninstalled everything cause I dont think it worked for me so now when I went to edit a usergroup it said this:
"Database error in vBulletin 3.5.0: Invalid SQL: UPDATE usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = 'Administrators', `description` = '', `usertitle` = 'Administrator', `opentag` = '<strong><font color=\"#3A69DE\">', `closetag` = '</font></strong><strong><font color=\"#FF0000\">_BOSS</font></strong>', `passwordexpires` = '180', `passwordhistory` = '360', `forumpermissions` = '470810623', `genericpermissions` = '255852479', `attachlimit` = '0', `pmquota` = '50', `pmpermissions` = '3', `pmsendmax` = '5', `calendarpermissions` = '63', `wolpermissions` = '31', `adminpermissions` = '3', `genericoptions` = '31', `profilepicmaxwidth` = '100', `profilepicmaxheight` = '100', `profilepicmaxsize` = '65535', `avatarmaxwidth` = '100', `avatarmaxheight` = '100', `avatarmaxsize` = '10000', `vbpunch` = '0' WHERE usergroupid=6; MySQL Error : Unknown column 'vbpunch' in 'field list' |
its bringing up an error when I save and it says unknown column 'vbpunch in 'field list', how do I remove that ?
|
some help please ^
|
Awesome sounding hack. I might install if my board gets bigger.
|
Just checked, and I have 1.0 installed. Timeeee to upgrade!
|
rb290: Did you remember to delete the bitfield_vbpunch.xml file from the /includes/xml/ directory?
Danny: 'bout time :D |
Quote:
|
For anyone getting the error when editing usergroups after uninstalling, please rebuild the bitfields by following the instructions here: https://vborg.vbsupport.ru/showthread.php?t=92592
For future un-installers, please remove the files uploaded (in particular bitfield_vbpunch.xml), before un-installing the product from the AdminCP. |
nevermind read above post :)
|
the upgrade instructions say to remove our postbit changes before installing. Is that really necessary to upgrade from 1.1 to 1.2?
|
The previous version worked great, this new 1.2 version gives me problems. Using vBulletin 3.5.1
I re-uploaded all new files. Re-imported the product XML, set to overwrite old one. Still says version 1.1 in the product page. I even re-build bitfields, and replaced the html in the templates again. Every single thread becomes completely unreadable with an error that states: Parse error: parse error in /pathtomyforums/showthread.php(96) : eval()'d code on line 28 Unable to add cookies, header already sent. File: /pathtomyforums/showthread.php(96) : eval()'d code Line: 28 |
i get this error when I go into a thread:
"Parse error: parse error, unexpected $ in /home/thug/public_html/showthread.php(96) : eval()'d code on line 220 Warning: Cannot modify header information - headers already sent by (output started at /home/thug/public_html/showthread.php(96) : eval()'d code:220) in /includes/functions.php on line 2342 Warning: Cannot modify header information - headers already sent by (output started at /home/thug/public_html/showthread.php(96) : eval()'d code:220) in /includes/functions.php on line 2349" |
I have this error "showthread.php(96) : eval()'d code on line 28" any ideas ?
|
Hey all,
For those experiencing the error "Parse error: parse error in /pathtomyforums/showthread.php(96) : eval()'d code on line 28" please install the attached, updated, product XML, ensuring that you set "Allow Overrite" to yes. This should fix the problem. Thanks, Alan. |
Quote:
Yes that fixed it. Thank you very much. :-) |
Is there a way to add more than one message to this so you can just tick which message you want sent? Like more than one default message.
|
Boofo,
Not easily in it's current state. I'll look into adding that feature into the next version. |
Yeah that would be a cool addition.
Btw, bug fixed with that last file! Thanks so much! |
Ah works now :)
Thanks :) |
Juzmi: Good to hear :)
|
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>
|
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. |
Quote:
|
Quote:
|
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:
Quote:
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). |
Hi,
Quote:
Quote:
|
Quote:
|
Quote:
any updates with the problem when sending pm's thanks |
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. |
n e one has a couple screen shot or a demo ? i'de love to know how it looks
|
Quote:
any idea's :ermm: |
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 04:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|