vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   It's Possible do a conditional inside a vbphrase?? (https://vborg.vbsupport.ru/showthread.php?t=190214)

Jhonnyf 09-06-2008 10:19 PM

It's Possible do a conditional inside a vbphrase??
 
In $vbphrase[notify] I want to put a condicional... It is possible??

Quote:

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[bbtitle].

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[/B]

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
Code:

fetch_phrase('notify');
or
Code:

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

Quote:

Originally Posted by Opserty (Post 1616654)
functions_newpost.php line 1395 vB 3.7.2

Excelent... thank you very much!


All times are GMT. The time now is 01:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00947 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete