Log in

View Full Version : It's Possible do a conditional inside a vbphrase??


Jhonnyf
09-06-2008, 10:19 PM
In $vbphrase[notify] I want to put a condicional... It is possible??


Texto Dear $touser[username],

$bbuserinfo[username] has just replied to a thread you have subscribed to entitled - $threadinfo[prefix_plain]$threadinfo[title] - in the $foruminfo[title_clean] forum of $vboptions.

This thread is located at:
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]&goto=newpost

Here is the message that has just been posted:
***************
$pagetext
***************


There may also be other replies, but you will not receive any more notifications until you visit the forum again.

All the best,
$vboptions[bbtitle]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
$vboptions[bburl]/subscription.php?do=removesubscription&type=thread&subscriptionid=$touser[subscribethreadid]&auth=$touser[auth]

To unsubscribe from ALL threads, please visit this page:
$vboptions[bburl]/subscription.php?do=viewsubscription&folderid=all

Lynne
09-07-2008, 12:02 AM
I think I tried it once and it didn't work. Try it somewhere.

Jhonnyf
09-07-2008, 01:19 AM
Not work,... and the variable is not call in template... and Windows can't find in vBulletin files

someone know in witch vbulletin php file is call this variable? $vbphrase[notify]

Thank you

Opserty
09-07-2008, 08:25 AM
You will probably have to search for fetch_phrase('notify'); or construct_phrase('notify' or something $vbphrase[notify] won't get you anything.

Jhonnyf
09-07-2008, 12:41 PM
the problem is that Windows XP can't find inside the php vbulletin files.... not are simples txt files....

Lynne
09-07-2008, 02:01 PM
Won't your text editor search all files within a directory for a certain phrase?

Opserty
09-07-2008, 02:59 PM
functions_newpost.php line 1395 vB 3.7.2

Jhonnyf
09-07-2008, 04:11 PM
functions_newpost.php line 1395 vB 3.7.2
Excelent... thank you very much!