PDA

View Full Version : Forum Style - Mobile Style for vBulletin 4.0


Pages : [1] 2

dartho
11-26-2009, 10:00 PM
** 25/08/2010 This style has been superceded by this one: https://vborg.vbsupport.ru/showthread.php?t=249277

However, you can run them both if you know you have older mobile phones accessing your site as they may be able to render this one better **




This is a port of my mobile style from 3.7/3.8 (https://vborg.vbsupport.ru/showthread.php?t=174375) to 4.0.0.

It is a very cut back style with very low bandwidth usage which renders well on pretty much all small screen devices from old Nokias to new iPhones.

Currently it only supports forums/thread/posts/PMs. Recent vBulletin features such as Social Groups, Albums, Blogs are not supported (although they should still disaplyin a not-so-mobile-friendly way...)

Further customise this style with Mobile Style Options (https://vborg.vbsupport.ru/showthread.php?t=229044)!


Supports viewing/posting/replying in forums
Supports Private Messaging
Supports Tags (viewing, not adding)
Supports Thread Prefixes
has an add-on product to customise here: Extend and Customise Mobile Style (It is recommended that you install this also, but not required)
Supports other stuff too ....


Version Control
1.0.0 - Initial Relase from 3.7
1.0.1 - Fixed issue with "Friendly URL's" not being compatible
1.0.2 - Updated version numbers to 4.0.99 (should cover all 4.0 releases with the "Out of date templates" messages. Removed Replacement Variables.
1.0.3 - Fixed known template bugs


Install Instructions

Save wireless.css.txt to wireless.css and uppload to your forum root
Save XML style file and install via AdminCP


Notes

To change style attributes, you need to edit the CSS file
Please leave copyright and the link as they are - it links to a very niche forum which is very ulikely to detract from or take members form your own.


https://vborg.vbsupport.ru/external/2009/12/165.jpg

As you were.

dartho
11-27-2009, 09:19 AM
Thanks!

buro9
11-27-2009, 09:51 AM
Awesome work, much appreciated.

Have you kept the looks the same? I've not installed the vb4 beta yet but I'd love to see a few screenshots of how this is looking. It's much anticipated.

dartho
11-27-2009, 10:13 AM
Looks the same - I've changed as liitle as possible. It is the same CSS file, so if You've made customisations, they will still work also.

TandyServices
11-27-2009, 01:01 PM
This will be great for mobile users, however, I'm having some troubles with the links in the forum. When I try opening a post it will just refresh the threadlist, and when I click on the Forum link on top I get the message: Invalid Forum specified. If you followed a valid link, please notify the administrator.
Can I fix this? Thanks :)

SİMAR
11-27-2009, 01:06 PM
Thanks,

halkum
11-27-2009, 03:48 PM
Dartho made this quickly after I had asked about a vB4 version, and I had the pleasure of being the guy to test it for him.

Confirmed working on a Samsung Messenger SCH-r450 as well as the 3.8/3.7 version.

halkum
11-27-2009, 03:50 PM
I can also confirm the Different Domain, Different Style hack for the vb 3 series still works for vb4. So grab it and this and hook up mobile.yourdomain.com and you're good to go!

dartho
11-27-2009, 09:00 PM
This will be great for mobile users, however, I'm having some troubles with the links in the forum. When I try opening a post it will just refresh the threadlist, and when I click on the Forum link on top I get the message: Invalid Forum specified. If you followed a valid link, please notify the administrator.
Can I fix this? Thanks :)

Can I have a link to your mobile site/style so I can look?

Hornstar
11-27-2009, 10:41 PM
Thanks, however do you ever plan to make this work nicely with profiles and blogs etc.

TandyServices
11-28-2009, 12:12 AM
PM sent

dartho
11-28-2009, 01:17 AM
Thanks - I see the problem now. It is to do with the friendly URL's. I should be able to fix, but it won't be today.

So for anyone else, please not that this style is currently NOT ocmpatible with any but standard URL's.

roddy
11-28-2009, 05:36 AM
Very glad to see this is being ported for 4.0, Dartho you will most definitely be getting a pint of cider (maybe even two) on me.

If there are any screenshots, I'd love to see them. If not, or if they're basically the same as 3.X, no matter.

kc67
11-28-2009, 07:00 AM
No screenshots???

Fail

dartho
11-28-2009, 08:51 AM
Thanks, however do you ever plan to make this work nicely with profiles and blogs etc.
It's hard to get motivated to do this as it has little appeal on my own site... that's not a "no", but ....

If there are any screenshots, I'd love to see them. If not, or if they're basically the same as 3.X, no matter.
Same as 3.x version - all though there are a couple small mod/management extras

No screenshots???

Fail

ooo..... :rolleyes:

dartho
11-28-2009, 09:57 AM
New version up which should fix the issue with not being compatible with "SEO Friendly URLs"

Also updated the "Mobile Style Options" addon for this and released HERE (https://vborg.vbsupport.ru/showthread.php?t=229044)

Biker_GA
11-28-2009, 10:20 AM
Much appreciated. Installed, updated, and will be sending the funds for a couple of pints in a day or so. Gawd, I do miss a good pint of Bitter.

Kolbi
11-28-2009, 11:42 AM
Screenshot or a Demo would be nice :)

halkum
11-28-2009, 02:56 PM
I'll get you a screen and demo. Give me a moment

halkum
11-28-2009, 03:06 PM
2 Screen shots attached.

DEMO: http://mobile.ewzine.com

reefland
11-29-2009, 12:57 AM
How can we get this style to automatically assign based on the device? Does this plugin still workfor that?
https://vborg.vbsupport.ru/showthread.php?t=173239

halkum
11-29-2009, 02:25 AM
I can confirm that plug in does still work for vb4

peril
11-30-2009, 11:56 PM
How can we get this style to automatically assign based on the device? Does this plugin still workfor that?
https://vborg.vbsupport.ru/showthread.php?t=173239

Yes it is working.

Webinsane.com
12-03-2009, 06:37 PM
On import I am receiving message: Invalid File Specified

dartho
12-03-2009, 08:21 PM
Are you uinstalling as a style or product? Also, your download may have got corrupted - clear cache and re-download and try again

aspen1018
12-08-2009, 06:15 PM
I have this style installed and when users visit my mobi domain it shows up as the correct style but after they log in and then click forums on the top it goes back to the default style

any suggestions?

Thanks

betty02
12-10-2009, 01:45 PM
Does this automatically switch users to mobile version when on a mobile?

Just i set this up installed it all etc and visited from mobile and it didn't lol?

aspen1018
12-10-2009, 04:02 PM
it didn't for me either I had to install a mod that forces all mobile users to this mod and it has a few issues that don't work the same as it did for vb3

dartho
12-10-2009, 08:21 PM
Does this automatically switch users to mobile version when on a mobile?

Just i set this up installed it all etc and visited from mobile and it didn't lol?

it didn't for me either I had to install a mod that forces all mobile users to this mod and it has a few issues that don't work the same as it did for vb3

No it doesn't - it's just a style. CHeck this mode for assigning it... https://vborg.vbsupport.ru/showthread.php?p=1928239#post1928239

XxSparks
12-11-2009, 04:13 AM
On import I am receiving message: Invalid File Specified

I'm getting this constant error. I cleared my cache, redownloaded and retired. I'm still getting it. After installing it via Admin CP. IE. AdminCP > Plugin & Products System. I select the file, click import. I get that error.

dartho
12-11-2009, 04:47 AM
I'm getting this constant error. I cleared my cache, redownloaded and retired. I'm still getting it. After installing it via Admin CP. IE. AdminCP > Plugin & Products System. I select the file, click import. I get that error.

This is a style, not a product. Install via style manager ... ;)

XxSparks
12-11-2009, 05:58 PM
This is a style, not a product. Install via style manager ... ;)

Oh boy.. Do I feel dumb. Wow, thanks a lot for pointing me in the right direction! :)

urbanpulse
12-17-2009, 06:57 AM
Havnt had a chance to see this style in action yet..
Im using 4.0 beta 5 :(
Any idea when it will be compatible with this version?
Thanks

dartho
12-17-2009, 07:59 AM
shouldn't be a problem with beta 5 I would imagine

urbanpulse
12-17-2009, 08:22 AM
I've tried it and it's not accepted when trying to uplaod the XML in admincp it states the the style wasn't created for/with beta 5 :'(

dartho
12-17-2009, 08:40 AM
click the checkbox that says to ignore the version!

urbanpulse
12-17-2009, 05:01 PM
thanks... everythings installed but when i enter the site on a mobile phone, nothing appears to be different.. have a missed a step somewhere?

urbanpulse
12-17-2009, 05:03 PM
right i see, i just changed the style.. i thought it would have been implemented automatically, its not what i was expecting to be honest. i thought it would preview like the i4iphones website when on a mobile device

dartho
12-17-2009, 10:37 PM
This isn't an "iPhone" style - it's more generic and will display on devices of all sizes and capabilities, most importantly - mine :-)

There are a few styles for 3.8 for iphones, I'm sure it won't take someone long to update theirs for 4.0.

Also keep an eye out for a future 4.x release of vBulletin with a built in 'lite' style - they've already started work on it, have a look at the postbit_lite template ...

buontaiviem
12-21-2009, 12:38 PM
Can u make CMS mobie skin or disable CMS when detect mobie?

lifetube
12-21-2009, 10:48 PM
this is great

thanks

Biker_GA
12-26-2009, 10:12 AM
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
thanks for the screens, no screens, no install

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





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
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
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
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
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 (https://vborg.vbsupport.ru/showthread.php?t=226946)(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
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
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/showthread.php?p=1531419#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/showthread.php?p=1938543#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
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
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
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/showthread.php?p=1938543#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...
<strong>*{vb:rawphrase user_cp}*</strong>

dartho
01-21-2010, 09:50 PM
Edit the vbcms_page template in teh mobile style and replace

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

with something like


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

jaffaman
01-22-2010, 06:15 AM
Thanks m8 :)

fly
01-26-2010, 03:18 PM
Thank God for this.

I know you're busy dartho, but I hope you move the 'Different Domain, Different Style' over to vB4 to go along with this.

grc
01-26-2010, 03:33 PM
I've installed the style, but the forum links, etc. aren't links.

I have vBAdvanced running and the portion of the forum that is generated by it all render as they should, however the forum portion of the page just has unformatted text rather than them being links to subforums, threads, or posts.

This is copied from my PC, but it looks the same on the Mobile Device:

GeneralDiscussionForums - CommunityDiscussion - TheologyDiscussion - CurrentEvents - GoodCleanFun -Memories SpecialInterestForums - Photography - Bookreviews - Moviereviews - Recipes - Sports

A friend looked at it on his device and he says it's the same for him.

Am I missing something? I take it that the problem is related to vBa.

I've tried to solve the issue by putting copies of the css file in both the website root and the forum directories. but no joy.

Thanks in advance for any help here.

dartho
01-26-2010, 07:50 PM
What is your web site?

grc
01-27-2010, 12:35 PM
I've installed the style, but the forum links, etc. aren't links.

I have vBAdvanced running and the portion of the forum that is generated by it all render as they should, however the forum portion of the page just has unformatted text rather than them being links to subforums, threads, or posts.


Thanks to dartho for taking a look at the site. The main forum page renders correctly till it comes to the place where the vBulletin forum is inserted by vBAdvanced. At that point the all links are broken because the spaces are removed from the code! "a href=" becomes "ahref=" and spaces in the link names are stripped out.

The vBAdvanced pages work fine in other styles, and this style looks fine on my test forum that doesn't have vBAdvanced.

I don't have a solution and doubt that I will. I thought I'd post what I've learned in case someone else runs into the same problem.

Steelersfan
02-02-2010, 01:00 PM
Installed, working great. Thanks!

struff
02-02-2010, 03:19 PM
Is there a way to omit videos?

Thanks.

Nerses_AM
02-02-2010, 05:50 PM
Hi,

Great job, many many thanks,

Only one annoying thing is tthere, when in thread there is a post form user, who is in your ignore list, the post is very ugly, with huge size font.

dartho
02-02-2010, 11:34 PM
It would be, I didn't recode it - I'll look at that in the next release!

tweakmonkey
02-04-2010, 03:35 PM
Still works great after all this time (4.01 here), thanks dartho.

Now if only I could get the detection and options working at the same time, but I'll reply there once I investigate. :)

dartho
02-04-2010, 10:26 PM
"still" - there was a significant amount of work to upgrade this for vb4. I also have a new CSS file in the pipeline to pretty things up a little more without adding too much overheads

Steelersfan
02-08-2010, 11:24 AM
Hey dartho, skin works great! Question though. Is there no "quote" option? Or am I missing it?

testbot
02-08-2010, 05:11 PM
didn't the old theme jump you to the newest post when you clicked on a thread? i would love to have that back. i already fixed the class_core so i guess the rest is in the forum display links or something?

Gene Steinberg
02-08-2010, 09:01 PM
Sorry, I cannot import this style into a vBulletin 4.0.1 installation. Says something about a 4.0.99.

Peace,
Gene

dartho
02-08-2010, 09:06 PM
didn't the old theme jump you to the newest post when you clicked on a thread? i would love to have that back. i already fixed the class_core so i guess the rest is in the forum display links or something?

Edit the threadbit template, find:

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

and replace with

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>


Hey dartho, skin works great! Question though. Is there no "quote" option? Or am I missing it?
Edit the newreply template and replace

<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea>

with
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}

dartho
02-08-2010, 09:07 PM
Sorry, I cannot import this style into a vBulletin 4.0.1 installation. Says something about a 4.0.99.

Peace,
Gene

Choose to ignore version numbers when importing.

Gene Steinberg
02-08-2010, 09:30 PM
Choose to ignore version numbers when importing.

I'll try that.

Peace,
Gene

Gene Steinberg
02-08-2010, 09:41 PM
Choose to ignore version numbers when importing.

I tried that.

Installed the wireless.css file in the forum root. Installed the style and the plugin, and configured the plugin to use the Mobile style when connecting via a mobile device.

Doesn't seem to work that way on my iPhone. Is that not supported?

Peace,
Gene

dartho
02-08-2010, 10:15 PM
Have you made the style user selectable?

Gene Steinberg
02-08-2010, 10:26 PM
Have you made the style user selectable?

Yes.

Check forum.rockoids.com and see for yourself.

Peace,
Gene

dartho
02-08-2010, 10:36 PM
I can't see a style selector there?

Gene Steinberg
02-08-2010, 11:01 PM
I can't see a style selector there?

The link is supposed to be in the top nav bar. That's how it's configured.

As you see, there is a problem.

Peace,
Gene

dartho
02-08-2010, 11:22 PM
I see no problem as I can not see that you have installed any additional styles - how does one select the mobile style on your site? If youy let me know the styleid, that may help

Gene Steinberg
02-08-2010, 11:39 PM
I see no problem as I can not see that you have installed any additional styles - how does one select the mobile style on your site? If youy let me know the styleid, that may help

Your Admin panel specifies a default style for mobile and a default for PC. That's what I set. Mobile for the former and the standard one for the latter.

if this is not an automatic process, based on the user agent of the browser, then these steps are not needed or misleading.

I have our modified version of the VB Default Style as 1 and Mobile as 2.

Peace,
Gene

dartho
02-09-2010, 01:18 AM
You do not have a means for your users to change styles, without this they can not choose the mobile style.

Gene Steinberg
02-09-2010, 01:21 AM
You do not have a means for your users to change styles, without this they can not choose the mobile style.

Clarify. This isn't an automatic process then?

Peace,
Gene

Jackie1
02-09-2010, 01:25 AM
please fix bug Out of date templates in 4.0.1

dartho
02-09-2010, 01:53 AM
Clarify. This isn't an automatic process then?

Peace,
Gene

No, this is just a style. The addon for this style just adds a few customisation options for the style.

However this product - https://vborg.vbsupport.ru/showthread.php?t=226946 - has been reported to work under vBulletin 4 which may help automate the process.

Steelersfan
02-09-2010, 11:32 AM
Edit the newreply template and replace

<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea>

with
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}


Thanks dartho!

testbot
02-09-2010, 04:59 PM
Edit the threadbit template, find:

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

and replace with

<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_newpost}, 'threadid', 'threadtitle'}" id="thread_gotonew_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>



Edit the newreply template and replace

<textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea>

with
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:100%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}

thank you!!!!

bsalu
02-14-2010, 02:47 AM
please fix bug Out of date templates in 4.0.1

Same here. I wanted to install this on 4.0.1 but it doesnt install on 4.0.1

Popa Andrei
02-17-2010, 07:25 AM
can these be made to be able to select another theme from the mobile after you selected this?

dartho
02-17-2010, 07:36 AM
yes - edit templates and add link or install MObile Style Options addon (https://vborg.vbsupport.ru/showthread.php?t=229044) ...

struff
02-19-2010, 02:22 AM
Is there any way to remove videos from this style? It seems almost counter productive to have a style like this but it takes so long for pages to load because they have videos in them.

Thanks.

dartho
02-19-2010, 02:45 AM
How are videos embedded? You may be able to add replacement variables to change embedded videos to links?

iadventure
02-19-2010, 06:12 PM
Can't thank you enough! Got my mobi version all setup.

Rob F
02-20-2010, 05:02 PM
Had this installed and looking exactly how I wanted it, then upgraded to 4.0.2 and its destroyed everything. :(

Are you planning an updated version dartho or do you think a complete re-install might do the job for me?

dartho
02-20-2010, 08:30 PM
did vBulletin do an automerge or something? Can you undo or disable that?

reinstalling should fix

Stefanus
02-20-2010, 09:10 PM
....upgraded to 4.0.2 and its destroyed everything.

did vBulletin do an automerge or something? Can you undo or disable that?

reinstalling should fix

Thanks

Rob F
02-20-2010, 09:46 PM
did vBulletin do an automerge or something? Can you undo or disable that?
Dunno what they did, but once the upgrade was completed it told us we had to revert 71 different templates (44 of those were for the mobile style). I reverted just 1 to see if it would have an impact and the Forumhome was destroyed.

Will try the re-install route tomorrow evening when I've the energy

dartho
02-20-2010, 11:40 PM
ah - don't revert templates! reverting them tunrs them into vBulletin default style!

dartho
02-20-2010, 11:44 PM
If you want to get rid of the "Out of Date Templates" messages you can run the following query via "Maintenance=>Execurte SQL Query" the to get rid of those messages

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

UPDATE `DBNAME`.`template` SET `version` = '4.0.2', `mergestatus` = 'none' WHERE `template`.`styleid` =XX;

Rob F
02-21-2010, 07:35 AM
ah - don't revert templates! reverting them tunrs them into vBulletin default style!
Didn't see any other option at the time :o

Ah well, every day is a school day. Will just reinstall later :)

Rob F
02-23-2010, 03:42 AM
Have re-installed and so far appears to be working perfectly on 4.0.2 PL1 :)

struff
02-23-2010, 03:39 PM
Is there any way to remove videos from this style? It seems almost counter productive to have a style like this but it takes so long for pages to load because they have videos in them.

Thanks.

How are videos embedded? You may be able to add replacement variables to change embedded videos to links?
The videos are embedded using the [ video ] tag.

Thanks.

dartho
02-23-2010, 08:26 PM
Edit the bbcode_video template in teh mobile style and replace it's contents with:


<vb:if condition="$provider == 'hulu'">
<a href="http://www.hulu.com/embed/{vb:raw code}" target="_blank">Hulu Video</a>
<vb:elseif condition="$provider == 'youtube'" />
<a href="http://www.youtube.com/v/{vb:raw code}" target="_blank">Youtube Video</a>
<vb:elseif condition="$provider == 'vimeo'" />
<a href="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" target="_blank">Vimeo Video</a>
<vb:elseif condition="$provider == 'dailymotion'" />
<a href="http://www.dailymotion.com/swf/{vb:raw code}" target="_blank">Dailymotion Video</a>
<vb:elseif condition="$provider == 'metacafe'" />
<a href="http://www.metacafe.com/fplayer/{vb:raw code}.swf" target="_blank">Metacafe Video</a>
<vb:elseif condition="$provider == 'google'" />
<a href="http://video.google.com/googleplayer.swf?docid={vb:raw code}" target="_blank">Google Video</a>
<vb:elseif condition="$provider == 'facebook'" />
<a href="http://www.facebook.com/v/{vb:raw code}" target="_blank">Facebook Video</a>
</vb:if>

PrincessFiona
02-24-2010, 04:31 AM
I just installed on 4.0.1 and when I go to the style on my iphone the background is white and the forum links are blue. I tried logging in and it wouldn't take me back to the index page. When I clicked on the link to get me back it gave me a blank screen. I entered the URL myself and a logged in, but still there is no style showing up at all.

Is that what I should be seeing? Based on the pictures posted I thought there was more.

Kris

DivineMessenger
02-26-2010, 11:10 PM
Rename your wireless.css.txt to wireless.css

4nawadir.com
02-28-2010, 08:44 AM
Very Nice Man
Installed & Notaminated

PrincessFiona
02-28-2010, 05:34 PM
Divine Messenger,

Thank you so much. You were right. I thought I had fixed my css file, but I hadn't. Thank you very much for taking the time to respond to me and let me know you had responded. Greatly appreciated...and

Thanks for this mod.

Kris

Jabong82
02-28-2010, 10:21 PM
I am unable to upload this XML file (I have 4.0.2). It just says "Invalid File Specified". Any idea why this may be?

Rob F
03-01-2010, 12:33 AM
I am unable to upload this XML file (I have 4.0.2). It just says "Invalid File Specified". Any idea why this may be?
Did you tick the box to ignore version number?

archet1337
03-01-2010, 08:06 AM
Is there a way to display notices in this style?

Jabong82
03-06-2010, 08:25 PM
Did you tick the box to ignore version number?

How do you do that? I don't know where to find that option in my adminCP.

Thank you.

dartho
03-06-2010, 08:39 PM
Are you installing this as a product or style?

lilquit
03-10-2010, 03:34 AM
I activated this, but it still doesnt show when i look on my phone. how do i activate?

dartho
03-10-2010, 03:58 AM
You need to download and install it on your site.

lilquit
03-10-2010, 04:03 AM
i did, how do i make it so it automatically goes to this style from a mobile phone.

also, how do I make it so you dont have to log in to view threads?

dartho
03-10-2010, 05:46 AM
Logging in to view threads is style indpendant - that's your sites configurations placing those restrictions.

vBulletin.org is configuresd such that when a members downloads a modification, it disaplys a notice to the author of the modification accordingly. Same as when you click the "Mark as Installed" link. As fgar as I can tell, you have not downloaded this styel nor clicked the "Mark as Installed" (which makes no difference to functionality, so doesn;t really matter)

Anyway - assuming that vBulletin.org is wrong and to answer your question, install and configure this: https://vborg.vbsupport.ru/showthread.php?t=226946

we_are_borg
03-12-2010, 04:56 AM
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 ...

Thanks for making this theme.

The cms can be done but you need to lose the widgets as a compromise. Then the cms can be skinned for mobile devices, its not ideal but its mobile so its all there is.

tehtide
03-12-2010, 11:26 PM
Thanks to dartho for taking a look at the site. The main forum page renders correctly till it comes to the place where the vBulletin forum is inserted by vBAdvanced. At that point the all links are broken because the spaces are removed from the code! "a href=" becomes "ahref=" and spaces in the link names are stripped out.

The vBAdvanced pages work fine in other styles, and this style looks fine on my test forum that doesn't have vBAdvanced.

I don't have a solution and doubt that I will. I thought I'd post what I've learned in case someone else runs into the same problem.

I've got the same issue... have you found anything to correct it?

esa66
03-15-2010, 11:36 AM
I have this style installed and when listing New posts, links to Last page contain extra text "Array" like this:

http://www.matkapuhelininfo.com/f23/motorola-droid-sholes-milestone-54519/index22Array.html

dartho
03-18-2010, 11:46 AM
no solution for vbadvanced in 'integrated' mode. This was only designed for vBulletin forums, not portals/cms etc

esa66 - that page you linked to does not exist...

esa66
03-19-2010, 09:25 AM
esa66 - that page you linked to does not exist...

No, it does not, and this is the problem. The right link would be: http://www.matkapuhelininfo.com/f23/motorola-droid-sholes-milestone-54519/index22.html , that is, without the extra word "Array" in the end (http://www.matkapuhelininfo.com/f23/motorola-droid-sholes-milestone-54519/index22Array.html). I tried to install Mobile Style again, but the same problem continues.

unicorn2433
03-21-2010, 01:50 AM
Can you hide signatures and images in this version?

dartho
03-22-2010, 11:39 PM
See this post for hiding images: https://vborg.vbsupport.ru/showthread.php?p=1958001#post1958001

Tauhid
03-23-2010, 10:38 PM
is there anyway to disable the vbulletin built in-adsense from appearing in this mobile theme? I installed this and I am loving this option so does the members. Please do let me know if there is a way.

Gamertype
03-24-2010, 02:23 PM
I'm getting a invalid file specified when I upload the mobile-vbulletin-4.0.0-style.xml via admincp

I have the wireless.css in my forums root.

dartho
03-24-2010, 09:19 PM
@Tauhid - you will probably have to delete the ad hooks in the templates
@Gamertype - are you insatlling this via Style Manager or Product Manager?

Gamertype
03-24-2010, 09:59 PM
@Tauhid - you will probably have to delete the ad hooks in the templates
@Gamertype - are you insatlling this via Style Manager or Product Manager?

product manager

Gamertype
03-24-2010, 10:06 PM
Got it working...Is there a way to switch back and forth? Mobile to non-mobile?

dartho
03-25-2010, 12:33 AM
Install and configure this to add a linkto default style: https://vborg.vbsupport.ru/showthread.php?t=229044

InsomniacP
03-25-2010, 06:18 AM
I seem to get the error message saying that it's not compatible with 4.2?

dartho
03-25-2010, 07:20 AM
Choose to ignore style version when importing ...

InsomniacP
03-26-2010, 05:59 AM
oh ok thanks....

DJPushpu
04-03-2010, 08:09 AM
help me
after installing this style i got error in my user control panel
check this attachment .
how solve this
i have 4.02
plz help me:(

dartho
04-03-2010, 09:39 AM
looks like you have somehow got teh default header footer, but with teh mobile usercp ...

did you "merge" teh mobiole style into your main style?

I'd suggest reverting the usercp template

rootsxrocks
04-04-2010, 04:33 AM
I'm suprised the 450.00 I have invested in suite did not include some heavy mobility features. please tell me I just need to look for them?

kevin.kool
04-04-2010, 07:14 AM
working well.

thank you!

hydn
04-07-2010, 03:06 AM
Bug confirmed!

hydn
04-07-2010, 03:07 AM
No, it does not, and this is the problem. The right link would be: http://www.matkapuhelininfo.com/f23/motorola-droid-sholes-milestone-54519/index22.html , that is, without the extra word "Array" in the end (http://www.matkapuhelininfo.com/f23/motorola-droid-sholes-milestone-54519/index22Array.html). I tried to install Mobile Style again, but the same problem continues.

confirmed

hydn
04-07-2010, 04:11 AM
Quick reply causes looping on Blackberry:
http://youtube.com/watch?desktop_uri=%2Fwatch%3Fv%3DdSJWNpu_cpg%26sns %3Dfb&sns=fb&v=dSJWNpu_cpg&gl=CA

Kingdombuilder
04-07-2010, 08:44 PM
Awesome work with the mobile style and all the fixings, works like a charm for me. I was wondering if anyone could give me the code for a register link in my navbar that would be present when visitors are not logged in and disappear when members log in. I would greatly appreciate any help with this.

EDIT:
I got it thanks

OTAU
04-08-2010, 05:34 AM
Nice. I installed this to test things out with the plan on completely modifying it. I am yet to leave any of your code in the sections I have modified however it sure simplified things for me (I didn't have to go through every template deleting loads of stuff). The CSS file in the root directory is great also!

https://vborg.vbsupport.ru/external/2010/08/30.png

Or the entire view: http://i44.tinypic.com/s15jsp.png (Put 2 images together).

Still a long way to go, but the index is nearly finished, few obvious bugs but overall the focus at the moment is the design. And this is the perfect base for anyone wanting to create their own Mobile theme.

Thank you!

spipo
04-11-2010, 02:10 PM
style not compatible with the version 4.0.3

some updates are necessaries ..

Fungsten
04-11-2010, 03:48 PM
style not compatible with the version 4.0.3

some updates are necessaries ..

Then click the ignore version.

tehQspm
04-12-2010, 08:03 AM
I have a weird issue, when I use this style no attachments show up in posts. For some reason inside the postbit templates the attachments are being parsed through {vb:raw post.message} and the img tag is somehow being converted to an anchor, which is already wrapped around an anchor.
<a href="attachment link"...><a href="attachment thumbnail"... /></a>

I can't figure out why because everything shows up normally when I switch to the default style.

The attachment templates themselves are being completely ignored in this style and for some reason the attachments are being parsed inside the post content.

EDIT: I've discovered it only seems to affect attachments posted as INLINE attachments.

EDIT: I've found it. There's custom replacement variables that are converting inline images to anchors.

cmeinck
04-14-2010, 10:45 PM
Nice. I installed this to test things out with the plan on completely modifying it. I am yet to leave any of your code in the sections I have modified however it sure simplified things for me (I didn't have to go through every template deleting loads of stuff). The CSS file in the root directory is great also!

https://vborg.vbsupport.ru/external/2010/08/30.png

Or the entire view: http://i44.tinypic.com/s15jsp.png (Put 2 images together).

Still a long way to go, but the index is nearly finished, few obvious bugs but overall the focus at the moment is the design. And this is the perfect base for anyone wanting to create their own Mobile theme.

Thank you!

That looks great. Would you mind sharing your CSS?

Alex@Mk3OC
04-19-2010, 01:16 PM
Do subscribed threads work in this as have a user reporting that his aren't showing when he goes to his usercp?

H_CAGE
04-19-2010, 03:17 PM
there is no automatic style changer in this , right ?

BadgerDog
04-20-2010, 09:48 PM
Running vb4.03 ...

Anyone know why I get this strange text in the top left corner of the screen when using the v4 Mobile skin?

{$vbulletin->options['mo37_home_link_text']}

I think (not sure), it's supposed to be displaying the a link to the "Forum Home Page"?

Thanks for any feedback ... :)

Regards,
Badger

War.Frog
04-20-2010, 11:06 PM
Running vb4.03 ...

Anyone know why I get this strange text in the top left corner of the screen when using the v4 Mobile skin?

{$vbulletin->options['mo37_home_link_text']}

I think (not sure), it's supposed to be displaying the a link to the "Forum Home Page"?

Thanks for any feedback ... :)

Regards,
Badger

Yeah, dartho posted a fix for this in the Mobile Style Options mod. Here ya go:

https://vborg.vbsupport.ru/showpost.php?p=2023076&postcount=105

BadgerDog
04-20-2010, 11:43 PM
Yeah, dartho posted a fix for this in the Mobile Style Options mod. Here ya go:

https://vborg.vbsupport.ru/showpost.php?p=2023076&postcount=105

Thank you Sir .. :)

Much appreciated...

Regards,
Badger

BadgerDog
04-21-2010, 08:30 PM
Got it running on my iPhone .... :)

Original v3 on our production site. (love it and been using it for months)
New v4 on our devforum (seems to work great too)

However, the difference between the two fonts is incredible?

Same iPhone with Safari browser and v4 is so large I don't even need my bifocals .. :D

How do I get the v4 font size to be the same as the old v3 font size is?

Thanks for any advice ...

Regards,
Badger

dartho
04-21-2010, 09:14 PM
copy the wireless.css from your 3.8 site to your 4.0 site

BadgerDog
04-21-2010, 09:33 PM
copy the wireless.css from your 3.8 site to your 4.0 site

Thanks ... :)

Will do ... :up:

Regards,
Badger

starli
04-24-2010, 10:38 AM
i have still a problem...

i use the addon "every sidebar".
how can i hide the sidebar on other pages at the mobile style?

http://img541.imageshack.us/img541/9867/34992234.jpg

dartho
04-24-2010, 09:17 PM
Install this Mobile Style Options (https://vborg.vbsupport.ru/showthread.php?t=229044) Add the following code to teh "Disable Addons" section
//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;
$bbandSBactive=0;

MikeWarner
04-25-2010, 08:13 AM
Hi - I've tried installing mobile style options, but it isn't working. How can I disable everywhere sidebar without installing mobile style options? Thanks.

Any info on when the 4.0.3 version will be available?

Filgga
04-30-2010, 10:51 AM
How do I uninstall this product? It has caused a disaster to my board!

dartho
04-30-2010, 12:31 PM
it's not a product, it's a style. I can;t see how it could cause a disater - you either like it or not. Remove via style manager.

riskofficer
05-01-2010, 06:31 PM
there is no automatic style changer in this , right ?

I have got the same question, It will be nice if style autochanges to mobile, when you are from mobile. Any suggestions?

lowfd
05-04-2010, 03:36 AM
Any way to stop images (attachments and also images linked in using IMG tags) from displaying? I had this theme on VB3.8 and it used to automatically remove the images and have links to their URL's instead?

dartho
05-04-2010, 06:25 AM
See here:
https://vborg.vbsupport.ru/showthread.php?p=1958001&highlight=replacement#post1958001

dartho
05-07-2010, 01:40 AM
from those screen shots, it looks like you've removed style copyright notices from http://www.xfalcon.com/forum/forum.php

lowfd
05-07-2010, 10:15 PM
I have indeed. I found out the problem was caused by an image resizer mod I had loaded.
Thanks anyway.

tafreeh
05-07-2010, 11:15 PM
i think you forgot to add new private message option

dartho
05-07-2010, 11:28 PM
I found out the problem was caused by an image resizer mod I had loaded.

Yes - I worked that out pretty quickly after visiting your site, but figured if you're not willing to support me, why should I support you?

@ tafreeh - I'll look at the PM notification

kmohamed
05-08-2010, 04:39 AM
luv it thanx x

Bounce
05-11-2010, 06:11 PM
hi Dartho,

Most excellent style for phones chief :)

However, after upgrading from vb3 to vb4 I'm getting this still showing?

{$vbulletin->options['mo37_home_link_text']}, where do I sort that please?

Thanks

dartho
05-11-2010, 09:22 PM
sorry - thats a bug in the style which shows up with the 'mobile options' add-on, Edit the navbar template in the mobile style and replace.


<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>with
<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>

there are a couple others which are addressed in previous pages. check the following posts to see if they apply to you:

https://vborg.vbsupport.ru/showthread.php?p=1989915#post1989915

https://vborg.vbsupport.ru/showthread.php?p=1977789#post1977789

https://vborg.vbsupport.ru/showthread.php?p=1962817#post1962817

https://vborg.vbsupport.ru/showthread.php?p=1946741#post1946741

tafreeh
05-12-2010, 05:33 AM
can you also add Visitor Messaging system too.. Please

Edit: also add quote button in post .. thanks :)

Bounce
05-12-2010, 05:50 PM
there are a couple others which are addressed in previous pages. check the following posts to see if they apply to you:




Brilliant mate, the jump to last post and quotes I had issues with, sorted now, thanks muchly.

Michlerish
05-12-2010, 08:39 PM
Installed this, but couldn't change style back to default once using this one!

syrn
05-15-2010, 02:55 AM
msg recived ......


This file was created using a different version of vBulletin from the one you are running.

Your version: 4.0.3
File version: 4.0.99


so what i can do ???

dartho
05-15-2010, 04:41 AM
choose to ignore style version...

Charis
05-15-2010, 06:17 AM
Hi,

I use the add on "every sidebar" and I 've the same problem with starli (https://vborg.vbsupport.ru/showpost.php?p=2026423&postcount=177), in search page.

I followed the istructions you gave
Install this Mobile Style Options (https://vborg.vbsupport.ru/showthread.php?t=229044) Add the following code to teh "Disable Addons" section
//disable everywhere sidebar
$vbulletin->options['esidebar_switch']=0;
$bbandSBactive=0;
but the problem remains.

Any idea?

Thanks in advance.

dartho
05-15-2010, 06:56 AM
could you link me to the actual mod you are using which you'd like disabled?

sweetguy2004
05-15-2010, 08:26 PM
Thanks i will try this soon

Charis
05-16-2010, 04:33 PM
could you link me to the actual mod you are using which you'd like disabled?

https://vborg.vbsupport.ru/showthread.php?t=233871

momon
05-16-2010, 06:25 PM
Is anyone using 4.0.3 able to report if this working okay?

CvP
05-17-2010, 04:31 AM
working fine.

btw, dartho, you might wanna add "display: inline" for tag li elements.
or better yet, remove tags from mobile display.

waderow
05-17-2010, 11:37 PM
if I already have a custom style, will I be able to also have a mobile style that only works if it senses a mobile device? or am I stuck with generic style for PC, and mobile style for handheld?

dartho
05-18-2010, 12:37 AM
you can have as many different styles as you wish...

demonfatal
05-18-2010, 05:06 PM
Please who can explain why when I try to edit the "forumhome" template I get this error:
The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

momon
05-18-2010, 07:48 PM
Hi,

I use the add on "every sidebar" and I 've the same problem with starli (https://vborg.vbsupport.ru/showpost.php?p=2026423&postcount=177), in search page.

I followed the istructions you gave

but the problem remains.

Any idea?

Thanks in advance.

I have this same problem. The disable code above did not work for me either. using the same mod as reported by the user above.

momon
05-18-2010, 07:54 PM
I have this same problem. The disable code above did not work for me either. using the same mod as reported by the user above.

I was able to easily solve this problem. The mod reported above has an option to ignore for specific styles. Just enter your mobile style ID in there and problem solved.

Charis
05-19-2010, 07:42 AM
Thanks momon.
I had not noticed that option.

FractalizeR
05-19-2010, 08:34 AM
This style has templates in v3 format. "Mark forums read" don't work (template needs to be corrected).

FractalizeR
05-20-2010, 07:24 AM
Try to mark all forums read ;) It will throw error.

dartho
05-20-2010, 08:16 AM
Edit the ForumHome template for teh mobile style, search for
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

NNJJ
05-20-2010, 01:42 PM
i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks

WhiskeyOSS
05-20-2010, 01:58 PM
i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks


I have the same problem..

dartho
05-20-2010, 09:45 PM
it's just a style, you need to select it. I suggest you also install https://vborg.vbsupport.ru/showthread.php?t=229044 and if you want some mobile detection, this: https://vborg.vbsupport.ru/showthread.php?t=226946

FractalizeR
05-21-2010, 06:31 AM
Edit the ForumHome template for teh mobile style, search for
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

NNJJ
05-21-2010, 09:30 AM
can we have this by auto mobile?

dartho
05-21-2010, 10:21 AM
Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

dartho
05-21-2010, 10:21 AM
can we have this by auto mobile?

I'm sorry - could you re-phrase that, I'm not sure I understand

NNJJ
05-21-2010, 12:04 PM
when i visit my site via blackberry its still show the pc style; meaning i have to choose the mobile style
any chance that the mobile style will be default for any one visit website from mobile
user dont need to switch to mobile style it will be dedicated mobile style by auto

FractalizeR
05-21-2010, 12:44 PM
I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

No, I can edit other templates ok. Can you publish a style with this correction applied?

dartho
05-21-2010, 08:27 PM
when i visit my site via blackberry its still show the pc style; meaning i have to choose the mobile style
any chance that the mobile style will be default for any one visit website from mobile
user dont need to switch to mobile style it will be dedicated mobile style by auto

I suggest you also install https://vborg.vbsupport.ru/showthread.php?t=229044 and also for want some mobile detection, this: https://vborg.vbsupport.ru/showthread.php?t=226946

NNJJ
05-22-2010, 08:32 AM
https://vborg.vbsupport.ru/showthread.php?t=229044
this one installed already

and for this one
https://vborg.vbsupport.ru/showthread.php?t=226946
its for vB Version: 3.8.4
my version is 4.3

dartho
05-22-2010, 09:53 PM
and for this one
https://vborg.vbsupport.ru/showthread.php?t=226946
its for vB Version: 3.8.4
my version is 4.3

It works

steven s
05-23-2010, 08:35 PM
My members like this better than tapatalk.
Thanks!
Now to install it on my 3.8.5 board too.

NNJJ
05-24-2010, 05:00 PM
It works



nice thanks!!

tafreeh
05-25-2010, 03:27 AM
can you make VSA-Chatbox work with this style please.. or any other chatbox

Skyrider
05-25-2010, 05:37 AM
Can you make it so that you can switch / choose styles? I can't find the option.

dartho
05-25-2010, 08:30 AM
Install https://vborg.vbsupport.ru/showthread.php?t=229044 for extra options

dartho
05-26-2010, 10:02 PM
can you make VSA-Chatbox work with this style please.. or any other chatbox

You should probably ask in the chatbox threads...

jmwking
05-27-2010, 05:10 PM
I really like this mobile style, and the two other mods to help manage it. I do have a couple questions, though.

What would be the template code to add the "add infraction" and "report post" links, in a similar format to the [Edit] and [Reply] links, perhaps [Report] and [Infract] or some such?

How can I add an appropriate [New] link to a thread title to get it to jump to the first new (unread) post in a thread?

thanks,

-jk

dartho
05-27-2010, 10:02 PM
There's a few things which I need to update in here - check here for the jump to last : https://vborg.vbsupport.ru/showthread.php?p=1977789#post1977789

I;ll get back to you on the others, "report" is easy enough. Infract may not be

jmwking
05-28-2010, 12:59 PM
There's a few things which I need to update in here - check here for the jump to last : https://vborg.vbsupport.ru/showthread.php?p=1977789#post1977789

I;ll get back to you on the others, "report" is easy enough. Infract may not be

Thanks.

If I manually add (board)/infraction.php?do=report&p=x to the url, I was able to give an infraction to post x. It can work at some level.

It wasn't pretty, though: after submitting the infraction, it remained on the same "give infraction" page so I couldn't really be sure it worked. When I navigated back to the page, though, the post did have the infraction.

-jk

jmwking
06-01-2010, 01:05 PM
I'm adding a bit of functionality back to this very useful style, building for a smart phone with a larger screen - i.e., iphone, blackberry, or android.

I pulled language from the default postbit template, trimed it down, and added to the mobile postbit template. I thought I'd document my efforts here if anyone else wanted to use them.

Issue infraction or warning:<vb:if condition="$show['infractionlink']"><a href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}">[Infract]</vb:if>

Show received infraction or warning:<vb:if condition="$show['redcard']"><a href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}">[Red]</a>

<vb:elseif condition="$show['yellowcard']" /><a href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}">[Yellow]</a></vb:if>

Report post: <vb:if condition="$post['reportlink']"><a href="{vb:raw post.reportlink}">[Report]</a></vb:if>


I still need to work on the infraction page itself - it won't show that the infraction actually gets issued, though it does issue it.

Continuing my documentation, I added a "view deleted thread" link in threadbit_deleted:

<vb:if condition="$show['viewthread']"><a href="showthread.php?{vb:raw thread.threadid}">[{vb:rawphrase view}]</a></vb:if>

-jk

FractalizeR
06-02-2010, 10:00 AM
Can you post resulting xml file with complete style? I want it upgraded too ;)

jmwking
06-03-2010, 02:41 AM
Can you post resulting xml file with complete style? I want it upgraded too ;)

I'll be happy to share when I'm mostly done with it, but I'm not sure it would be proper. I think I'd like to get an OK from the original poster first, and add a large caveat that I'm new at this stuff.

-jk

FractalizeR
06-03-2010, 06:52 AM
Ok ;) waiting for it ;) BTW, did you fix "Mark posts as read" link?

dartho
06-03-2010, 09:16 AM
Fract - Did you see my reply to your post on this here https://vborg.vbsupport.ru/showpost.php?p=2040400&postcount=212

This and otehr fixes/updates will be incorporated in a future release, but jmwking's additions may not.

However, jmwking is welcome to post attachments in this thread, these of course won't get updated as this style does. If I work on templates associated with these edits, then that's another story - but I don;t have plans to in the immediate future.

Best bet is to summarise all your edits in a single post (go back and re-edit it) and I"ll add a link to it in the first post for those that are interested.

texasteamplayer
06-03-2010, 05:42 PM
sideblock everywhere mod pushes sideblock into this when viewing profile and other pages (groups, I think as well). come to my forum and see.

dartho
06-03-2010, 09:19 PM
could you link me to the mod?

Boots
06-03-2010, 09:27 PM
This may have been mentioned already but how about a quote feature :)

FractalizeR
06-04-2010, 06:35 AM
Fract - Did you see my reply to your post on this here https://vborg.vbsupport.ru/showpost.php?p=2040400&postcount=212
Yea, thanks. Just on my version of VB, I can't edit mobile style templates because of some error. VB always says, that some bracket is missing and refuses to save template. So, I am just waiting for fixed xml style file.

jimmy_spliff
06-07-2010, 06:13 AM
thanks alot

raagaswaram
06-07-2010, 08:10 AM
how to make vsachatbox to work on this template?.

raagaswaram
06-08-2010, 12:04 PM
At top header it shows like this instead of Home as "{$vbulletin->options['m037_home_link_text']}".How to solve this?.

dartho
06-08-2010, 12:39 PM
Sorry.

This shows up if you have the mobile options addon installed in addition to this - I'll post a new version up soon, but in the mean time edit the navbar template in the mobile style and replace

<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>

with

<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>

HappyFeet
06-08-2010, 05:36 PM
@dartho, I have this style installed along with the optional add-on and it works great!

However, I have the Random Album Picture mod enabled which runs globally across all my styles above the forums... Just wondering if there is a way to disable it in this style only. I know this isn't a problem with your style, it works perfectly, just thought I'd get your opinion...

Thanks for this mobile style, I have needed it! :up:

dartho
06-08-2010, 10:30 PM
could you link me directly to the mod you are using - there are several...

McMendo
06-10-2010, 08:23 PM
I've tried it but I've found two problems:

If a member (or a visitor) chooses to try the style from a computer (not a mobile phone), he can't revert afterwards to another style because there is no style chooser available in the style.

If he visits the top domain page, this is the cms and the link to the forums doesn't work.

dartho
06-10-2010, 10:04 PM
Install "Mobile Style Options" and configure the style chooser https://vborg.vbsupport.ru/showthread.php?t=229044 and also edit the navbar template in the mobile style and replace

<a class="navbar" href="{vb:raw $vbulletin->options['mo37_navbar_home']}{vb:raw session.sessionurl_q}">{$vbulletin->options['mo37_home_link_text']}</a>

with

<a class="navbar" href="{vb:raw vboptions.mo37_navbar_home}{vb:raw session.sessionurl_q}">{vb:raw vboptions.mo37_home_link_text}</a>

This fixes a bug in the style. I'll be releasing an update real soon to address this.

dartho
06-10-2010, 10:05 PM
Yea, thanks. Just on my version of VB, I can't edit mobile style templates because of some error. VB always says, that some bracket is missing and refuses to save template. So, I am just waiting for fixed xml style file.

Found the issue, when editing forum home, also search for <div class="navbar">{vb:rawphrase todays_events</div>


and replace with

<div class="navbar">{vb:rawphrase todays_events}</div>

then search for
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>