vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=237)
-   -   Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA (https://vborg.vbsupport.ru/showthread.php?t=263822)

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

Quote:

Originally Posted by karabaja3 (Post 2400102)
Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack

2. vB Ad Management 4

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

Quote:

Originally Posted by Chase (Post 2400170)
Having the Post Thank You Hack working (and looking good) on the mobile style would be fantastic.

Check this post: https://vborg.vbsupport.ru/showthrea...94#post2305594

Chase 02-01-2013 07:50 PM

Quote:

Originally Posted by dartho (Post 2305594)
Post Thanks Integration

edit postbit and postbit_legacy templates in lightweight style , search for
Code:

<img src="$stylevar[imgdir_misc]/moderated_small.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
</div>
</if>

and replace with
Code:

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

Code:

<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


Code:

<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/...o&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/...fo&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?


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