PDA

View Full Version : ALT Description on ForumDisplay Threads


traekwon
06-13-2002, 10:00 PM
ALT Description on Forum Display Threads!
An editing of PPN's 'Description of Thread' hack...
https://vborg.vbsupport.ru/showthread.php?s=&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:

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

Replace with this 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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=38916), install his hack with the VB-Hacker, then come back and use the upgrade.

traekwon
06-14-2002, 03:37 AM
Screenshot...

RDX1
06-22-2002, 12:38 AM
cool cool, looks nice

Dark Shogun
08-21-2002, 06:50 PM
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

FleaBag
10-11-2002, 09:57 PM
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?

N!ck
10-12-2002, 12:47 AM
might want to check out my thread preview hack too

traekwon
11-06-2002, 11:39 PM
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]'.

traekwon
11-06-2002, 11:43 PM
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.