Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ALT Description on ForumDisplay Threads Details »»
ALT Description on ForumDisplay Threads
Version: 1.00, by traekwon traekwon is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-13-2002 Last Update: Never Installs: 10
 
No support by the author.

ALT Description on Forum Display Threads!
An editing of PPN's 'Description of Thread' hack...
https://vborg.vbsupport.ru/showthrea...threadid=38916

*NOTE* If you have PPN's version of his hack already installed, upgrade notes are at bottom.

I'm almost embarrased to call this hack, more of an addon, since it only changes a few things. All the credit in the world goes to PPN for this hack, and I just simply edited this.

What this hack does is adds a new 'Description' field to your New Thread page, where a user can put in a description and it will show up underneath the post subject on the forumdisplay.

Since some people don't like their tables being make longer, I did some more compacting and put the description into an alt, so when you put your mouse over the subject link on the Forum Display, a little dropdown appears with the thread description, rather then having it displayed underneath the link in text.

Here's a list of feature this hack has:
  • New Description Field in New Thread allows user to make description for thread
  • Description showed on Forum Display in drop down alt text (mouseover)
  • Description can be edited in the Edit Thread admin options...
  • Description can be deleted in Edit Thread admin options, when input box is left blank.
To do's:
- Add edit input box into edit post.

Installation Time:
1 minute for upgrade
10 minutes for manual install
4 minutes for original install, then upgrade.

*It is highly recommended you run PPN's vb hacker file for original hack, then use upgrade*

To upgrade from PPN's version to Alt Text Version:

In the 'forumdisplaybit' template...

Find this code:

Code:
<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a></normalfont>
<br><smallfont>$thread[description]</smallfont>
Replace with this code:

Code:
<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]" title="$thread[description]">$thread[title]</a></normalfont>
It's that simple.

Thanks PPN for the awesome hack!

If you need the clean install, and want to edit all the files manually, a txt is attached with instructions. Otherwise, go to this thread, install his hack with the VB-Hacker, then come back and use the upgrade.

Show Your Support

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

Comments
  #2  
Old 06-14-2002, 03:37 AM
traekwon traekwon is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot...
Reply With Quote
  #3  
Old 06-22-2002, 12:38 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool cool, looks nice
Reply With Quote
  #4  
Old 08-21-2002, 06:50 PM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't seem to work for me. The description box is under subject like it is supposed to be but when I hoover over the subject after posting it says thread[description].

Dark Shogun
Reply With Quote
  #5  
Old 10-11-2002, 09:57 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I do the template edit, it takes away the thread description and doesn't add the alt description. I already had the description hack installed. Any ideas?
Reply With Quote
  #6  
Old 10-12-2002, 12:47 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

might want to check out my thread preview hack too
Reply With Quote
  #7  
Old 11-06-2002, 11:39 PM
traekwon traekwon is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Dark Shogun
It doesn't seem to work for me. The description box is under subject like it is supposed to be but when I hoover over the subject after posting it says thread[description].

Dark Shogun
Whoops! Sorry for the late reply, I totally forgot about this thread. I made a mistake while typing up the instructions but it's fixed now. Just add a $ before thread[description] to make '$thread[description]'.
Reply With Quote
  #8  
Old 11-06-2002, 11:43 PM
traekwon traekwon is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by GamerForums
When I do the template edit, it takes away the thread description and doesn't add the alt description. I already had the description hack installed. Any ideas?
Double check to make sure you correctly edited the forumdisplaybit template so that it says 'title=$thread[description]' after the href link.
Reply With Quote
Reply


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 12:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07797 seconds
  • Memory Usage 2,268KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete