vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Condition for the postbit or the postbit_lagacy (https://vborg.vbsupport.ru/showthread.php?t=248052)

jolinary 08-05-2010 04:06 PM

Condition for the postbit or the postbit_lagacy
 
Hello, I research a condition that would allow me to post a contents according to if the postbit is used or the postbit_legacy, thank you for advances.

Agathadaimon 08-08-2010 03:26 PM

Admin CP> vBulletin Options> User Reput Settings> User Reput System Active> Yes

Postbit rep points and also to show the degree

AdminCP / Styles and themes / templates search / postbit_legacy

Find;


Code:

<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if>
Edit;


Code:

<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</div></if>
 <div>Rep Points: $post[reputation]</div>
 <div>Rep Level : $post[reputationdisplay]</div></if>

__________________

jolinary 08-09-2010 03:40 PM

Good evening, thank you, but this is not what I research, I research a condition that would allow me to do apparaitre a different contents according to if the member uses the postbit or the postbit_legacy.

Lynne 08-09-2010 04:14 PM

Can't you just modify the template?

jolinary 08-10-2010 09:50 PM

I want to place a picture that will be different in the template showthread, according to if the member uses the postbit or the postbit_legacy, only a condition not very done that I think.

Thanks.

Lynne 08-11-2010 01:07 AM

And how is it determined which template the user is using? It is a styleid? Is it a mod you installed that allows them to choose? (It is not a default option that allows them to choose.) Use the styleid or the modification setting to determine this.

jolinary 08-12-2010 07:38 PM

Good evening, it is a modification that allows the member to select the one of the two presentations.

here: http://www.vbulletin-ressources.com/...ad.php?t=21363

Thanks

Lynne 08-12-2010 10:46 PM

Sorry I'm not familiar with that mod, nor do I read french. I'd suggest asking them what the setting is that you could use in your template.

jolinary 08-13-2010 04:57 AM

I will contact the author of the modification, thank you.


All times are GMT. The time now is 03:18 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.00960 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete