Welcome to The Australian Hayabusa Club Forum - ARCHIVE ONLY VERSION - NEW REGISTRATIONS & POSTS DISABLED
Hayabusa Club for iPhone / Smart Phone - Printable Version

+- Welcome to The Australian Hayabusa Club Forum - ARCHIVE ONLY VERSION - NEW REGISTRATIONS & POSTS DISABLED (https://www.australian-hayabusa-club.com/MyBB)
+-- Forum: Bike Discussions (https://www.australian-hayabusa-club.com/MyBB/forumdisplay.php?fid=35)
+--- Forum: General Discussion (https://www.australian-hayabusa-club.com/MyBB/forumdisplay.php?fid=1)
+--- Thread: Hayabusa Club for iPhone / Smart Phone (/showthread.php?tid=13258)

Pages: 1 2 3


Hayabusa Club for iPhone / Smart Phone - Bill Gaheer - 05-09-2009

My 13 yr old just got (I payed for it) the apple software to develop the iTunes Application. As a learning opportunity I have asked him to get one Apps ready for iPhone specifically for our Club.
Would like to know if this free apps is appreciated by the members and also the Owners dont have any problems with this.

Currently Samar is in the primary state of reading and analyzing the code, he is weeks away from any form of development.

This will be a free apps and all cost for this are borne by me.

I will ask him to signup and login.

DJ incase we all agree then he may need your input to make this happen.

Cheers,

Bill


RE: Hayabusa Club for iPhone / Smart Phone - Scilaci - 07-09-2009

(05-09-2009, 11:40pm)bgaheer Wrote: My 13 yr old just got (I payed for it) the apple software to develop the iTunes Application. As a learning opportunity I have asked him to get one Apps ready for iPhone specifically for our Club.
Would like to know if this free apps is appreciated by the members and also the Owners dont have any problems with this.

Currently Samar is in the primary state of reading and analyzing the code, he is weeks away from any form of development.

This will be a free apps and all cost for this are borne by me.

I will ask him to signup and login.

DJ incase we all agree then he may need your input to make this happen.

Cheers,

Bill

Mate that is a great idea !! Well done..Look forward to seeing it..
Cheers


RE: Hayabusa Club for iPhone / Smart Phone - humbussa - 09-09-2009

yep awesome mate that would be great....


RE: Hayabusa Club for iPhone / Smart Phone - MrBusa - 10-09-2009

I just bought an iphone and they are the best thing since the Busa. Me and a few friends are looking forward to it... How far off do you anticipate? Clap


RE: Hayabusa Club for iPhone / Smart Phone - DjPete - 10-09-2009

(05-09-2009, 11:40pm)bgaheer Wrote: My 13 yr old just got (I payed for it) the apple software to develop the iTunes Application. As a learning opportunity I have asked him to get one Apps ready for iPhone specifically for our Club.
Would like to know if this free apps is appreciated by the members and also the Owners dont have any problems with this.

Currently Samar is in the primary state of reading and analyzing the code, he is weeks away from any form of development.

This will be a free apps and all cost for this are borne by me.

I will ask him to signup and login.

DJ incase we all agree then he may need your input to make this happen.

Cheers,

Bill
Can you give us an idea as to what sort of app you are thinking of Bill?


RE: Hayabusa Club for iPhone / Smart Phone - Astro - 11-09-2009

I've had an iPhone for some time now. As Volvi says... fantastic gadget. Looking forward to seeing this app. Your lad is obviously pretty talented!

If I can help, let me know.


RE: Hayabusa Club for iPhone / Smart Phone - Bill Gaheer - 11-09-2009

Update.
Samar is planning to use the club logo as the Apps picture. This will be loaded into iPhone via itunes. Once loaded if clicked on will ask for a login / password.
It will save it once entered (log out option will be there) and once in - you can click on (list is still not decided) and you can go straight to selection.
Samar will need some input and help. He is very dedicated in these things - he has already developed about 20% of the code.

We are going on a vacation in the last week of Sept for a Month - so there will be no development happening during this time.

Rest will keep you posted.

Cheers,
Bill


RE: Hayabusa Club for iPhone / Smart Phone - Bill Gaheer - 20-01-2010

Samar got some time out of his final exam, PS3 game time and bugging me with all the questions.....Lol2, and he claims that I didnt answer half his questions.

Anyway the boy has done some good work, finally he has reached where we now sees the busa logo on the iPhone (Objective C on X-code coding for the same) and now he is working on opening the site out of the logo.

Attached are the pics of his progress, he is slowly moving towards putting us on the iPhone.....Trophy

Since I dont answer his questions, he reckons any help from fellow members is helpful......
Please feel free to ask any questions or if you need a copy of the code then he is happy to provide you with it.

Once all is done we will need some beta testers for the same and once approved we will officially launch the page.

BTW he has worked hard (about 8 hours of coding) to get to this stage....

Cheers,
Bill


RE: Hayabusa Club for iPhone / Smart Phone - Camel - 20-01-2010

Excellent Bill! (and Samar)

timely too. I'm in the market for a new mobile phone. I crushed mine the other night......


RE: Hayabusa Club for iPhone / Smart Phone - daaef - 20-01-2010

Sounds great.. Keep us posted.


RE: Hayabusa Club for iPhone / Smart Phone - Stuntrider666 - 20-01-2010

Trophy

Goo stuff, I only just got new iphone yesterday


RE: Hayabusa Club for iPhone / Smart Phone - TimF - 20-01-2010

Hey Samar & Bill,

Thanks for sending me the source, it's fascinating stuff. You guys might want to check out this link:

RSS Fun

That site has a link to a Xcode project archive for a fully functional RSS reader. I've changed the hard-coded XML URL string to a random medical feed and it works fine.

Which brings me to mention: it appears that the syndication link you have hardcoded into your app contains a bunch of html.

For example, a nice clean RSS feed looks like:
[Image: abortion.jpg]

Can we get such a thing from MyBB?

Samar/Bill - you blokes would know more about this stuff than me, am I on the wrong track here do you think?

Thanks again for sending me the source, and keep up the good work.
If possible, can one of the mods please send me the following php file from the server?

http://www.australian-hayabusa-club.com/MyBB/syndication.php

I'm hoping to stumble across a useful XML link.


RE: Hayabusa Club for iPhone / Smart Phone - sgaheer - 20-01-2010

Thnx for helping, I am a beginner at coding so i do not know in-depth coding, i will try the website and see if i can get something working.
i will see if i can clean up the xml coding.
thanks for your help.Very Happy


RE: Hayabusa Club for iPhone / Smart Phone - TimF - 20-01-2010

Here is the Syndication php file that generates the "xml" feed:

PHP Code:
<?php
/**
 * MyBB 1.4
 * Copyright ¬© 2008 MyBB Group, All Rights Reserved
 *
 * Website: http://www.mybboard.net
 * License: http://www.mybboard.net/about/license
 *
 * $Id: syndication.php 4383 2009-06-18 11:25:58Z Tomm $
 */

define("IN_MYBB"1);
define("IGNORE_CLEAN_VARS""fid");
define("NO_ONLINE"1);
define('THIS_SCRIPT''syndication.php');

require_once 
"./global.php";

// Load global language phrases
$lang->load("syndication");

// Load syndication class.
require_once MYBB_ROOT."inc/class_feedgeneration.php";
$feedgenerator = new FeedGenerator();

// Load the post parser
require_once MYBB_ROOT."inc/class_parser.php";
$parser = new postParser;

// Find out the thread limit.
$thread_limit intval($mybb->input['limit']);
if(
$thread_limit 50)
{
    
$thread_limit 50;
}
else if(!
$thread_limit || $thread_limit 0)
{
    
$thread_limit 20;
}

// Syndicate a specific forum or all viewable?
if(isset($mybb->input['fid']))
{
    
$forumlist $mybb->input['fid'];
    
$forumlist explode(','$forumlist);
}
else
{
    
$forumlist "";
}

// Get the forums the user is not allowed to see.
$unviewableforums get_unviewable_forums(true);
$inactiveforums get_inactive_forums();

$unviewable '';

// If there are any, add SQL to exclude them.
if($unviewableforums)
{
    
$unviewable .= " AND fid NOT IN($unviewableforums)";
}

if(
$inactiveforums)
{
    
$unviewable .= " AND fid NOT IN($inactiveforums)";
}

// If there are no forums to syndicate, syndicate all viewable.
if(!empty($forumlist))
{
    
$forum_ids "'-1'";
    foreach(
$forumlist as $fid)
    {
        
$forum_ids .= ",'".intval($fid)."'";
    }
    
$forumlist "AND fid IN ($forum_ids$unviewable";
}
else
{
    
$forumlist $unviewable;
    
$all_forums 1;
}

// Find out which title to add to the feed.
$title $mybb->settings['bbname'];
$query $db->simple_select("forums""name, fid, allowhtml, allowmycode, allowsmilies, allowimgcode""1=1 ".$forumlist);
$comma " - ";
while(
$forum $db->fetch_array($query))
{
    
$title .= $comma.$forum['name'];
    
$forumcache[$forum['fid']] = $forum;
    
$comma ", ";
}

// If syndicating all forums then cut the title back to "All Forums"
if($all_forums)
{
    
$title $mybb->settings['bbname']." - ".$lang->all_forums;
}

// Set the feed type.
$feedgenerator->set_feed_format($mybb->input['type']);

// Set the channel header.
$channel = array(
    
"title" => $title,
    
"link" => $mybb->settings['bburl']."/",
    
"date" => time(),
    
"description" => $mybb->settings['bbname']." - ".$mybb->settings['bburl']
);
$feedgenerator->set_channel($channel);

// Get the threads to syndicate.
$query $db->simple_select("threads""subject, tid, dateline, firstpost""visible='1' AND closed NOT LIKE 'moved|%' ".$forumlist, array('order_by' => 'dateline''order_dir' => 'DESC''limit' => $thread_limit));
// Loop through all the threads.
while($thread $db->fetch_array($query))
{
    
$items[$thread['tid']] = array(
        
"title" => $thread['subject'],
        
"link" => $channel['link'].get_thread_link($thread['tid']),        
        
"date" => $thread['dateline'],
    );
    
    
$firstposts[] = $thread['firstpost'];
}

if(!empty(
$firstposts))
{
    
$firstpostlist "pid IN(".$db->escape_string(implode(','$firstposts)).")";
    
$query $db->simple_select("posts""message, edittime, tid, fid"$firstpostlist, array('order_by' => 'dateline''order_dir' => 'desc'));    
    while(
$post $db->fetch_array($query))
    {        
        
$parser_options = array(
            
"allow_html" => $forumcache[$post['fid']]['allowhtml'],
            
"allow_mycode" => $forumcache[$post['fid']]['allowmycode'],
            
"allow_smilies" => $forumcache[$post['fid']]['allowsmilies'],
            
"allow_imgcode" => $forumcache[$post['fid']]['allowimgcode'],
            
"filter_badwords" => 1
        
);
        
        
$items[$post['tid']]['description'] = $parser->parse_message($post['message'], $parser_options);
        
$items[$post['tid']]['updated'] = $post['edittime'];
        
$feedgenerator->add_item($items[$post['tid']]);
    }
}

// Then output the feed XML.
$feedgenerator->output_feed();
?>

(20-01-2010, 09:47pm)sgaheer Wrote: thanks for your help.Very Happy

No worries mate, not sure how much help I can be but I'll give it my best shot. Very Happy

Did you write most of that Objective C by yourself? That's a big effort!


RE: Hayabusa Club for iPhone / Smart Phone - sgaheer - 20-01-2010

sorry mateFrown I appreciate your help but the code you sent me is not objective C and i just tried it out and it failed.
Thnx for trying, i will look further into this tomorrow.
i have already set up threads on the apple developer forum