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)
-   -   Preview the first post in a thread first. (https://vborg.vbsupport.ru/showthread.php?t=33070)

Sadie Frost 12-22-2001 06:07 PM

Just fyi - this hack conflicts with the custom post prefix hack, so you have to be careful to combine the two hacks or whichever you did first will stop working :)

bira 12-22-2001 06:29 PM

Parker Clark's zip file with the hack and the instructions can be found on post #7, as the first post of the thread states.

Lesane 12-22-2001 08:11 PM

Great hack, i luv it ;):D

Parker Clack 12-22-2001 09:21 PM

Sadie:

How does it conflict with the cost post preview hack? I mean what does it do when you use both of these together?

Parker

Sadie Frost 12-23-2001 12:58 AM

What I was talking about was the hack to make custom prefixes like "Important:" or "Sticky:".

I had done this one first, and then did the custom post prefex one. But you're editing the same section of forumdisplay.php, so when I changed forumdisplay, it made the preview first post stop working.

Quote:

Then in your forumdisplay.php file find

$threads=$DB_site->query("
SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')."
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach
FROM thread
".iif($foruminfo[allowicons],'LEFT JOIN icon ON (icon.iconid = thread.iconid)','')."
$dotjoin
WHERE $threadids
ORDER BY sticky DESC, $sortfield $sqlsortorder
");

and replace with

$threads=$DB_site->query("
SELECT $dotuserid $votequery ".iif($foruminfo[allowicons],'icon.title as icontitle,icon.iconpath,','')."
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach,preview
FROM thread
".iif($foruminfo[allowicons],'LEFT JOIN icon ON (icon.iconid = thread.iconid)','')."
$dotjoin

To have both, you just need to add ",customprefix" after "preview". Then you also have to do the same thing in newthread.php

I hope that's what you were asking :)

Parker Clack 12-23-2001 11:50 AM

Sadie:

Oh, I see. Yep. That happens when you have a hack that the other person doesn't. Thanks for pointing that out.

Parker

Sadie Frost 12-23-2001 06:28 PM

Well, I just thought that for other newbies like me who don't think to check whether they've changed something in there already lol, it might save some headache :)

Gutspiller 02-07-2002 07:41 PM

Is there a way to make the popup title box stay there for as long as the mouse is over the text? I ahve IE 6 and the box only stays there for a little bit and then disappears again, and if you want to continue to read, you need to move your mouse a little bit to bring the window back up. Any way to fix this?

Any help is greatly appreciated.

Thanks!

Erwin 02-10-2002 05:56 PM

My users and mods love this! Thank you!

dost 02-10-2002 11:35 PM

Would it work on vB 2.0.3?


All times are GMT. The time now is 07:59 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.01092 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
  • (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