PDA

View Full Version : Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA


Pages : [1] 2

dartho
05-17-2011, 10:00 PM
A few have asked for this, hope you like it.

As the title suggests, this is a lightweight style for vBulletin 3.8.7 (and probably most versions before that - A quick test showed it also working under vBulletin 3.7.7!)

It's lightweight (low bandwidth) and works well on most handheld / mobile devices. Some have been know to use it on their desktops and I personally use it for Google as a way of significantly reducing the bandwidth they use.

====================
Install Instructions
====================

Backup
Download and extract ZIP file locally
Upload contents of forum folder to your forum root
Go into your AdminCP->Style Manager->Download / Upload Styles
In the "Import Style XML File" section browse to "lightweight-vbulletin-3.8.7-style.xml" (extracted form the zip file)
If you are running a version of vbulletin other than 3.8.7, select Yes in "Ignore Style Version"
Click the "Import" button.
Edit the header template and change the 2nd line to reflect the Style ID of your default style and location of your home page (forum.php or index.php) and text for the anchor (Default Style).
<a class="toplinks" href="$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=1">Default Style</a>
Return to vBulletin.org and click "Mark as Installed"
Reply to this thread leaving feedback and a rating

====================
Release History
====================
18th May 2011 - 1.0.0 Initial Release
20th May 2011 - 1.0.1 Bug Fixes and enhancements


====================
Screen Shots
====================
https://vborg.vbsupport.ru/attachment.php?attachmentid=129195&stc=1&d=1305693901 https://vborg.vbsupport.ru/attachment.php?attachmentid=129197&stc=1&d=1305694377

====================
Branding Free
====================
If you wish to remove the branding/copyright notice from the footer - send me a donation of an amount you can afford, or that you think is fair/reasonable, it's up to you how much. (can't get much fairer than that) You can do this by clicking the "Support Developer" link above (a few lines below the "Mark as Installed" link).

====================
Bugs fixes for next release
====================
Issue:
extra "> in template forumhome_forumbit_level2_nopost
Resolution:
Search for
<div class="windowbg">">
Replace with
<div class="windowbg">

Issue:
Inconsistencies in disaplying locked forums
Resolution:
See this post (https://vborg.vbsupport.ru/showpost.php?p=2219425&postcount=83)

Thanks.

BirdOPrey5
05-18-2011, 11:20 AM
This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!

viper357
05-18-2011, 12:09 PM
Top class, looks very neat and smart, thanks. :) Just one thing I had to do different to your instructions was to have my Default Style a parent of this style to stop the random album images mod (https://vborg.vbsupport.ru/showthread.php?t=194827) from displaying at the top. Apart from that everything else seems to be 100%

dartho
05-18-2011, 12:25 PM
This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!

I still haven't upgrade to 4 yet, I think I'll stick with 3.8 for life :rolleyes:

I just (quickly) tested this, and it also works on 3.7

@Viper - you could also write a plugin to disable that add-on if this style is used:

Title: Disable Products For Lightweight Style
Hook:style_fetch
//replace x below with the styleid of lightweight style
if (STYLEID==x) {
// Disable "Latest Album Pictures - Forum Home"
$vbulletin->options['afm_onoff']=0;
}

Edit - in the above, if it doesn't work, try the following code (one of them should work)
//replace x below with the styleid of lightweight style
if ($styleid==x) {
// Disable "Latest Album Pictures - Forum Home"
$vbulletin->options['afm_onoff']=0;
}

viper357
05-18-2011, 12:43 PM
Perfect, thanks Dartho. I'll give that a try.

BirdOPrey5
05-18-2011, 01:10 PM
dartho- I'm not following the logic of when a thread is highlighted in light blue in showthread and when its not. I know bold means unread but what does the highlight indicate?

Edit: Actually I'm not sure about the bold either...

Also with regards to the Default Style link, if you -or anyone interested- use this code it will keep the user on the same URL when changing back to the default style:
<a class="toplinks" href="$_SERVER[PHP_SELF]?<if condition="$_SERVER['QUERY_STRING']">$_SERVER[QUERY_STRING]&amp;</if>styleid=1">Default Style</a>

dartho
05-18-2011, 01:19 PM
If you link me up with an example, I could look. via PM is OK.
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.

To fix, edit the CSS, search for
.new, ._new, .forumnewreplace with
.new, ._new, .forumnew, ._hot_new, ._dot_hot_newsearch for
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_newreplace with
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_new, .thread_hot_new, .thread_dot_hot_new

Thanks for the code for default style link, I'll put that in.

BirdOPrey5
05-18-2011, 01:48 PM
Thanks. :up:

MikesSite
05-18-2011, 02:11 PM
Amazing! Can't wait to install. Thanks. Long live vB 3.X!!!!!

The Dawg
05-18-2011, 03:13 PM
Good stuff. Thank you!

Beretta1526
05-18-2011, 04:45 PM
I just installed this on vB 3.8.5 a few minutes ago. I'll see if I get any feedback from my members that could be helpful. I manage the forum from mobile quite a bit, and this is great.

It's lightweight (low bandwidth) and works well on most handheld / mobile devices. Some have been know to use it on their desktops and I personally use it for Google as a way of significantly reducing the bandwidth they use.

I would be interested in how to force search engines, robots, spiders, etc. to use this version. I've hacked mine so that a non-member cannot see the "style chooser" on my page, but that shouldn't matter I suppose.

THANK YOU!!!

.

Beretta1526
05-18-2011, 05:35 PM
I would like to add options to the style in the vBulleting Options panel, similar to the "Mobile Style Options" that allow you to append all posts with either the mobile user agent (browser, etc) or custom text like (posted via mobile). In fact, this is the very same options from your original "mobile (https://vborg.vbsupport.ru/showthread.php?t=174375)" style that I'm referring to. Should I attempt to take this on myself, or will you be adapting some of those awesome options to the "Lightweight" style?

I'm going to have to make it a point to donate for all this hard work.

Thanks again!

.

MissKalunji
05-18-2011, 06:33 PM
Thank you again! I'm sticking to 3.8 as well

benFF
05-18-2011, 07:24 PM
If you link me up with an example, I could look. via PM is OK.
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.

To fix, edit the CSS, search for
.new, ._new, .forumnewreplace with
.new, ._new, .forumnew, ._hot_newsearch for
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_newreplace with
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_new, .thread_hot_new

Thanks for the code for default style link, I'll put that in.
You need to add the "dot_hot_new" variants to that as well :)

Also the logo is never actually used...?

dartho
05-18-2011, 09:29 PM
I would be interested in how to force search engines, robots, spiders, etc. to use this version. I've hacked mine so that a non-member cannot see the "style chooser" on my page, but that shouldn't matter I suppose.
.
I used the mobile detect hack and added search engine useragent snipperts to teh user defined section (Yahoo!,Baiduspider+,Googlebot,msnbot,Slurp)

I would like to add options to the style in the vBulleting Options panel, similar to the "Mobile Style Options" that allow you to append all posts with either the mobile user agent (browser, etc) or custom text like (posted via mobile). In fact, this is the very same options from your original "mobile (https://vborg.vbsupport.ru/showthread.php?t=174375)" style that I'm referring to. Should I attempt to take this on myself, or will you be adapting some of those awesome options to the "Lightweight" style?

I'm going to have to make it a point to donate for all this hard work.

Thanks again!

.
I'll do something at some stage. You could try the following for appending useragents to posts: https://vborg.vbsupport.ru/showthread.php?t=185987

You need to add the "dot_hot_new" variants to that as well :)

Also the logo is never actually used...?
Thanks, and yes - I should probably do a logo rather than text.

MagicThemeParks
05-18-2011, 11:14 PM
Yes! 3.8x lives! :up:

I'll be adding this to the sites that I don't plan on moving to another forum software :D

0ptima
05-18-2011, 11:58 PM
Thanks. Will install this when I upgrade to 3.8.7

bestmilan
05-19-2011, 02:13 AM
I found a small bug... when you click on the "Register" button you can see duplicate login fields (please see the attached image).

One more thing... we allow unregistered users to post but it seems that they can not post by using the lightweight style (this was true i believe also with the previous mobile version). It wouldn't be a big problem itself if the submit reply button and the new thread button were disabled on the lightweight skin for unregistered users... but right now it gives unregistered users a wrong impression that they are able to post.

AND THANK YOU VERY MUCH FOR YOUR HARD WORK ON THIS NEW LIGHTWEIGHT STYLE... IT'S VERY NICE AND VERY USEFUL !!!

BirdOPrey5
05-19-2011, 02:39 AM
I'm loving it. Donation sent for Branding Free!

Made some customizations but never could have done it without this style to build off of.

Got it up and running, if my users don't find any bugs I will be removing the old mobile styles I have.

https://vborg.vbsupport.ru/external/2011/05/30.jpg (http://www.juot.net/forums/forum.php?styleid=38)

Alfa1
05-19-2011, 11:09 PM
Are blog and groups supported?

dartho
05-20-2011, 12:02 AM
no they aren't

dartho
05-20-2011, 12:10 AM
@brad - I have been unable to reproduce the issue you are having with duplication of login boxes. Could you check the templates to see if it's duplicated there?

Inregards to guest voting, wht type of human verification do you have for guest posts?

Alfa1
05-20-2011, 12:14 AM
Do you have plans to add support for blog and / or groups?

dartho
05-20-2011, 12:43 AM
No plans for blogs, groups is partially implemented and may become fully implemented later on. I'm just focusing on getting forums right at the moment

bestmilan
05-20-2011, 01:15 AM
Thank you dartho for the fast reply :)

UPDATE: Deleting duplicate login code from the "register" and "register_rules" templates solved the problem.


Regarding duplicate login boxes...

When I search the lightweight skin templates for this piece of code...

login.php?do=login

...I can find it in 3 templates:

1) navbar
2) register
3) register_rules

My other custom skins have the code only inside the navbar template.


Regarding to guest/ unregistered user posting... we use the vB Human Verificatin Manager (random question to prevent spam).

BirdOPrey5
05-20-2011, 02:39 AM
Suggestion to add the standard "border-radius" to the CSS for IE9 and presumably future browser compatibility.

Info here: http://stackoverflow.com/questions/635851/support-for-border-radius-in-ie
(Note you don't need to declare 4 values for IE9, just one is needed like moz and webkit.)

dartho
05-20-2011, 12:38 PM
Updated to rev 1.0.1!
Removed navbar/login code from registration templates, also fixed other disaply issues in rego pages
Added in human verify stuff for those that allow guests to post
Fixed inconsistencies in CSS regards to forum/thread disaplay
Updated link to default style so will remain on same page - thanks BOP5
Tidied up some other stuff I notiuced along the way

I've also started work on a "Lighweight STyle (3.8.7) Toolkit/Options" similar to what I did with the old mobile style, but with improved code. Also a few extras...

Enjoy

viper357
05-20-2011, 12:52 PM
Thanks for the update. Really stupid question here :p but how do you upgrade a style, must I use the 'Merge into style' option?

Beretta1526
05-20-2011, 01:57 PM
Updated to rev 1.0.1!
Removed navbar/login code from registration templates, also fixed other disaply issues in rego pages
Added in human verify stuff for those that allow guests to post
Fixed inconsistencies in CSS regards to forum/thread disaplay
Updated link to default style so will remain on same page - thanks BOP5
Tidied up some other stuff I notiuced along the way

I've also started work on a "Lighweight STyle (3.8.7) Toolkit/Options" similar to what I did with the old mobile style, but with improved code. Also a few extras...

Enjoy

You rock. I'll be updating this today sometime. I'll just remove it and reinstall it since I didn't make any modifications. This time, however, I may add a "Today's Posts" to the navbar or replace the "New Posts" with it.

.

BirdOPrey5
05-20-2011, 03:34 PM
In the threadbit template, the line:
<div class="sticky">

is it supposed to be
<div class="sticky$thread[statusicon]">

Just curios... Or are all sticky threads supposed to have the same class?

Alfa1
05-20-2011, 04:07 PM
No plans for blogs, groups is partially implemented and may become fully implemented later on. I'm just focusing on getting forums right at the moment
Thanks for the swift reply. Groups is way more important than blog for me, as groups are heavily used, while blog is rarely used.

Beretta1526
05-20-2011, 04:44 PM
Updated and reinstalled. Painless and simple.

.

The Dawg
05-20-2011, 09:17 PM
Thanks!

ravenscape
05-20-2011, 11:58 PM
Updated to rev 1.0.1!
Removed navbar/login code from registration templates, also fixed other disaply issues in rego pages
Added in human verify stuff for those that allow guests to post
Fixed inconsistencies in CSS regards to forum/thread disaplay
Updated link to default style so will remain on same page - thanks BOP5
Tidied up some other stuff I notiuced along the way

I've also started work on a "Lighweight STyle (3.8.7) Toolkit/Options" similar to what I did with the old mobile style, but with improved code. Also a few extras...

Enjoy

I just installed the update after getting some very positive feedback on yesterday's release from my forum members. Looks great.

bestmilan
05-21-2011, 12:38 AM
Updated to rev 1.0.1!
Removed navbar/login code from registration templates, also fixed other disaply issues in rego pages
Added in human verify stuff for those that allow guests to post
Fixed inconsistencies in CSS regards to forum/thread disaplay
Updated link to default style so will remain on same page - thanks BOP5
Tidied up some other stuff I notiuced along the way

I've also started work on a "Lighweight STyle (3.8.7) Toolkit/Options" similar to what I did with the old mobile style, but with improved code. Also a few extras...

Enjoy


THIS IS AN AWESOME UPDATE !!!

Added in human verify stuff for those that allow guests to post

I especially appreciate this part... already tested it and works great :)


DONATION SENT TODAY FOR BRANDING FREE (2 sites)

THANK YOU !!!

Lee A Burnett
05-21-2011, 04:46 PM
Great work dartho!

I did find one thing - There's an extra "> in template forumhome_forumbit_level2_nopost

<div class="windowbg">">

killerkraft
05-21-2011, 07:45 PM
Hi dartho!,

What could i've made wrong?

When users from a mobile phone get inside the forum they just get a page saying that they dont have permission and they must refresh the page.
And no login box appears.

Can you help me ?

KK

dartho
05-21-2011, 09:06 PM
@Lee - thanks, will fix in next release
@killerkraft - could you link me to your forum to look

killerkraft
05-21-2011, 09:24 PM
Yes, of course.

www.digitalzapping.net (http://www.digitalzapping.net)

You will see the default style, and if you try to change to your style, witch i called "Estilo Portatil" before loggin in you will be stuck there.

Of course that if you login in the normal style and then change, everything will be ok.

Please check and advise.

Thanks,

KK

dartho
05-21-2011, 11:05 PM
Try editing the STANDARD_ERROR_LOGIN and STANDARD_ERROR_LITE templates, search for:
<div class="bodywrapping">and replace with
<div class="bodywrapping">
$header
$navbar

Tiy may want to edit your previous post before any spammers get it and remove username and password

killerkraft
05-22-2011, 11:07 AM
Ok, i will try it.

After put the results here.

benFF
05-23-2011, 08:17 AM
Nice update - would be good to include a "Report this post" link in a future version :)

dartho
05-23-2011, 09:34 AM
Will do as it's already coded, just no link ...

killerkraft
05-23-2011, 11:10 AM
dartho,

I am sorry but no results with the litle mod in that line.

I will try to solve it by myself, see what i can do.

Regards

dartho
05-25-2011, 03:51 AM
working on next iteration - inline moderation tools!

BirdOPrey5
05-26-2011, 03:35 PM
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:
$dimensions = "_$ameinfo[zone]";
$ameinfo['width'] = $vbulletin->options['automediaembed_width' . $dimensions];
$ameinfo['height'] = $vbulletin->options['automediaembed_height' . $dimensions];


and below it Add:

if ($vbulletin->userinfo['styleid'] == 38)
{
$ameinfo['height'] = round($ameinfo['height']/2.3);
$ameinfo['width'] = round($ameinfo['width']/2.3);
}

Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.

Leongsam
05-30-2011, 08:30 PM
Installed.

Paul M
06-01-2011, 05:59 PM
Tagged to look at later in the month.

Stephan Whelan
06-11-2011, 06:37 PM
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:
$dimensions = "_$ameinfo[zone]";
$ameinfo['width'] = $vbulletin->options['automediaembed_width' . $dimensions];
$ameinfo['height'] = $vbulletin->options['automediaembed_height' . $dimensions];
and below it Add:

if ($vbulletin->userinfo['styleid'] == 38)
{
$ameinfo['height'] = round($ameinfo['height']/2.3);
$ameinfo['width'] = round($ameinfo['width']/2.3);
}Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.

Thanks for this - however doesn't seem to work on our site. E.g. look at this thread via a browser - doesn't seem to make a difference:

http://forums.deeperblue.com/test-forum/91308-test.html

BirdOPrey5
06-11-2011, 08:13 PM
Thanks for this - however doesn't seem to work on our site. E.g. look at this thread via a browser - doesn't seem to make a difference:

http://forums.deeperblue.com/test-forum/91308-test.html

A couple of things... Make sure you make a video post AFTER making the file change. Otherwise it may take hours or days for the cache to update to show the smaller video.

Second, check the youtube definition you're using- if the height and width are hard coded numbers this won't work. Width and height must be set to $ameinfo[width] and $ameinfo[height].

Stephan Whelan
06-11-2011, 09:06 PM
Joe,

Thanks for that - unfortunately still doesn't work. I've confirmed the /includes/ame_bbcode.php has the change you've suggested, as well as the youtube definition having $ameinfo[width] and $ameinfo[height].

Any further ideas?

BirdOPrey5
06-11-2011, 09:21 PM
I joined your forum to take a look but I don't see the mobile style as an option- do you have it public? If so what is the styleid number?

You can see how it works on my forum:
Mobile Style: http://www.juot.net/forums/showthread.php?t=60000&styleid=38
Regular Style: http://www.juot.net/forums/showthread.php?t=60000&styleid=1

Stephan Whelan
06-11-2011, 09:46 PM
Indeed - we normally disable the style selector (it is set automatically based on browser accessing the site) but i've re-enabled it for now.

BirdOPrey5
06-11-2011, 10:12 PM
It's working... I just posted a video, here is a screen shot:

The older videos will turn small once the cache expires for them. I think you can force the issue by editing the post and re-saving it.

But in time all the videos will be small on the mobile style, as will all new videos.

Stephan Whelan
06-12-2011, 06:13 PM
Joe - it does work well indeed.

Another question to the group...I see that when I use the style assignment mod (https://vborg.vbsupport.ru/showthread.php?t=173239) the link at the top of the page (default style, etc...) won't allow visitors to switch styles to the full blown version. I know that is a default option on that Mod but any ideas on how it might work in conjunction with this style?

dartho
06-13-2011, 02:05 AM
Try this on for size:

In AdminCP->Plugins & Products->Add New Plugin create a new plugin for product: vBulletin, hook location: style_fetch, Title: Mobile Detection, Execution Order: 5 Code:

$mobile_style_advanced=10; //iPhone?
$mobile_style=10; //Any mobile phone/device
$default_style=6; //Your default or preferred desktop style
$vbulletin->input->clean_array_gpc('c', array(
COOKIE_PREFIX . 'userstyleid' => TYPE_UINT,
COOKIE_PREFIX . 'skipmobilestyle' => TYPE_BOOL,
));

$my_skipmobile = $vbulletin->GPC[COOKIE_PREFIX . 'skipmobilestyle'];
$my_userstyleid = $vbulletin->GPC[COOKIE_PREFIX . 'userstyleid'];

// Test mobile browser
$mobile_browser = false;
$mobile_browser_advanced = false;
//if ($vbulletin->options['mob_detect_enabled'])
if (1==1)
{
if (stripos($_SERVER['HTTP_USER_AGENT'], 'windows') === false)
{
if (
preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wa p|phone|android)/i', strtolower($_SERVER['HTTP_USER_AGENT']))
OR
stripos($_SERVER['HTTP_ACCEPT'],'application/vnd.wap.xhtml+xml') !== false
OR
((isset($_SERVER['HTTP_X_WAP_PROFILE']) OR isset($_SERVER['HTTP_PROFILE'])))
OR
stripos($_SERVER['ALL_HTTP'],'OperaMini') !== false
)
{
$mobile_browser = true;
}
// This array is big and may be bigger later on. So we move it to a second if.
elseif (in_array(
strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)),
array(
'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird' ,'blac',
'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
'newt','noki','oper','palm','pana','pant','phil',' play','port','prox',
'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
'wapr','webc','winw','winw','xda ','xda-')
)
)
{
$mobile_browser = true;
}
}

if (
$mobile_browser
AND
preg_match('/(ipad|ipod|iphone|blackberry|android|pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine )/i', strtolower($_SERVER['HTTP_USER_AGENT']))
)
{
$mobile_browser_advanced = true;
}
}
$vbulletin->input->clean_array_gpc('r', array(
'styleid' => TYPE_INT,
'langid' => TYPE_INT,
));

// Set up user's chosen style
if ($vbulletin->GPC['styleid'])
{
$styleid = $vbulletin->GPC['styleid'];
vbsetcookie('userstyleid', $styleid);
if ($styleid == $default_style)
{
vbsetcookie('skipmobilestyle', 1);
$vbulletin->GPC[COOKIE_PREFIX . 'skipmobilestyle'] = 1;
$my_skipmobile=1;
}
elseif ($styleid == $mobile_style)
{
vbsetcookie('skipmobilestyle', 0);
$vbulletin->GPC[COOKIE_PREFIX . 'skipmobilestyle'] = 0;
$my_skipmobile = 1;
}
}
elseif ($mobile_browser_advanced && !$my_skipmobile)
{
$styleid = $mobile_style_advanced;
}
elseif ($mobile_browser &&!$my_skipmobile)
{
$styleid = $mobile_style;
}
elseif ($my_userstyleid)
{
$styleid = $my_userstyleid;
}
else
{
$styleid = -1;
}


edit the first 3 lines of the plugin code to suit your purposes (should be self explanatory) and see how you go. Make sure you disable any mobile detect type scripts/plugins you may have running such as the one you linked to in your last post whilst testing this. Also be aware that you should probably do testing under a standard user account as administrator accounts have different permissions when it comes to style selections.

Please feedback how it goes.

Stephan Whelan
06-13-2011, 05:24 AM
Worked a treat Dartho!

dartho
06-13-2011, 10:39 AM
Good to hear.

plazzman
06-13-2011, 06:26 PM
If you link me up with an example, I could look. via PM is OK.
Worked it out. Not highlight is 'hot' new threads (thread_hot_new). I'll fix that up.

To fix, edit the CSS, search for
.new, ._new, .forumnewreplace with
.new, ._new, .forumnew, ._hot_new, ._dot_hot_newsearch for
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_newreplace with
.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread, .thread_moved, .thread_new, .thread_hot_new, .thread_dot_hot_new

Thanks for the code for default style link, I'll put that in.

First off, absolutely love this template. Real smooth, last one I had was so convoluted.

Bit of a noob here though. Can you please explain to me where I can actually find those CSS changes?

Also, is it possible to just change the colours of the theme to make it fit my forum a bit better? Full credit/royalty would still apply obviously

Thanks alot

dartho
06-13-2011, 10:03 PM
Those changes have been implemeneted in the last release - just make sure you uploaded the lightweight.css.php file to your forum root from the last zip.

It is also this file where you can make changes to the color scheme - open it up with your favorite text editor (I use notepad++) and read the comments at the top, it tells you what to do.

plazzman
06-14-2011, 01:57 AM
Oh lol. My bad, I must have DL'd 0.0 instead of 0.1

Thanks a lot mate!

bestmilan
06-16-2011, 02:51 AM
Btw, if you have enabled "Prefixes" on your forum homepage (to display specific icons for each forum) the "lightweight theme" images (status icons) will not show up on the lightweight skin's homepage.

I had to cut this piece of code from the lightweight skin templates (the specific templates are listed below) ...


$forum[imageprefix]

... to be able to display default lightweight theme images (status icons) on the homepage.

forumhome_forumbit_level1_post
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post

snakes1100
06-16-2011, 03:19 AM
This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind! Downloading now!

ditto!

MagicThemeParks
06-16-2011, 12:39 PM
This is great that you have updated this for 3.8.7 and are not leaving the 3.x series behind!

I agree. 3.x rules! :D

I'm curious, does this have the auto-detect built-in or do I have to install the other mod?

BirdOPrey5
06-16-2011, 12:43 PM
I agree. 3.x rules! :D

I'm curious, does this have the auto-detect built-in or do I have to install the other mod?

It doesn't auto-detect.

dartho
06-16-2011, 02:16 PM
Check this post: https://vborg.vbsupport.ru/showpost.php?p=2206917&postcount=56 for an updated autodetect based on vb's detect code in 4.x (ie. it allows over-riding)

Max Taxable
06-16-2011, 03:53 PM
Installed. Most excellent. Thank you for this good work!

MagicThemeParks
06-17-2011, 12:29 AM
Dartho, I'll be sending I've sent a donation in a moment for the brand-free option and to support your great work! :up:

I have a question to ask though.

I have my default style (Sofia's Impact: http://www.unitedstateshistoryforum.com/) and I use the forums arranged in columns for the 'States' forums. When you switch to the mobile style (http://www.unitedstateshistoryforum.com/?styleid=3) it shows different icons than the ones being used on the other forums. How can I fix that? I noticed that post #62 (https://vborg.vbsupport.ru/showpost.php?p=2208339&postcount=62) has a possible fix, but is that the way to do it? Fix on that post didn't work for me.

I also just noticed a line through one of the threads: check here (http://www.unitedstateshistoryforum.com/forumdisplay.php?f=56) .... the only different thing about that thread is that it was an auto-thread from the social groups mod here (https://vborg.vbsupport.ru/showthread.php?t=204218). Any thoughts on what may be causing that?

dartho
06-17-2011, 02:07 AM
Thanks for the Donation, it's appreciated.

Easy one first - the line through the thread is because it's closed. Probably not the best way to denote a closed thread, but ... You can change this to what you want by editing the lightweight.css.php file and searching for :
.thread_lock a,.lock a,.thread_lock ,._lock , ._hot_lock, ._dot_lock, ._dot_hot_lock, ._lock_new
{
text-decoration: line-through;
} and changing to what you prefer or just remove that block to have closed threads treated the same as normal threads.

How do you arrange them in columns - is that a default vBulletin feature or an addon? Also, if you could turn on template names in HTML comments, that would help me track it down greatly.

Thanks

dartho
06-17-2011, 03:03 AM
@MagicThemeParks - it looks like you're using this addon https://vborg.vbsupport.ru/showthread.php?t=99829

If you want the forums to display like standard forums in the lightweight style, you can edit the forumhome_forumbit_columncell template in the lightweight style and replace it's contents with the contents of the forumhome_forumbit_level2_post template (I think...)

MagicThemeParks
06-17-2011, 03:24 AM
Thanks for the 'closed' suggestion. I'll see what I can think about using instead of the line-through.

Arrange in columns (https://vborg.vbsupport.ru/showthread.php?t=99829) is a mod. I'll turn on the template names in HTML comments now to help you :up:

EDIT: Saw that you added a post while I hadn't refreshed. LOL....I'll try that suggestion for the columncell template now.

MagicThemeParks
06-17-2011, 03:32 AM
If you want the forums to display like standard forums in the lightweight style, you can edit the forumhome_forumbit_columncell template in the lightweight style and replace it's contents with the contents of the forumhome_forumbit_level2_post template (I think...)

Made the changes you suggested and it was almost there. But, it was showing as if the icons were missing because I was using the prefix images. So, I used the suggestion from bradhaskins in post #62 (https://vborg.vbsupport.ru/showpost.php?p=2208339&postcount=62) and that worked :up:

Now, I just have to get the mobile style detect going and we'll be set! :D

Thanks for your help again Dartho :up:

Clutch
06-18-2011, 02:54 AM
Thank you dartho! This is a fantastic style. I see the auto-detect script that you outlined here (https://vborg.vbsupport.ru/showpost.php?p=2206917&postcount=56) and that should work great.

My question: Is there any way I can make it so if you're NOT using a mobile device that you can NOT select this style? The reason is my site depends heavily on CPM advertising, and since this is a lightweight style (light ads to possibly no ads), I'd prefer it not be user-selectable unless you are on a mobile device.

Any thoughts?

Max Taxable
06-18-2011, 10:54 AM
Thank you dartho! This is a fantastic style. I see the auto-detect script that you outlined here (https://vborg.vbsupport.ru/showpost.php?p=2206917&postcount=56) and that should work great.

My question: Is there any way I can make it so if you're NOT using a mobile device that you can NOT select this style? The reason is my site depends heavily on CPM advertising, and since this is a lightweight style (light ads to possibly no ads), I'd prefer it not be user-selectable unless you are on a mobile device.

Any thoughts?AdminCP>Styles and Templates>Style Manager. Then uncheck the box for this style and click "Save display Order."

This will keep the style from being selectable by users but the automatic detection script will still be able to use it.

plazzman
06-21-2011, 01:33 AM
Is there a reason it won't show custom logo? I've entered my logo into the CSS supplied, and the path is correct, but it wont show image, just the text of site name

dartho
06-22-2011, 04:34 AM
I think you'll need to edit the header template and change:

<div class="header" align="left"><strong>$vboptions[bbtitle]</strong></div>

to something like

<div class="header" align="left"><img src="mylogo.png" /></div>

and play with it from there ...

plazzman
06-22-2011, 10:11 PM
Awesome, worked like a charm. Thanks alot

radiofranky
06-28-2011, 09:37 PM
can you create one for 4.14? I like simple and clean style..

It's nice!

dartho
06-28-2011, 10:07 PM
I already have https://vborg.vbsupport.ru/showthread.php?t=249277

benFF
07-08-2011, 03:38 PM
Just missing attachment uploads and my users will all be happy :D

Would also be nice if the CSS was made using the build in editor, rather than manually editing a file. Easier to hook into my CDN then as well.

blackberry
07-10-2011, 12:13 PM
while replying or posting thread it doesnt show scroll bar to go up/down to check txt, if that can be added in future update

thx

bestmilan
07-11-2011, 06:21 PM
The images showing that the forums are closed for posting ("forum_old_lock-16.png" and "forum_new_lock-16.png") are not aligned properly on forum's homepage and also the link separating each forum title is missing (see the attachment).

Any idea how to fix this??

bestmilan
07-11-2011, 07:52 PM
Ok, I believe I fix the issue by adding this code in the "lightweight.css.php" script...


.old_lockwindowbg
{
padding: 3px;
border-left:1px solid <?php echo $TitleBG; //$Border; ?>;
border-right:1px solid <?php echo $TitleBG; //$Border; ?>;
border-bottom:1px solid <?php echo $TitleBG; //$Border; ?>;
}
.old_lockwindowbg a
{
color:<?php echo $BodyFC; ?>
}

DM Major Meat
07-19-2011, 11:29 PM
Just a small question; would this lightweight skin work on the software version 3.8.5? Or should I update? I'm not sure if the builds are completely different or not.

BirdOPrey5
07-20-2011, 12:14 AM
It should work just fine on 3.8.5.

viper357
07-20-2011, 04:38 AM
Just a small question; would this lightweight skin work on the software version 3.8.5? Or should I update? I'm not sure if the builds are completely different or not.
I'm on 3.8.5 and it works perfectly.:)

baoquynh132
07-20-2011, 09:24 AM
Thank you! However, I think you should use this DOCTYPE:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">

This DOCTYPE will change the default zoom value for mobile. So it's more suitable for mobile browsers.

kisskiss
07-23-2011, 10:20 AM
Hello ..
I have a problem ... When I click on the link .. Thread
Take me to the last. Post
Is there a solution
Thank you

dartho
07-23-2011, 09:36 PM
by design it should go to the first new post.

if you want it to just go to the start of a thread, edit the threadbit template and search for and remove all occurences of goto=newpost&amp;

DM Major Meat
07-29-2011, 06:50 PM
edit: Sorry, I did not read the directions properly. I didn't notice the option "Ignore Style Version." Again, thanks Dartho!

Konstantinos
08-01-2011, 05:41 AM
good but cybchatbox and cyb advanced forum stats dont work when this is selected by the user, also it doesnt style photopost pro

WendM
08-03-2011, 10:41 AM
got a serious issue ...can't change any Style now since installing this Mobile style! It's also forced my default style onto my CMPS style which has screwed that up, and can't change it now! Even my Default style I can't change either!

Hope you can help resolve this urgent issue, please! :(

BirdOPrey5
08-03-2011, 10:56 AM
got a serious issue ...can't change any Style now since installing this Mobile style! It's also forced my default style onto my CMPS style which has screwed that up, and can't change it now! Even my Default style I can't change either!

Hope you can help resolve this urgent issue, please! :(

The two links in your signature are to VB 4.x forums (apparently) - this mod is only for VB 3.8. If you tried to install in on 4.x it would probably cause issues, they are not at all compatible.

Also FYI both forums in your signature are "hiding" the vBulletin copyright notice, you can't put light grey text on white background. Per the vBulletin licence the text must be easily visible, I suggest changing the text color to something darker ASAP.

WendM
08-03-2011, 11:08 AM
BirdOPrey5, you're mistaken, as it is vB3.8.5!

dartho
08-03-2011, 11:37 AM
I'm afraid I can not even get to eitehr site in your sig to look.

http://www.downforeveryoneorjustme.com/topicm.tk

WendM
08-03-2011, 11:44 AM
dartho, I guess you're kidding with that link...anyway, here's my link: http://topicmania.co.uk/forum

WendM
08-03-2011, 11:48 AM
dartho, seems your site has the same URL problem:

http://www.downforeveryoneorjustme.com/http://twf.com.au/ :)

dartho
08-03-2011, 11:50 AM
Not when you use the correct syntax.
http://www.downforeveryoneorjustme.com/twf.com.au/

It is a legitimate URL checker site .

I still can't get to yours.

dartho
08-03-2011, 11:51 AM
can now with full address - was the topicm.tk that did not work. Can't see an issue there though?

BirdOPrey5
08-03-2011, 12:01 PM
BirdOPrey5, you're mistaken, as it is vB3.8.5!

Wow... That is a very impressive 3.8.5 style. :cool: :up:

WendM
08-03-2011, 12:06 PM
dartho, that URL checker it seems is unreliable, as http://www.TopicM.tk is accessible without going to have it checked through that site...anyway, can you see the Mobile Style at present asI installed it again, and still I've a style changing issue?

BirdOPrey5, thanks! :)

dartho
08-03-2011, 12:13 PM
I only use the URL checker AFTER I can not access your site directly (via the TopicM.tk address). It's not mine, just a reality check. The point was I can not access your site via that address.

No - I don't see any mobile style or when viewing from desktop I don't see a style chooser to select a mobile style. I only get your default style (styleid 206)

WendM
08-03-2011, 12:32 PM
I don't allow Style Chooser for guests, but I thought your style detected Mobile devices?
Also, as I've said before, due to installing the Mobile style, it has affected my main styles, and forced my CMPS style to change to (default) a style that hasn't been CMPS modified, and I can't change it through CMPS settings, unless I change it through the main sites default setting! I've uninstalled it once, and it makes no difference...it has a style issue, and would appreciate your help here!

WendM
08-03-2011, 02:39 PM
my advice to anyone thinking of installing this Style, do a Backup first! It screwed my Styles up, and thankfully, I had a Backup from a couple of days ago, so restored back to original state and all is well once again...Uninstalled for good!

dartho
08-03-2011, 08:52 PM
I don't allow Style Chooser for guests, but I thought your style detected Mobile devices?
It can't detect mobile devices, it's a style, you would need an add-on for movbile detection.
Also, as I've said before, due to installing the Mobile style, it has affected my main styles, and forced my CMPS style to change to (default) a style that hasn't been CMPS modified, and I can't change it through CMPS settings, unless I change it through the main sites default setting! I've uninstalled it once, and it makes no difference...it has a style issue
It sounds like you've either been merging it into your default style or that you are having other issues, although any visit I made to your site looked fine - both Forum and CMPS. Did you try logging out of your admin account to see if there was some permissions thing messed up?

Also, I know in vBulletin 4 there was a bug which caused similar to happen when a style was installed by uploading it to the server forst and then importing (rather than browsing for the XML to your local computer). Wonder if this vBulletin bug is in VB3 too?

my advice to anyone thinking of installing this Style, do a Backup first!
That's my advice to everyone also!

Uninstalled for good!
Don't let the door hit you on the way out

Max Taxable
08-04-2011, 01:35 AM
my advice to anyone thinking of installing this Style, do a Backup first! It screwed my Styles up, and thankfully, I had a Backup from a couple of days ago, so restored back to original state and all is well once again...Uninstalled for good!Know what? I had no problem at all with this style, and I didn't do any backup before installing!:eek:

There is nothing in his style that could possibly screw up other styles, period. No way at all.

DM Major Meat
08-07-2011, 04:29 AM
I was confused on the directions. It says to, "Upload contents of forum folder to your forum root" I use a VPS and I am wondering if that is where I put it or this is asking something entirely different?

dartho
08-07-2011, 06:14 AM
forum root = directory where you have you forum installed, same place as index.php etc. as opposed to 'root' or / as the case may be on a VPS

DM Major Meat
08-08-2011, 01:53 AM
Thanks for the clarification Dartho.

Edit: Any thoughts on a shoutbox mod for this style? Couldn't find a single shoutbox mod for a Vbulletin mobile style. I did happen to see a few examples for Xenforo software. I plan to try to implement one soon, any advice you might have for me?

incisor
08-27-2011, 12:22 AM
anyone know of a way i can make this style available only to certain usergroups?

dartho
08-27-2011, 03:59 AM
Use this: https://vborg.vbsupport.ru/showthread.php?t=95910 (yes, it is compatible to vBulletin 3.5.X, 3.6.X, 3.7.X, 3.8.X and 4.0.X)

incisor
08-27-2011, 08:54 AM
your a star!

thank you very very much!

remixss
08-30-2011, 06:57 PM
any chance add subforum ? slide subforum ? i'll donate for sure :)

donated

dartho
08-30-2011, 10:52 PM
I'm not sure what you mean by either subforum - sub forums are already supported, and I especially don;t know what a "slide subforum" is ... Could you show me what you mean under the default style?

remixss
08-31-2011, 05:38 AM
Sorry for bad description ,I meant drop down menu as in this thread

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

Chase
09-01-2011, 09:46 PM
How do I get my forum to recognize the site is being viewed on a mobile device?

Obviously, I want my site to automatically view the site on this style when connected on a smartphone. How do I do that?

dartho
09-02-2011, 12:13 PM
How do I get my forum to recognize the site is being viewed on a mobile device?

Obviously, I want my site to automatically view the site on this style when connected on a smartphone. How do I do that?

try this:https://vborg.vbsupport.ru/showthread.php?p=2206917&highlight=detect#post2206917

Chase
09-04-2011, 05:55 PM
Thank you.

I love the style!

Msnangersme
09-06-2011, 09:45 PM
Great work dartho :)

It would be great if you can add a mini avatar to the postbit area. And perhaps increase the font size by a notch would make things much easier to read.

Check out this site on your mobile device, preferably iPhone.

forum.lowyat.net

The mobile skin is by far one of the best I have seen being used on a forum. The overall look resembles that of a vbulletin 3.x series. It would be great if you can improve this lightweight style by replicating some of the designs. For forums using the vb 3.x series, this skin is really consistent with the desktop version.

Cheers

dartho
09-07-2011, 07:12 AM
You could add the avatar yourself by editing the postbit template and increase font size by editing the CSS. I've tried to keep bloat to a minimum and also keep it simple so admins can customise it themselves.

I don't use an iPhone, and I believe that the mobile style on Lowyat is the default mobile style available with Invision Powerboard

jskoh
09-08-2011, 01:37 PM
hi, how to change the colour of the category strip? i try Changing it but it doesnt work.

dartho
09-08-2011, 04:43 PM
Edit the CSS file

Clutch
09-15-2011, 02:37 PM
AdminCP>Styles and Templates>Style Manager. Then uncheck the box for this style and click "Save display Order."

This will keep the style from being selectable by users but the automatic detection script will still be able to use it.

This does not seem to work for me. The script (style_fetch hook on plugin) will only set the style if it's an active style. I'm looking for a workaround now.

I know it's been a few months, but I'm just now getting back to implementing this after a lot of customization. Thanks dartho.

dartho
09-15-2011, 09:26 PM
You can choose not to allow users to change styles in vBulletin settings, should word then (this is how I use it)

mastersat
09-16-2011, 10:22 PM
Will try it
thank you

infnity8x3
09-24-2011, 11:46 AM
I want to try this style out so bad but its conflicting with mods. Mostly cyb_chatbox, cyb_paypall_donate, and the mod that adds little icons to your userCP.

I wish there was a proper way to just disable all the hacks for a specific style. Would make this so easy.

As of now I read an article posted here that says if the hack has an on off switch the it can be controlled with some style fetch template but the userCP icon thingy has no one off switch.

BirdOPrey5
09-24-2011, 03:54 PM
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...

Basically you need to wrap all of the plugin in this code:


if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4)))
{

//All Original Code Here

}


Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.

Only thing to look out for, if in the plugin there is the line:
global $vbulletin;

Then you have to put that line above the conditional, like so:


global $vbulletin;

if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4)))
{

//All Original Code Here

}

cstreater
09-24-2011, 11:38 PM
Great style! However, I don't see a report post button or any moderator functionality. Did I do something correct during the install? It seems like I did everything the instructions said to.

infnity8x3
09-26-2011, 01:34 AM
Thank you for the response and i plan to use your code in the future for the time being i just manually placed the mods in the templates (turned off auto placement) and just removed the one that was just fluff.

Now my problem is switching back and forth between styles. Ok the quick style picker i do not like. Because if some one is in say the arcade they switch to this style and now there page is broken. I know they could do it any way with typing the style into the url but most members wouldn't even think about that. I can comment the style picker out of the template.

But for what ever reason my userCP change style option does not work. Turn off all mods globally with config file it works. Disable all mods in admin control panel it doesn't work so i have no idea whats conflicting I guess I have to edit that out of the template to.

Any easier way of doing this other then editing them out of the template?

Finally (I know dartho has a mod like to this but... Is there any way to auto detect mobile browser and instead off assigning a style, open a notice saying eg we noticed you have mobile would you like to try our mobile version blah blah with link.

Sorry for the wall of text I'm just excited about this project.

dartho
09-26-2011, 11:50 AM
@infinity8x3 Check https://vborg.vbsupport.ru/showthread.php?t=270928

infnity8x3
09-28-2011, 06:11 PM
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:
$dimensions = "_$ameinfo[zone]";
$ameinfo['width'] = $vbulletin->options['automediaembed_width' . $dimensions];
$ameinfo['height'] = $vbulletin->options['automediaembed_height' . $dimensions];


and below it Add:

if ($vbulletin->userinfo['styleid'] == 38)
{
$ameinfo['height'] = round($ameinfo['height']/2.3);
$ameinfo['width'] = round($ameinfo['width']/2.3);
}

Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.
How can I do this with out using the styleid conditional? See my mobile site is on mobile.example.com so its a dirrfent url than just example.com. And my members style id user info never changes from 0 / default. Any way to compare the url and if .mobile exists in it then downsize AME videos.

And finally I want to thank all that helped with getting a mobile version of my forum up and ready. I no longer feel left out with vb4 getting all the mobile love.

BirdOPrey5
09-28-2011, 06:29 PM
$_SERVER['HTTP_HOST'] should hold the value mobile.example.com when on your mobile theme, you can test for that...

more info: http://roshanbh.com.np/2008/05/useful-server-variables-php.html


if ($_SERVER['HTTP_HOST'] == "mobile.example.com")
{
$ameinfo['height'] = round($ameinfo['height']/2.3);
$ameinfo['width'] = round($ameinfo['width']/2.3);
}

infnity8x3
09-28-2011, 07:16 PM
That worked fantastically. Thanks. Now I just gotta Find that post I seen earlier about how to stop search engines from indexing the mobile url and penalizing for double content.

This is huge Thanks again guys :D

Got it
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

infnity8x3
09-29-2011, 06:08 PM
Dartho, members love the style. The only bug that I have found is it doesn't handle posts under the 10 char limit very well.

Under default vb style a popup Displays saying.
The message you have entered is too short. Please lengthen your message to at least 10 characters.
But under the mobile style nothing happens leaving the user to believe its broken. The post doesn't go threw and no indication as to why not.

Not trying to sound nit picky just pointing that out.

CrashPush
10-21-2011, 01:41 PM
Most of my sub-forums are not showing anyone know why that could be happening?

bestmilan
10-27-2011, 03:23 PM
Hi, Dartho!

Would it be possible to somehow edit the existing script to enable the "Posted via Mobile Device" feature?

cronjob78
10-28-2011, 05:20 PM
Dartho,

This is a great feature - well done. Happy to donate once I get this sorted:

I want to give the style a red theme. Simple enough usually: just go to admincp -> style manager ->lightweight -> main css

and then change all the colours. Ive put red in everywhere and saved it but its still all blue when I look at the forums. Ive also replaced table widths with huge and tiny values to see if the stylesheet is updating but no movement. Is changing the colours possible?

Edit: Also, only admins seem to be able to use the style in a normal PC browser with styleid=3 (in my case 'lightweight').
I should note that Im running the vBulletin API style albeit it is currently disabled.

dartho
10-28-2011, 09:22 PM
Is changing the colours possible?
You need to edit the lightweigth.css.php file for CSS changes.

Also, only admins seem to be able to use the style in a normal PC browser with styleid=3 (in my case 'lightweight').

If only admins can use the style, that means you have not made it user selectable.

cronjob78
10-28-2011, 11:34 PM
You need to edit the lightweigth.css.php file for CSS changes.


If only admins can use the style, that means you have not made it user selectable.

thanks for the quick reply. how do u make it user selectable?

dartho
10-28-2011, 11:59 PM
have a little tick in teh box next to it in Style Manager where it lists the styles installed

bestmilan
10-29-2011, 02:52 PM
That worked fantastically. Thanks. Now I just gotta Find that post I seen earlier about how to stop search engines from indexing the mobile url and penalizing for double content.

This is huge Thanks again guys :D

Got it
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

Where exactly I should insert it? Thanks.

BirdOPrey5
10-29-2011, 06:16 PM
Your "headinclude" template for this style.

as7apcool
11-02-2011, 01:43 AM
nice work for mobile .. how to make it work for mobile automatically

blind-eddie
11-02-2011, 12:23 PM
nice work for mobile .. how to make it work for mobile automatically

https://vborg.vbsupport.ru/showthread.php?t=173239
I use this with 3.8.4

MichaelDenisov
11-20-2011, 06:04 PM
dartho

Thanks for your work! It's great)

_Ryfe_
11-22-2011, 03:09 AM
I would like to add borders around thread listings. Can anyone please tell me how to accomplish this? It would be highly appreciated.

SamirDarji
12-06-2011, 08:26 PM
Posting to remind myself to look at this.

imported_silkroad
12-30-2011, 07:27 AM
Hey dartho (https://vborg.vbsupport.ru/member.php?u=110638)!

Thanks for this! We are currently testing at The UNIX and Linux Forums. We dropped the vB Mobile suite app and may just go with this skin. Thanks again!

BBCODE tags are critical for our site; but we can't get the scroll bar (horizontal scrolling across bottom) to work on mobile phones (it works find on a desktop).

Any idea?

imported_silkroad
12-30-2011, 07:58 AM
Ah Ha!

I see that scrollbars are not currently supported on native iPhone and Android browsers!

The suggested "work arounds" are to use jQuery, for example see:

http://www.baijs.nl/tinyscrollbar/

djjeffa
01-01-2012, 03:01 PM
awsome template but I have a few questions. my site is located @ .com/vb but if you go to .com it goes to the vBadvanced CMPS with my default style is there a fix or work around? i wish there was a way to force anyone that went to .com to redirect to .com/vb.
also is there a way to remove the default style tab becuse It wont work with your mobile detect app unless there is a work around for that too
Thankyou

PakStarTv.com
01-01-2012, 06:08 PM
Can we change the yellow page color?

dartho
01-02-2012, 09:50 PM
@djjeffa - edit your adv_portal temaplte (in the vBadvanced group) for this style and replace it's contents with

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>
<if condition="$pages['name'] == 'home'">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</if>

<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude
<meta http-equiv="refresh" content="3; url=http://yoursite.com/vb/index.php">
</head>
<body>

$header

$navbar
<p>
Portal disabled in mobile view, redirecting to forums. Please click <a href="vb/index.php">here</a> if you do not get redirected automatically
</p>
$footer

</body>
</html>

as for the device detection - try the info in post #56: https://vborg.vbsupport.ru/showthread.php?p=2206917#post2206917 and let us know how it goes with you.

@pakstartv - edit the lightweight.css.php file

djjeffa
01-04-2012, 12:39 AM
Thanks Dartho both worked! it lags a bit redirecting but i dont think there is any better work around. if anyone wants to check it out go to www.djjeffa.com

zyiad
01-04-2012, 11:49 AM
thanks

topanet
01-20-2012, 02:45 AM
is it works with VB 3.6.8??
really curious using this new template

dartho
01-20-2012, 03:08 AM
maybe - i tested on 3.7 ok

topanet
01-20-2012, 03:14 AM
ok, i will tested soon as possible

anyway, how to add some marking (ex. image "mobile" on right side text after posting) when member post a message in forum using mobile style?

try to look around, but still not get any result yet

TGAREED
01-20-2012, 11:14 AM
nice ...

topanet
01-20-2012, 01:58 PM
i think its not working on VB 3.6.8
just now tested on my board, when trying to upload the XML file, there are error message "Invalid File Specified"

anyway, i really like the skin of the mobile style in this version, can i applied it into your mobile style for 3.6.10 (https://vborg.vbsupport.ru/showthread.php?t=151186)??

blackberry
01-20-2012, 07:06 PM
Is there any way I can add more moderation options like Move, & Close thread?

dartho
01-20-2012, 11:33 PM
I half coded those and other moderation options, but got distracted with life along the way - I'll get back onto it one of these days :)

blackberry
01-21-2012, 05:54 PM
It will be gr8 if you do so.. m waiting..!

ses
01-24-2012, 08:00 AM
Jep - would be great @dartho !!

_Ryfe_
01-27-2012, 07:58 AM
I would like to add borders around thread listings. Can anyone please tell me how to accomplish this? It would be highly appreciated.

Can any of you gents help me with this? Would definitely love to be able to do this.

FreeResellers
01-27-2012, 04:15 PM
It does work on 3.8.6

rabster
02-05-2012, 08:44 AM
Hi this seems to work great although can you confirm the purpose of the default style button

as when i click it on my iphone for example it wont change the skin but if i do it on the pc it does i have only put this on my test forum for now but do want to put it live asap

dartho
02-05-2012, 11:46 AM
Assuming you have not insalled anything to override user choice, and have followed the install instructions - the default style button will switch teh style to the default style.

rabster
02-05-2012, 03:26 PM
as far as i know yes everything has been followed as per instructions

it does switch it on the Pc just not on the Iphone

Currently i have the 1st 2 options set to yes everything else is still set on no

i have the code shown in here to bypass the cmps index page

when pressing the default style button the command line changes to .php?styleid=2 i know the style i want is set to number 2

all it does is reload the same page if i press the button again it add "&styleid=2" again and continues to repeat this....

Cheers

dartho
02-06-2012, 08:11 PM
It sounds like you have installed this (https://vborg.vbsupport.ru/showthread.php?t=226946) or something similar and it is doing what it's meant to do.

celikforum
02-18-2012, 10:12 AM
Good stuff. installed

dartho
03-03-2012, 04:42 AM
Post Thanks Integration ( that you have installed)

This probably needs a bit of tweaking, but here goes:

edit post_thanks_box template in the lightweight style and replace contents with:
<div class="windowbg" id="post_thanks_box_$post[postid]">$post_thanks_box</div>

edit post_thanks_button template in lightweight style and replace contents with:
<a id="btn" href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow">Thanks</a>

edit post_thanks_postbit template in the lightweight style and replace contents with:
<if condition="$post['post_thanks_amount'] == 1">
<phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase>
<else />
<phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></if>

$post[post_thanks_bit]

edit postbit and postbit_legacy templates in lightweight style , search for
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
</if>and replace with
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
$template_hook[postbit_controls]
</div>
</if>
$template_hook[postbit_end]

caveat: this may introduce other hacks into the lightweight style which use the postbit_end and postbit_control hooks

sineay
03-05-2012, 07:33 AM
Nice addon, but unfortunately I can not login or it will not appear to me that I'm logged in???
The Mobile Style goes with me only on the first page, and from whom I want to open a post it again on my standart style.

can someone please help me on this?

rady
07-16-2012, 08:35 AM
is there anyway we can change the colors of the theme?

BirdOPrey5
07-16-2012, 09:46 AM
is there anyway we can change the colors of the theme?

You can edit all colors in the .css file.

stevieb
08-02-2012, 10:43 PM
This shows an invalid file type when trying to upload.

Invalid File Specified

Blueracer66
09-02-2012, 04:38 PM
Has anyone tried this on 3.8.7? :)

SamirDarji
09-02-2012, 05:07 PM
I haven't yet, but it should work since that's the version it's meant for.

Blueracer66
09-02-2012, 05:15 PM
I haven't yet, but it should work since that's the version it's meant for.

I just want to be 100% sure this works. I usually read other members' feedback before trying anything. :)

BirdOPrey5
09-02-2012, 07:37 PM
Yes working great for me on 3.8.7.

SamirDarji
09-02-2012, 10:01 PM
I just want to be 100% sure this works. I usually read other members' feedback before trying anything. :)I try to do the same thing. :)
Yes working great for me on 3.8.7.Do you have it running on a forum we can check it out? I'd love to use it and see if it will work for me. :)

BirdOPrey5
09-02-2012, 11:00 PM
Yes but I did a fair amount of customization:

http://www.juot.net/forums/forum.php?styleid=38 - Direct link to mobile style

SamirDarji
09-04-2012, 04:10 AM
Yes but I did a fair amount of customization:

http://www.juot.net/forums/forum.php?styleid=38 - Direct link to mobile styleThank you so much for the link! That looks great. :) Where's the customization that wouldn't normally be there (if it's visible)? Also, has anyone tested this with the vbadvanced cmps?

BirdOPrey5
09-04-2012, 02:07 PM
Doesn't work with vbadvanced cmps. I have it on my normal style but deactivated it on mobile.

Customizations are custom icons for each forum, different colors, different colors for stickly/closed threads, and links to OT in every forum/thread.

SamirDarji
09-04-2012, 05:26 PM
Doesn't work with vbadvanced cmps. I have it on my normal style but deactivated it on mobile.

Customizations are custom icons for each forum, different colors, different colors for stickly/closed threads, and links to OT in every forum/thread.Thank you again for the quick replies. :) What does vba do if you have it activated on your mobile style? Just not render correctly, or something more serious like db errors?

I noticed your facebook like box wasn't working for me on the homepage. Could be something on my end, but just wanted to let you know. :) Also, where did you find the "Total websites who have referred visitors today" module that you use on your forum homepage? That's really slick! I searched vb.org up and down but couldn't find it. :(

SamirDarji
09-05-2012, 12:42 AM
Nevermind on the vba questions--I found the answer re-reading the thread. :o

As far as the facebook like box--looks like all of their social plugins seem to be acting screwy, so it must be them.

blackberry
09-14-2012, 01:47 PM
how to add report button in it?

dartho
09-15-2012, 11:01 AM
edit postbit and/or postbit_legacy template, search for
<div class="windowbg" align="right">

and add

<if condition="$show['reportlink']"><a id="btn" href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_bad_post]</a></if>

immediately after it

blackberry
09-18-2012, 10:05 AM
edit postbit and/or postbit_legacy template, search for
<div class="windowbg" align="right">and add

<if condition="$show['reportlink']"><a id="btn" href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_bad_post]</a></if>immediately after it
thank you :)

karabaja3
11-07-2012, 07:04 PM
How can I add RedTyger's ad-display plugin and PostThanks plugin? They are allready installed at my default style.

dartho
11-08-2012, 12:12 AM
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

beekay
12-24-2012, 10:56 PM
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

Do you think you could help me add in vbseo likes into this style?

SBlueman
12-25-2012, 02:14 AM
I second beekay's request.

dartho
12-30-2012, 10:40 AM
Do you think you could help me add in vbseo likes into this style?

...

First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

SBlueman
12-30-2012, 04:30 PM
vbSEO likes is a default feature with vbSEO (http://www.vbseo.com/).

dartho
01-02-2013, 04:52 AM
Sorry - I don;t have VBSEO

sinomama
01-15-2013, 07:50 AM
Thanks very much for the style, it's the best of all I tried to install.

Just a question: how to remove the display of the "cybchatbox" and the "adavanced forum statistics" in this style plz? These are making a little chao on the page.

Help!

http://www.tingzi.net

sinomama
01-15-2013, 08:55 AM
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...

Basically you need to wrap all of the plugin in this code:


if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4)))
{

//All Original Code Here

}


Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.

Only thing to look out for, if in the plugin there is the line:
global $vbulletin;



I tried :

if (!in_array($vbulletin->userinfo['styleid'], array(49)))
{

<if condition="(($_REQUEST['do']=='cchatbox') OR ($_REQUEST['do']=='ccarc'))">
$stylevar[htmldoctype]
..........CHATBOX CODE...............

</body>
</html>
</if>

}

But it didn't work. (this style is 49)
Is the right code where I edited?

I got it!
I edited in "Cyb - Advanced Forum Statistics - CT" and "Cyb - ChatBox - CT" of the plugin manager, and it works!

Thank you so much! You are great! ^^

sinomama
01-15-2013, 11:07 AM
New question:
(aussi to BirdOPrey5)

I am using the Detect Mobile Device and Assign Style(product-mobdetect38.xml) of dartho, then, if I open the site with www.....php?stylei=49 in the IE, these plugins don't display, and le bouton "default style" works well.

but If I open the site in the safari of IPhone, mobile phone show again the plugins which I had disabled in the mobliestyle(styleid=49)...... :(

So, how can I correct it, plz? In the code of plugin "Detect Mobile Device and Assign Style"?


resolved........by creating a plugin disable them.

squidsk
01-20-2013, 10:20 PM
Two minor fixes:

1) CSS fix on line 364 add .thread_dot_new to the list of classes, this fixes the background not being the correct color. The change is given below.

.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread_hot_lock,.thread_dot_lock,.th read, .thread_moved, .thread_new, .thread_hot_new, .t\
hread_dot_hot_new, .thread_lock_new, .thread_dot_new2) Add class="$thread[statusicon]" to the anchor tag of sticky threads so that they get bolded when unread posts are present.

<if condition="$show['sticky']">
<div class="sticky">
$thread[movedprefix]
$thread[typeprefix]
$thread[moderatedprefix]
$thread[prefix_rich]
<a class="$thread[statusicon]" href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]">$thread[threadtitle]</a> <span class="smallfont">($thread[replycount] $vbphrase[replies])</span>
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">($thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
<if condition="$show['deletethread']">
<a href="postings.php?$session[sessionurl]do=deletethread&amp;t=$thread[threadid]">[$vbphrase[delete]]</a> <a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[threadid]">[$vbphrase[edit]]</a> </if>
<br />
$vbphrase[last_post]: $thread[lastposter], $thread[lastpostdate]
<if condition="!$show['detailedtime']">$thread[lastposttime]</if>
</div>

<else />

karabaja3
01-28-2013, 03:46 PM
How can I add RedTyger's ad-display plugin and PostThanks plugin? They are allready installed at my default style.

First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

2. vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

Chase
01-28-2013, 09:18 PM
Having the Post Thank You Hack working (and looking good) on the mobile style would be fantastic.

dartho
01-30-2013, 07:02 AM
Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

2. vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

Those mods are for vb4 - this is for vb3. That being said, I have post thanks working on a 3.8 site with this style, I'll have a look at what I did ...

dartho
01-30-2013, 07:21 AM
Having the Post Thank You Hack working (and looking good) on the mobile style would be fantastic.

Check this post: https://vborg.vbsupport.ru/showthread.php?p=2305594#post2305594

Chase
02-01-2013, 07:50 PM
Post Thanks Integration

edit postbit and postbit_legacy templates in lightweight style , search for
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
</if>and replace with
<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
$template_hook[postbit_controls]
</div>
</if>
$template_hook[postbit_end]

caveat: this may introduce other hacks into the lightweight style which use the postbit_end and postbit_control hooks

I can't find these last 2 edits in the postbit or postbit_legacy templates in the mobile theme.

dartho
02-01-2013, 11:48 PM
Try this:

edit postbit and postbit_legacy templates, search for (which should be the very end of those templates):

<div class="windowbg">
<if condition="$post['editlink']"><a id="btn" href="$post[editlink]">$vbphrase[edit]</a></if>
<if condition="$post['replylink']"><a id="btn" href="$post[replylink]">$vbphrase[reply]</a></if>
</div>


and replace with


<div class="windowbg" align="right">
<if condition="$template_hook[postbit_controls]">$template_hook[postbit_controls]</if>
<if condition="$post['editlink']"><a id="btn" href="$post[editlink]">$vbphrase[edit]</a></if>
<if condition="$post['replylink']"><a id="btn" href="$post[replylink]">$vbphrase[reply]</a></if>
</div>
<if condition="$template_hook[postbit_end]">$template_hook[postbit_end]</if>

bada_bing
02-14-2013, 08:57 PM
Just for curiosity I am looking for a lightweight style for our site but before we try this one I want to know a couple of things.

1. When a user visits our site with a smartphone will they automatically be reverted to the Lightweight style ?

2. We use tapatalk and when you visit our site with a smartphone the javascript will prompt the user to download the tapatalk client. If I install this style what will be the behavior then?

3. We also use a content server which we can use to redirect smartphone to this style but I wanted to know if there is something in this style that detects mobile devices?

Thanks

dartho
02-16-2013, 11:20 AM
This is just a simple style/template - no javascript, plugins or smarts to see here.

So to answer your questions: no, no different, and no

ludachris
05-13-2013, 03:28 PM
Which style to use, this one or your other Mobile Style for 3.8?

We have a lot of members who use Tapatalk, but I don't like having Tapatalk dictate how things show up, not to mention the way they have their ads showing up, etc. I'd really like to look into implementing a mobile style. The only problem is that we use vba Dynamics for our classifieds section - I take it your style wouldn't be compatible with that. Would it be compatible with other solutions, like ProVB's advanced forum plugin:
http://www.provb.org/vbulletin-mods/?vb_products=moreinfo&productid=11

Or maybe would it be better to just use the forums for the classifieds and use a couple of plugins like "thread thumbnails" (https://vborg.vbsupport.ru/showthread.php?t=214755) and "extra threadfields" (http://www.provb.org/vbulletin-mods/?vb_products=moreinfo&productid=1) to make it more like our existing classifieds solution, then apply one of your mobile styles? I just want the most effective and easy to integrate solution that will work with mobile. It seems like it would be easier to move away from Dynamics, but maybe it would be easier to just style that solution. I don't know. Would love your advice.

Which style would be best to start with to have more of our content viewable in a mobile style? This one or your other Mobile Style plugin? We also have a lot of static vBa CMPS pages, will this work with those? Or will we have to do a bit of work for those?

dartho
05-15-2013, 09:15 AM
Either style would pose the same challenges when implementing add-ons. For the most part, you just need to change templates for add-ons to be friendly in a mobile interface. Depending on the addon, they might even look OK enough to get away with, with no template changes.

imported_silkroad
12-15-2013, 06:17 PM
Hi.

This style just stopped working on our 3.8.7 vB forum and we cannot see any errors.

Any suggestions on how to debug this?

dartho
12-17-2013, 03:23 AM
"just stopped working" isn;t much to go on.

I'd suggest re-install, or install as a new style (so you don;t affect anything else), turn on template comments and look at the source of pages.

cawnpore
01-14-2014, 11:46 PM
I have a smimple question - If I install this mod to create a mobile version of vb forum, can I display specific pics or ad codes on the mobile version ONLY?
In other words they dont appear on main desktop version.

Mishal
01-30-2014, 09:47 PM
I need your help with this plug in " Mobile Device Detection" is there any way to return to full site when i come from mobile device ?

I, Brian
02-12-2014, 03:27 PM
This looks like a good product and seems to be working well.

The one problem is that the link "Default style" at the top does not revert the user to the default forum style.

I've had to disable it because it meant iPad users were forced onto the same format for iPod users, and unable to change the style type.

m7sen
03-29-2014, 08:03 PM
can u please upgrade this product to be a modern and more attractive like the vb4.× styles !

dartho
03-29-2014, 11:40 PM
can u please upgrade this product to be a modern and more attractive like the vb4.? styles !

Then use vbulletin 4.x :confused:

m7sen
04-12-2014, 07:05 PM
Then use vbulletin 4.x :confused:

I did not come here to take your opinion ^_^

i will buy it if u do it

karabaja3
04-24-2014, 05:42 PM
Is there a functional detector of cell phones and tablet system such as the one that has the vB Mobile Style v4.1.?
I used this, but it is not working properly.
https://vborg.vbsupport.ru/showthread.php?t=173239
Also, how can I implement this component to display advertisements in this template.
https://vborg.vbsupport.ru/showthread.php?t=131150

oldengine
10-22-2014, 08:52 PM
Looks good. Do we get to put Google Ads in this or not?

What version allows uploading photos?

Uninstalled.

mr.jo
11-19-2014, 12:16 AM
you are the best man :up:

Smitty
11-19-2014, 12:34 AM
I did not come here to take your opinion ^_^

i will buy it if u do itI suggest that you not complain about a free mod.

Reece^B
02-14-2015, 07:19 PM
How do you force for mobiles?

Sven
03-05-2015, 01:02 PM
Q: How would I add basic editor capabilities to the reply textarea?
I think it would be nice to have quick options for 'B/I/U/URL/IMG/QUOTE' BB Codes to be inserted into the reply field.

Akeles
04-11-2015, 12:30 AM
works well with me
thanks

m2006
04-15-2015, 01:58 AM
I can add Previous | Next Post link Below Post

kingbrend
04-21-2015, 09:33 AM
For some reason.. when I view the template and enable the template for others on the forum, it starts to increase server load... I'm not sure what is causing the trouble.

I have these plugins..
Cyb - Advanced Forum Statistics (I disabled for the template)
Cyb - ChatBox (I disabled for the template)
Post Thank You Hack
vB Ad Management
vBadvanced CMPS (I tried to disable but couldn't figure out how for this template)

And a few other plugins but I don't think they interfere with anything.

Could having any of the above plugins running with the template cause issues?

Why would server load increase with the template?

Any ideas?

Trevor Hannant
04-21-2015, 10:43 AM
For some reason.. when I view the template and enable the template for others on the forum, it starts to increase server load... I'm not sure what is causing the trouble.

I have these plugins..
Cyb - Advanced Forum Statistics (I disabled for the template)
Cyb - ChatBox (I disabled for the template)
Post Thank You Hack
vB Ad Management
vBadvanced CMPS (I tried to disable but couldn't figure out how for this template)

And a few other plugins but I don't think they interfere with anything.

Could having any of the above plugins running with the template cause issues?

Why would server load increase with the template?

Any ideas?

Installed it here and no noticable change - if anything the values inside AdminCP decreased!

Have you tried disabling Hooks via the config.php file temporarily to make sure it's not a conflict with a modification?

kingbrend
04-21-2015, 11:06 AM
**Fixed

BirdOPrey5
04-21-2015, 03:50 PM
DIsabling Hooks in config.php will turn off all modifications. If your site has features that depends on add-ons then yet those features will break.

The default forum features will continue to work.

I did not notice any increased load with this style. If anything load should decrease as less images need to be served.

dartho
04-21-2015, 08:12 PM
As others have said, increased server load seems a very unlikely effect of installing this style. Could it just be coincidence?

kingbrend
04-22-2015, 05:17 AM
*situation being worked out.

AnonymousHC
04-28-2015, 11:45 AM
Very Basic but still nice.

kingbrend
04-28-2015, 08:44 PM
**fixed

Ladillaxx
05-06-2015, 09:05 PM
Hello thank you for this wonderful contribution .

I have a problem when I enable vBSEO phones does not recognize me = (

Pakblogger
07-10-2015, 03:21 PM
Hi its great only one thing
I want to remove
strike through from closed threads title
But failed
Any idea?

dartho
07-10-2015, 10:30 PM
edit the lightweight.css.php file, search for "text-decoration: line-through" and remove/modify to your preference.

trnim.com
08-09-2015, 08:54 AM
thank you. It is great style.

Midohash
11-14-2015, 05:56 PM
Thanks a lot for the great style.

Just a little problem when I add youtube link, the video looks like that:

https://vborg.vbsupport.ru/external/2015/11/45.png

Is there any way to get rid of the extra: https://?

The problem happens with post reply template but not with quick reply! :confused:

Thanks

Midohash
11-15-2015, 10:09 AM
If anyone is running AME 2.5 (automatic media embedder) I have figured out how to have embedded videos made smaller in the mobile style so they can still be watched inside posts.

In the file ame_bbcode.php that came with the AME mod (in your /includes directory)

find:
$dimensions = "_$ameinfo[zone]";
$ameinfo['width'] = $vbulletin->options['automediaembed_width' . $dimensions];
$ameinfo['height'] = $vbulletin->options['automediaembed_height' . $dimensions];


and below it Add:

if ($vbulletin->userinfo['styleid'] == 38)
{
$ameinfo['height'] = round($ameinfo['height']/2.3);
$ameinfo['width'] = round($ameinfo['width']/2.3);
}

Change 38 to the styleid of your mobile style.

Yo can set absolute heights and widths if you prefer, I am calculating it as a fraction of my set values which words well for me. You can experiment with the exact numbers to find what works best for you.

Tried it but still not working when surfing the forum from my mobile phone but works only when using my laptop!

How can I change /2.3 into px?

should it look like that:

$ameinfo['height'] = round($ameinfo['height']/150px);
$ameinfo['width'] = round($ameinfo['width']/200px);

Thanks

3DSJFH
08-31-2016, 05:06 PM
Both on Chrome & Opera Mini on Android 6 & 4 The "New Thread" button gets broken up into two rows if there exists several pages of post on the forum section you view.
Anyone got some fix for that? (See attached picture for example).

Nas.er
09-05-2016, 01:57 AM
<font size="2">Many thanks
Donation sent for Branding Free
</font>

dartho
09-17-2016, 05:01 AM
Both on Chrome & Opera Mini on Android 6 & 4 The "New Thread" button gets broken up into two rows if there exists several pages of post on the forum section you view.
Anyone got some fix for that? (See attached picture for example).

To stop the button breaking over 2 lines, you can add a non breaking space bewteen "New" and "Thread"

To do this, edit FORUMDISPLAY template (or which ever one applies) and replace
$vbphrase[new] $vbphrase[thread]
with
$vbphrase[new]&nbsp;$vbphrase[thread]

Emad ELsayed
03-03-2017, 09:49 AM
Hello dear
Theme wonderful, but I having a problem with a lack of small images in Style
See this image
https://vborg.vbsupport.ru/attachment.php?attachmentid=155925&stc=1&d=1488541762

flox80
03-09-2017, 06:09 AM
would this work with 3.8.11? I not, can anyone point me in the right direction in order to get a mobile/responsive 3.8.11 version? Appreciate it, thanks.

Mark.B
03-10-2017, 07:51 AM
would this work with 3.8.11? I not, can anyone point me in the right direction in order to get a mobile/responsive 3.8.11 version? Appreciate it, thanks.
No reason at all why it should not work.

shibby2
04-06-2018, 10:29 PM
Love it, but there's no 'manage attachments' button on newreply.php.

Anyone else have this problem? I really need to be able to have members upload pictures from their mobile device.

Help.

Goomzee
12-17-2018, 05:03 AM
not works Mobile phone not detect this theme

webnsn
11-20-2019, 07:05 AM
I have implemented please check Demo http://wikinewforum.com/showthread.php?t=360440

webnsn
03-10-2020, 11:52 AM
Upload contents of forum folder to your forum root
how to do?

webnsn
03-11-2020, 11:25 AM
Just an update.

I have implemented the same.

After this you must implement below too
https://vborg.vbsupport.ru/showthread.php?t=226946