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)

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

Quote:

Originally Posted by grc (Post 1967161)
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

Quote:

Originally Posted by testbot (Post 1977611)
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:

HTML Code:

<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

HTML Code:

<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>

Quote:

Originally Posted by Steelersfan
Hey dartho, skin works great! Question though. Is there no "quote" option? Or am I missing it?

Edit the newreply template and replace

HTML Code:

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

<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

Quote:

Originally Posted by Gene Steinberg (Post 1977785)
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

Quote:

Originally Posted by dartho (Post 1977790)
Choose to ignore version numbers when importing.

I'll try that.

Peace,
Gene

Gene Steinberg 02-08-2010 09:41 PM

Quote:

Originally Posted by dartho (Post 1977790)
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

Quote:

Originally Posted by dartho (Post 1977839)
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

Quote:

Originally Posted by dartho (Post 1977868)
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

Quote:

Originally Posted by dartho (Post 1977901)
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

Quote:

Originally Posted by dartho (Post 1977964)
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

Quote:

Originally Posted by Gene Steinberg (Post 1977966)
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

Quote:

Originally Posted by dartho (Post 1977789)
Edit the newreply template and replace

HTML Code:

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

<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

Quote:

Originally Posted by dartho (Post 1977789)
Edit the threadbit template, find:

HTML Code:

<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

HTML Code:

<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

HTML Code:

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

<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

Quote:

Originally Posted by Jackie1 (Post 1977969)
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

Quote:

Originally Posted by Rob F
....upgraded to 4.0.2 and its destroyed everything.

Quote:

Originally Posted by dartho (Post 1987599)
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

Quote:

Originally Posted by dartho (Post 1987599)
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


All times are GMT. The time now is 03:16 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.02407 seconds
  • Memory Usage 1,835KB
  • 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
  • (10)bbcode_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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