vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Remove Replacement Variables from Thread Titles (https://vborg.vbsupport.ru/showthread.php?t=64851)

Me2Be 05-07-2004 06:04 PM

Remove Replacement Variables from Thread Titles
 
I love using replacement variables (using them as HTML links) but it screws up when the word is used in the thread title (becomes a jumbled mess). Is there a way to modify it so they ignore all thread titles?

Xenon 05-07-2004 10:38 PM

Hmm, that's not easy, as the replacement vars are done in the very last step before the actual output.
so if the text is there, it will be replaced.

the only way i can think of right now, would be to replace all Letters in the threadtitle with their corresponding unicode pendants.

Taco John 05-14-2004 08:41 PM

replace the huh with the what?

heh...

I use replacement variables the same way... I wish I could figure this out...

Xenon 05-15-2004 03:25 PM

well, regard the htmlcode

lets say you have a replacement <tr into blah

if your threadtitle contains <tr then it will be parsed.
but if the < would be replaced with &lt; then the replacement vars wouldn'T change anything.

that's the theorie, code it into the praxis, is your goal ;)


All times are GMT. The time now is 12:32 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.00938 seconds
  • Memory Usage 1,706KB
  • 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
  • (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