vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Lightweight Style Options for "Lightweight Style" (https://vborg.vbsupport.ru/showthread.php?t=249339)

dartho 09-22-2010 12:15 AM

There are 2 ways to add that message. One where the info gets logged in the DB and shown in the post footer on the left hand side, and the other when the message gets appended to the post itself. By default, the first option is what it uses. To enable the second, you need to make active the 2 inactive plugins for this product in the plugin manager.

If I could have admin access for a site where the 1st option isn't working, I might be able to work out why.

Mr Peabody 09-22-2010 05:30 AM

is there any way to disable the vbadvanced CMS and make it go straight to the forum main page?

dartho 09-22-2010 08:05 AM

edit the adv_portal template and put a link and/or a redirect to the forum

Mr Peabody 09-22-2010 07:20 PM

cheers :)

Rob F 09-22-2010 10:45 PM

Might be a simple question but I've not seen it asked so here goes ...

Is it possible at all to have the reply box scroll as a member is typing a reply? This was possibly the only criticism our members had on the old mobile style, that once they reached the bottom of the box they could keep typing a message but couldn't see what they were typing.

dartho 09-22-2010 10:56 PM

scrolls down happily in my testing? I don't think there are any tags to control that behaviour - perhaps outdated browsers on users devices, or a device specific issue?

nike.stars 09-26-2010 02:50 AM

just want to let you know that this feature isn't working:

* Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised)

dartho 09-26-2010 03:21 AM

It's woking fomne on my site, however check post #42 on the previous page

dhemitz 09-27-2010 05:18 AM

Thanks......

reki 09-30-2010 09:50 PM

Hi dartho, I seem to have a bit of a major problem. I installed the Lightweight style, which was all fine, and then tried to install the Lightweight style options product, and it seemed to hang during the install. In the product manager, the product didn't seem to install, but then I then went to the front page of my forums and got this: http://forums.relicnews.com.

I deleted the lightweight style, but it still remains. This happens using the vBulletin default style and my custom style. I had no previous mobile styles installed.

Please help!

dartho 09-30-2010 10:16 PM

It looks like teh master style got overwritten. I don't know how this can happen. You will need to upload tools.php from the vbUlletin install package to your admincp and restore your master style (very first setting)

reki 09-30-2010 10:26 PM

Ah thanks, that fixed it. :)

reki 09-30-2010 10:42 PM

Unfortunately, it seems to overwrite the master style every time I import the lightweight style. This is using v 4.0.7. Very strange... any ideas, dartho?

dartho 09-30-2010 11:02 PM

It really shouldn't be! When importing the style, are you what options are you choosing? Try choosing the default style as the parent

strudinox 10-01-2010 03:13 AM

Great mod! Installed + 5 stars!

glen290 10-04-2010 08:39 AM

Quick question before I enable this, is there anyway to bypass the vbulletin CMS and go straight to forums ?

dartho 10-04-2010 10:11 AM

not using this addon, however, check this post in the style thread: https://vborg.vbsupport.ru/showthrea...67#post2097867

whites 10-11-2010 06:03 PM

Quote:

Originally Posted by nike.stars (Post 2103220)
just want to let you know that this feature isn't working:

* Optionally add 'Posted Via Mobile' message to new posts/threads (message can be customised)

I'm experiencing the same thing, any ideas on what is going on?

Cadellin 10-12-2010 06:14 PM

Quote:

Originally Posted by whites (Post 2109159)
I'm experiencing the same thing, any ideas on what is going on?

The "Post by Mobile Device" doesn't work for me either on both the default and my custom theme.

whites 10-19-2010 05:49 PM

dartho, can we get an update on what is going on with the 'Posted by Mobile Device' problem?

Thanks!

fly 10-19-2010 06:02 PM

Do you have his other skin/theme/thing installed?

dartho 10-20-2010 11:41 AM

ah - good point flypaper - I forgot about issues there.

whites - "posted by Mobile" works perfect on my dev site which has minimal otehr addon's. Make sure you read the "Notes"section in the first post.

If you are not/ no longer using the previous "Mobile" style, remove it and teh associated add-on, uninstall this one and then re-install it and check settings.

I am willing to log onto sites to check them out to see if I can resolve issues, send me a PM.

whites 10-22-2010 04:50 PM

dartho,

After removing the style and the options plugin, and re-installing them, it is working now.

Thanks!

dartho 10-22-2010 09:11 PM

Good to hear!

OldSchoolDSL 10-26-2010 02:35 AM

Working flawlessly on 4.0.8

Thank you

thieu.bocap 11-22-2010 04:08 PM

Can't remove, database error when i remove this add-on :(

dartho 11-22-2010 08:45 PM

what is the database error? Also - did you read the notes section before installing?

rughis 11-23-2010 07:30 AM

Hello

Really a nice add-on.

Just a question: is it possible to disable CMS navigation from Lightweight Style?

dartho 12-02-2010 05:31 AM

same on my test site - I'll look into it and fix

dartho 12-02-2010 10:33 AM

worked it out.

replace the header template in the lightweight style with:

Code:

<vb:if condition="$vboptions['ls_page_title']!=''">
        <div align="right">
                <vb:if condition="$vboptions['ls_default_style_link']==1">
                        <a class="toplinks" href="{vb:raw vboptions.ls_navbar_home}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
                </vb:if>
        <vb:if condition="$show['member']">
                <a class="toplinks" href="login.php?do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}">{vb:rawphrase log_out}</a>
        </vb:if>
        </div>
        <div class="header" align="left">{vb:raw vboptions.ls_page_title}</div>
<vb:else />
        <div class="logo" style="text-align:right;">
                <vb:if condition="$vboptions['ls_default_style_link']=='1'">
                        <a class="toplinks" href="{vb:raw vboptions.ls_navbar_home}?{vb:raw session.sessionurl}styleid={vb:raw vboptions.ls_default_style}">{vb:raw vboptions.ls_default_link}</a>
                </vb:if>
                <vb:if condition="$show['member']">
                        <a class="toplinks" href="login.php?do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}">{vb:rawphrase log_out}</a>
                </vb:if>
        </div>
</vb:if>

<vb:if condition="$ad_location['ad_header_logo']">
        {vb:raw ad_location.ad_header_logo}
</vb:if>


rughis 12-02-2010 09:06 PM

Sorry, how can I avoid the HOME navigation when I use this lightweight style?

dartho 12-02-2010 09:39 PM

Quote:

Originally Posted by wiredpath (Post 2128553)
Sorry, how can I avoid the HOME navigation when I use this lightweight style?

See this post for a work around: https://vborg.vbsupport.ru/showthrea...83#post2089883

rughis 12-04-2010 04:13 PM

Quote:

Originally Posted by dartho (Post 2128569)

Thank you Dartho!

I used the code you suggested to another user in a previous post and now all is working fine.

Quote:

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


I have now only an issue to fix: can I automatically redirect the users to the forum?

dartho 12-04-2010 08:40 PM

You could put this in the head section of that template code:
Code:

<meta http-equiv="refresh" content="0;url=http://yourdomain.com/forum"/>

rughis 12-05-2010 02:16 PM

Quote:

Originally Posted by dartho (Post 2129364)
You could put this in the head section of that template code:
Code:

<meta http-equiv="refresh" content="0;url=http://yourdomain.com/forum"/>

Thank you again :)

This style is really wonderful!

This is my final result :)

https://vborg.vbsupport.ru/external/2010/12/56.png

OldSchoolDSL 12-05-2010 06:07 PM

uninstalled.

The_____KinG 12-16-2010 06:43 AM

I use a vb4 suite< 4.07> can i use the lightweight style and this add on product with it without any problem because i read this is only for vb4 forums

will the mobile version have the HOME and Forum and BLOG tab separately or the Home on the moble skin denotes the forum page ?

appreciate the hard work and like the product

dartho 12-16-2010 08:32 AM

it means that CMS and BLOG will not render well under this style - they'll basically look pretty crappy, but the forums will look as in the screen shots. There are no links to the BLOG or CMS. Check the vbdev.org test site and you'll get an idea what I mean ...

osva 12-31-2010 07:56 PM

Hi
When I installed this on my forum it will hang my server. I have a huge database. COuld this be the problem?
My load average go beyond 100.0

thanks

dartho 12-31-2010 09:58 PM

part of teh install process is adding 2 new columns to the post and thread tables. This is probably where it is getting caught up if you have a huge database.

You could manually add these (name MOBILE, type BOOL and name UA, type VARCHAR(100)) and edit the XML and remove the contents of the <installcode> and <uninstallcode> blocks


All times are GMT. The time now is 11:50 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.01468 seconds
  • Memory Usage 1,818KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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