vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Make quick style chooser update user settings (https://vborg.vbsupport.ru/showthread.php?t=133831)

Xoligy 12-11-2006 10:00 PM

Make quick style chooser update user settings
 
The Quick style chooser relies on sessions rather than updating the actual user's settings. This means when you want to see what skin a user is using, it's usually not correct. Since most users tend to change skins using just the Quick Style Chooser, this plug-in updates their settings to match it. It's specifically for use with my skin view plug-in, but also could be handy for other forums. Simply install it using the product manager.

Note: This will not update a user's settings until they re-visit your forums. It is also said to fix issues with psiStats giving inaccurate results.

Update: This now lets users easily reset their options back to the default style.

You're free to do what you like with this code, although credit is appreciated, it's not required.

Brought to you by eXaltic - vBulletin skins.

Allan 12-12-2006 04:56 PM

i need install this product before ?

https://vborg.vbsupport.ru/showthrea...hreadid=133805

Xoligy 12-12-2006 05:08 PM

It doesn't matter what order you install them in :)

Allan 12-12-2006 05:25 PM

I have installed the 2 mod and i little problem :p

In postbit template, i have added this:
Code:

Style: $post[stylename]
Looking:

Xoligy 12-12-2006 05:38 PM

As mentioned in the other thread, you should wrap <if condition="$post[stylename]"> </if> round it, so you'd have:

<if condition="$post[stylename]">Style: $post[stylename]</if>

AMG021 12-12-2006 06:37 PM

Works like a charm!!!!!

Allan 12-12-2006 06:48 PM

I'm stupid, excuse me, it work now :)

HPIA 12-12-2006 10:09 PM

I dont understand...I installed them both and added that <if condition="$post[stylename]">Style: $post[stylename]</if> in the postbit template. What did I do wrong?

AMG021 12-13-2006 02:25 AM

Quote:

Originally Posted by HPIA (Post 1137398)
I dont understand...I installed them both and added that <if condition="$post[stylename]">Style: $post[stylename]</if> in the postbit template. What did I do wrong?

Try adding it to posbit_legacy too. I have them added in both templates

Xoligy 12-13-2006 09:01 AM

If your site uses the 2 column view like vbulletin.org does, then you need to edit postbit_legacy.


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