vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Mobile Style for vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228986)

lifetube 12-21-2009 10:48 PM

this is great

thanks

Biker_GA 12-26-2009 10:12 AM

Quote:

Originally Posted by buontaiviem (Post 1934532)
Can u make CMS mobie skin or disable CMS when detect mobie?

This..

Additionally, is there a way to remove the hardcoded version number from the templates? Or make it so when you do update VB, it allows the changes to be merged rather than having the "You have X outdated templates" glaring at you whenever you log in to AdminCP. :D

dartho 12-26-2009 11:00 AM

May be able to make a plugin which disables CMS.

As for template versions - nothing to do about that sorry, it's teh way vB works. However, I *may* be able to make a php script that updates version numbers, maybe ...

b6gm6n 12-26-2009 11:22 AM

thanks for the screens, no screens, no install

dartho 12-26-2009 11:37 AM

Quote:

Originally Posted by b6gm6n (Post 1938534)
thanks for the screens, no screens, no install

Like that makes a difference to me :rolleyes: Rudeness will get you no where ...





Quote:

Originally Posted by Biker_GA (Post 1938506)
This..

Additionally, is there a way to remove the hardcoded version number from the templates? Or make it so when you do update VB, it allows the changes to be merged rather than having the "You have X outdated templates" glaring at you whenever you log in to AdminCP. :D

I have a query which should sort out all those template conflicts:


---snip---snip---
UPDATE `DBNAME`.`template` SET `version` = '4.0.0', `mergestatus` = 'none' WHERE `template`.`styleid` =XX;
/---snip---snip---

change DBNAME to the name of your database,XX to the styleid number of the mobile style and 4.0.0 to whatever the version number currently is.

4.0.0 worked for me with PL1. I subsequently changed it to 4.0.1 to see what would happened - it didn't have an issue, so you could probably up the version number to 4.0.99 if you wanted to - someone wanna test?

You'll have to change the above query to take any database prefix into account.

NavS 12-26-2009 02:21 PM

Quote:

Originally Posted by buontaiviem (Post 1934532)
Can u make CMS mobie skin or disable CMS when detect mobie?

just go to line 351 and change 'index.php' to 'forum.php'

b6gm6n 12-26-2009 03:32 PM

Sorry dartho if i was rude, is there any reason why your not showing any screen-shots? i thought it would be a good selling point for your skin, anyways thanks

-b6

eSe7en 12-27-2009 03:08 PM

You might want to take a look at Replacement Variables.
It renders smileys with a ':-)' after them.
I removed them and worked nicely.

shadowgfx 12-28-2009 04:47 AM

Great skin! How would I enable the use of adverts?
I put in my Ad Code in the footer, but it doesn't show in the skin....

min0taur 12-29-2009 09:45 AM

Any Chance to Integrate it to CMS?

Robru 12-29-2009 10:06 AM

Thanks for your port Dartho :)

dartho 12-29-2009 01:00 PM

Quote:

Originally Posted by min0taur (Post 1941369)
Any Chance to Integrate it to CMS?

No chance - how can I "mobilise" widgets when they can be anything you want?

vBulletin are actively working on a mobile style/interace, lets see what they have to offer ...

movslow 12-29-2009 01:27 PM

I see zero difference with this and what it looked like before on my iPhone ?

I even installed your mobile options add-on as well.

Am I missing something here.
:confused:

dartho 12-29-2009 09:55 PM

Quote:

Originally Posted by movslow (Post 1941514)
Am I missing something here.
:confused:

I would say so. Is the style user selectable, and have you selected it? If you want your site to automatically detect you are using an iPhone and change style for you, you will also need to install this: https://vborg.vbsupport.ru/showthread.php?t=226946

omanmoon.net 01-01-2010 06:30 AM

Thanks dartho for your good work ^^

min0taur 01-01-2010 09:51 AM

Ah Ok thanks... Lets Wait for vbulletin Developers..

akee 01-02-2010 11:51 AM

Thanks, works fine

struff 01-03-2010 04:40 PM

Is there a way to put the option for this Mobile style somewhere near the top of the page rather than just in the style picker at the bottom?

struff 01-03-2010 04:44 PM

Is there a way to reduce the amount of icons/images/videos that are displayed in each post and be more like your old version?

Thanks.

dartho 01-04-2010 09:31 AM

Quote:

Originally Posted by struff (Post 1946128)
Is there a way to reduce the amount of icons/images/videos that are displayed in each post and be more like your old version?

Thanks.

Adding the following "Replacement Variables" should help:

border="0" alt="" /> => target="_blank">[image]</a>
class="inlineimg" /> => >[smilie]</a>
img src => a href
img src="http => a href="http

I haven't really tested these under 4.0 first, but these did work in 3.8 and provide a starting point.

As for Style Chooser near top - I hope to release an enhanced version of the mobile detect hack (which still works under 4.0) which may give the option of something like this..

jmurrayhead 01-04-2010 08:55 PM

Anyone know why I get "Invalid file specified" when trying to import "mobile-vbulletin-4.0.0-style.xml"?

Lighting90 01-07-2010 09:02 AM

Quote:

Originally Posted by jmurrayhead (Post 1947233)
Anyone know why I get "Invalid file specified" when trying to import "mobile-vbulletin-4.0.0-style.xml"?

Are you using Product manger instead of style manger by any chance...:)

jmurrayhead 01-07-2010 11:09 PM

Quote:

Originally Posted by Lighting90 (Post 1949411)
Are you using Product manger instead of style manger by any chance...:)

lol yes...wow...I'm a genius :p

DaninMS 01-08-2010 01:41 PM

Installed and looked at it on my phone. thx.

Question, when someone selects this skin while on their pc how do you change the skin again ? I didn't see an option unless I'm missing something. There was no drop down menu and no option in the UserCP.

dartho 01-09-2010 01:38 AM

Install https://vborg.vbsupport.ru/showthread.php?t=229044 to add extra options such as style chooser

Tigur 01-12-2010 06:06 AM

could i make a request for this skin (or maybe even your add on?) to put spots for google adsense mobile? That way it's just as simple as input code and done.

dartho 01-13-2010 08:57 PM

Adsense mobile is (at least last tiem I looked at it) a little more complex than that. Check here: https://vborg.vbsupport.ru/showthrea...19#post1531419

stalkertj 01-14-2010 09:54 PM

Has this style messed up for anyone else since the 4.0.1 upgrade?

dartho 01-15-2010 09:31 AM

not tested by me yet ... will try and check it out soon

swijaya0101 01-15-2010 04:31 PM

How do I install for 4.0.1? It stated that it's not compatible with the version of vbulletin that i am running.

Jackie1 01-16-2010 05:40 AM

please fix fox 4.0.1 version

dartho 01-16-2010 09:08 PM

This is working fine for version 4.0.1

@swijaya0101 - choose to ignore the version number

If you don't like the Out-of-Date Custom Templates Found! messages, see https://vborg.vbsupport.ru/showthrea...43#post1938543 for a query you can run via "Maintenance=>Execurte SQL Query" the to get rid of those messages (I'll look at adding this as an option in the Mobile Options add-on)

stalkertj 01-16-2010 09:16 PM

I just reinstalled it and it's working fine... feel dumb for not trying that, but it just appeared broken like something changed with the stylevars after the 4.0.1 upgrade. But alas, it works fine ;)

Thanks dartho!

struff 01-17-2010 03:17 AM

Quote:

Originally Posted by dartho (Post 1946741)
Adding the following "Replacement Variables" should help:

border="0" alt="" /> => target="_blank">[image]</a>
class="inlineimg" /> => >[smilie]</a>
img src => a href
img src="http => a href="http

Sorry if this is a stupid question but where do I put this? Where I thought it would go, doesn't appear correct since it is asking me what I want to replace.

Thanks

dartho 01-17-2010 08:55 AM

sorry struff, should probably have been more clear. Add replacement variables as follows:

-----------------------------------------------
| search for text......| replace with text

-----------------------------------------------
| border="0" alt="" />.| target="_blank">[image]</a>
| class="inlineimg" />.| >[smilie]</a>
| img src..............| a href
| img src="http........| a href="http
-----------------------------------------------

struff 01-18-2010 03:02 AM

Quote:

Originally Posted by dartho (Post 1958001)
sorry struff, should probably have been more clear. Add replacement variables as follows:

-----------------------------------------------
| search for text......| replace with text

-----------------------------------------------
| border="0" alt="" />.| target="_blank">[image]</a>
| class="inlineimg" />.| >[smilie]</a>
| img src..............| a href
| img src="http........| a href="http
-----------------------------------------------

Cool, that worked. Thanks.

Can it be done for video as well?

Gene Steinberg 01-18-2010 03:25 AM

Quote:

Originally Posted by dartho (Post 1957692)
This is working fine for version 4.0.1

@swijaya0101 - choose to ignore the version number

If you don't like the Out-of-Date Custom Templates Found! messages, see https://vborg.vbsupport.ru/showthrea...43#post1938543 for a query you can run via "Maintenance=>Execurte SQL Query" the to get rid of those messages (I'll look at adding this as an option in the Mobile Options add-on)

Maybe for you. But when I try to import, it just stalls and nothing happens. I have no problems with other products.

Peace,
Gene

sobolensky 01-20-2010 02:35 PM

Anyone have an issue with CSS accross the board after installing the mobile ap. It started to default to the mobile screen regardless if we selected another theme/skin. When I deinstalled it and reloaded the other themes, they all were now text mode.

jaffaman 01-21-2010 08:31 PM

How do i get it to go stright to the forum.php as i am running VB4 suite on a test site.
I know someone said just go to line 351 and change 'index.php' to 'forum.php' but line 351 says...
Code:

<strong>*{vb:rawphrase user_cp}*</strong>

dartho 01-21-2010 09:50 PM

Edit the vbcms_page template in teh mobile style and replace

HTML Code:

{vb:raw toolbar}
<div class="vbcms_content">
{vb:raw layout}
</div>

with something like

HTML Code:

<div class="vbcms_content">
Home page unavailable in mobile view, click <a href="forum.php">HERE</a> to view forums.
</div>



All times are GMT. The time now is 02:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01716 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete