Previous Thread
Next Thread
Print Thread
Rate Thread
#282294 11/24/2004 6:16 PM
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Checked out the RSS mod, works great; but how about mobile devices? Anyone consider a WAP interface?

Sponsored Links
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Ah, well; seemed like an easy enough project, but still some work to do to enable login/logout, post/reply and send/read PMs.

http://wap.viperalley.com

Have my users trying it out and I'm reading from my Sprint PCS phone.

Joined: Oct 2005
Posts: 81
Power User
Power User
Offline
Joined: Oct 2005
Posts: 81
I've seen some interest in this mod. It's one that I'd want to have.

Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
mmmmmmmm, something i've wanted for a while!
how are you doing this?

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Okay, after being on the road for 4 days and using this daily, I'm happy to report it works well.

I can't give you the files because it's all really just renamed files from .threads with some changes and documenting the changes would take a little bit of work and I'm swamped right now (besides, I'm using a heavily modified older version of the code and not the latest build).

But, basically, what I did was take each file that would be used to read/post message, read/reply/send PMs and copied the original .php (15 scripts) and .tmpl files (15 tmpl files) with a mob prefix. Then I edited the templates and php files to remove the img references, rework the templates to not use more than one column and fixed any links to only those used by the mobile interface. I also cleaned up the php scripts to make them a little more efficent to reduce load times. Overall, I only had to make a small change to the send_header function in .threads and the rest is just modified scripts that have been renamed. Cell phones do use cookies, so I didn't have to do anything special for that.

The result is that people go to the wap page and stay within the grouping of "mob" scripts and templates. The changes to the php scripts are minimial - I removed the footer calls and modified the send_header function in ubbt.inc.php to look for a superglobal for "ismobile" when determining which header to send (regular headers or just the compact version). The tmpl files are all pointing to the mob* scripts and the php script are all pointing to the mob tmpl files.

I'm not saying it was easy, it took me about 5 hours of solid work; but hopefully this gives you an idea of what I did.

Sponsored Links
Joined: Jun 2001
Posts: 356
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 356
Thanks for the inside info.
I don't know if i'll end up doing it or not, it is a lot of work, and i'm lazy to be honest.......

Joined: Sep 2000
Posts: 129
Member
Member
Offline
Joined: Sep 2000
Posts: 129
I did once. And it can read, reply PM, read fav post, posts, who's online, but not reply to post or add new post.

I am using php to do this.

Here something that you can work with. (attached)

Must be viewed by wap browser.
Attachments
123657-wapThreads-0.01b.zip (0 Bytes, 29 downloads)

Last edited by santana; 12/08/2004 5:30 AM.

...... x ......
Using UBBt 6.4.2 + Digg Ajax Mod, Trust Ajax Mod, Captcha Regristation & Login mod, Checkusername Ajax mode.

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
Posts: 70
Joined: January 2007
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
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)