Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/abledesi/domains/abledesign.com/public_html/navfiles/log.php on line 126

AbleDesign - Support Forum

AbleDesign Forum Index AbleDesign

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
AbleDesign Forum Index
MyCalendar Discussion
Dan I need your help
Post new topic   Reply to topic

Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion
View previous topic :: View next topic  
Author Message
crazycircles
Lurker
Lurker


Joined: 14 Dec 2005
Posts: 5

PostPosted: Wed Dec 14, 2005 9:15 pm    Post subject: Dan I need your help Reply with quote

I am a newbie at PHP and MySQL. Newbie really isn't correct, I know next to nothing. I have my calendar running on my website but I don't know the first thing about making modifications to it and am afraid of trying, I don't want to totally screw it up. The only programing experience I have is very limited Visual Basic training, so really I'm starting from scratch. The first thing I would like to learn is how to modify the header so I can place my own banner and maybe a couple of text links at the top of the page. Can you suggest any good beginners books, web sites, etc. that might get me headed in the right direction? Eventually I would like to set something up like the http://www.pghevents.com/ web site. I saw it in another posting here and really like that type of layout. I had no idea you could do something like that with this program.
Scott
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Wed Dec 14, 2005 9:40 pm    Post subject: Reply with quote

Everyone has to start somewhere.

The header is actually quite easy and introduces virtually no chance of mucking up the calendar code, as it's kept entirely separate. At the top of config.php, you'll see an option for whether or not to include header/footer files. Simply set that to TRUE and edit the path to the two files, if needed. Then, place whatever layout HTML you want into the header/footer files and you're done!

I could recommend some good PHP and MySQL books, but nothing online comes to mind immediately without searching. You could take a look around www.php.net and www.mysql.com to get your feet wet. www.phpbuilder.com is always worth a look.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crazycircles
Lurker
Lurker


Joined: 14 Dec 2005
Posts: 5

PostPosted: Wed Dec 14, 2005 10:01 pm    Post subject: Reply with quote

What books would you recommend?
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Wed Dec 14, 2005 10:12 pm    Post subject: Reply with quote

https://xabledesign.merchantquest.net/store/index.php?cPath=23

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crazycircles
Lurker
Lurker


Joined: 14 Dec 2005
Posts: 5

PostPosted: Mon Dec 19, 2005 12:45 pm    Post subject: One More thing Reply with quote

Thanks Dan,
I got the header set up.
I do have one more issue though.
When you submit an event for the calendar you get this error message.

Warning: Cannot use a scalar value as an array in /home/content/h/o/m/hometownbull/html/calendar/add_to_validate.php on line 30

The event still goes through and I am able to validate it and place it on the calendar but people submitting the events think something has gone wrong with their submittal.

Any ideas?
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Tue Dec 20, 2005 12:20 am    Post subject: Reply with quote

Hmm, you're the second person in the past month to report a scalar error on the add_to_validate page.

http://abledesign.com/forum/viewtopic.php?t=151&postdays=0&postorder=asc&highlight=scalar&start=30

The difference is bgrosh is running a customized database layout and I assume (?) yours is still the default. Or have you moved onto some custom field settings?

Any other details you can provide would be helpful, such as PHP and MySQL versions, server type, etc.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crazycircles
Lurker
Lurker


Joined: 14 Dec 2005
Posts: 5

PostPosted: Wed Dec 21, 2005 12:08 am    Post subject: settings Reply with quote

Dan,
These are the versions I'm running;
MySQL version is 4.0.24
PHP version is 4.3.11
Server is Linux

I have not done anything to the code, I'm still using the default setting.
I had that error message from day one.
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Tue Dec 27, 2005 6:18 am    Post subject: Reply with quote

After extensive testing, I determined it's a bug I had already fixed (and subsequently forgotten about) for the next release.

- fixed a bug on user submissions with recurring event options turned off

In add_to_validate.php (v2.20.3), lines 23-25 should be:

$db_validate[V_RECURRING_ROW][2] = "one_time";
$db_validate[V_DAILY_ROW][2] = "all_days";
$db_validate[V_RECURRPERIOD_ROW][2] = 1;

Note the [2] that was missing from each.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
crazycircles
Lurker
Lurker


Joined: 14 Dec 2005
Posts: 5

PostPosted: Tue Dec 27, 2005 10:21 am    Post subject: Wonderful Reply with quote

Thanks Dan,
The fix worked.
I really appreciate the support that I have recieved from you.

Thanks again,
Scott
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Tue Dec 27, 2005 11:53 am    Post subject: Reply with quote

You're welcome. Thanks for sitting tight for a couple days while I tracked it down.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


Home | Services | Pricing | Portfolio | About Us | Contact
Support | Programs | Purchase | Tutorials | Site Map

© 1999-2025 AbleDesign.com - Web Design that Can!