News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF4iPhone Theme

Started by Fabius85, April 15, 2010, 11:01:00 AM

Previous topic - Next topic

Raffoz

fabius, is there a way to set the "citazione" (quote) off as default?
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Fabius85

Quote from: Raffaele1977 on September 19, 2010, 01:57:21 PM
fabius, is there a way to set the "citazione" (quote) off as default?
in index.template.php search for:
<script type="application/x-javascript">

', (isset($_COOKIE['disablequoting'])) ? 'var aquoting = 1;

' : 'var aquoting = 0;


and replace it with:
<script type="application/x-javascript">

', (isset($_COOKIE['disablequoting'])) ? 'var aquoting = 0;

' : 'var aquoting = 1;


Raffoz

Quote from: Fabius85 on September 19, 2010, 09:44:10 PM
Quote from: Raffaele1977 on September 19, 2010, 01:57:21 PM
fabius, is there a way to set the "citazione" (quote) off as default?
in index.template.php search for:
<script type="application/x-javascript">

', (isset($_COOKIE['disablequoting'])) ? 'var aquoting = 1;

' : 'var aquoting = 0;


and replace it with:
<script type="application/x-javascript">

', (isset($_COOKIE['disablequoting'])) ? 'var aquoting = 0;

' : 'var aquoting = 1;



thanks :)
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

is there a way to let see in the post the attachment url, so people will click and open the file (for example: a pdf)?

actually iphone can save files, so it would be useful... :)
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Fabius85

Quote from: Raffaele1977 on September 25, 2010, 04:17:56 AM
is there a way to let see in the post the attachment url, so people will click and open the file (for example: a pdf)?

actually iphone can save files, so it would be useful... :)
added in ToDo list ;)

DEK24

I keep trying to change the logo. I add a url where it says but it never changes from the SMF logo.

Fabius85

Quote from: DEK24 on September 26, 2010, 11:29:34 AM
I keep trying to change the logo. I add a url where it says but it never changes from the SMF logo.
just replace the image "/images/logo.jpg" with the one you prefer :)

Snape

What would be the easiest way to augment the mod to prevent doing the theme redirect for a certain user or users?  I've tried a couple hacks to skip the iphone_themeSwitch call based on user_info['id'], but I'm guessing that isn't set by the time the check is called.

I'm also seeing the same behavior that someone a couple pages back noted- when you select 'classic', it redirects once- if you select anything on the forum, it bounces back to the smf4iphone theme.

swatstj

Quote from: Fabius85 on September 27, 2010, 02:12:35 PM
Quote from: DEK24 on September 26, 2010, 11:29:34 AM
I keep trying to change the logo. I add a url where it says but it never changes from the SMF logo.
just replace the image "/images/logo.jpg" with the one you prefer :)


LIKE THIS :)


Fabius85

Quote from: Snape on September 27, 2010, 04:01:08 PM
What would be the easiest way to augment the mod to prevent doing the theme redirect for a certain user or users?  I've tried a couple hacks to skip the iphone_themeSwitch call based on user_info['id'], but I'm guessing that isn't set by the time the check is called.

I'm also seeing the same behavior that someone a couple pages back noted- when you select 'classic', it redirects once- if you select anything on the forum, it bounces back to the smf4iphone theme.
in Load.php search for the iphone mod part and add your "if" condition to exclude the user IDs you want.

btw the if the classic theme doesnt remain set after clicking on the "classic" button, then it is probably because of cookies not enabled.

swatstj

Quote from: Fabius85 on September 19, 2010, 06:03:45 AM
Quote from: swatstj on September 16, 2010, 10:35:19 PM
will you can tell me where i can find this code and where to put it in the smf4iphone i just want my def. from any ones you can change the size to make it fit so it would look nice but the most one im work on is buttons to go too the last post or to the first post that one be awesome to have where you can go into a post that not new and you want to make a post there that button to the last page :)
the file you're looking for is "Display.template.php" to add user infos you wanna add under the avatar.
"BoardIndex.template.php" is to add "Go down" and "Go up" buttons (these will surely be added in next release of the theme, which i think i'm gonna work on in october)

can you ponit out what im looking for thanks you :)

Lolafish

I had the SMF4iPhone Theme working beautifully and my users loved it, but then I installed the Ultimate Profile mod and it stopped working.  When you try to go to the forum on a mobile device, it shows up as a blank white screen.
What happened?  Has this happened to anybody else?

My website is: www.aquapuppies.com

The forum direct url is:  www.aquapuppies.com/aquapuppies/index.php

Do you think any of the parsing edits to install ultimate profile were the culprit? 

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

Lolafish

Quote from: Lolafish on September 30, 2010, 11:00:57 PM
I had the SMF4iPhone Theme working beautifully and my users loved it, but then I installed the Ultimate Profile mod and it stopped working.  When you try to go to the forum on a mobile device, it shows up as a blank white screen.
What happened?  Has this happened to anybody else?

My website is: www.aquapuppies.com

The forum direct url is:  www.aquapuppies.com/aquapuppies/index.php

Do you think any of the parsing edits to install ultimate profile were the culprit? 

Should I have put this in the Mod forum?  You'all can move it if I posted wrong. Sorry about that.  It's a conundrum....it's driving me crazy. Can't find anything amiss to cause this.

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

butchs

Sounds like a Ultimate Profile issue since the mod worked before you installed Ultimate Profile.  Uninstall both mods and reinstall smf4iphone, delete your forum cache and stop using Ultimate Profile.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Lolafish

Quote from: butchs on October 01, 2010, 04:59:29 PM
Sounds like a Ultimate Profile issue since the mod worked before you installed Ultimate Profile.  Uninstall both mods and reinstall smf4iphone, delete your forum cache and stop using Ultimate Profile.


Obviously that's an easy way to find out for sure if they're related, but I was hoping for another way to find an error.  lol  I already know that.  ;)  It wasn't easy getting UP to work and if I can avoid all that I'd like to.

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

Lolafish

Well crud.  Just got a clue today and realized that 7 or so other mods that were installed and working are no longer working either.  Just greeeeeeeat.  Now I have to start from scratch again.   >:(

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

butchs

I do not know what the problems is.  I have both SMF4iphone and Ultimate Profile running on my 2.0 RC3 forum with no problems at all.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Lolafish

Quote from: butchs on October 03, 2010, 12:05:28 PM
I do not know what the problems is.  I have both SMF4iphone and Ultimate Profile running on my 2.0 RC3 forum with no problems at all.


I did a complete redo yesterday and installed everything one at a time, and now everything is working again, but not the SMFiphone.  Can't figure out what's wrong.  Still a white screen on the iphone when you go to my forum URL.  There's gotta be some coding error somewhere....

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

Lolafish

butchs, if I can't see the theme, then the problem is prolly on that end, right?

AquaPuppies - A Goldfish Community
www.aquapuppies.com

Running SMF 2.0.2 & SimplePortal 2.3.5

butchs

Did you delete and then reinstall the theme and then install the mod?
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Advertisement: