The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom page syntax problem
Hello all,
I've made a custom page that uses this piece of code: PHP Code:
Your image url $vboptions[bburl]/album.php?albumid=${1}&pictureid=${2} I have it working...I just can't get the message body to take the variables into the phrase I even remembered to take out the single quotes. I'm pretty sure my syntax in regards to $message is wrong Any suggestions and/or insight? |
#2
|
|||
|
|||
Why are you using an eval() to fetch the phrases?
|
#3
|
|||
|
|||
vB is handling it like this, or?
PHP Code:
($message = construct_phrase($vbphrase[message], .... Have you tried to construct the phrase befor your calling vbmail()??? It would also make debuging easier because you can check, whats the text after constructing it for example $mytext = construct_phrase(....) and sent then $mytext to the function? |
#4
|
|||
|
|||
Because I don't know what I'm doing but i took that part directly from sendmessage.php (the basis of my new file)
Any way I fixed the problem by circumventing the phrase and declaring the values in the template. When I learn and understand more I'm sure I'll be able to come up with a more elegant solution. Thanks for your help on this |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|