![]() |
Quote:
This instance requires on additional hack. Here it is: In index.php, around line 250, find this block of code: PHP Code:
PHP Code:
Slowly but surely, the exceptions to this hack are finding there way out of the woodwork. There shouldn't be more than one or two more after this one -- if any. |
Hello bigmattyh
Maybe you can help me with this odd problem: I can't use the attached zip-file in your first post. After it's downloaded, decompressed and opened in a Editor (BBEdit) I see only unusable code. I use Mac OS X 10.1.3 and I don't have problems with all other downloads on this Board, except for this one. It's possible for you to send me the file with Email ? Thanks! |
Quote:
Is this possible? How do I do it? Cheers, G :) Ps. Great hack :up: |
Thanks for the thumbs up!
Here's how you do what you're looking to do. By the way, this isn't directly related to my hack, but it does get the job done. In index.php, around line 260, you'll see this line: PHP Code:
PHP Code:
That's it. :) |
Very nice.. thank you!
|
Is there anybody who tried to use it under vb2.2.3b ?
|
I haven't installed vB 2.2.3 -- mostly because I don't want to upgrade now and then have to upgrade again when vB 3 comes out (hopefully next month).
Are you having problems with the hack under 2.2.3? If so, I can try to look into it for you. |
Quote:
|
Quote:
|
Quote:
|
very nice cheers m8 :)
im on 2.2.4 np here :) |
I have it working now. Thanks a lot ;)
|
Working sweet here with 2.2.4
|
Nice Hack!...i traslate to spanish...jejeje really easy
|
Wow... English, German, and now Spanish!
Cool. |
It would possible to change only the date color instead of changing with "Today" and letting yesterday date inaltereded by the code?
This to left the index page well formatted in the lastpost column. |
Another Happy Camper ... 2.2.4 ... Thank You Bigmattyh.
|
Quote:
|
Thanks! :)
|
I want to use this hack on a German board, and everytime I try to replace $date="Today"; with $date="heute"; I get a parse error.
What do I miss? Thanks. |
I'm not sure why you'd be getting a parse error, unless you made some sort of mistake when editing the code. The lines should read exactly like this:
PHP Code:
|
Quote:
I'd be interested to know what's going wrong? |
There might be a fixed length needed?
When replacing "today" with "heute", all is well. When replacing "yesterday" with it's German correspondant "gestern", there occurs an error. When I chose " gestern" (mark the two leading blanks), all is well again. Strange, maybe someone can enlighten us? |
TheMasterG, LamBras:
I can't seem to replicate this problem on my own board. What version of PHP are you running? |
4.0.6
|
Well, honestly, I'm stumped. There should be no reason that you can't change what's in the quotes for $date="".
Stumped, I tells you. Stumped. |
I can change it, but it must have the same length as "today" and "yesterday". Well, the workaround is using blanks. :)
|
I use this hack also on a german Board. Without any problems. :surprised:
|
thx for this hack, great work ;)
Hubsi |
it doesnt work.. i did everything correct twice and nothing shows up. ????
|
Quote:
I don't know if that's the problem you're encountering, but if you do the replacements correctly, the hack should be working correctly. |
Das hack war sehr gut...
It works on 2.2.5... I am living proof of that:D *Holy Cr*p - Heart Attack :confused:*:):D Satan |
Wie kann ich Today in einer Farbe machen z.b.rot
Today in red ? |
wie w?rs mit z.b.
PHP Code:
|
Great Hack man! Superb work.
|
Strange - I installed this hack yesterday (2002-04-30) and had a look at my memberlist to see if it worked, but I couldn't see any one who had joined for "Today" or "Yesterday".
I then had a look at it again this morning (2002-05-01) and those that registered yesterday i'm seeing them as being registered "Today" and not seeing anyone as being registered "Yesterday" even though some people have. My forums can be found at www.webdevforums.com Any help Big Matt would be appreciated. |
Hi Keith,
I took a look at your members list, and like you, I found that vB was reporting that two people registered Today. But then the next most recent registration is on 26-04-02 (4-5 days ago). I need some more info to see if there's a problem. Could you post the datestamps from when Lisle and chachet joined, and could you also let me know the timezone of your server? Thanks, Matt http://www.webdevforums.com/memberli...hat=datejoined |
Thanx for this great hack, Matt. Is really useful!! Would it be possible to make the word "Today" template-based? Cause we have a Spanish and an English template, and our english users keep seeing "Hoy" (spanish word for "Today") and it's a little confusing :(
Thanx in advance for your help!! ^__^ |
Aaow and White (and anyone else who is interested in a template-based version of this hack):
Here is how to convert this hack so that it uses templates. First, find this block of code: PHP Code:
PHP Code:
Hope this helps, Matt |
[high]* inetd click install button :)[/high]
|
All times are GMT. The time now is 04:41 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:
|