vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mark User as Contributor (https://vborg.vbsupport.ru/showthread.php?t=61082)

FastAttack 02-03-2004 01:04 AM

I did the simple way and used this conditional in the postbit:

PHP Code:

<if condition="$post[subscriptionid] == 4">Im a paying member</if> 

thanks to funkie for pointing it out ..

btw this hack works if you don't want to have added features as a donator

Randuin 02-03-2004 02:03 AM

Okay... I tried using the <img> tags in phrases...It didn't work :(

assassingod 02-03-2004 05:43 AM

Quote:

Originally Posted by Randuin
Okay... I tried using the <img> tags in phrases...It didn't work :(

I'll get to work on this.

PranK 02-03-2004 05:53 AM

schweet - nice job assasingod!! :) :D

[high]* PranK clicks install
[/high]

Christian

gmarik 02-03-2004 06:24 AM

akiy - could you write a step-by-step tut about what you did?

Exero 02-03-2004 09:35 AM

totaly sweet
ill install when vB3 Gold is out ;)

Funkie 02-05-2004 09:34 AM

Quote:

Originally Posted by FastAttack
I did the simple way and used this conditional in the postbit:

PHP Code:

<if condition="$post[subscriptionid] == 4">Im a paying member</if> 

thanks to funkie for pointing it out ..

btw this hack works if you don't want to have added features as a donator


@FastAttack did this work for you as I couldn't get it to work I put it in the postbit-legacy template but nothing shows up how did you get it to work m8 as I've had to setup aload of xtra usergroups and added this code to cover it

PHP Code:

 <if condition="IS_MEMBER_OF($post, 20)">Donated:  <img src="/forum/images/gold.gif" width="50" height="50"></if><if condition="IS_MEMBER_OF($post, 21)">Donated:  <img src="/forum/images/bronze.gif" width="50" height="50"></if><if condition="IS_MEMBER_OF($post, 22)">Donated:  <img src="/forum/images/silver.gif" width="50" height="50"></if><if condition="IS_MEMBER_OF($post, 23)">Donated:  <img src="/forum/images/mon.gif" width="20" height="30"></if> 


FastAttack 02-05-2004 11:16 AM

Its working perfectly fine.. just remember to change the Usergroup ID.

I can give you my postbit code so you can look at it. PM me l8r! :)

Funkie 02-05-2004 01:12 PM

when you say change the usergroup id do you mean the subscription id like when your first setup a supscription its 1 and so forth or is there something in usergroup I need to change?

a look at your postbit would be helpfull m8 if you don't mind

funkie@btconnect.com

FastAttack 02-06-2004 01:28 AM

Letme send you the postbit layout.. its pretty simple its actually not subscription id but usergroup == blablabl

anyhow code on its way


All times are GMT. The time now is 07:59 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.01021 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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