The good news is that the position of the Events/Birthday is perfect! And it appears to be reading the calendar correctly.
That's the good news!
The bad news, Ian, is I think the CSS is messing me up.
Now, I don't know a lot about CSS, but I'm assuming the the code "class" refers to it, correct?
Unfortunately, what is happening is this: the entire area where the Events/Birthdays should appear is the dark blue of my CategoryStripColor (dark blue) ...
I either need to remove the class code or add a file for it to refer to ... and with either one, I'll need some help!
I would've made cache automatically clear at the first visit of the new day or after a new event is added for today, but since forums with many posts get updated often anyway and forums with not so many posts usually don't really have many calendar events, I don't think it's worth it...
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Registered: 02/20/03
Posts: 178
Loc: highspire, pa
well i did... i took the plunge and tried to load my first major mod on my mostly stock 6.7.0 site and i did something wrong
i carefully made all the changes and uploaded files, rebuilt member stats, and then when I click on "Calendar" option in CP, i get the following message:
The page and/or tab you requested is unavailable. The required code could not be properly loaded. Please ensure that all scripts, libraries, and templates have been properly uploaded.
I double checked all the new files are up there... any suggestion where I might of screwed up?
Registered: 02/20/03
Posts: 178
Loc: highspire, pa
i also cleared the cache and CP Calendar settings page still doesnt like me
and I turned the board on for Admin-Only, and the calendar link works fine. I was also able to add a test event for current date just fine. And after a few minutes "Events" list did show up on forum home!!! (whew!)
Registered: 02/20/03
Posts: 178
Loc: highspire, pa
ahhh ha! cp2_vars.cgi didnt get uploaded. late nite upgrades can be ruff
(does happy dance) i did it i did it i did it!!!!
Thank you very much LK for a great mod! This will be of great value to my community... the first ever unified race season schedule for all the drag boat racing associations coast to coast, pro and amateur!
(goes to make coffee... has coupla dozen race events to enter)
You can't in the CP, but you can in ubb_lib_calendar.cgi: (UNTESTED) Find
Code:
sub calendar_main {
Add below:
Code:
%vars_style = &LoadStyleTemplate("forum_1");
That's in consideration that your forum #1 is using StandardForum style. If not, change "1" in the code above to the number of the forum which does use it.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Step 4 in Allen's MHP should have "All" in instance instead of "1". Charles, rehack public_forum_summary and notice you have to find the same string twice.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!