Previous Thread
Next Thread
Print Thread
Rate Thread
#318709 03/12/2011 4:35 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Just wanted to give a preview peek of my upcoming iOS/Android web app for chatting in the shoutbox of a UBB.threads forum.

It currently works pretty OK for iPhone/iPad, but Android support is still a bit shaky.

You can see it here, though chatting is mainly in Swedish:
http://www.rollspel.nu/forum/touchat/

Running it will require an extra script added to the UBB.threads installation, as well as the web app files. It should not require any changes, IIRC.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Wow cool Gardener! Thank you for sharing smile


- Allen wavey
- What Drives You?
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Will put up the source code up for download soon.

I'm also planning on writing a native Android app, since Sencha doesn't seem to play that nice with Android.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I've cleaned up the code and added some rudimentary installation information and uploaded the code to github.

The code is available here:
https://github.com/ollej/prat

The only working implementation at the moment is the "Pet Prat" version.

An extra script is also needed for the UBB.threads installation to handle longpolling and json for the messages, as well as user information.

Here is a screenshot of the application running on an iPhone 2G (sorry for the Swedish):
[Linked Image]
Attachments
photo (5).jpg (50.37 KB, 60 downloads)
Pet Prat Screenshot

Last edited by Gardener; 03/21/2011 5:54 PM.
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Haven't done much on this lately, as I've started work on a native Android app instead.

The current state of the Android app is that it has near real-time updates of messages, and shows avatars as well. It is also possible to send messages, if the user has setup account info in the preferences.

At the moment I'm working on getting view updates to be smoother and more efficient. There's still some work on that to be done before I can start on adding new features.

A pre-alfa version can be downloaded here:
http://uploadbin.net/ac665030a9d5102e9f5b6c2d9a7ea7cd/Droidprat-0_3.apk

It is by default set to connect to my domain, but that can be changed in the preferences. If you want to try it on your own site, you will need to add the following script to the script directory of your UBB.threads installation:

https://github.com/ollej/shoutbridge/blob/master/src/ubb/scripts/listshouts.inc.php

Then change the app preferences to point to your domain:
Base URL then needs to be set to the complete URL to the ubbthreads script, e.g. http://www.example.com/forum/ubbthreads.php
Cookie Prefix needs to be set to the same as in your UBB.threads configuration.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)