The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using array in vbcode
I same to be having trouble displaying an array value within my vbcode. My searches didn't seam to come up with anything.
I want to send a PM to a user with a link that I'm dynamically creating. I tried using this, but I think all of the brackets " [ " and " ] " are causing confusion, but it could be the fact that one of keys of my array is [URL]. [URL=www.domain.com/page_product.php?ID=$B[LinkID] ] $B Well, even the code isn't displaying correctly on this thread. Well, does anyone know the protocal for using assoc array values with VbCode? Brandon |
#2
|
|||
|
|||
Why do you need to dynamically create the link?
|
#3
|
||||
|
||||
Quote:
What you will have to do is code up a custom tag which does what you want it to do. I'd offer help here, but it is not clear to me where $B is coming from. |
#4
|
|||
|
|||
Quote:
I guess I should have given more info. I'm sending a PM from an external page (outside of vBulletin). The $B is an assoc array that I snagged out of a MySQL database. It holds most of the data that I want to send to the user. It turns out that I had no trouble putting various array values into my private messages once I understood that bracket URL bracket was off limits. The bracket QUOTE bracket was a little funny, too. I'm not sure why. So it's all under control now. Thanks for taking the time to help. Brandon |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|