vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

sportsfroma2 07-24-2011 11:54 PM

Quote:

Originally Posted by dartho (Post 2219837)
I think that may be a new template, as it does not exist in my style, so deleting it's contents is probably the way to go. To answer your question - no, it will not cause other issues removing that code.

ed: Just looked at my test site, I have that template there same as above.

However, I have deleted the contents of the editor_clientscript template. Also, I have replaced the contents of the contents of the editor_ckeditor template with that of the editor_toolbar_off template

thanks Dartho, that helped alot...

sportsfroma2 07-25-2011 12:00 AM

Dartho, question for you- This probably isn't a result of your mod, but since you know a lot about the functionality of the mobile style and vbulletin, figured I'd put this question in this thread:


I currently have a subdomain setup (through cpanel) so that mobile.mydomain.com takes me to the site in "mobile style" - the site in this skin.. So mobile.mydomain.com = http://www.mydomain.com/forums/forum.php?styleid=21

Now I wanted to turn on mod_rewrite friendly URL's for my site, so I used the .htaccess file that's bundled with vbulletin to rewrite the URLs- everything worked fine my my main style, but I was no longer able to get to the lightweight style from mobile.mysite.com

any recommendation?

dartho 07-25-2011 01:34 AM

What I suggest you do if you want a mobile.domain.com type site is install another add-on mine - https://vborg.vbsupport.ru/showthread.php?t=174381 - after installing this, configure it for mobile.domain.com, also add mobile.domain.com to your post referrer whitelist in Admincp->Settings lastly, configure the sub domain in cpanel to not redirect, but to park it on the same websapce as your primary domain.

sportsfroma2 07-25-2011 02:49 AM

Quote:

Originally Posted by dartho (Post 2224583)
What I suggest you do if you want a mobile.domain.com type site is install another add-on mine - https://vborg.vbsupport.ru/showthread.php?t=174381 - after installing this, configure it for mobile.domain.com, also add mobile.domain.com to your post referrer whitelist in Admincp->Settings lastly, configure the sub domain in cpanel to not redirect, but to park it on the same websapce as your primary domain.

Hmm, I'll look into that... Thanks again Dartho, really appreciate it :cool:

ndut 07-30-2011 03:40 AM

waiting for vb 4.1.5

etca 07-30-2011 03:45 AM

Quote:

Originally Posted by dartho (Post 2222169)
I'll likely update after 4.1.5 is released.

However, the only issue I have had on my test site after updating to 4.1.4 is smileys showing up in a full reply which can be fixed following the instructions on the previous page.

i use 4.1.5, lightweight is work
except showing the smiley of course. :)

S_E_A 07-30-2011 04:05 PM

Quote:

Originally Posted by deverill2010
I have also noticed that if I edit a post it breaks out of the frame and you have to keep scrolling right to see the end of the box.
Damn updates!

Quote:

Originally Posted by dartho (Post 2207400)
Go into style manager and open up the Editor Templates > editor_toolbar_off template. Copy it's contents and then edit the Editor Templates > editor_ckeditor template and paste in what you copied. Then edit the editor_clientscript template and delete it's contents.

I have tried the above suggestion without any luck. Has the suggestion worked for others? If yes, then I am obviously doing something wrong. Or will the 4.1.5 update resolve the problem, dartho?

Thank you

dartho 07-30-2011 11:22 PM

I didn;t look into the post editing breaking out of frame as I couldn't reproduce. Could you link me to your site so I can check? I'd need an account to test

dartho 07-31-2011 10:16 AM

Got PM - thanks. I see the "breaking out of the frame" issue. I think I'm going to have to upgrade my test site to 4.1.5 to check properly which may not happen for a couple days. If you can PM me admin credentials (or change the acocunt I just logged in with to have admin rights on tenmplate editing) I could look nowish...

S_E_A 07-31-2011 10:40 AM

Hi dartho,

I have sent you a PM.

Thank you.

S_E_A 07-31-2011 10:49 AM

I've changed my mind :) There is no big rush, so I've decided to wait until you upgrade your test site to 4.1.5 to check properly. That okay mate?

matt94gt 08-03-2011 12:56 AM

Hi, just waiting for vBulletin 4.1.5 version!

Thanks!

The Rocketeer 08-03-2011 05:48 AM

Also waiting for vBulletin 4.1.5 version!

@Dartho What are the plans for this mobile style? I hear vb is coming up with their own mobile style that was supposed to be included with 4.1.5 but has been delayed till 4.1.6.?? how will this function along side that? and would we have to disable one to use the other? some details would be appreciated

very excited. thaNKS

dartho 08-03-2011 06:45 AM

vBulletin already have had their own mobile style for a few releases now - since 4.1.2? Install it and check it out. As with all styles, you can have as many as you like installed.

The Rocketeer 08-03-2011 08:41 AM

What do you prefer? This style or the one included in vB ? I personally think this looks better than the one that comes with vB.

Anyway, Also wanted to ask, when will a fully compatible version for 4.1.5 will come out? A lot of things have changed since 4.1.3 and since we are on 4.1.5 I am sure it will install and run but just to make sure I think you should probably just have a quick check to make sure its 100% compatible and all. let me know! thanks

dartho 08-03-2011 09:14 AM

Neither - I don't use vb4 :)

Not sure if/when it would be "fully compatible" - there are just a couple changes mentioned on previous pages to make this one work with 4.1.5 as well as it does with previous versions. I just need the time to sit, implement and package up properly before puttibg up a new version here...

matt94gt 08-03-2011 05:15 PM

How do I install the one on vb4 thats included?!

dartho 08-03-2011 08:57 PM

Quote:

Originally Posted by matt94gt (Post 2228813)
How do I install the one on vb4 thats included?!

check here for instructions https://www.vbulletin.com/docs/html/styles_mobile

Crotan 08-05-2011 05:51 AM

Thanks for this!

Installed and made template changes as per
Quote:

However, I have deleted the contents of the editor_clientscript template. Also, I have replaced the contents of the contents of the editor_ckeditor template with that of the editor_toolbar_off template
Anything else I should be aware of?

Bounce 08-07-2011 08:50 PM

vBulletin mobile style is rubbish compared to this!

I installed a test style for my users with the new mobile style to see if they thought it was better than this one, not one agreed that it was, so this style will be kep't as long as dartho is around to update it!

Thanks for your continued hard work Mr D

merly70 08-08-2011 09:11 PM

Hi, I've searched but have not found this mentioned. Some users on the forum rely heavily on their subscribed threads list, and are reporting that threads they start when using Lightweight on not showing on the list, though they do appear once they make a reply to the same thread. We are on 4.1.4. I just tested and had the same result.

dartho 08-08-2011 09:39 PM

try this:
edit newthread template, search for
Code:

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
and add immediately after
Code:

<input type="hidden" id="subscribe" name="subscribe" value="1" />

matt94gt 08-08-2011 11:56 PM

thanks, still would perfer this one then vB's so ill wait for the update.

The Rocketeer 08-09-2011 08:29 AM

come on Dartho! give us the updated version already. Please just sit down and do it for us :D

RRiccio 08-09-2011 11:18 AM

Quote:

Originally Posted by RRiccio (Post 2207268)
Quote:

Originally Posted by tadukuttan (Post 2185245)
Desktop/PCMode link does not seem to work with VB 4.1.3, every time user switches to Desktop Style, clicking any forum link causes style to switch back to Mobile/Lightweight style. I just changed default style chooser to have 'none' option with value '-1', similar to what VB mobile style uses to switch back to full style.
Code:

                        <setting varname="ls_default_style" displayorder="20">
                                <datatype>free</datatype>
                                <optioncode>select:eval
$options = fetch_style_title_options_array();$options = array('-1' => $vbphrase['none']) + $options;</optioncode>
                        </setting>

This works alright, please let me know if there is better fix.

where do I edit this?

anyone?

dartho 08-09-2011 01:32 PM

in the XML before it is imported

RRiccio 08-10-2011 01:23 PM

Its already installed, can I just import it again over the already installed? Will I lose the modifications I did?

thank you

Ozymandyus 08-10-2011 01:38 PM

Quote:

Originally Posted by RRiccio (Post 2231811)
Its already installed, can I just import it again over the already installed? Will I lose the modifications I did?

You can do it that way, as an upgrade install. Usually you get the best results if you uninstall first before re-installing, however. Another option would be to give it a different name and install it alongside your current install, then move over your customizations before uninstalling the original version.

The Rocketeer 08-17-2011 01:45 AM

still no updates. :(

Macgiber 08-17-2011 02:21 AM

installed

DaffyDuck 08-17-2011 07:05 AM

Where would you mod this style, so as to reduce the size of the thumbnails displayed in the CMS?

Code Geass 08-21-2011 01:57 PM

works on 4.1.5 ?

Bounce 08-21-2011 05:38 PM

Can Private Messages be deleted in a future version ?

Bounce 08-21-2011 05:39 PM

Quote:

Originally Posted by Code Geass (Post 2236157)
works on 4.1.5 ?

Yes, works fine on my 4.1.5

deverill2010 08-23-2011 03:24 PM

Dartho I think I posted about this before but cant find my post. When I create a new thread or click reply in this style, the smilies are all in a vertical list which makes the box really huge.

How do I get them to wrap horizontally?

this is the code in the editor_smiliebox

Code:

<vb:comment><h4 class="blocksubhead">Smilies</h4></vb:comment>

<ul class="smiliebox floatcontainer" id="{vb:raw editorid}_smiliebox">
        {vb:raw smiliebits}
</ul>
<vb:if condition="$show['moresmilieslink']">
        <div class="moresmilies">[<a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="{vb:rawphrase showing_x_smilies_of_y_total, {vb:raw vboptions.smtotal}, {vb:raw totalsmilies}}">{vb:rawphrase more}</a>]</div>
</vb:if>


deverill2010 08-23-2011 03:53 PM

Don't worry Dartho, I did your fix ages ago that I asked about when the editor box breaks out of the frame (bit slow i know lol) and it has removed the smilies completely, so no need to worry now.

wullieclsfb 08-24-2011 11:26 AM

not being detected after latest vbulletin update

wullieclsfb 08-24-2011 01:24 PM

got it working but the page is to big for the phone now and is scrolling with a black box below the logo and on the footer any help please

dartho 08-24-2011 11:26 PM

do you have a link I can look at?

wullieclsfb 08-25-2011 07:22 PM

Quote:

Originally Posted by dartho (Post 2237650)
do you have a link I can look at?

www.orangeandpurple.org


All times are GMT. The time now is 10:10 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.02244 seconds
  • Memory Usage 1,825KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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