The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have heard of them and I even use getnew, but is there a page that I can see all the features of these functions?
I've read you can use the getdaily and tell it how many days you want it to go back and look for, so if you want the posts for the last 2 days, etc. you can do it. How would I go about making it search for yesterday posts ONLY? So instead of including today and yesterday, or today, yesterday, and the day before, I just want the single days. I use my forum for news and want to get something that will allow users to view Monday - Fridays news. Something like this possible? If not monday-friday, possibily the last 5 days. A link to each one. So people can view posts in only my news forum from 5 days ago. Can somebody help me? |
#2
|
|||
|
|||
![]()
You'd make a variable with mktime(0,0,0,[today's month, day, year]) and then subtract 86400 from it. Then it's just a matter of reworking the WHERE conditional.
|
#3
|
||||
|
||||
![]()
OK, now turn on your noobie translater and say that again.
![]() I didn't understand any of that. I was hoping there was just stuff I could an to the url link and it would work? You know like those "actions" and switches? BTW howd you create that swanky sig with your forum stats in it? ![]() |
#4
|
|||
|
|||
![]()
Sorry.
![]() PM me if you want the file I use for my sig (uses cron job). |
#5
|
|||
|
|||
![]()
OK, in search.php, you have a block like this:
PHP Code:
PHP Code:
Hope that helps you. |
#6
|
|||
|
|||
![]()
so did that help?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|