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)

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

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

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

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

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

Quote:

Originally Posted by rady (Post 2348596)
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.

Quote:

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

Quote:

Originally Posted by SamirDarji (Post 2362028)
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

Quote:

Originally Posted by Blueracer66 (Post 2362031)
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. :)
Quote:

Originally Posted by BirdOPrey5 (Post 2362070)
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. :)


All times are GMT. The time now is 01:35 PM.

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.01232 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_code_printable
  • (5)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