Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Tool Tip Body Postlist Preview 2.0

Description: As you mouse over the subjects on the postlist page, the tool tip will pop up and show you the list of the first 100 charactes of the post. Version 2.0 updates instructions for UBB.Threads 6.3 and expands the instructions to include postlist expanded view.

Working Under: UBB.Threads 6.3

Mod Status: Beta

Any pre-requisites: A browser that supports the "title" and tool tips (mostly IE)

Author(s): JoshPet

Date: 06/14/03

Credits: Michael (photopost) for the original version

Files Altered: postlist.php, postlist.tmpl

New Files: none

Database Altered: none

Info/Instructions: Was trick to get expanded view working right. I was actually kind of proud of myself for cracking that one.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
84821-AltBodyPreview2.0.txt (0 Bytes, 136 downloads)

Last edited by JoshPet; 06/15/2003 1:20 PM.
Sponsored Links
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Added....nice.

Thanks guys for the modifications you do! Definitely helps to spice things up a bit.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
How does this differ from this mod of yours?

https://ubbdev.com/forum/showfl...ew=collapsed&sb=5&o=&fpart=1

(apart from the version number )


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
Awesome! Good work


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Ah - I closed the other one.
I didn't realize that I'd posted this for 6.3 - BUT it was written from an early beta and the instructions no longer worked. I think some of the "last post" information was added to the queries since i wrote it.
And it never worked on expanded view.

I should have updated the old one - I guess we can delete it - as this one will work on 6.3 finished release.

Sponsored Links
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
The old one worked fine on 6.3


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
No it never worked right for expanded view. It showed the preview for the main post and not the individual posts.

I had to dig much deeper into the show_replies function to get that to work right.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Have you still got the directions somewhere for the old one, as the thread has gone, so I can un-install it - thanks.



Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Josh - in postlist.php

$postrow[$z]['Subject'] = $Subject;
$postrow[$z]['Username'] = $Username;

appears twice.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
In the show_replies function near the top - although it doesn't matter - you'll be adding the body into both sections where it sets up the array.

Don't have the old one anymore. Old steps will remain the same - this version just adds additional steps into the "show replies" function near the top - as the old version didn't work in expanded mode - this now has the additional steps to make that work.

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Updated for 6.4
Attachments
96575-AltBodyPreview3.0.txt (0 Bytes, 37 downloads)


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)