vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Help with vB4's Replacement Variable Manager (https://vborg.vbsupport.ru/showthread.php?t=303597)

RedTurtle 10-19-2013 03:13 PM

Help with vB4's Replacement Variable Manager
 
Hi everyone, hope you're having a great Saturday. :)

I'm trying to use vB4's Replacement Variable Manager in order to find any instance of:

Code:

src="{vb:raw vboptions.bburl}/clientscript/
and change it to:

Code:

src="http://CDN.mydomain.com/clientscript/
This doesn't seem to be working. Is it that vB runs the replacement variable portion AFTER those variables above have already been replaced?

Thank you.


EDIT: Also tried finding http://mydomain.com/clientscript and having that be replaced, but that also doesn't seem to work.

kh99 10-19-2013 03:15 PM

Quote:

Originally Posted by RedTurtle (Post 2454634)
Is it that vB runs the replacement variable portion AFTER those variables above have already been replaced?

Yes, I think that's it. I'm pretty sure the replacement variables are done as the last thing before the page is sent.

RedTurtle 10-19-2013 03:17 PM

Thanks Kevin.

I think I added my edit while you were posting. It seems that if I try having it replace with my actual URL, it doesn't seem to work either.

kh99 10-19-2013 03:36 PM

Hmm...I don't understand why that is, it seems like it should work. Did you view the html source of the page to see if it appears exactly like your "search for" text?


All times are GMT. The time now is 11:46 PM.

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.01163 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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