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 - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

dartho 08-27-2010 11:39 AM

Quote:

Originally Posted by djawir (Post 2090298)
today found error on nokia 5530 browser

when open showthread page get error /clientscript/post_thanks.js line:27
error: ReferenceError: Can't find variable: vB_Default_Timeout

"post_thanks" That's nothing to do with this style.

dawges 08-27-2010 05:32 PM

Thanks so much! My users have been really wanting a better style for modern phones. Installed and works great!

BadgerDog 08-27-2010 11:15 PM

Hi .. :)

I'm trying to move from the OLD 1.0.3 style to this new one ...

I downloaded the ZIP file and unzipped it....

The last step in the install instructions says:

Upload contents of "Forum" folder to your forum root.

I see no folder in my unzipped v1.01 that is called "Forum"?

I don't want to overwrite the OLD 1.0.3 currently working version with this new version and screw it up, without really understanding how to install this new version first. :D

Thanks for any help .. :)

Regards,
Badger

dartho 08-27-2010 11:40 PM

Sorry BadgerDog, I corrected instructions to read:
Upload contents of the zip file (exluding the XML file) folder to your forum root.

[edit: The only thing you need to take care with is if you have both "Mobile Style Options", and "Lightweight Style Options" They can work together, but it would need to be tweaked a little (simply disabling one plugin would do it).]

asj 08-28-2010 02:28 AM

Excellent https://vborg.vbsupport.ru/external/2012/01/12.gif
Thank you very much

Mopar Rob 08-28-2010 02:35 PM

Quote:

Originally Posted by Fungsten (Post 2089503)
Make sure you put in the PC style ID in the XXX. ALSO! Make sure all of this is highlighted:



and not just the first line when you replace the code. BTW there are TWO lines in the template and not one.

Thanks Man!!! Everything is working, just need to figure out how to access the new options xml that I merged.

LuisManson 08-28-2010 03:04 PM

im having a hardtime getting the CSS work :S
i see:
Code:

body { color: ; background:; margin: 0px; font-size
..

maybe its the short tag thing...
i also dont see right <?=$varname is there any trick there?

LuisManson 08-28-2010 03:15 PM

got it, short tag should be on, but this is only for backward compatibility with php4 or 3 but this is almost deprecated :(

dartho 08-28-2010 10:09 PM

Thanks Luis, I've added an alternative CSS to the 2nd post on this thread which you can use instead.

Kaitou Ace 08-28-2010 11:32 PM

Great style!
If I could have a request, I'd love to see support for the vb Blog module.

conradk 08-29-2010 04:07 AM

Thanks also. I reversed most of the colors and darkened the borders for a darker look. Following the comments in the css helped out quite a bit. I've got both the og mobile style and this new one installed for now until I can figure out how to modify the navbar links, and add a link to the 'brighter' style.

http://www.aircoolers.org/v/forum.php?styleid=13

dartho 08-29-2010 04:33 AM

looking good, conradk!

ngkong 08-29-2010 06:38 AM

any plan to support vbull CMS?

it pops:

Quote:

Your submission could not be processed because a security token was missing.<br />
<br />
If this occurred unexpectedly, please <a href="sendmessage.php">inform the administrator</a> and describe the action you performed before you received this error.

BadgerDog 08-30-2010 12:25 PM

Quote:

Originally Posted by dartho (Post 2090544)
Sorry BadgerDog, I corrected instructions to read:
Upload contents of the zip file (exluding the XML file) folder to your forum root.

[edit: The only thing you need to take care with is if you have both "Mobile Style Options", and "Lightweight Style Options" They can work together, but it would need to be tweaked a little (simply disabling one plugin would do it).]

Thanks .. :)

Can I just import and overwrite your old style with this new one, then import the new "Lightweight Style Options" XML and that should do it to completely replace the old one that's been discontunued?

Regards,
Badger

dartho 08-30-2010 01:07 PM

mmm... probably :)

However, my suggestion would be to install it as a new style with no parent.

g0dfather1984 08-30-2010 05:20 PM

Nice! Thank you for this!

LuisManson 08-30-2010 05:35 PM

thanks dartho!!!

whites 08-31-2010 09:49 PM

Can we get some basic mod tools in this as well? I have some mods that move a lot of posts and are unable to do so using this style.

dartho 09-01-2010 12:33 AM

You already have basic mod tools such as edit / manage / move threads. Click on the "Edit" button next to the thread name, and then you'll see a "Move this Thread" button down the bottom :)

phreebsd 09-01-2010 11:53 AM

do you have this one for a 3.8.x forum?

whites 09-01-2010 02:49 PM

Quote:

Originally Posted by dartho (Post 2092235)
You already have basic mod tools such as edit / manage / move threads. Click on the "Edit" button next to the thread name, and then you'll see a "Move this Thread" button down the bottom :)

Ah, very cool. I missed that I guess. Thanks!

Wilfred1 09-05-2010 03:02 AM

1 Attachment(s)
Doesn't seem to be working for me as the css is not right nor are the forums shown as links:
Attachment 121599

dartho 09-05-2010 04:30 AM

I am guesing PHP does not have short tags enabled - see post 2 for an alternative CSS file to download https://vborg.vbsupport.ru/showpost....87&postcount=2

Wilfred1 09-05-2010 05:31 AM

Thanks Dartho, but that didn't work...still seeing just a list of forums in text but not links...everything else seems to work ok though

dartho 09-05-2010 05:38 AM

I've had a check of your site, and something is editing or has edited the templates on your forum home. The CSS is right, but the space has been removed from the div containers. eg: <div class="titlebg"> has become <divclass="titlebg">

I am guessing you have an addon which changes forumhome which is doing something here

Wilfred1 09-05-2010 08:22 AM

Now that is strange...could it be VBSEO or Sorky's subforum list (https://vborg.vbsupport.ru/showthread.php?t=233084)? The style was added without any parent style - I assume that is correct? The templates are correct so it is somewhere between calling the templates up and the screen

dartho 09-05-2010 08:57 AM

Dunno - I'd try disabling them briefly to see what happens

sbsforum.us 09-05-2010 02:18 PM

Great style. Thank you!

jpwilliams 09-06-2010 02:15 AM

Quote:

Originally Posted by benstillman (Post 2089883)
Think I answered my own question, at least one way of doing it.

Edit adv_portal template for the new mobile style. Replace all of it with:

Code:

{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>

<meta http-equiv="refresh" content="0;url=forum.php">

</html>

Works great.

I want the lightweight style to go to my forums by default instead of my CMS. I can't find the "adv_portal" template this user said he changed. Is there another way to get the lightweight style to default to the forum instead of CMS?

Edit: Just noticed he was using VBAdvanced CPMS.

Is there a way to get the lightweight style to default to the forums instead of the default CMS that comes with vbulletin I guess is the appropriate question.

Wilfred1 09-06-2010 02:56 AM

Quote:

Originally Posted by dartho (Post 2094008)
Dunno - I'd try disabling them briefly to see what happens

I think I have found the issue...it seems this mod may not work with vBAdvanced CMPS when you have your forums page integrated

dartho 09-06-2010 11:05 AM

Quote:

Originally Posted by jpwilliams (Post 2094381)
I want the lightweight style to go to my forums by default instead of my CMS. I can't find the "adv_portal" template this user said he changed. Is there another way to get the lightweight style to default to the forum instead of CMS?

Edit: Just noticed he was using VBAdvanced CPMS.

Is there a way to get the lightweight style to default to the forums instead of the default CMS that comes with vbulletin I guess is the appropriate question.

You could edit the vbcms_page template and replace all with something like:
Code:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
        {vb:raw headinclude}
        <title>{vb:raw vboptions.bbtitle}</title>
</head>
<body>
<div class="bodywrapping">
{vb:raw header}
{vb:raw navbar}
<div><a href="forum.php">CMS Disabled in Mobile View, please click here to proceed to forum</a>
</div>
{vb:raw footer}
</div>
</body>
</html>


dartho 09-06-2010 11:07 AM

Quote:

Originally Posted by Wilfred1 (Post 2094392)
I think I have found the issue...it seems this mod may not work with vBAdvanced CMPS when you have your forums page integrated

There is probably a way to disable vbadvanced for a specific style - I'll do a quick search, but you may want to check over at vbadvanced.com

HolyKiller 09-06-2010 04:41 PM

Awesome template, thanks !

LuisManson 09-08-2010 04:19 PM

my version does not have the "pc version" on top.... any ideas?

dartho 09-08-2010 08:51 PM

Install and configure https://vborg.vbsupport.ru/showthread.php?t=249339

swiftor 09-10-2010 01:47 PM

I installed both this and the options mod, although when loading up my site on the iphone4 at least, it still loads the default PC style instead of the light weight style.

In options I specified the lightweight style as the one to load for mobiles.

Any thoughts on how I can fix this up so lightweight loads automatically on mobile devices?

Site is http://swiftor.com

dartho 09-10-2010 09:10 PM

this add-on : https://vborg.vbsupport.ru/showthread.php?t=249967 does the mobile device detection

swiftor 09-10-2010 09:30 PM

Ah, sorry that I missed that. Thanks!

Quote:

Originally Posted by dartho (Post 2096427)
this add-on : https://vborg.vbsupport.ru/showthread.php?t=249967 does the mobile device detection


struff 09-12-2010 05:43 PM

A couple of questions:

1) Is there a way to reduce the size of images or suppress them altogether?

2) Sometimes videos show up as the entire video and sometimes just a link "Youtube Video". Any idea why?

3) (probably a really stupid thing that I am overlooking because I am sleepy and it's not necessarily about this product alone) Any idea how I can change the styleid number? I'd like it to be the number of the old Mobile style I had.

Thanks.

dartho 09-12-2010 09:34 PM

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

2. DO you have any media embedding plugins? The videos natively supported by vBuilletin would show as links, but of you have AME or other BBCODE, it would show as a video.

3. You could proably edit the database, but I am not sure of any consequences of this. Otherwise you could probably overwrite the old style and it would retain the same ID number


All times are GMT. The time now is 09:55 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.02415 seconds
  • Memory Usage 1,826KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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