Goto Admincp->vBullietin CMS->Widgets->Create New Widget
Choose PHP Direct Execution as Widget's Type
Place a Title. eg Upcoming Events. Keep it short as this is what will appear as title on your pages.
Click Save
Click Configure on the right of the new created widget.
Remove the default code that appears. Be sure to not leave behind even a single letter.
Copy and Paste the code that you can find below.
Leave the template name as is (vbcms_widget_execphp_page)
Click Save
Goto Admincp->vBullietin CMS->Layout Manager
Click Go on the Default Layout
Add the Widget to your Layout
Click Save
That's all !!
PHP Code
PHP Code:
ob_start();
// %d
$show_count = 5;
$query = sprintf("SELECT * FROM ".TABLE_PREFIX."event WHERE visible = 1 AND (dateline_from > '%d' || ( dateline_from > '%d' AND dateline_to < '%d' )) ORDER BY dateline_from ASC LIMIT %d",TIMENOW,TIMENOW,TIMENOW,$show_count);
How about we all put our heads together and donate some money for someone to make a proper mod with all the needs we have?
In any case if there is a coder out here with knowledge of vbulletin coding who can make a custom event schedule, please contact me using the PM system. Paid.
It seems as if this module either has issues with repeating events or the cache or both. In the attachment you'll see the circled event that occurred on Sept 8, yet today Sept 10th the event is still being shown.
As for this
Quote:
Originally Posted by doopz
How about we all put our heads together and donate some money for someone to make a proper mod with all the needs we have?
In any case if there is a coder out here with knowledge of vbulletin coding who can make a custom event schedule, please contact me using the PM system. Paid.
I'd ask, why we should we pay for a mod that should really be included in the core vB as part of the product?
How about we all put our heads together and donate some money for someone to make a proper mod with all the needs we have?
In any case if there is a coder out here with knowledge of vbulletin coding who can make a custom event schedule, please contact me using the PM system. Paid.
It seems as if this module either has issues with repeating events or the cache or both. In the attachment you'll see the circled event that occurred on Sept 8, yet today Sept 10th the event is still being shown.
As for this
I'd ask, why we should we pay for a mod that should really be included in the core vB as part of the product?
BUMP
I rely heavily on recurring events. Any luck in getting this fixed?
Do the developers (ngcoders) for this mod ever log into vb.org anymore? It's quite frustrating that a seemingly easy widget and one that most people would use has so many limitations and MINIMAL developer support.
This is yet another reason to have widgets officially provided with VB (not as a hack or mod!) as part of the offering. That way they will work, we can track enhancements and lastly and most importantly it will be supported. Most other mature CMS portals have a ton of prepackaged widgets.
vB has been taking their sweet time developing a corporate solution for this Calendar Widget. It has been logged in Jira, but there have only been TWO votes so far and it appears to have been deprioritized.
A number of customer have asked for a calendar widget that will access the current site calendar. That is distinct from the current cms calendar widget that displays dates on which articles have been published. Wayne also feels this should get a high priority.
vB has been taking their sweet time developing a corporate solution for this Calendar Widget. It has been logged in Jira, but there have only been TWO votes so far and it appears to have been deprioritized.
I hear you on the Calendar. It's really pitiful. I voted for your Jira. I also entered in a Jira a long time ago, would everyone vote for that one as well?