![]() |
THANK YOU THANK YOU THANK YOU! It worked and now the site is mroe consistent looking!
|
No Problem,, I am sure it is not the correct "vBulletin" way to do it.. (someone will prob fix my mistake)
But it works.. I modified it so all of mine are like that.... |
Thanks, very usefull hack!
Is it possible to use it in "View New Posts" and in "Search - Show results as threads" ? |
I have installed this hack - but am still wondering...
Quote:
|
Does this hack work at all for 2.2.6? I got the username showing up but no date at all on top, just a blank. The code I edit in the php file is around 597-598, and I stick the:
Code:
$thread[firstpostdate]=vbdate($dateformat,$thread[dateline]); |
bump
|
@ Mr. X
I have JJR512's version working on 2.2.6 with no problems whatsoever. According to his instructions, you are looking only for the second instance of this code... PHP Code:
PHP Code:
EDIT: I think you have the first instance of the code, not the second - my first instance of the code to find is around line 575, and the second around 655 - while our files are obviously different, your location of around 597 or so seems likely that you've inserted the code in the wrong spot. :D |
Still not working. The first instance of the code shows up at line 524 and 525 respectively. The 2nd instance shows up at 598 and 599 respectively. I posted the hack right after line 599, but it still doesnt show up. I've also reverted the forumdisplaybit back to the original and put in the code but it also doesnt show up (no date).
|
It's always the 'simple' ones that end up being a pain, eh.
It's a little hard to tell exactly what you are seeing when you say 'no date' shows up - do you mean that it displays just like it did before? It should show... DD-DD-DD TT:TT AM/PM by Thread-Starter Now - does it show the word 'by' prior to thread starter? Or, does it just show the name? Knowing this will tell us if there is an error in the forumdisplaybit template, or if the problem is somewhere else. The relvant portion of my forumdisplay.php looks like this... PHP Code:
PHP Code:
PHP Code:
(Removing the space after the {'s in { secondaltcolor} and { timecolor} of course) If you are still having problems, maybe a small screen shot? |
Ok. I've attached a preview of how it looks. Just the date is missing.
Here is what that code looks like in my forumdisplay.php (without hack applied). These are from lines 595 to 604: PHP Code:
Here is what my forumdisplaybit template looks like: Code:
<tr align="center"> |
All times are GMT. The time now is 01:42 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:
|