The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
forum post widget that needs an evaluation
Could someone please evaluate the coding.
I don't know what I am doing, other than I got it to work. I'd like to learn where I can improve it. What it does. This is used for a calendar of events widget on my CMS homepage. http://www.nccbmwcca.org Each event is a forum post that uses a thread prefix 'chapter event' and the title begins with MM/DD/YYYY -. The script uses today() to find any post starting with today(). It also adds a <br /> between each month. It's pretty convoluted, in my opinion. PHP Code:
|
#2
|
||||
|
||||
I edited the script a bit.
Each thread found starts with MM/DD/YYYY - I want to find only those threads that have today's date and future in the beginning of the title. I thought I could create a variable PHP Code:
PHP Code:
Obviously it does not work. http://www.nccbmwcca.org How can I find only from today and future? PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|