php forum
php mysql forum
php mysql smarty
 
Topic Options
#314003 - 04/29/07 07:41 PM Alt Body Preview
Rose Offline
Power User

Registered: 09/29/06
Posts: 76
Does anyone know if this mod works for 7.1?

I'm a little bit nervous about trying it to see, so thought I'd ask first. smile

If not, this would be a great mod request. smile

Rose

Top
#314004 - 04/29/07 07:47 PM Re: Alt Body Preview [Re: Rose]
Rose Offline
Power User

Registered: 09/29/06
Posts: 76
Ok, I had a closer look at it, and it wouldn't work for 7.1.

Still be a great mod though. smile

Top
#314005 - 04/29/07 09:54 PM Re: Alt Body Preview [Re: Rose]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
FYI, there is absolutely no way that mods created prior to 7.0 will work with 7.x; there was a complete recode from the ground up to make things *sane* wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#314010 - 04/30/07 01:46 PM Re: Alt Body Preview [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I did write one for 7.1 Beta a while ago, but never released it



I'll need to rewrite it since the changes are lost, but I have a good idea on how I did it
_________________________
Code monkey like Fritos

Top
#314015 - 05/01/07 07:34 AM Re: Alt Body Preview [Re: Ian Spence]
Rose Offline
Power User

Registered: 09/29/06
Posts: 76
Ian, that would be great. I'll watch for it.

Thanks! smile

Top
#314022 - 05/01/07 07:17 PM Re: Alt Body Preview [Re: Rose]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
I've done it in a different way over Here (testing grounds) using Boxover

It essentially required:

  • Grab free .js from site and put in ubb_js
  • Include the .js in forum insert (either body or footer)
  • Style up .tthdr (header) and .ttbdy (body) -- or choose your own
  • Edit postlist.inc.php (a: add one more left join for post_body, uber-parse the markup as it's truncated) and postlist.tpl (add 6 {else} for test if new posts, then insert pop-ups)
  • Repeat {Test; PhpPukes; i++} until i==20ish; laugh
  • Poof.. done!


I can grab the mods together and zip them up with proper described procedure and post at a later date (will take coupla days to get free time)

Note 1: The pop-up delay is set in Milliseconds to 750 (.75sec) and i don't fade the tooltip in. But these are all configurable.

Note 2: All markup is preserved, with closing tags auto-inserted, when truncated by the Character preview limit.

Note 3: The reason i did this mod, was because using the css/div mechanism (as in active topics) is unweildy and a pain in the ass because of fixed-relative positioning. i wanted the delay to show to be possible (hence .js) and the tooltip to move with the mouse. I replaced the standard 7.1.1 active topic rollovers with this.

Note 4: This is for 7.1.1, btw

Note 5: I'm using the Css3 opacity for the tooltip. Works in IE6,7 and FF 2.x (no clue about safari or opera ... and don't care laugh )

All in all, it was a fun mod to do.


Example
_________________________

Top


Moderator:  sirdude 
Who's Online
0 registered (), 20 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks