Welcome, Guest. Please Login or Register.
April 19, 2024, 06:56:06 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous next »
Pages: 1 ... 3 4 [5] 6 7 ... 23 Reply Ignore Print
Author Topic: [Done] Calendar Mod [Ver 1.4]  (Read 148174 times)
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #60 on: May 04, 2002, 07:09:50 AM »
Reply with quote

Quote from: lenaP on May 03, 2002, 10:29:52 PMPlease, can anyone help me out here?

Please, pleeeeeease?  :'( :-* :'(
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #61 on: May 04, 2002, 08:05:13 AM »
Reply with quote

Quote from: lenaP on May 03, 2002, 10:29:52 PMI have a tiny... or not so very tiny problem with the calendar mod.

I've just installed it, it shows up fine, the menu button shows up, it found availible birthdays and show them as expected. I haven't inserted any holydays in the database yet, because they differ quite a lot from the ones in Sweden, so of course the calendar don't show any holidays.

Some time later... Now I have inserted the fixed holidays. No difference. And I have checked the database table named calendar, my added event is there, but it still doesn't show up in the calendar... :(

Do you have an error log? Check that to see if there are any PHP or MySql errors happening.

Check the obvious things just in case... You are viewing the same year as the entered event? The month value you see in the calendar table is actually one less than the real month number (0=jan), if you are comparing against the database make sure you are displaying the right month. You are trying to view the event with the same account that created the event? If you are using two accounts to try it out, make sure the event is in a board the viewing account has access to.

What type of account are you testing the board with? An admin account or a regular user account?
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #62 on: May 04, 2002, 08:11:36 AM »
Reply with quote

Quote from: Cutter on May 04, 2002, 03:39:03 AMExcellent mod Myiasis!

I've been using a seperate calendar for my site, but this is much better. IMHO all message boards should have an integrated calendar of some sort. *hint, hint*  ;D

My forums members and I thank you...  :)

You're welcome, glad you like it. :)
Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #63 on: May 04, 2002, 03:51:04 PM »
Reply with quote

QuoteDo you have an error log? Check that to see if there are any PHP or MySql errors happening.
No, I haven't. Not that I know about... I don't get any regular error messages, and when I created the tables (I used MyPHPAdmin, copy-pasting directly from the readme) there were no error reports or warnings.

I've checked everything you mentioned, at least twice. And I am testing as admin and posted the event in a board open for all membergroups...

The only thing I can think of now is that I dropped something when I did the modifying... I did it by hand, so it is possible, I guess.

So if no one have any suggestions, I guess I'll better try start from the beginning again...  :'(
Logged
£eo
Jr. Member
**
Posts: 91


I really do love YaBBSE :-)

WWW
Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #64 on: May 04, 2002, 04:14:14 PM »
Reply with quote

First of all,  big thanks for this mod,  its perfect for us   ;D
We will get much use for it...  ;D  

Just one thing I could have changed, it's that calender events are visible to all,  but the links just work for the right groups,,

Lena,  I enter somthing on the wrong side of the { tonight, I thin it was in the Subs.php  and the calender would not show my events, but still dont give any errors,, it might be the same with you,,,  If you want you can have my files, and try them,,  they are only modifed with the calender mod..
Logged

lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #65 on: May 04, 2002, 04:24:12 PM »
Reply with quote

Oh, thanks! You'll get my email in a IM right now...  :D
Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #66 on: May 04, 2002, 07:52:03 PM »
Reply with quote

Thanks to £eo, who mailed me his modifyed files!

But i did a last check in the database before i uploaded them, and what did I found...
"year" in the calendar table was set to TINYINT, so the maximum value for year was 127... :o
I haven't got a clue how this happend, I'm just happy the problem is solved! :D :D

Thanks again, £eo, for your helpfulness!
Logged
£eo
Jr. Member
**
Posts: 91


I really do love YaBBSE :-)

WWW
Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #67 on: May 04, 2002, 09:00:42 PM »
Reply with quote

 ;)
Logged

Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #68 on: May 04, 2002, 10:18:46 PM »
Reply with quote

Quote from: £eo on May 04, 2002, 04:14:14 PMJust one thing I could have changed, it's that calender events are visible to all,  but the links just work for the right groups,,

The event links are only visible to groups who have access to the message. Post a message to a board that only allows specific groups to view it. Then logout and browse the calendar as a guest, or another member account that doesn't have that group access, the calendar event will not show up.
Logged
£eo
Jr. Member
**
Posts: 91


I really do love YaBBSE :-)

WWW
Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #69 on: May 05, 2002, 06:45:54 AM »
Reply with quote

 ;)   sorry  bad english,,,  what I want to say is that I would like to have all events visible to all,,,    even when its posted in an restricted board..
Logged

Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #70 on: May 05, 2002, 07:10:12 AM »
Reply with quote

Quote from: £eo on May 05, 2002, 06:45:54 AM;)   sorry  bad english,,,  what I want to say is that I would like to have all events visible to all,,,    even when its posted in an restricted board..

Well, if you want to do it to your board, it's really easy to do. That's probably not something I'll implement since if the users can't read them anyway (and will get a board error), I'd rather not have them displayed. You could change your version to show them all the time though.

Find the comment: // See if the user has access to the board this event was posted in.

Beneath that is the if statement that decides whether to show the user the event.  You can just comment out the if by putting "//" (without the quotes) in front of it:
 
//if ($cats[$row['id_cat']][0] == "" || $bPowerUser || in_array($settings[7],$cats[$row['id_cat']]))

Logged
dwp
Jr. Member
**
Posts: 81


Administrator of another YaBB Board

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #71 on: May 05, 2002, 12:47:17 PM »
Reply with quote

I can not see button, and it's not work?
Do I have to change anything in MySQL, mean is this a must or not?

No errors in log, and did this by editing all files manually.
All files is uploaded as instruction says...why is this not work. I have activated calendar, next time when going to setup it's not activated...where to find the error?

 ???
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #72 on: May 05, 2002, 01:36:51 PM »
Reply with quote

Quote from: dwp on May 05, 2002, 12:47:17 PMI can not see button, and it's not work?
Do I have to change anything in MySQL, mean is this a must or not?

No errors in log, and did this by editing all files manually.
All files is uploaded as instruction says...why is this not work. I have activated calendar, next time when going to setup it's not activated...where to find the error?

Did you read the Readme.txt? It's fairly important to do so. Yes, there are SQL changes, they are in the readme.
Logged
The Engineer
Sr. Member
****
Posts: 313


I'm the Dude, man!

ICQ - 156273462 WWW
Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #73 on: May 05, 2002, 05:57:12 PM »
Reply with quote

I would like to make it so only members can post. I do not want guests to post.

any ideas ?

* The Engineer .
Logged

Who is the more foolish.. The fool or the fool who follows it...
Help cure Cancer, Join the YaBB SE UD Team !
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.1]
« Reply #74 on: May 06, 2002, 12:11:27 AM »
Reply with quote

Quote from: The Engineer on May 05, 2002, 05:57:12 PMI would like to make it so only members can post. I do not want guests to post.

any ideas ?

* The Engineer .

Do you mean just as long as they have a login name you want them to be able to post? I could probably add a switch for that in the settings to allow anybody with a valid login to post regardless of the group assignments.
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 23 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.063 seconds with 20 queries.