![]() |
This has officially gotten annoying. How motivated do you think I am going to be to help you if you won't even read the posts I write? Do you think I have hours and hours of free time for which I have no other use than to spend helping people who won't read?
*sigh* Read the above post. Follow the actions in NUMBER TWO. Click on the link that says "do this." Is that spelled out easy enough for you? I will not respond to any more of your requests unless you prove that you have investigated the matter further than asking "wut am i doing wrong? thx". YOU HAVE TO PUT FORTH EFFORT HERE, BUDDY. I AM NOT YOUR PERSONAL HELP DESK. |
i followed number 2. it failed. as i mentioned b4. then i went to the first post. i went to the link for the "extra feature". i don't have that code in my file. as i said b4. than boofo recommended what to do. i tried it and nothing happend.
so i have read the whole thing. i have never demanded nething or asked u to help me. but u were kind enuff to do so, so i appreicate what u have done but nothing worked unless i have done something wrong. |
Hey,
I have this installed on my 2.2.5 board and it was working fine. Today I downloaded 2.2.7 and I have put all my hacks back into the code. I uploaded the new files to my test server, but whenever I access any file I get: Code:
Parse error: parse error, unexpected '}' in /home/dwz/public_html/vbtest/admin/functions.php on line 1763 PHP Code:
PHP Code:
PHP Code:
PHP Code:
Any idea? Thanks :) Alan |
Thanks alot for this hack m8! :D
|
could someone fix the problem for 2.2.7 like DWZ showed it?
|
hmmmmm.... I just added in the hack again for the hell of it, and it worked?
Same code and all, well, at least I think it was, and it's working? oh well, we will see how we go :) |
I had the same problem when I upgraded - you need to remove the repeated vbdate function to avoid a repeat function error, and watch that each { is closed with a } to avoid the parse error.
:) |
@bigmattyh:
Could you please fix the bug, cause I'm using 2.2.7 and need your hack! :) Best regards |
I don't think there's a bug per se... It sounds like mistakes were made in copying the hack code to the newer files. (Leaving out the opening { bracket would do it.)
If you could post the specific error message PHP is giving you, I can help you out. :) EDIT: Just to clarify things, all you're doing with this hack is replacing the standard vbdate() function with the new hacked version. And you're adding the vbdatenoty() function. The line numbers change with every version, but the process is essentially the same. |
I get many errors:
Quote:
|
Hey bigmattyh!!!
[high]* Illuvatar moves site to new server, installs 2.2.7, and reapplys this most excellent hack with NO PROBLEMS!! [/high] lol And get this... I even modified the code a little cause I liked the "Today, at" in the last visited piece, and I wanted it on my individual forum display as well! All I did was this: PHP Code:
Many thanks again! Illu |
Wonder why he didnt add the ", at" that way in the first place...seems easier. I dont know much about code, but is there a reason why he chose to add it the other way? loads faster? god i stupid!
|
Hi, I am running vB 2.2.7 and I just installed this hack tonight. Everything seems to be working as advertised except for the display in Trilobyte's Welcome Panel hack. I have attached an image to show what the problem looks like.
I followed your instructions in this post and it made no difference irregardless of which line I posted it above ($getnewthread or $getnewpost). Any ideas about what could have gone wrong? I followed the instructions to the letter... |
Quote:
Quote:
Greystang302: I don't have the welcome panel installed on my forums, so I can't troubleshoot this one. It looks like the value for $bbuserinfo[lastvisit] is being replaced elsewhere in the welcome panel code... Can you find a line in that hack that assigns a value to $bbuserinfo[lastvisit]? If so, comment it out (by typing // before any text on that line. |
I will check on that after work tonight Matty, I was also looking at the code while eating breakfast this morning and it looks like for some reason some of the edits that I made to the file didn't get uploaded? Not sure what could have happened though...
I will verify this tonight and post the findings. :) Thanks for the help! |
Well, I got the hack working again except for the Welcome Panel. I got home from work late so I didn't have time to do anything else otherwise. There is a code difference in the 2.2.7 release, but it's not major. I will post all of this tomorrow, I am beat! Gotta get to sleep for now...
|
Very nice hack indeed ... simple and works. :)
Wanted to do as many others mentioned and have it display up top also like You last visited: 09-11-2002 01:58 AM ... but I don't have any code matching what you specified in an earlier post in my index.php: Code:
if (isset($bbforumview[$forum['forumid']]) and $bbforumview[$forum['forumid']]>$bbuserinfo['lastvisit']) { Code:
if (($fview = get_bbarraycookie('forumview', $forum['forumid'])) > $bbuserinfo['lastvisit']) { |
That code was one of the differences with 2.2.7 that I mentioned before... it was part of a change to the original code to fix an AOL cookie-dumping problem. I just haven't had a chance to post about it yet. :)
|
Okay... I haven't upgraded to 2.2.7 (and I'm not planning to yet!), so I can't say for sure if this will work, but give it a try:
Replace this: Code:
if (($fview = get_bbarraycookie('forumview', $forum['forumid'])) > $bbuserinfo['lastvisit']) { Code:
if (($fview = get_bbarraycookie('forumview', $forum['forumid'])) > $bbuserinfo['lastvisit']) { |
you ^#^&@^&! you fecked my board!
hehe just kidding m8, thanx for the suggestion. tried it out and got: Code:
Warning: Missing argument 2 for vbdate() in /home/choicein/public_html/forums/admin/functions.php3 on line 1609 |
Right... Sorry 'bout that.
Try replacing the 4th line (from my suggestion above) with: Code:
$userlastvisit=(vbdate($dateformat,$bbuserinfo['lastvisit']).", at ".vbdate($timeformat,$bbuserinfo['lastvisit'])); |
Great Hack!
Thanks. |
/me installed it onto v2.2.0!
|
It looks like a cool hack , I hope we get this when vb3 comes out
|
The "at" addition instructions do not make any sense whatsoever in the context of 2.2.8. What file does this change need to be made? I've searched high and low for that eval statement and I don't see it anywhere.
In index.php, I made the following change: Find: PHP Code:
PHP Code:
|
Quote:
I won't be much help on this particular issue. Evidently, 2.2.8 changed some things that directly affect the ", at" functioning of this hack, and unfortunately, I don't have the time to investigate. |
Nice hack, thanks. You made it simple for us to install by being thorough with those updates.
Well done. |
Quote:
|
I don't like to bump. But it's been over 5 weeks since anyone's posted to this thread.
One last spin around the vB-verse before vB3 makes it obsolete. Huzzah! |
Question: will this hack work properly under 2.2.8...ie. no innaccuracies in the text, such as some areas not making sense?
|
Yes it works for me on vb 2.2.8 :)
- miSt |
Hi,
When sending a reply to a private message (which automatically quotes the private message), I get the following: Quote:
Thanks, Paul |
Get the same ;)
|
Info: it also works with 2.2.9 :)
|
o...working on my 2.2.9 vbb
thx hack~ |
Quote:
The argument, in this case doesn't matter--it simply counts--if it's more than 2, the yesterday/today replacement isn't made. I won't provide the fix here since it doesn't apply to the same code. If you're getting it though, you'll need to make provisions to do the same. Best wishes, Paul |
Installed on 2.2.9 works thanks!!
|
I am a complete newbie to vB hacking and this was the first one I tried, worked a treat on 2.2.9!
Nice clear instructions and does what it says on the tin, thanks for helping a complete lameass gain some confidence (y) |
Installed on 2.2.9 in a few secs !
Thanx bigmattyh ! 5/5 |
I'm using 2.2.9...tried installing it but doesn't work...now there's problems.
http://www.charming-holly.com/hhg |
All times are GMT. The time now is 07:57 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:
|