Curve Mobile

Started by Dragooon, December 13, 2009, 11:05:08 AM

Previous topic - Next topic

Dragooon

I have discontinued development and support of this theme a while back, and instead released a much better mobile theme on sale called SMF4Mobile. I encourage you to try SMF4Mobile if you're looking for a mobile theme

Link to the theme


Curve Mobile Version 1.0

For SMF 2.0 RC2


This is my own adaptation of Curve, a stripped down version of it intended to be used on low resolution screens such as that of the mobiles(I'm talking about PDA/Smart phone grade phones here).



Curve Mobile Mod Version 1.0 (curve-mobile-mod.zip)
This is a mod for SMF to be installed via package manager. It adds mobile detection which will switch to this theme if a mobile browser is mod. Installing this mod is recommended



About:

  • A Stripped down version of Curve. It has only the basics, multiple features have been removed/simplified.
  • Currently it modifies Index, BoardIndex, Display, Search, Post, MessageIndexGenericMenu, Profile, PersonalMessage, SplitTopics, MoveTopicm, Recent, Register and Login. No mods are guaranteed to work(And I seriously recommend youdon't try to get them to as well :P ).
  • Intended to work on low-resolution screens which can properly renderJS/CSS/HTML(Such as HTC Smart phones or iPhone/iPod Touch/Androidphones etc).
  • Designed with a width of 320px at mind but it is fluid, itwill work on full-scale resolutions.
  • Follows Curve's color scheme and design but has much less curves
  • No modifications to the sources
  • Contains basic Post template as well, with the ability to post replies/newtopics as well as polls. It also contains Quick Reply. Also has Search input and a simplified Search Results page.
  • The totally disabled/non-work intended areas are : ACP, Mod CP, Calendar, Memberlist, Any other awesome mod.
  • Can show poll results on the Display as well as allows polling.
  • Contains hard-coded menu, doesn't use the Subs.php data.
  • Contains a stripped down Profile area, only having Summary, Forum Profile and Account Settings
  • Contains full PM area
  • Contains unread/updated topic templates as well as register templates
  • Anything else that I may have missed to list also applies and exists ( :P ).



NOTE : This is my FIRST ever theme that I ever made, I was scared as a chicken to do this. So please excuse me for any disasters.

Changelog :
Version 0.1
- Initial Private release

Version 0.2
! Current message wasn't showing up while editing a message (Post.template.php)
* Removed "IP Logged" for those who cannot view the IP (Display.template.php)
+ Added Personal Message template (PersonalMessage.template.php)
+ Added Profile template (Profile.template.php)
* Stripped down topic.js to the minimum (topic.js)
* Removed Category collapse feature (BoardIndex.template.php)
* Removed Login boxes from the top and added a login link (index.template.php)
+ Added Login template (Login.template.php)
+ Added template for splitting and merging topics (SplitTopics.template.php)
+ Added template for moving topics (MoveTopic.template.php)

Version 0.3
* Changed the reply heading in Display, now it shows a simplyified version(No icon or subject) on replies (Display.template.php)
+ Added and finished Register template
+ Added and finished Updated/Unread topics template

Version 1.0
+ Added code for removing panels from portals(Currently only supports PortaMX, SP and TP)
+ Finished up mod for mobile detection
+ Added link to full site

Sudhakar Arjunan

Excellent Work Dragoon.

It seems to be really wonderful. Keep up the good works.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Antechinus

Nice work, Dragoon. I can see this being very popular. I'm going to make up some files to sort it for my Curve variants I think. :)

Powerbob

Just F***ed up my site with this theme!

Impossible to change back if you use this theme as admin! Removed my Portal. Not amused at all!



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

Dragooon

There is a link at bottom go change back. Plus the portal is not supposed to be there.

Powerbob

Thanks for that ref to portal! but to late now :'(

I have just tried to run upgrade to get my site back, and on completion I get a "500" error!

What do I do now??



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

Quote from: Powerbob on December 13, 2009, 09:17:42 PM
Thanks for that ref to portal! but to late now :'(

I have just tried to run upgrade to get my site back, and on completion I get a "500" error!

What do I do now??

Why would you run an upgrade?

All you have to do is go to http://www.mysite.com/forum/index.php?theme=1 to go back to the default theme to remove the mod.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob

That's a moot question now, I need help please, not "you should have done ......." comments.



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

Which upgrade did you use? Large or Small?

If you used the Large upgrade and already tried to run upgrade.php then you're stuck ina pretty pickle.

Check your server logs to see where the 500 error is originating so I can help pinpoint where it's coming from.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob

This is the message from the log:

Quote
[Sun Dec 13 21:33:23 2009] [error] [client 125.25.187.68] File does not exist: /home/ofbboar/public_html/strf/500.shtml, referer: http://stringfellows-ladyboys.com/smf/index.php?action=register



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

That just means that you don't have a 500.shtml file to handle the 500 error. That doesn't tell me anything.

Tell me what steps you took to do the upgrade, and what happened exactly before you got the 500 error.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob

upgrade ran fine, no errors, went to site via link and got the 500 error.



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

Link to your site? And also, if you want send me a PM with your cPanel/server login info so I can take a look.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob

Sent you the details via PM, thanks mate 8)



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

All fixed. Apparently your server is set up to protect files and will throw 500 errors when files have wrong permissions.

Fixed it by chmodding index.php from 666 to 644
Jason Clemons
Former Team Member 2009 - 2012

Powerbob

Thanks a million JBlaze 8)

I need to be more careful when installing new themes (especially early in the morning  :o ) and not panic, definitely my fault  :-[



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

JBlaze

Just remember that any problems that you have with a custom theme, use that url I provided earlier to revert back to the default theme.
Jason Clemons
Former Team Member 2009 - 2012

Powerbob




My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

doughboy99

This looks great on my Nokia E63 and 5530. I've been looking for a solution that would do this for a while. Running on my test forum has raised some questions and the inevitable "could you just" requests.

1. The name of my forum is too long to display on one line in this theme. Is there any way to have an alternative name for use with this theme (the slogan field perhaps? or even a graphic)

2. The full site button doesn't work for me. Selecting it has no obvious effect.

3. When the "Add Poll" window displays it is too wide for my phone. The horizontal scroll bar works fine.

4. I understand why you've removed the Calendar stuffbut would it be possible to have say a list of upcoming events? Quite often we are out diving and want to look up next weekends events quickly. We cuurently have a list (using ssi) in a frame in the the main website  but it looks awful on a phone. Something like http://www.sisac.co.uk/forum/testcal.shtml ?

5. Occasionally a topic displays much wider than normal. Doesn't seem to be a pattern unless its related to having clicked the "Display Full Site " button.

Again thanks for this theme. I realise that these requests may be outside the intended scope of this theme but I'd appreciate your comments.


Antechinus

The first one is easy. Index.template.php:

function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
<div id="header"><div class="frame">
<div id="top_section">
<h1 class="forumtitle">
', $context['forum_name'], '
</h1>';


Change ', $context['forum_name'], ' to whatever you like. Either straight text or a link to a graphic will work.

Advertisement: