Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Oct 2011, 02:55
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
widget code to web page

I have a widget


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

which creates a calendar of events on http://www.nccbmwcca.org based on the date in the subject.
I need to be able to output this script to a simple standalone webpage.

Anyone whip it up for me? Please?
__________________
...steven
www.318ti.org
forum.nccbmwcca.org
Reply With Quote
  #2  
Old 24 Oct 2011, 22:13
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
What do you mean by standalone, exactly? Can it be a "vb powered" page? If so you can probably use this: http://www.vbulletin.org/forum/showthread.php?t=228112 . I don't think you need the ob_start/ob_end_clean calls. You may need a template with the header and footer if you want to include those things on the page.
Reply With Quote
  #3  
Old 24 Oct 2011, 23:58
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Originally Posted by kh99 View Post
What do you mean by standalone, exactly? Can it be a "vb powered" page? If so you can probably use this: http://www.vbulletin.org/forum/showthread.php?t=228112 . I don't think you need the ob_start/ob_end_clean calls. You may need a template with the header and footer if you want to include those things on the page.
I don't want it to be a vB powered page.
I simply need it to run as a webpage outside of vBulletin.
I want to use the query to insert into an email.
So the query needs to run and create a webpage.
__________________
...steven
www.318ti.org
forum.nccbmwcca.org
Reply With Quote
  #4  
Old 26 Oct 2011, 01:28
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
I have this so far.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Currently it outputs the thread titles with the thread prefix Chapter_Event or other.
Sample -> http://forum.nccbmwcca.org/testscript.php

What I want is to only output titles beginning with today and beyond.

I'm guessing it has something to do with the original code in my widget

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then I need a <hr> when the month changes.
The widget code is in post 1.

--------------- Added 27 Oct 2011 at 00:46 ---------------

Not purposely bumping my own thread.

I stumbled on how to add <hr> between months to work.
Now to figure how to display only those thread titles beginning with today's date (MM/DD/YYYY) and beyond..
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 27 Oct 2011 at 01:20 ---------------

I think I got it.

TIMENOW must be a vBulletin variable.
I substituted TIMENOW for TIME() and it appears to be working.
__________________
...steven
www.318ti.org
forum.nccbmwcca.org

Last edited by steven s; 27 Oct 2011 at 00:47.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin CMS Widgets 3x CMS widget : Widget with 3 tabs, like on Blogs page. Vaupell vBulletin 4.x Add-ons 55 23 Oct 2012 23:06



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:49.

Layout Options | Width: Wide Color: