[DEV] phpBBmobile Device Browser Style

MOD Authors: Discuss and post updates on new MODs in development for phpBB3, Receive feedback and Feature requests for MODs in development.

To submit your MOD or style, go to the STG MOD Manager
Forum rules
go to the STG MOD Manager to post your MOD in development.
Discuss and receive feedback for any MOD in development for phpBB3.
Suggest features for MODs in development.

No Support or MOD Requests
-- exceptions for MODs only posted here as Beta or Alpha.
Support requests for a MOD should be requested in the respective MOD topic.

Re: [DEV] phpBBmobile Device Browser Style

Postby ronson » 15 Jul 2011, 13:50

Hello,
I have a problem with the style.

The Home works

1.png


but when I click on a link, then it looks like in this picture.

2.png


What could be wrong?

Sorry for my English
ronson
Crewman
Crewman
 
Posts: 3
Joined: 15 Jul 2011, 13:44
Gender: Male


Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 15 Jul 2011, 15:55

I don't know. You must have fixed it. I went to your site on my mobile and clicked every link and it was fine.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6984
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 15 Jul 2011, 15:59

kloups wrote:Is it possible to adapt "breizh shoutbox" for phpmobile ?

Sure, it is possible. The phpBBmobile style already comes with a AJAX Chat template.

The breizh shoutbox template for subsilver2 can be copied in the mobile template directory.
You should be able to find it in the breizh shoutbox download files.
It will probably need some modifications but try it as it is.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6984
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] STG-Mobile Device Browser Style

Postby Sniper_E » 15 Jul 2011, 16:07

caribsa89 wrote:
Amylittlehands wrote:Installing this now on my iPhone 3G OS 4.0.2

I know this is still in development (Brilliant job Ed). I was wondering if a few things will be possible soon;
* Will Ultimate Points System be integrated into this?

(I'm always on my iPhone so it's very handy.)


Ultimate Points work with no edits to the mobile style. I did not add any of the Subsilver2 Ultimate Points edits to the mobile style, yet if anyone post from a mobile device, your points are updated.

Are there edits for that Ultimate Points System mod that you had to do in subsilver2 for it to show in the profile?
If so you can also do these edits in the mobile style templates so your points show in the mobile style also.
Any mod that you install will use the subsilver2 style edits in the mobile style, with slight modifications for the layout.
But I'm sure it's like caribsa89 said. Ultimate Points work with no template edits, the core file edits probably work in all styles.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6984
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby ronson » 16 Jul 2011, 15:15

Sniper_E wrote:I don't know. You must have fixed it. I went to your site on my mobile and clicked every link and it was fine.


I changed the server, but the same problem.
Visit: http://www.fck-support.de
First site is ok, links are not ok..
I think its a problem with te css ?!
[ Post made via iPhone] Image
ronson
Crewman
Crewman
 
Posts: 3
Joined: 15 Jul 2011, 13:44
Gender: Male

Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 16 Jul 2011, 17:26

No, when I clicked on a forum name it took me to http://www.fck-support.de/allgemeines-f11/ instead of http://www.fck-support.de/viewforum.php?f=11

Do you have some SEO mod messing with your links. I don't think it could be a style problem. That was some strange links.

It looks like you have edited some of the templates also. Try copying all of the original files back and see what you get.

[ Post made via Android] Image
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6984
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby ronson » 17 Jul 2011, 05:32

Hello,
I've copied part of the SEO mod in the overall_header, now it works.
But thank you very much
ronson
Crewman
Crewman
 
Posts: 3
Joined: 15 Jul 2011, 13:44
Gender: Male

Re: [DEV] phpBBmobile Device Browser Style

Postby mikesus » 17 Jul 2011, 23:21

Got the mod working great, and added a redirect for m.mysite.com to www.mysite.com/?style=2

instead of using the functions you can easily switch between styles by putting

<br /><a href="http://www.mysite.com/?style=2">Mobile Site</a> | <a href="http://www.mysite.com/?style=1">Full Site</a>

This avoids the problem of appending more than one style to the url. (i.e. if they change, and then want to change back)
mikesus
Crewman
Crewman
 
Posts: 3
Joined: 17 Jul 2011, 23:17
Gender: Male
phpBB Knowledge: 4

Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 20 Jul 2011, 12:54

Yes, that is correct... but only if you do this edit:
Code: Select all
      // Setup for ?style=# to work for style viewing.
      // if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
      if (!empty($_GET['style']))
Yet www.mysite.com/?style=2 will work for you as the admin but it want work for your registered users without that edit.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6984
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby mikesus » 20 Jul 2011, 17:55

Sniper_E wrote:Yes, that is correct... but only if you do this edit:
Code: Select all
      // Setup for ?style=# to work for style viewing.
      // if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
      if (!empty($_GET['style']))
Yet http://www.mysite.com/?style=2 will work for you as the admin but it want work for your registered users without that edit.



Yes, was making the assumption that folks would install the mod.

Now if I can get it to display mobile device when posting from the mobile template... (I.E. iPad or iPhone that wants the style when I have detection off... Or, if its a device that isn't detected, would be nice to have it default to that text...)
mikesus
Crewman
Crewman
 
Posts: 3
Joined: 17 Jul 2011, 23:17
Gender: Male
phpBB Knowledge: 4

PreviousNext

Return to MODs in Development

Who is online

Users browsing this forum: No registered users and 4 guests