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)

Hippy 03-08-2012 11:02 AM

Thanks dartho I'll give it a go when I GET home. Thanks

autoescala 03-09-2012 08:05 AM

Dear Dartho,

Thank you very much to help me to remove the underline properties of the text.

I have 2 questions more:

I installed the new version, and I can't see the "PC Mode" button, only appears the button "Log out" is normal ?

second, where or how can I put the adsense codes to see the banners up the navbar and in footer ??

In the new 4.1.11 version if you configure the new "google adsense"option in Ads, appears banners in all templates with the same size.

I want to do the same but without using this option, because this options , no difference between PC and mobile templates. I want to put the mobile adsense code for mobile in a part of this nice style....

here is an example:

https://vborg.vbsupport.ru/external/2012/03/35.png

I hope I explained well...

Best regards, thanks in advance

Bounce 03-09-2012 05:50 PM

Quote:

Originally Posted by autoescala (Post 2307786)

I installed the new version, and I can't see the "PC Mode" button, only appears the button "Log out" is normal ?

did you install https://vborg.vbsupport.ru/showthread.php?t=249339 ?

That has the option to Add a link to the default style

autoescala 03-12-2012 08:57 AM

Thanks Bounce, I will try this!!

Filgga 03-12-2012 03:19 PM

Quote:

Originally Posted by dartho (Post 2305643)
Integrating Abe1's post thanks add-on into the lightweight style.

replace the following templates with the code provided (in the lightweight style only!!)
post_thanks_box
Code:

<if condition="$post_thanks_box"><div class="windowbg" id="post_thanks_box_$post[postid]">$post_thanks_box</div></if>
post_thanks_button
Code:

<a id="btn" href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&amp;p={vb:raw post.postid}&amp;securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groan_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="post_thanks_button">{vb:rawphrase post_thanks_thanks}</a>
post_thanks_postbit
Code:

<vb:if condition="$post['post_thanks_amount'] == 1">
            {vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
        <vb:else />
            {vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
        </vb:if>
{vb:raw post.post_thanks_bit}

Edit both the postbit & postbit_legacy templates as follows

Search for:
Code:

<vb:if condition="$post['editlink']"><a id="btn" href="{vb:raw post.editlink}">{vb:rawphrase edit}</a></vb:if>
Add the following immediately above:
Code:

{vb:raw template_hook.postbit_controls}
Then go to end of template and paste in:
Code:

{vb:raw template_hook.postbit_end}
and your done!

Hi dartho,

Can this be employed for the vBSEO_like button?

dartho 03-13-2012 03:38 AM

Same answer as the first time you asked, Filgga :)
Quote:

Originally Posted by dartho (Post 2305584)
Link me to a copy and I can look when I get a chance


Filgga 03-13-2012 03:50 AM

Quote:

Originally Posted by dartho (Post 2309015)
Same answer as the first time you asked, Filgga :)

Done,

Thanks.

Timac LEO 03-14-2012 05:42 AM

Update vbulletin 4.1.11?

Hippy 03-14-2012 10:38 AM

works fine with vb4.1.11

Bounce 04-11-2012 08:15 PM

Quote (Reply) is broken in vb 4.1.12

doesnt quote! :(


All times are GMT. The time now is 08:15 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.02142 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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