Page 1 of 20 123411 ... LastLast
Results 1 to 20 of 383

Thread: [Module] Upcoming Events - Standalone Version

  1. #1

    Default [Module] Upcoming Events - Standalone Version

    This is an update of the vb3.5 version of this module for vb3.6 and vBa 2.2.

    Upcoming Events
    Critical controls done via module ACP including
    • Specifying which calendar to use
    • Whether to display Admin-defined Holidays
    • Number of days to look at
    • Display grouping (Event or Days)
    • Optionally display a 'No Events' message when no events available
    • Limit the number of events displayed


    The way the dates are displayed has been changed to only show a start and end date instead of multiple dates when dealing with recurring or ranged events. Additionally, the earliest date shown will be the current date. Single date events will only have that date shown.

    The Upcoming Events section makes use of 2 new templates, adv_portal_todaysevents, and adv_portal_upcomingevents which has the phrase "Upcoming Events" in it.

    The only real limitation is that the number of days specified for the upcoming events will be limited to the number specified for the Forum Home Page Display as the databuild routine references that variable.

    To upgrade it will be necessary to delete the current version of the module and install this new version.

    Revisions

    2/11/07
    Corrected minor url problem when showing events sorted by date.

    To upgrade replace the existing upcomingevents.php file or upload the corrected module if installing it for the first time.

    11/26/06
    Corrected a problem when dealing with admin-defined Holidays. Only the php file was changed so that's all the needs to be uploaded. To display holidays it is necessary to modify the CMPS index.php file by adding the portion in red. If you already have phrasegroups listed then simply add it to them.
    Code:
    $phrasegroups = array('holiday');
    To display all calendars in a single module similar to the way events display on the Forum Home page use the "Simple" calendar.


    PS - If you like this module and would like to make a donation you can do so via PayPal.
    Last edited by Tom M; 02-12-2007 at 03:49 AM. Reason: Updated module to correct bug

  2. #2

    Default Re: [Module] Upcoming Events - Standalone Version

    that fixed the problem, the holidays now show up.

    Neighborhood Round Table

    shown on the bottom left column

  3. #3
    Join Date
    Oct 2006
    Posts
    6

    Default Re: [Module] Upcoming Events - Standalone Version

    Hello,

    is it possible only to display events from a special user group like Admins?
    Last edited by ruhrpottforum; 11-27-2006 at 08:12 AM.

  4. #4

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by ruhrpottforum View Post
    Hello,

    is it possible only to display events from a special user group like Admins?
    It does make use of the calendar permissions so you should be able to filter based on the permissions. Of course you could also create an admin-only calendar and have the CMPS permissions control whether or not it displays.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  5. #5
    Join Date
    Jul 2004
    Location
    Left Coast, Lost Angeles
    Posts
    64

    Default Re: [Module] Upcoming Events - Standalone Version

    Nice !

    One thing I noticed in that the events defined in VB admin control panel

    Calendars -> Holiday Manager

    e.g. I defined Christmas and New Year's and added descriptions, the description is NOT showing up as the link below the date:

    12-25-2006
    >>
    ----------------------
    01-01-2007
    >>
    See at:

    http://www.southbaydanceclub.org/index.php

    in the left hand column.

    Any ideas ?

    Thanks,
    Mike

  6. #6
    Join Date
    Sep 2006
    Posts
    4

    Default Re: [Module] Upcoming Events - Standalone Version

    I dont see anything

  7. #7

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by mikel View Post
    Nice !

    One thing I noticed in that the events defined in VB admin control panel

    Calendars -> Holiday Manager

    e.g. I defined Christmas and New Year's and added descriptions, the description is NOT showing up as the link below the date:



    See at:

    http://www.southbaydanceclub.org/index.php

    in the left hand column.

    Any ideas ?

    Thanks,
    Mike
    You should only need to change this
    PHP Code:
    $phrasegroups = array(); 
    to this
    PHP Code:
    $phrasegroups = array('holiday'); 
    in your CMPS index file.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  8. #8

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by tekstylez View Post
    I dont see anything
    That's not a whole lot of detail there

    You'll either need to explain a bit more or provide a link to the site.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  9. #9
    Join Date
    Jul 2004
    Location
    Left Coast, Lost Angeles
    Posts
    64

    Default Re: [Module] Upcoming Events - Standalone Version

    Duhhhhhhh, guess I neglected to fully read the 1st post here

    Thanks Tom I'll give it a try !

    Edit : That was the fix !
    Last edited by mikel; 12-08-2006 at 02:41 PM.

  10. #10

    Default Re: [Module] Upcoming Events - Standalone Version

    Well I have been trying to get this module to work without any luck at all, and I get this error mesage and hope that some one could tell me how I would fix this problem.

    Here is the error I get when I go to install this module.

    Database error in vBulletin 3.6.4:

    Invalid SQL:
    INSERT INTO phrase (languageid, varname, text, fieldname) VALUES (0, 'setting_portal_ue_showevents_title', 'Events Event Days', 'vbsettings');

    MySQL Error : Duplicate entry 'setting_portal_ue_showevents_title-0-vbsettings' for key 2
    Error Number : 1062

  11. #11

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Dennis Kaczor View Post
    Well I have been trying to get this module to work without any luck at all, and I get this error mesage and hope that some one could tell me how I would fix this problem.

    Here is the error I get when I go to install this module.

    Database error in vBulletin 3.6.4:

    Invalid SQL:
    INSERT INTO phrase (languageid, varname, text, fieldname) VALUES (0, 'setting_portal_ue_showevents_title', 'Events Event Days', 'vbsettings');

    MySQL Error : Duplicate entry 'setting_portal_ue_showevents_title-0-vbsettings' for key 2
    Error Number : 1062
    From the error message it sounds like you already had the module installed - perhaps on an earlier version. If that's the case the "old" version needs to be deleted. If it's already been deleted then there will need to be some manual cleanup of the db. It's not hard to do and if you need instructions/help on how to do that let me know.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  12. #12

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Tom M View Post
    From the error message it sounds like you already had the module installed - perhaps on an earlier version. If that's the case the "old" version needs to be deleted. If it's already been deleted then there will need to be some manual cleanup of the db. It's not hard to do and if you need instructions/help on how to do that let me know.
    Hi Tom, yes I had an older version installed at one time or other, and I will need your help and instructions on how to clean up the database for sure.

    Thanks for the help and I'm looking forward to getting this to work with your help.

    I appreciate this very much

    Dennis

  13. #13

    Default Re: [Module] Upcoming Events - Standalone Version

    I normally use phpMyAdmin and manipulate the db directly. However this may work as well...

    Use ACP -> Languages & Phrases -> Search in Phrases and use 'portal_ue' as the search phrase, w/o the quotes. Make sure that the "Phrase Variable Name Only" button is marked. You may then edit each phrase where you will have the option to delete it. If this doesn't resolve the problem then we'll take a more direct approact
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  14. #14
    Join Date
    Jan 2006
    Location
    Holland
    Posts
    30

    Default Re: [Module] Upcoming Events - Standalone Version

    Hi Tom,

    Got the module active and visible on the frontpage. Only thing is... i don't use the simple calendar... we use the default calendar...
    Once selected in the module... all i see is "no upcoming events"

    Any suggestions?

  15. #15

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by The_Rayman View Post
    Hi Tom,

    Got the module active and visible on the frontpage. Only thing is... i don't use the simple calendar... we use the default calendar...
    Once selected in the module... all i see is "no upcoming events"

    Any suggestions?
    Do the events show on the FORUMHOME? How many days do you have the event list set to display? Link?
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  16. #16

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Tom M View Post
    I normally use phpMyAdmin and manipulate the db directly. However this may work as well...

    Use ACP -> Languages & Phrases -> Search in Phrases and use 'portal_ue' as the search phrase, w/o the quotes. Make sure that the "Phrase Variable Name Only" button is marked. You may then edit each phrase where you will have the option to delete it. If this doesn't resolve the problem then we'll take a more direct approact
    Hi Tom, sorry for the delay in getting back to you on this issue.

    That fixed the problem, and it is now working, thanks for pointing me in the right direction to resolve this.

    Thanks again for all your help!

    Dennis

  17. #17
    Join Date
    May 2005
    Posts
    8

    Default Re: [Module] Upcoming Events - Standalone Version

    I have used the upload modulles function and tired to do it manually but still can't get any thing to show up on my index page ...

    I made them active and everything through admin panel but still can't view anything

  18. #18

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Ole_chilli View Post
    I have used the upload modulles function and tired to do it manually but still can't get any thing to show up on my index page ...

    I made them active and everything through admin panel but still can't view anything
    If you are sure the module is Active and enabled to display on the page then check the following...

    • There are events to display (if they don't show on the ForumHome page they won't show in the module)
    • The number of days to display is correct in both spots
    • The correct calendar is selected


    There are others as well but these are the most likely.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

  19. #19
    Join Date
    May 2005
    Posts
    8

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Tom M View Post
    If you are sure the module is Active and enabled to display on the page then check the following...

    • There are events to display (if they don't show on the ForumHome page they won't show in the module)
    • The number of days to display is correct in both spots
    • The correct calendar is selected


    There are others as well but these are the most likely.
    I have done all that checked it with both claendars and not even a no events message shows up not a thing shows

  20. #20

    Default Re: [Module] Upcoming Events - Standalone Version

    Quote Originally Posted by Ole_chilli View Post
    I have done all that checked it with both claendars and not even a no events message shows up not a thing shows
    Well then, do you have a link so I can take a look?

    Are you saying that the events show up on the FORUMHOME page? How far in advance are the events that show vs. how many days lookahead for the events calendar?

    I'm also willing to help out if you want to PM me with ACP access info.
    Tom Morris
    Porsche Boxster discussion forum.
    Today's Conservative discussion forum.

Page 1 of 20 123411 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Module] Upcoming Events - Standalone Version
    By Tom M in forum Add-On Modules (version 3.x & 2.x)
    Replies: 131
    Last Post: 09-06-2007, 06:45 PM
  2. Upcoming Events Module not working
    By amitwadhwa in forum "How Do I..." Questions
    Replies: 6
    Last Post: 11-15-2006, 08:17 PM
  3. [Module] Upcoming Events
    By James Goddard in forum Add-On Modules (version 3.x & 2.x)
    Replies: 91
    Last Post: 09-04-2006, 12:45 AM
  4. module: upcoming events
    By alekone in forum Add-On Modules & Modifications
    Replies: 7
    Last Post: 11-02-2005, 06:30 PM
  5. REQ: Upcoming events module
    By MotoUp in forum Module & Modification Discussion & Requests
    Replies: 36
    Last Post: 08-06-2005, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •