php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#198081 - 12/28/02 06:08 PM [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Description: This adds a new ubb code (thumb). When a users posts an image with the thumb tag it is display with a fixed width of 400 pixels (you can change the code to have any width). When you click on the image it opens the original fullsize in a new window.

This DOES NOT reduce the size of the image, you are still downloading the whole pic file. It does provide an alternative so that people won't use IMG to post 1600x1200 images that stretch the topic page and look really ugly. This is great for gaming sites that have a lot of screenies.

I also added the reverse code so that it is quotable and editable (it broke if HTML is turned off before that).

Demo: Click here

Download: Click here

Download for 6.6 - 6.7.2: Click Here


Please report any bugs in this thread, and if anyone determines that this hack has security issues please point them out.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198082 - 12/28/02 08:58 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
Cool, lookin good X. laugh

Top
#198083 - 12/28/02 09:46 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Thanks Bookie...
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198084 - 12/28/02 11:11 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Cool, lookin good X laugh
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198085 - 12/28/02 11:15 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:</font><hr />Originally posted by Bookie:
Cool, lookin good X. laugh <hr /></blockquote> <blockquote><font class="small">quote:
[qb]Originally posted by LK:
Cool, lookin good X laugh [/qb]
That's really scary...
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198086 - 12/29/02 01:34 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Maybe on purpose? tipsy

Top
#198087 - 12/29/02 01:15 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:
Originally posted by Lord Dexter:
Maybe on purpose? tipsy
I don't know, LK left out the period... wink
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198088 - 12/29/02 07:49 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Not Great at this stuff Offline
Junior Member

Registered: 05/11/02
Posts: 27
Loc: London
Thanks! its appreciated

Top
#198089 - 12/29/02 10:26 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
<font size="1">Muhahahahahahaha</font s>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198090 - 01/16/03 09:07 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I just noticed that this was not allowing the posts to be quoted or edited properly if HTML was turned off...fixed now.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#198091 - 03/17/03 11:19 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Works great in 6.5 -

How do I add a THUMB button in the UBBCODE section?

Thanks!

Top
#198092 - 03/17/03 12:14 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Add this in public_common.pl after or in between any other UBB Codes. I have mine after


[code][/code]and load a thumb.gif ( by Gizzy) in your nonCGI directory.

Am I right TheX ?

Top
#198093 - 03/17/03 07:44 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Thanks Felix.

The other thing you have to do is add the following to public_common.pl

after
Code:
[/code]add
[code]
Worked great!
Thanks!!

Top
#198094 - 12/15/03 10:48 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Digital Boy Offline
Member

Registered: 05/30/00
Posts: 1871
Loc: Philadelphia
Quote:
quote:
Originally posted by Felix 10:
Add this in public_common.pl after or in between any other UBB Codes. I have mine after


Code:
 <a href="javascript: x()" onClick="DoPrompt('thumb');"><img src="$vars_config{NonCGIURL}/thumb.gif" border="0" alt="$vars_wordlets_img{ubbcode_thumbnail}" /></a> 
and load a thumb.gif ( by Gizzy) in your nonCGI directory.

Am I right TheX ?
Where excactly is this line in public_common.pl? I can't find where to add the link. Thanks...

- MT
_________________________
Matt Torbin
Web and Graphic Arts Engineer
Max Levy Autograph, Inc.
http://www.maxlevy.com/

Top
#198095 - 12/15/03 10:55 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
This hack won't work with 6.6+ I reccomend Even Advanceder Text . It comes with this mod plus some others
_________________________
Code monkey like Fritos

Top
#198096 - 12/15/03 10:59 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Digital Boy Offline
Member

Registered: 05/30/00
Posts: 1871
Loc: Philadelphia
Nevermind, I got it to work beautifully.

- MT
_________________________
Matt Torbin
Web and Graphic Arts Engineer
Max Levy Autograph, Inc.
http://www.maxlevy.com/

Top
#198097 - 06/11/04 11:04 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
_________________________
- Allen wavey
- What Drives You?

Top
#198098 - 06/11/04 11:39 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5132
Loc: Portland, OR, USA
Plan on installing it tonight wink ... the only part of "advancecd-er text" i wanted wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198099 - 06/11/04 01:00 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Let me know how it goes, Randy has been using it for years, but I've never tried it. It's pretty straight-forward tho smile
_________________________
- Allen wavey
- What Drives You?

Top
#198100 - 06/11/04 06:50 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
My members love it, it keeps the pages looking neat and tables within the browser.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
Page 1 of 2 1 2 >


Moderator:  Charles, Gizmo 
Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
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
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 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
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks