Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
How to add "http" in web address

 
Post new topic   Reply to topic     Forum Index -> Web site integration
View previous topic :: View next topic  
Author Message
Tedmiller



Joined: 14 Apr 2006
Posts: 98

PostPosted: Wed Feb 06, 2008 5:35 am    Post subject: How to add "http" in web address Reply with quote

When people include their name, email address, and web site, I don't think any of them ever add "http://" in the web site. As a result, the link ends up being "http://www.tedmiller.com/www.examplewebsite.com."

How can I add the http automatically?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 06, 2008 3:04 pm    Post subject: Reply with quote

Hi Ted,

Are you talking about in the event notes? Is this using the default HTML editor that comes with Thyme?
Back to top
View user's profile Send private message Visit poster's website
Tedmiller



Joined: 14 Apr 2006
Posts: 98

PostPosted: Wed Feb 06, 2008 4:52 pm    Post subject: Reply with quote

I'm referring to the field just before the event Notes. Just before adding details of their event, there are fields for the submitter's name, email address, then URL.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 06, 2008 5:10 pm    Post subject: Reply with quote

Hi Ted,

This should already be done. I'm sorry, I can't remember if you've customized Thyme. Maybe you have and so have not updated class.event.php. Here are the lines that should go after

Code:
function save()
{


in include/classes/class.event.php:

Code:
   # URL
   ######
   if($this->url && !strpos($this->url,"://"))
      $this->url = 'http://' . $this->url;


Actually .. this was done even as far back as 1.1. Can you tell me if those lines already exist in the file please? They may not appear exactly after that portion, but searching for "url" in that file should display a similar snippet.
Back to top
View user's profile Send private message Visit poster's website
Tedmiller



Joined: 14 Apr 2006
Posts: 98

PostPosted: Fri Feb 08, 2008 6:30 am    Post subject: class.event.php Reply with quote

I'm sheepishly starting to think there's some user error here. I was looking for an example to show you what happens... and I couldn't find one. Granted, I've edited a lot of the submissions to add HTTP, but not all of them.

I'm running into the "www.tedmiller.com/submittedwebsite.com" issue while checking and editing submissions.

I think I'm seeing that Thyme adds the HTTP:// is added AFTER the event is approved and appears live on the calendar. Is this correct? So I'm wasting my time adding "http://" to those submissions?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Feb 08, 2008 6:53 pm    Post subject: Reply with quote

Ah yes.. that is not in the requests, but will be added once approved. So you should not have to do that.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web site integration All times are GMT
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
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.