![]() |
I am very happy to announce that this hack works perfectly well with 2.2.7. I modified my initial posting accordingly.
|
In the modifyprofile_away template, there really isn't a need for this piece of code:
Code:
<option value="01" $year2001away>2001</option> In fact, if you could, it'd be a great feature if you disabled return dates in the past. If it's too hard I will totally understand, I'm just being picky. Great hack, I had a lot of problems with the original hack, this one works flawlessly though. Thanks for updating it! |
Actually, I'm working on it. ;)
Will take some time, though. Busy updating my own forums to 2.2.7 right now. :) |
I can understand that. Moving over 70 hacks is a pain. :( I've just applied the critical security patches so far, not sure if I will convert to 2.2.7 all the way yet, maybe just wait for v3 :)
|
Installed it, and the away system works, however, when I click on a username I get this:
Fatal error: Call to undefined function: dotimeonline() in /www/g/groove_salad/htdocs/forum/member.php on line 1412 how can I get this corrected? |
When I PM an away user I get the auto reply, but there are no contents inside the PM, it's just blank. I do have the priv_autoreply template too, I double checked....Ideas?
|
Does anyone have the away.gif?
Dark Shogun |
Does this Hack work on Version 2.28"?????
Thanks |
I'm getting the following error within the member.php file:
Parse error: parse error in /home/gaming2/public_html/forums/member.php on line 1413 It's funny, because I tried to locate the line, but when opening the edit menu to search for this, the option was gray, meaning that I couldn't select it to see what was going on. Um, let me see if this helps. Download the file from the server and when you open it in notepad it'll show all nicely organized. Does anybody know what the problem might be anyways? |
Thx for this hack ...öhm oder einfach Danke für diesen feinen Hack..
my english not to good?? ..naja wird sicher verstanden was ich meine ^^ |
I have got this hack working under 2.2.8
Now how do I get the away info from the user profile to also appear in the postbit template? |
[QUOTE]Originally posted by poolking
I have got this hack working under 2.2.8 Now how do I get the away info from the user profile to also appear in the postbit template? |
In the modifyprofile template find
$birthday $customtext and after them add $awaytext Then the away fields will appear in the edit profile, It had me scratching my head why it wouldn't appear in any of my other styles. Still waiting for an answer to the postbit question. |
thanks, installed successfully on 2.2.8 no problems :D
|
I keep getting a parse error on line 266 of admin/functions.php. I have read almost every thread in this post, and have not had any luck.
I am running vB version 2.2.8, and any help you guys could give me would be great. Line 266 of functions.php is this: Code:
} else { Code:
if ($buddy['lastactivity'] > $datecut and (!$buddy['invisible'] or $bbuserinfo['usergroupid'] == 6) and $buddy['lastvisit'] != $buddy['lastactivity']) { Regards, Nick B. |
|
Follow the instructions carefully, this hack works fine on vB 2.2.8.
|
The original version certainly does not work on 2.2.6 and 2.2.7, which is why I re-released this hack with updated and corrected instructions. You can find a list of errors and their corrections both in this thread, as well as in the new. See link above.
(Edit: Whoa. Just noticed that both threads were merged.) |
Ok
On vb 2.2.9 once applying Sho updated version of the hack, I am now getting a blank page returned when trying to access usercp.php Here is a snippet of the code from there regarding the required changes: Change #1 PHP Code:
PHP Code:
Any help with getting this sorted would be greatly appreciated. |
Quote:
|
I've got the same problem vLIMIT.... does anyone have a fix for this? *crosses fingers*
----------------------------------------------------------------- *pops in a while later* I got a fresh copy of user.php and redid the changes on it. Works perfect. I had very little problem and I'm running 2.2.9 :cool: Great hack! |
hi, that was a great hack and it works on my 2.2.8. *Click install*
but i have a litle problem, in my Profil, ich have a double from this but it is only one in my member.php auweia my englisch *g* // Leave Away Message in Profile (v1.2a) if ($userinfo[away]=="1") { $sincedate = vbdate($dateformat, $userinfo[awaydate]); if ($userinfo[returndate]=="0000-00-00") { $returndate = "Unknown"; } else { $returnaway = explode("-", $userinfo[returndate]); $returndate = vbdate($dateformat, mktime(0,0,0,$returnaway[1],$returnaway[2],$returnaway[0])); } eval("\$away .= \"".gettemplate("getinfo_away")."\";"); } else { $away = ""; } // Leave Away Message in Profile (v1.2a) ========================================== <tr> <td bgcolor="#F1F1F1" colspan="2" align="center"> <normalfont><b>$userinfo[username] ist nicht verf?gbar</b><normalfont> <br><smallfont><i>Grund: $userinfo[awayreason]</i></smallfont><br> <normalfont>ab: $sincedate zur?ck am: $returndate</normalfont> </td> </tr> can you help me? :) greetz/gr??e subu1 |
Excuse me, but does this hack run on 2.3?
|
I tried it on 2.3 and i get a SQL error from the user.php
Quote:
|
Can anyone confirm this working on a copy of 2.3.0? :)
|
Installed it on a testboard running v2.3.0 final - no probs.
|
... and *that* is why the very first post of this thread points to a new version (v1.2a) that takes all these changes you mentioned into account.
https://vborg.vbsupport.ru/showthrea...606#post287606 |
Great, I'll give it a whirl.
Any idea how many queries this hack adds by chance? :D |
I installed version 1.2a on a 2.2.9 ... and it works like a charm
thanks a lot :) |
Has anyone figured out a way of having this hack automatically set the user as back when their return date comes due?
|
PHP Code:
PHP Code:
|
Received errors when hacking the user.php file.
Does this hack work in 2.30? Will be going through an uninstall for now and then re-hack at a later date when this function becomes fully stable on 2.30 :bunny: |
This is a cool hack! I will install it soon (first I need to translate the texts ;))
|
[QUOTE]05-28-03 at 07:09 AM Ramsy de Vos said this in Post #391
PHP Code:
PHP Code:
|
installed on 2.3.0 no probs
|
Yup... on 2.3.0 no probs... i like it a lot.
So does m users. Thread about being away was the biggest one. |
Great hack!
/me clicks install. |
This is awesome. Works wonderously.
Suggestions: Filter the Away messages through the vBB filter system Multiple away messages. Admins can edit and/or lock an away message so it cannot be edited. Add a "Start Date" option so people can set away status in advance. eg. I will be gone from xx-xx-xxx to xx-xx-xxxx. |
i get this error
Database error in vBulletin 2.2.9: Invalid SQL: UPDATE user SET element='2', birthday='1985-6-4',signature='',customtitle='1',usertitle='Admin / Web Master',email='darkdraco@darknemesis.com',parentem ail='',coppauser='0',homepage='http://www.darknemesis.com',icq='',aim='',yahoo='',usergr oupid='6', ,away='0',awaydate='',returndate='',awayreason='' WHERE userid='1', gender='2', rpgclass='11', rpgrace='13', alignment='3', rpgtype='2', rpggender='2' WHERE userid='1' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'away='0',awaydate='',returndate='',awayreason='' WHERE userid=' mysql error number: 1064 Date: Thursday 24th of July 2003 03:22:36 PM Script: http://www.darknemesis.com/forums/forums/member.php Referer: http://www.darknemesis.com/forums/me...on=editprofile |
i get this error:
Parse error: parse error, unexpected T_ELSE in /usr/local/psa/home/vhosts/chemical-conversions.com/httpdocs/member.php on line 1387 heres my code: btw-the last "else{" is line 1387 PHP Code:
|
All times are GMT. The time now is 10:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|