vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Allow BB code in sticky thread titles (https://vborg.vbsupport.ru/showthread.php?t=69234)

neocorteqz 10-19-2004 05:14 AM

does this restrict the url tags??? cause if you use it, just like the old 2.x hack, it will go to the url instead of the thread. This can be misused.

Borgs8472 10-24-2004 10:14 PM

^ ^
it's a mods only feature, no problem. :)

cinq 12-05-2004 01:14 PM

Zzed, great idea! :D
But it doesn't show the bbcode parsed titles in many places, like the search, who's online, title in the threaddisplay page, the title on forumhome , print page etc etc.

It only shows on forumdisplay ( which figures since the only code change was there ).

Any plans to cover the rest as well ?
Would be a more complete hack that way :D

Hope to see updates soon ! :D

dutchbb 12-25-2004 10:25 AM

Quote:

Originally Posted by Zzed
I can look into trying to fix this. I'll see what I can come up with over the weekend.

Still would like this Zzed, but don't know how...

It isn't very professional to have these code brackets in a thread...

Watson 12-27-2004 08:02 PM

This been done for 3.0.3 yet, cause I keep getting the code showing up in the topic title within the actual post, and it dont actually work in the topic title

dcarr 12-29-2004 12:43 AM

It's certainly a great idea, but on my forumhome page...the title is coded for all to see:)...anybody figure this yet? It'd be a shame to have to dump it.

ZombieAndy 01-01-2005 06:08 PM

so has a fix been made yet to show this on threads and in posts aswell as in the forum?

kompakt 01-10-2005 04:18 PM

I'm waiting on a fix for showing on the rest of the forum too. I have it installed now and its only showing in the forum display like eveyrone else.

Thanks...

EscortCossie 02-01-2005 02:27 PM

Has the fix been published yet?

kompakt 02-08-2005 02:25 PM

I fixed it in a few places where I felt it was needed mostly.
  1. To display in the search results
    in /search.php find
    Code:

    // get info from thread
    $thread = process_thread_array($thread, $lastread["$thread[forumid]"]);

    and replace with
    Code:

    // get info from thread
    require_once('./includes/functions_bbcodeparse.php');
    $thread['threadtitle'] = parse_bbcode($thread['threadtitle']);
    $thread = process_thread_array($thread, $lastread["$thread[forumid]"]);

  2. To display on the top navigating bit of the thread
    in /showthread.php find
    Code:

    $navbits[''] = $thread['title'];
    and add above it
    Code:

    require_once('./includes/functions_bbcodeparse.php');
    $thread['title'] = parse_bbcode($thread['title']);

I couldn't figure out how to add it to the post titles :devious: This worked fine for the others though. Not bad for 1st timer :)

note: this would allow nonsticky's to show in the search results and the navbit but not in the forum dislpay


All times are GMT. The time now is 06:51 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.01274 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_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