vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   HTML Parsing In Posts and Titles (https://vborg.vbsupport.ru/showthread.php?t=208484)

nando99 03-16-2009 02:55 AM

HTML Parsing In Posts and Titles
 
So I installed the mod that allows me to post html as admin (vb3.7.4) and it works great there's just one problem - after a while, when I go back to check an old thread that I added some html it just shows as html code.... i have to edit it and save it and boom it works...

Anyone have any idea why it would do that?

Also, with the titles, I use prefixes for practically everything... is there way to put a hyphen between the prefix and a thread title... I did it on the browser page title but I guess in the db it self its still prefix and title... like when I see the threads in the feeds...

Anyone have any recommendations?

thanks in advance...

nando

Lynne 03-16-2009 03:05 AM

Read the modification thread and post about the issue there and see if anyone has any ideas about it.

Regarding a hyphen between the prefix and thread title, you would have to modify the template to add that. To find the template - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

nando99 03-16-2009 03:09 AM

I actuality already did the template edit for the title...

for example

http://www.fatboymag.com/technology/...ted-2009-game/

the title has the hiphen between the prefix and the thread title but as you can see from the feeds, it doesn't...

http://feeds2.feedburner.com/FatBoyMagazine-98

I'll post in the mod thread... thanks


All times are GMT. The time now is 12:06 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.00937 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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