[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 love24u » 18 Jun 2011, 18:22

OK! thanks! And if i want show name of mobile device (Nokia 5300, Nokia 5800, Samsung Galaxy S, ...)on viewtopic, what is code?
love24u    
Crewman
Crewman
 
Posts: 7
Joined: 17 Jun 2011, 20:44
Gender: Male
phpBB Knowledge: 1




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [DEV] phpBBmobile Device Browser Style

Postby love24u » 18 Jun 2011, 19:01

Sniper_E wrote:There are edits in the includes/session.php for the mobile detect script. Maybe you can make your NovaSup style your default style and just under the codes for the mobile detect script in the session.php, you could add a detect for IE that will direct you to $style = 1;

I wouldn't know how to write that.
Maybe something like:
Code: Select all
$this->data['is_ie'] = false;

if ($this->data['is_ie'] == true;
{
$style = 1;
$this->data['is_ie'] = true;
}


oh! I had done as mod! But both IE and firefox are redirect to prosilver! Although i had set in ACP Nova is style default
love24u    
Crewman
Crewman
 
Posts: 7
Joined: 17 Jun 2011, 20:44
Gender: Male
phpBB Knowledge: 1

Re: [DEV] phpBBmobile Device Browser Style

Postby love24u » 20 Jun 2011, 19:43

Hey! Please tell me!
love24u    
Crewman
Crewman
 
Posts: 7
Joined: 17 Jun 2011, 20:44
Gender: Male
phpBB Knowledge: 1

Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 20 Jun 2011, 20:04

Oh, I have no idea. I was guessing with the above code. How many guesses do I get? :rotfl: I'm surprised that code above did something. Let me guess again.

Try this in that code above...
Code: Select all
$this->data['is_firefox'] = false;
$this->data['is_ie'] = false;
if ($this->data['is_ie'] == true; {
$style = 1;
$this->data['is_ie'] = true;
}

Hey, if that works add Chrome and safari up there as false also. Let me know.

[ 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: 6983
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 microfud » 21 Jun 2011, 20:35

I don't have an Android-based device. But was wondering if you planned to implement support for uploading photos.

Apparently, you can do it now via the Device API. Here's a link detailing how to do it. I guess it might require some kind of conditional that would test if the phone was an android.

http://davidbcalhoun.com/2011/android-3 ... device-api
Mobile forum or bust...
microfud
Cadet II
Cadet II
 
Posts: 24
Joined: 29 Jun 2009, 10:06
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby Sniper_E » 21 Jun 2011, 22:03

The mobile style already has the capability to upload images. It is only limited to the capabilities of your cell phone. Not all cell phones can function like a desktop.

Click on Post a reply and go down to attachments an see if you can do it.

[ Post made via Android] Image
Attachments
3d-sidewalk.jpg
(11.1 KiB) Not downloaded yet
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: 6983
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 saintlantis » 22 Jun 2011, 19:52

Thanks for this awesome mod/theme.

How can i add Avatar in Profile?

when I try to add using this code,

Code: Select all
         <!-- IF AVATAR_IMG -->
            <tr>
               <td align="center">{AVATAR_IMG}</td>
            </tr>
         <!-- ENDIF -->


I'am using Phpbb-SEO mod, the result for the avatar link is (when I get the avatar URL),

Code: Select all
http://forum.site.com/member/name/images/avatars/gallery/avatar-folder/avatar.png


The output must be like this,

Code: Select all
http://forum.site.com/images/avatars/gallery/avatar-folder/avatar.png


The problem is, when the user has uploaded his own avatar, the avatar shows, but when the user use the avatar in the avatar gallery, the error occurs.

The code above is working with the other themes.

What will I do?
saintlantis
Crewman
Crewman
 
Posts: 1
Joined: 22 Jun 2011, 19:26
Gender: Male
phpBB Knowledge: 5

Re: [DEV] phpBBmobile Device Browser Style

Postby Dr0gNan » 26 Jun 2011, 08:00

Good afternoon. I downloaded and installed this mod on the recommendation of the page Festiforo (http://www.festiforo.com). The fact is that once installed I've seen different versions. For example, in your forum or forum Festiforo information page the user is different from yours, I would like to make to be equal.

Festiforo / your page:

Image Image

My Forum:

Image

I leave you some screenshots, thanks for your help and forgive my English, I used an online translator. Thanks for this mod and for your support. :good:
Dr0gNan
Crewman
Crewman
 
Posts: 1
Joined: 25 Jun 2011, 12:59
Gender: Male
phpBB Knowledge: 6

Re: [DEV] phpBBmobile Device Browser Style

Postby kloups » 06 Jul 2011, 04:18

Hi,

it's possible to adapt "breizh shoutbox" for phpmobile ?
kloups
Crewman
Crewman
 
Posts: 2
Joined: 29 Apr 2010, 01:36
Gender: Male
phpBB Knowledge: 7

Re: [DEV] STG-Mobile Device Browser Style

Postby caribsa89 » 08 Jul 2011, 23:25

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.
caribsa89
Cadet III
Cadet III
 
Posts: 35
Joined: 20 Oct 2010, 09:03
Gender: Female
phpBB Knowledge: 3

PreviousNext

Return to MODs in Development

Who is online

Users browsing this forum: AhrefsBot and 8 guests