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)

Xenon 03-18-2003 04:43 PM

hmm isn't there one?

i'll tell Erwin to add one, he's the bb code specialist :)

Enforcer 03-18-2003 05:49 PM

so far it works ... but:

mais ici je voit seulement ça:

or did I miss smth?

grog6 03-18-2003 06:28 PM

@Enforcer : Are you sure you made modifications in the admin/functions.php ?

Drowned 03-19-2003 12:55 AM

Will users be able to use the SIZE vbcode? That could cause some problem with users making threads with HUGEEE fonts and the main index looking all weird... :S Just wondering...

Lesane 03-19-2003 07:57 AM

^Yes, they can.

@grog: Nice hack, but what about the thread title in the browser? ;)

grog6 03-19-2003 08:02 AM

@Lesane : If you have an idea about this contact me ... :p

Davey 03-19-2003 08:46 AM

Nice idea grog6.
Keep them coming :)

Dave.

Boofo 03-19-2003 08:49 AM

Quote:

Today at 03:57 AM Lesane said this in Post #15
^Yes, they can.

@grog: Nice hack, but what about the thread title in the browser? ;)

Here you go, buddy. I owed you one so here it is. ;)

In showthread.php

Find

PHP Code:

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

And replace by

PHP Code:

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


Lesane 03-19-2003 11:14 AM

hehe thanks Boofo. But that's not the problem, the problem is that it will not parse the vbcode/smilies on the title tag in your browser. Wich can't be obviously thus there is a need of a 2nd variable wich contains the title of the thread. The 'showthread' template needs to be edited, replacing $thread[title] in the title tag.

Boofo 03-19-2003 11:39 AM

I guess I'm confused here. The code I gave you parsed the thread title I use (the big one like on here at the top of the page) and the post titles fine. Do you mean something other than that? ;)


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.01066 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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