Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Thread Titles - Pop-Up Descriptions Details »»
Thread Titles - Pop-Up Descriptions
Version: 1.00, by Prince Prince is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-09-2003 Last Update: Never Installs: 8
 
No support by the author.

I searched and could not find this hack, if it exists, please delete this thread!

This is a slightly modified version of the "Mouse Over" hack, this one works using simple HTML title tags exactly like vB 3, NO JavaScript.

Tested on vB version 2.2.9

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-17-2003, 08:57 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS WILL ADD THREAD TITLES TO "VIEW NEW POSTS" ONLY!

** But it does not work for any search fuctions...not sure why.

Can anyone else help?

PHP Code:
edit template

searchresultbit_threadonly


find
:

<
a href="showthread.php?s=$session[sessionhash]&threadid=$searchresult[threadid]$highlightwords">$searchresult[threadtitle]</a>

replace with:

<
a href="showthread.php?s=$session[sessionhash]&threadid=$searchresult[threadid]$highlightwordstitle="$threadmsg ... (more)">$searchresult[threadtitle]</a>


edit search.php
find
:


eval (
"\$searchresultbits .= \"".gettemplate("$searchtemplatebit")."\";");

add above:

$dpost=$DB_site->query_first("SELECT pagetext FROM post WHERE threadid='$thread[threadid]' ORDER BY dateline ASC LIMIT 1");
    
$threadmsg substr($dpost[pagetext], 0200);
    
$threadmsg eregi_replace("\r\n""\n"$threadmsg);
    
$threadmsg eregi_replace("\""""$threadmsg);
    
$threadmsg eregi_replace("\'"""$threadmsg); 
Reply With Quote
  #13  
Old 12-18-2003, 04:51 PM
sunrunner_pei sunrunner_pei is offline
 
Join Date: Jan 2003
Location: PEI, Canada
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, that worked for the "View new Posts".
Reply With Quote
  #14  
Old 12-18-2003, 06:02 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, maybe someone else can get it to work with all other search functions, I tried with no luck...it's beyond me.
Reply With Quote
  #15  
Old 12-21-2003, 11:18 AM
Kamui Shirou's Avatar
Kamui Shirou Kamui Shirou is offline
 
Join Date: Sep 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but you should consider the queries....
Reply With Quote
  #16  
Old 12-22-2003, 08:15 AM
Reverend Reverend is offline
 
Join Date: Mar 2002
Location: England
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 2.3.3 with "View New Posts" and "View Today's Active Threads".

Anyone know how to get it to work with search functions? It shows the "...(more)" part but not the message body.
Reply With Quote
  #17  
Old 12-25-2003, 01:34 PM
VPREATR VPREATR is offline
 
Join Date: Feb 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates?
Reply With Quote
  #18  
Old 12-28-2003, 06:59 PM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question

It says to replace

<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]">

with

<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]" title="$threadmsg ... (more)">

but my code in my tamplate looks like this:

;<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&threadid=$thread[threadid]"><img

what do I do?
Reply With Quote
  #19  
Old 12-28-2003, 07:06 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the only thing that is being done to the code is you're adding an html title tag:

title="$threadmsg ... (more)"

so, just insert that into the a href line
Reply With Quote
  #20  
Old 12-28-2003, 07:35 PM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, I don't understand....not an expert with this coding stuff haha

nice to see a fellow bodybuilding site on here
Reply With Quote
  #21  
Old 12-29-2003, 05:03 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well to be on the safe side, make a copy of that bit of code in full before you replace it, Then replace it. If everything works ok then your fine. If it doesnt simply replace it with its original coding.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:15 PM.


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.06607 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete