PDA


View Full Version : [Module] Combo: Calendar + Birthdays + Upcoming Events


Pages : 1 2 3 [4] 5 6 7 8

NR Fatal
04-08-2006, 10:37 PM
I installed this and I can't get it to show at all on my page, I set the clanender to active, setr it to the default calender, a few events for the next fews days are here, but nothing is showing up. I can see the module in the admin cp and adjust the settings but its not working. also, I installed your other mod of just "upcoming events" how do I unistall this? I uploaded the file you supplied in the posts by "Download/upload modules".
my site
http://forum.norestrictions.net/index.php

actually I have found something, at the bottem of the page IN MY FORUMS, upcoming events are showin up, how is this

Tom M
04-08-2006, 10:40 PM
actually I have found something, at the bottem of the page IN MY FORUMS, upcoming events are showin up, how is thisThis is "normal" if you have events set to show. Do you have to be a registered user to see them? As a guest I don't see any events in the forums.

NR Fatal
04-08-2006, 10:42 PM
yes, you do, let me make a name for you, i'll pm you the info.

Tom M
04-09-2006, 12:51 AM
yes, you do, let me make a name for you, i'll pm you the info.The most likely things are that the same calendar isn't being used, the permissions aren't right or the number of days are wrong. If you've checked all those already I can take a look at it for you but will need admin access to the ACP.

NR Fatal
04-09-2006, 01:05 AM
do you have time to look at it now, if I give you access?

Tom M
04-09-2006, 01:14 AM
do you have time to look at it now, if I give you access?Sure. PM me the info.

NR Fatal
04-09-2006, 01:17 AM
sent

JoeWho
04-13-2006, 03:10 PM
Canender year... how can I change the date on the event listing, I would like to change it so that only two digits of the year "06" show, instead of the full year 2006, can this be done, and how would I do that?

Thanks!

Tom M
04-13-2006, 07:42 PM
Canender year... how can I change the date on the event listing, I would like to change it so that only two digits of the year "06" show, instead of the full year 2006, can this be done, and how would I do that?

Thanks!The format of the date is controlled by the settings used by vb (ACP -> vBulletin Options -> Date and Time Options -> Format For Date).

If you wish to change it for just the module then it will be necessary to edit the combocalendar.php file.

JoeWho
04-14-2006, 09:10 PM
Hi Tom,

Thanks. But I don't know where to change it in module, I looked but could not find whe line or I just don't know what to look for...?

Thanks.

Tom M
04-14-2006, 09:28 PM
I don't know where to change it in moduleThe changes need to be made anywhere there's a vbdate() call.

rivacityj
04-18-2006, 06:07 PM
Tom,

How difficult would it be to change this so that I can select multiple calendars for the module to look at instead of just one?

Tom M
04-18-2006, 06:11 PM
How difficult would it be to change this so that I can select multiple calendars for the module to look at instead of just one?I'm pretty sure it would take a fair amount of coding changes.

rivacityj
04-18-2006, 10:43 PM
Oh well, that definitely means it's out of my league. Thanks though :D

Tom M
04-18-2006, 10:52 PM
Oh well, that definitely means it's out of my league. Thanks though :DBut it makes a heck of a learning opportunity. Just think, you get to dive into the guts of vb to see how things work and learn php at the same time. :eek:

rivacityj
04-19-2006, 05:29 PM
But it makes a heck of a learning opportunity. Just think, you get to dive into the guts of vb to see how things work and learn php at the same time. :eek:

Yeah I'm just taking baby steps at the moment though. I just impressed myself by making a calendar drop down menu so that tells you what level I'm working at. ;) I feel OK messing with the HTML in templates but I've barely dabbed my toe into the world of php.

PoNi
04-21-2006, 10:15 AM
Ok I dont know what I did wrong .. I am running VB 3.5.3 and CMPS v2.1.0 .. I uploaded the module everything looks like it installed correctly. I put it on the left column but nothing shows up? Not even an error?

Tom M
04-21-2006, 12:35 PM
Ok I dont know what I did wrong .. I am running VB 3.5.3 and CMPS v2.1.0 .. I uploaded the module everything looks like it installed correctly. I put it on the left column but nothing shows up? Not even an error?Make sure it is checked to display on the page it's on. This is something that gets overlooked from time to time - even by me :rolleyes:

G3MM4
04-23-2006, 01:53 AM
Hi thanks for this module, but I wish to change the bit where it says "Upcoming Events" to something I specify, how do I do this? I tried looking for a template but couldn't find it, and tried opening the .module file but none of my programs recognise it (I am a newb to vBadvanced 3.5.x version).

Tom M
04-23-2006, 02:03 AM
Hi thanks for this module, but I wish to change the bit where it says "Upcoming Events" to something I specify, how do I do this? I tried looking for a template but couldn't find it, and tried opening the .module file but none of my programs recognise it (I am a newb to vBadvanced 3.5.x version).

From the installation instructions in the 1st post...
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.
Before you can do this you first need to install the module. Once installed you can then edit the template mentioned above.

G3MM4
04-23-2006, 09:12 AM
Thanks, I will give that a go after I come back from the store.

G3MM4
05-02-2006, 11:20 AM
I have done what you said, it worked great. But now I want to change the bit where it tells you the current month to what I specify, is that possible? Which templates do I change?

Tom M
05-02-2006, 11:27 AM
I have done what you said, it worked great. But now I want to change the bit where it tells you the current month to what I specify, is that possible? Which templates do I change?If you want to change the link then modify the settings on the "edit" page. If you want to change what it says then you will need to edit the combocalendar.php file.

The line to change is$mods['title'] = $vbphrase["$months[$month]"] . ' ' . $year; and it's right above the "TODAY'S BIRTHDAYS" line.

G3MM4
05-02-2006, 11:51 AM
I had renamed the module (in the ACP) to Raid Planner, and can't see where I could change the bit where it tells you the current month to what I wanted it to say (i.e. change what it says from May 2006 to Raid Planner - but let it still link to the calendar it points to).

So I tried your next suggestion and changed what that line says to:

$mods['title'] = Raid Planner;
Obviously I got a parse error, as I haven't got the faintest idea about PHP.


Oops, nearly forgot my screenshot... the bit where there is a red border, that's what I want to change to say Raid Planner, but I still want it to link to the calendar that it is pointing to.

Tom M
05-02-2006, 11:58 AM
Just put the Raid Planner bit in quotes (i.e. 'Raid Planner').

G3MM4
05-02-2006, 08:15 PM
Thanks, you have been a great help! :)

CremeEgg
05-08-2006, 08:55 AM
Hi there,

I have added in an event for next weekend, but it doesn't show in the upcoming events.

Am I doing something wrong? I can provide a log in for the site if needed.

EDIT: OK was having a blonde moment. Got it sorted now. Needed to change the Event settings for FORUMHOME before they would display on the combo calendar.

skooby
05-15-2006, 06:56 PM
I'm new to this and have read this thread through to try and figure it out and can't.

The module won't show up at all. I'm pretty sure the module is uploaded correct because it displays in my "edit modules" page.

I have it set to the default calendar (which is the only calendar on my site) and I also added a few events for the week. Also chose to have it display "no events" if there were none.

In the combo calendar options, I have it set to 7 days. I also have it set to 7 days in the forums home page options.

I'm really not sure what else to do to get this to work or where I went wrong that it doesn't want to show up.

The URL is www.nokturnalist.com

Thanks a lot :):):)

Tom M
05-15-2006, 07:25 PM
I'm really not sure what else to do to get this to work or where I went wrong that it doesn't want to show up.I know it's a basic question but since you didn't mention it... is it checked to show on the default page? Also, are the permissions set to make it viewable?

skooby
05-15-2006, 09:22 PM
I attached two screen shots which I think answer both your questions.

I have the module as "active" in the Combo default settings. Is there somewhere else I'm supposed to check to show on the default page?


I also have every usergroup as checked to be able to view the combo.

If I go to the "quick Permissions editor" under the VbA options, the permissions there are also all checked for the ComboCalendar.

Thank you for the help, it's much appreciated.

Tom M
05-15-2006, 09:56 PM
Is there somewhere else I'm supposed to check to show on the default page?Is it checked off on ACP -> vBa CMPS -> Edit Pages -> Default / Homepage -> Modules Enabled?

skooby
05-15-2006, 11:10 PM
Thanks Tom, that was the problem.

I never knew I had to do that. Sorry for such a newbie question LoL

Thanks again for the help :)

fhwong
05-19-2006, 06:17 AM
Brilliant - works like a charm.

wissamnasr
05-19-2006, 07:27 AM
Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_portal_cc_calendarid_title', 'Combo Calendar ID', 5000);

MySQL Error : Duplicate entry 'setting_portal_cc_calendarid_title-0-5000' for key 2
Error Number : 1062
Date : Friday, May 19th 2006 @ 04:33:39 PM
Script : http://www.oneforum.org/admincp/vba_cmps_admin.php
Referrer : http://www.oneforum.org/admincp/vba_cmps_admin.php
IP Address : 82.198.0.27
Username : Snitz
Classname : vb_database

im getting this when I try to upload the module

karrerax
05-19-2006, 09:50 AM
Hello. (sorry for english)
How can desactivate Birthday view in this module?

Thanks

Tom M
05-19-2006, 12:14 PM
im getting this when I try to upload the module
This error means the module has already been installed at one time. If it was then deleted the only way to clear this up is to manually delete the left over entries that are still in the db and then install it again.

Tom M
05-19-2006, 12:20 PM
Hello. (sorry for english)
How can desactivate Birthday view in this module?
You could try editing the combocalendar.php file. Alternatively, you could try deleting the contents of the adv_portal_birthdays template. While I haven't tried the latter I'm pretty sure it will work.

Mith
05-25-2006, 02:36 PM
im getting this when I try to upload the module
I'm getting the same as above.
I have added it once already, but i go into the sql and delete the entry but this always returns. any help appreciated.

Tom M
05-25-2006, 03:18 PM
I'm getting the same as above.
I have added it once already, but i go into the sql and delete the entry but this always returns. any help appreciated.There are so many "same as above" topics I'm not sure which you are referring to. If you can elaborate a bit I'll see if I can help you out.

Mith
05-27-2006, 04:28 PM
Originally Posted by wissamnasr
im getting this when I try to upload the module

I'm getting the same as.... wissamnasr

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_portal_cc_calendarid_title', 'Combo Calendar ID', 5000);

MySQL Error : Duplicate entry 'setting_portal_cc_calendarid_title-0-5000' for key 2
Error Number : 1062
Date : Friday, May 19th 2006 @ 04:33:39 PM
Script : http://www.oneforum.org/admincp/vba_cmps_admin.php
Referrer : http://www.oneforum.org/admincp/vba_cmps_admin.php
IP Address : 82.198.0.27
Username : Snitz
Classname : vb_database
(obviously my details not his in the abovce example)

This error means the module has already been installed at one time. If it was then deleted the only way to clear this up is to manually delete the left over entries that are still in the db and then install it again.
I read this and i did go into the sql, and deleted what looked like the relevant section, but install still failed.

Have you got some SQL script that will delete the current combocalendar installation fully, so that I can install again successfully?

Thanks.

Tom M
05-27-2006, 07:51 PM
Have you got some SQL script that will delete the current combocalendar installation fully, so that I can install again successfully?Nope. I usually just go in and manually delete the stuff that's left laying around using phpMyAdmin. For those that need help I usually have them PM me the login info and take care of it directly.

TXphi592
05-30-2006, 01:21 AM
Nope. I usually just go in and manually delete the stuff that's left laying around using phpMyAdmin. For those that need help I usually have them PM me the login info and take care of it directly.


I PMed you my login for same problem, thanks in advance!

stokerockscene
06-16-2006, 02:04 PM
Hi Tom,

I installed the module but birthdays and upcoming events do not show below the calendar. Events show in the forum to guests and registered users, but not below the calendar like supposed to.

All permissions are set correctly and events/birthdays are enabled.

Please help

http://www.stokerockscene.co.uk

Tom M
06-16-2006, 03:03 PM
Does it work with the default vb style? Did you tell it to install to one of your existing styles?

If you're sure of the install/active status then the behavior you describe is typical of the templates not being installed in the style that's being used.

stokerockscene
06-16-2006, 07:53 PM
I have installed it a few times now and selected both of the styles but still only the mini calendar appears on my left column.

Am i not doing something in particular?

Tom M
06-16-2006, 07:59 PM
I have installed it a few times now and selected both of the styles but still only the mini calendar appears on my left column.

Am i not doing something in particular?If you want to PM me the ACP login info I'll be happy to take a look at things for you.

stokerockscene
06-18-2006, 08:50 PM
Tom it worked thanks to your help, cheers :)

gogo
06-19-2006, 02:01 AM
What is the sort order of upcoming events?

I have submitted two recurring events called test a and test b. They both have the exact same start date/time and end date/time. I have submitted the event test a first and then I submitted test b, but the module shows test b first. Even if I change the time on event test a to an earlier time on the same day, the event will be listed below event test b. Looks like the event with the higher event id is listed first if events take place on the same date.

Is there anything I can do to sort events on the same day by time or by alphabet? I prefer sort order by time.

Tom M
06-19-2006, 02:27 AM
Is there anything I can do to sort events on the same day by time or by alphabet? I prefer sort order by time.You may use either "Group by Date" or "Group by Event" to display events. When set to the latter, events will be displayed with a date range and will show on the earliest date that's still possible. When displayed by date (Group by Date) events will display on each date that they take place. Since there's no secondary sort order the only way to force the order by event title would be to adjust the times events start.

Hopefully that makes some sense.

gogo
06-20-2006, 06:36 AM
Sorry, I haven' t understood what you meant. I tried playing around with all settings (group by date, group by event, different start date, end date), but to no avail.

I found out that the events are displayed in the same order they are listed on the calendar. I was told that the calendar does not sort the events in any way. :(

I have found a bug on this module:
Line 344 of the module file has two '&' in it. This causes generation of a false link to the event. You are pointed to the correct date where the event is listed, so that you might not notice this bug. Anyway, the line should read like this:
$daysevents .= $comma . "<a href=\"" . $vbulletin->options['bburl'] . "/calendar.php?$session[sessionurl]do=getinfo&amp;day=$day&amp;e=$eventinfo[eventid]&amp;c=$eventinfo[calendarid]\" title=\"$calendarinfo[title]\">$eventinfo[title]</a>";

Edit: There was another mistake in the line. The code line has been corrected.