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 Offline

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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

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 Offline
Enthusiast

Registered: 11/08/03
Posts: 490
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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks