The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
YESTERDAY/TODAY DATESTAMP HACK - Updated 5/25/02
Tested and working on vB 2.2.1 -> 2.2.6 Description: This hack replaces the standard "05-25-02, 02:45 PM" date with "Today" or "Yesterday" anywhere you have a date posted, if the date matches today's or yesterday's date. Demo: Installed on vBulletin.org. The following are add-ons that may be helpful depending on your specific needs. Extra features:
Please click the install button to show your support. Show Your Support
|
Comments |
#202
|
||||
|
||||
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. |
#203
|
|||
|
|||
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. |
#204
|
||||
|
||||
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 Warning: Cannot add header information - headers already sent by (output started at /home/dwz/public_html/vbtest/admin/functions.php:1763) in /home/dwz/public_html/vbtest/admin/functions.php on line 1711 Fatal error: Call to undefined function: vbdate() in /home/dwz/public_html/vbtest/admin/sessions.php on line 399 PHP Code:
PHP Code:
PHP Code:
PHP Code:
Any idea? Thanks Alan |
#205
|
|||
|
|||
Thanks alot for this hack m8!
|
#206
|
||||
|
||||
could someone fix the problem for 2.2.7 like DWZ showed it?
|
#207
|
||||
|
||||
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 |
#208
|
||||
|
||||
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.
|
#209
|
||||
|
||||
@bigmattyh:
Could you please fix the bug, cause I'm using 2.2.7 and need your hack! Best regards |
#210
|
||||
|
||||
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. |
#211
|
||||
|
||||
I get many errors:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|