![]() |
Thanks, inetd. The instructions have been edited in the first post, to reflect all the little add-ons here and there.
|
Just wanted to say excellent hack, makes things much more user-friendly ^_^
|
Awesome hack, worked like a charm. :)
|
Thanks!
:bunny: |
Excellent hack. I love it...but, there's a problem with posts containing polls.
The date displayed on the main forums page is showing "today" or "yesterday" when the last post could have been weeks ago. Has anybody else spotted this and if so, is there a solution (even if i could stop the hack working for polls i'd be happy)? |
I don't see that happening on my site. It works as it should in the poll areas as well and the other areas. Sorry. :)
|
I'm using version 2.2.5 - the problem is viewable at http://www.radiowavesforum.com/rw/index.php
|
I don't believe this is a problem with this hack. :) It looks like the issue on your board has to do with the dates for polls being stored incorrectly. This hack only formats the existing dates in the system so that they turn into "Today" or "Yesterday".
I have no idea what could be causing your particular problem, but I'd suggest that you take a look at any hacks you have that have anything to do with polls or new threads. Also, another tip: Since you haven't yet upgraded to 2.2.6, when you do, install your hacks one at a time, and see if the problem persists. Of course, your dates will still be messed up (because they've been stored incorrectly), but you can test it out on a fresh test board, or in a private testing forum that you can set up. Hope that helps. |
I'm also using version 2.2.5. Have you tried to un-install and re-install the hack? Sometimes that straightens things out. It really shouldn't matter whether the area is a poll area or not. I would say check any hack that you installed that affects the poll area (if you have any that do). I know that's not what you want to hear, but I am at a loss on this one. Maybe the author of the hack has an idea. Sorry I couldn't be of more help. :)
|
I guess I didn't get my message typed as fast as you, bigmattyh. You beat me to the draw. :)
|
Quote:
;) |
Quote:
|
Quote:
|
GREAT JOB! INSTALLED!
|
Thanks!
|
Well, I wanted to put the welcome/last visit/new posts into a sensible paragraph, the way it is here, so that it looks like this:
Mae Govannen!, Illuvatar The time now is 02:59 PM. You last visited: 06-08-2002 02:53 PM. There have been 1 new posts and 1 updated threads since then. View New Posts In order to do this I modified my welcometext template to include the time is and last visited stuff lines that are normally in the forumhome template. My welcometext now looks like this: PHP Code:
PHP Code:
I hope I included enough information..hehehe...can someone help me with this? :( I've been very pleased with this hack, and know it's probably something simple, but these old eyes just aren't seeing it! Thanks, Illu |
Thanks for the kind words about the hack! :)
Did you try doing this? https://vborg.vbsupport.ru/showthrea...456#post247456 That post explains how to get the "You last visited" date to follow the Today/Yesterday format. |
Could that be the problem? I moved mine out of forumhome to the other template too. Wouldn't that cause it to stop working right? I akready did everything in the link you posted. :) It has to do with the welcome panel final hack, I think. :)
Quote:
|
but that IS the puzzler now isn't it Boofo? :bunny:
Just like you all I did was template changes, to make the today thing work in the welcome piece only requires a change to the index.php file, and I didn't mess with that. In fact here is what that piece of the index.php looks like: PHP Code:
|
Like yours, mine worked before I added the welcome panel final box to the top of my home page. After I moved the code in there, it stopped working in that spot. Everywhere else it seems to be working fine though. I have seen alot of times calling code meant for one place to another place does not always work. I guess that's why you have to edit more than one file most of the time to get some things to work in different places. Hopefully, someone will be able to come up with a fix for this somehow. :)
By the way: My code looks exactly like yours here, so that should tell us something, huh? :) Quote:
|
Well Boofo, the only difference between you and I is that you've applied that welcome panel hack, and I kinda thought that having an avatar displayed on the main board would take away form the look that we're trying to achieve, so I didn't apply it.
All I really wanted was for the welcome area to read more like a paragraph. :classic: I'm kinda wierd that way, but i feel that if it's gonna be something that my users are looking at regulary, I want it to flow right.....hehehe Take a look ifin you like, I think it's just about there!!http://warofthering.net/forums/vbull...ad/index.php?s and yes, I soooo hope someone can find a simple fix for this, we're going to be going live here in a week or so, and I need to be done with the forums bit so that I can focus on remainder of the site. The thing that gets me is that it's probably right there, and I'm just not php literate enough to see it!! :cross-eyed: |
True, we did it a little different but basically the same. We moved the information to a new template and now it doesn't work for us. :)
I just checked out your site and now I'm jealous. :) How did you get your page to be so wide that it almost takes up the whole screen (left to right)? I have mine set at 100% and I still have room left on both sides. :) I like the movie your site is about and can't wait for the DVD. :) If you have any free ideas floating around, I'd be interested in hearing them. You seem like you have got it all together over there. :) Quote:
|
I'm very pleased with the way it's come out as well! :)
We all loved the movie and are a bunch of Tolkien freaks. :p And the forum is only just a piece, we've got a lot of sections, concerning artwork, the books, an armoury, etc.... As far as width, we have both the main table and content table to 100%, and our forum title width is 1000, we also have textarea widths at the bottom as IE 4+ = 70, Netscape Nav 4+ = 50, and Netscape 6+ = 40. Hope this helps. Illu |
Hey guys,
Try adding this line just before the block of code you posted: PHP Code:
|
You put that immediatly before the $getnewposts, so that it's there AND in the $welcometext if then else statement below?
|
You da Man! Finally, it is working again. :) Do we need to take that code out AFTER that block then or do we need to leave it in there too? (It's the same code). And thanks for the fix, sir! :)
Quote:
|
My bunny is a jumpin!!
I answered my own question and just did as you suggested!! And it works like a charm!! Boofo......it appears that since we did what we did, that it became one of those funky code placement issues. Outside of the if-then-else statement it works just fine. And yes!! Delete the dupe code!! In fact I just moved mine from where it was to above the $getnewpost, and SHAZAM! :D Thanks Bigmattyh!! It's folks like you that keep me coming around and keep my board looking sharp!! Illu |
I got you beat! I moved mine above the $getnewthread (which was above my $getnewposts). :lick: Does that mean I win because mine is higher? :)
All seriousness aside, thanks to both of you, bigmattyh and Illuvatar. bigmattyh for figuring out the fix for it (which I always knew you could and would) and Illuvatar for stepping forward and helping convince them that it wasn't just me having problems. :) bigmattyh, will this work there even if I didn't move the stuff out of forumhome? If so, you might want to change your original file to reflect that so you won't have to run into this again form the newbies later on down the road. Thanks again, guys! And illuvatar, I would still like to get a few ideas from you about my site. I can use all of the help I can get. :) PM me if you're interested. Quote:
|
Quote:
Thanks for the enthusiasm, guys. :) |
Quote:
|
running 2.2.6 here, its installed, but still the dates dont show up right, worked great in 2.2.5 but now that i upgraded wont work
i see it working here in 2.2.6 was anything special done to get it to work? |
Quote:
|
Quote:
I checked out our forums via your www link -- the dates and times seem to be working all right... is there some other problem going on? |
Since I have installed this hack my 'maxloggedin' in messed up!
What could be the problem?? |
Just to show you what I still don't know about vbulletin, what is "maxloggedin" and where do you use it? :)
Quote:
|
In the database the maxloggedin table is now updated constantly, its the place where vB stores the "Most Users ever online"
|
Hey xug,
Well, in the 3+ months that this hack has been out, your issue is certainly a first. :) I'm fairly certain (99.44% sure) that the maxloggedin problem isn't related to this hack. Although I have seen some issue somewhere on this board about your particular problem, I can't remember what the specific issue was. Try a search here, for maxloggedin. If that doesn't work, try over at vbulletin.com. Matt |
Works great!!
Thank you very much! :) |
Danke schoen! I'm glad you like it.
|
is their a way where u can code it so if its like date = July 4th, then it shows Independence Day and date = December 25th, then it shows Christmas?
|
All times are GMT. The time now is 09:13 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:
|