vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   VBCodes and smilies in thread and post title (https://vborg.vbsupport.ru/showthread.php?t=50392)

Lesane 03-19-2003 12:11 PM

Look at the attached picture ;)

Boofo 03-19-2003 12:22 PM

Oh, ok, that's easy. Just put this:

PHP Code:

$thread['title']=bbcodeparse(dowordwrap($thread['title'])); 

Above this:

PHP Code:

eval("dooutput(\"".gettemplate("showthread")."\");"); 


Lesane 03-19-2003 12:45 PM

That won't work, i don't think that you can parse vbcode/smilies in the browser bar. You must re-parse it to take those vbcode tags and smilies away from the title bar.

Boofo 03-19-2003 12:47 PM

I am parsing a vbcode out of it from another hack. ;) Did you try it?

Lesane 03-19-2003 12:50 PM

Yes, i have tried it. Still those vbcode tags in the title bar + it reparsed the parsed showthread title...hehe.

Boofo 03-19-2003 12:53 PM

Aha, I just rechecked my code and I am doing a preg_replace instead of a bbcodeparse. Maybe that makes a difference? ;)

Lesane 03-19-2003 12:56 PM

Definately :D

Boofo 03-19-2003 01:09 PM

Sorry about that. ;)

grog6 03-19-2003 01:25 PM

You can't display an image in your browser title bar ?? lol

Don't think I understood well :devious:

Lesane, you just want to not display for exemple

[VBCODE]title :-)[/VBCODE]

in the browser title bar ... but 'Test' ?!

wolfe 03-19-2003 01:51 PM

d00d got an error while posting a thread


PHP Code:

Invalid SQLINSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attachVALUES (NULL,'[COLOR=orange][B]New Thread [I]Title[/I] Effect Added[/B][/COLOR]','1048088796','2','1','0','DEATHCAT','1','DEATHCAT','1048088796','16','1','0'
mysql errorYou have an error in your SQL syntax near '' at line 1 



All times are GMT. The time now is 06:16 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.01113 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete