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)
-   -   Improved Thread Preview Hack (https://vborg.vbsupport.ru/showthread.php?t=35645)

inetd 04-28-2002 08:16 PM

please make preview for Who's Onlie.

N!ck 04-28-2002 08:55 PM

nakkid: correct.

fazle: i will post the code in just a sec

N!ck 04-28-2002 08:59 PM

here's an example

open forumdisplay.php. find:
PHP Code:

    $fppreview=preg_replace("/\[[^\]]*\]/","",$fppreview); 
    
$fppreview=str_replace("\"","",$fppreview); 

replace with:
PHP Code:

$fppreview=str_replace("[img]https://vborg.vbsupport.ru/[/img]","",$fppreview);
$fppreview=str_replace("[url]","",$fppreview);
$fppreview=str_replace("[/url]","",$fppreview);
$fppreview=str_replace("\"","",$fppreview); 


N!ck 04-28-2002 09:00 PM

inetd: i don't know what you mean. what would you want it to preview? :-/

John 04-28-2002 09:10 PM

Parse error on line 506 of forumdisplay.php:

Line 506: } else {

Help?

inetd 04-29-2002 06:23 PM

Quote:

Originally posted by nicksaunders
inetd: i don't know what you mean. what would you want it to preview? :-/
I search some thread. But when i view result's search and cover mouse on thread name, i don't see preview. Help me, please. And edit vbHacker version. And add preview threads to Who's Online. Please :)

N!ck 04-29-2002 10:07 PM

I DON'T UNDERSTAND

N!ck 04-29-2002 10:08 PM

john - try doing it manually

inetd 04-30-2002 03:59 AM

Preview by thread does not work for me in search!

N!ck 04-30-2002 01:29 PM

did you follow the instructions in the separate text file for doing search.php?


All times are GMT. The time now is 06:34 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.01231 seconds
  • Memory Usage 1,737KB
  • 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
  • (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