![]() |
One more thing, the posting date is screwed up, it shows the posted date but only server time, the timezeone offset doesnt work.
|
Ill look into it, i dont really have that problem, 90% of my members are in the servers timezone :o
|
I have gotten the Date to show, as the users setting.
You need to replace, at line 43 PHP Code:
PHP Code:
Thanks Kier ;) |
Thanx again, ill be here with more work for you as soon as i figure out what other stuff should be added :)
|
$newsitems = 1;
this line doesn't do anything, you havent put out a limit that referrs to $newsitems. |
lol
I guess you have to add this: PHP Code:
PHP Code:
|
Nope that didnt work, i gave it a try and added the limit thingie myself
Replace: $newsquery .= " ORDER BY thread.dateline DESC"; With this: $newsquery .= " ORDER BY thread.dateline DESC LIMIT $newsitems"; Now, how bout adding a pagenav at the bottom, so that you can see older news |
OK, this little request is going to throw a major complication into the works, I know, but I just have to ask.
Instead of limiting the number of news items that show up to a fixed number (with $newsitems), could there be a way to show news items during the past certain amount of time? For example, show all from the past two days, or something like that (the time limit would be a admin-set variable, just like $newsitems). |
Whoops :)
Forgot to add the LIMIT SQL bit back in after testing ;) PHP Code:
Basically i just added the last line to $newsquery. Watch out for v1.5 soon! Itll have more features! (who knows what at the moment :)) I plan on adding multiple forum support, which ive done in my version, but its only basic, and you need to know the forumid(any forumid works atm, gotta fix that) Maybe news headlines, just like PluhNews, i like that feature. Im also working on OPColumns, which will do similar features to here. If you can sugest any more features you would like, ill try work on them :) |
Quote:
Your ALMOST right. just you need to add a SPACE before the start of limit, just my coding style ;) |
All times are GMT. The time now is 02:18 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:
|