View Single Post
  #15  
Old 05 Jan 2010, 23:14
hochun hochun is offline
 
Join Date: Dec 2009
Hello everybody! I have one problem with porting one of my products to VB4.

I have the setting for a product called vfsms_can_stick_by_sms - it's comma separated list of forum-sections where this product is turned on.

In this product I have the following plugin:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And in template SHOWTHREAD I have next conditional:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have few problems:

1. variable $vfsms_allowed4sticky_forums can be accessed only as a {vb:raw vfsms_allowed4sticky_forums} and I can not put it to the condition
2. variable $forumid is not accessible anymore

Please, somebody, help me!

--------------- Added 05 Jan 2010 at 23:28 ---------------

but everything is ok if I pass variable directly from the showthread.php:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and in template also replace $forumid on $thread[forumid]

This is absolutely wrong way of doing the thing I need, pls tell me how to do it without changes in showthread.php!

Last edited by hochun; 05 Jan 2010 at 23:28. Reason: Auto-Merged DoublePost
Reply With Quote