The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
hmmm well is there a variable or something I could use to pull the paid subscription info in the template then? I can't find it in the db - but it has to exist somewhere since I see it in the admin cp
![]() There were many modifications to the 3.5.1 install, and mostly undocumented... trying to find them and document them as I go... --------------- Added [DATE]1219017788[/DATE] at [TIME]1219017788[/TIME] --------------- Ok, found it in the db - it's the subscriptionlog table - status field = 1 if user has a paid subscription, and subscriptionid is the type of paid subscription... now how to pull that in. I have a conditional statement in the postbit template: Code:
<if condition="$subscription['status'] == 1"> $vbphrase[paidsubscriptiontype] <else /> Free </if> --------------- Added [DATE]1219020711[/DATE] at [TIME]1219020711[/TIME] --------------- getting closer... found the hack in the old code. Previous developer did not document an added $posts query joining the subscriptionlog table info... |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|