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)

beekay 12-24-2012 10:56 PM

Quote:

Originally Posted by dartho (Post 2379270)
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

Do you think you could help me add in vbseo likes into this style?

SBlueman 12-25-2012 02:14 AM

I second beekay's request.

dartho 12-30-2012 10:40 AM

Quote:

Originally Posted by beekay (Post 2392638)
Do you think you could help me add in vbseo likes into this style?

...

Quote:

Originally Posted by dartho (Post 2379270)
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.


SBlueman 12-30-2012 04:30 PM

vbSEO likes is a default feature with vbSEO.

dartho 01-02-2013 04:52 AM

Sorry - I don;t have VBSEO

sinomama 01-15-2013 07:50 AM

Thanks very much for the style, it's the best of all I tried to install.

[S]Just a question: how to remove the display of the "cybchatbox" and the "adavanced forum statistics" in this style plz? These are making a little chao on the page.

Help![/S]

http://www.tingzi.net

sinomama 01-15-2013 08:55 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2249606)
Pretty much any mod can be disabled for a specific style or styles if you edit the plugins for the mod. You can't go wrong editing every single plugin for a mod but sometimes you don't need to edit every single one...

Basically you need to wrap all of the plugin in this code:

PHP Code:

if (!in_array($vbulletin->userinfo['styleid'], array(2,3,4)))
{
 
  
//All Original Code Here
 


Where 2, 3, and 4 are the styleids you want to disable the mod in. You can add ore remove as many as you want, just separate each with a comma. If there's only 1 you don't need the comma.

Only thing to look out for, if in the plugin there is the line:
Code:

global $vbulletin;

[S]I tried :[/S]
PHP Code:

if (!in_array($vbulletin->userinfo['styleid'], array(49)))
{
 
 <if 
condition="(($_REQUEST['do']=='cchatbox') OR ($_REQUEST['do']=='ccarc'))">
        
$stylevar[htmldoctype]
..........
CHATBOX  CODE...............

        </
body>
        </
html>
    </if>
 


[S]But it didn't work. (this style is 49)
Is the right code where I edited?[/S]

I got it!
I edited in "Cyb - Advanced Forum Statistics - CT" and "Cyb - ChatBox - CT" of the plugin manager, and it works!

Thank you so much! You are great! ^^

sinomama 01-15-2013 11:07 AM

[S]New question:
(aussi to BirdOPrey5)

I am using the Detect Mobile Device and Assign Style(product-mobdetect38.xml) of dartho, then, if I open the site with www.....php?stylei=49 in the IE, these plugins don't display, and le bouton "default style" works well.

but If I open the site in the safari of IPhone, mobile phone show again the plugins which I had disabled in the mobliestyle(styleid=49)...... :(

So, how can I correct it, plz? In the code of plugin "Detect Mobile Device and Assign Style"?[/S]


resolved........by creating a plugin disable them.

squidsk 01-20-2013 10:20 PM

Two minor fixes:

1) CSS fix on line 364 add .thread_dot_new to the list of classes, this fixes the background not being the correct color. The change is given below.

Code:

.thread_dot, .thread_hot, .thread_dot_hot, .thread_, .thread_lock,.thread_hot_lock,.thread_dot_lock,.thread, .thread_moved, .thread_new, .thread_hot_new, .t\
hread_dot_hot_new, .thread_lock_new, .thread_dot_new

2) Add class="$thread[statusicon]" to the anchor tag of sticky threads so that they get bolded when unread posts are present.

Code:

<if condition="$show['sticky']">
<div class="sticky">
            $thread[movedprefix]
            $thread[typeprefix]
            $thread[moderatedprefix]
            $thread[prefix_rich]
<a class="$thread[statusicon]" href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]">$thread[threadtitle]</a> <span class="smallfont">($thread[replycount] $vbphrase[replies])</span>
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">($thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
<if condition="$show['deletethread']">
<a href="postings.php?$session[sessionurl]do=deletethread&amp;t=$thread[threadid]">[$vbphrase[delete]]</a> <a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[threadid]">[$vbphrase[edit]]</a> </if>
<br />
$vbphrase[last_post]: $thread[lastposter], $thread[lastpostdate]
<if condition="!$show['detailedtime']">$thread[lastposttime]</if>
</div>

<else />


karabaja3 01-28-2013 03:46 PM

Quote:

Originally Posted by karabaja3 (Post 2379215)
How can I add RedTyger's ad-display plugin and PostThanks plugin? They are allready installed at my default style.

Quote:

Originally Posted by dartho (Post 2379270)
First - you need to provide links to these addons so I can look. Chances are it will mostly be a matter of template edits to get them working and looking right.

Thanks for reply. Here there are:

1. [AJAX] Post Thank You Hack

2. vB Ad Management 4


All times are GMT. The time now is 06: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.01303 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)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