Previous Thread
Next Thread
Print Thread
Rate Thread
[6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198081 12/28/2002 6:08 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
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.

Sponsored Links
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198082 12/28/2002 8:58 PM
Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Offline
Member / Blamoholic
Joined: Jan 2001
Posts: 1,309
Cool, lookin good X. laugh

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198083 12/28/2002 9:46 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
Thanks Bookie...

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198084 12/28/2002 11:11 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
Cool, lookin good X laugh

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198085 12/28/2002 11:15 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Bookie:
Cool, lookin good X. laugh
quote:
[qb]Originally posted by LK:
Cool, lookin good X laugh [/qb]
That's really scary...

Sponsored Links
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198086 12/29/2002 1:34 AM
Joined: May 2001
Posts: 6,708
Member
Offline
Member
Joined: May 2001
Posts: 6,708
Maybe on purpose? tipsy

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198087 12/29/2002 1:15 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Lord Dexter:
Maybe on purpose? tipsy
I don't know, LK left out the period... wink

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198088 12/29/2002 7:49 PM
Joined: May 2002
Posts: 28
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 28
Thanks! its appreciated

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198089 12/29/2002 10:26 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394
Muhahahahahahaha

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198090 01/16/2003 9:07 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
I just noticed that this was not allowing the posts to be quoted or edited properly if HTML was turned off...fixed now.

Sponsored Links
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198091 03/17/2003 11:19 AM
Joined: Aug 2000
Posts: 178
Member
Offline
Member
Joined: Aug 2000
Posts: 178
Works great in 6.5 -

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

Thanks!

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198092 03/17/2003 12:14 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Offline
Enthusiast
Joined: Oct 2002
Posts: 394
Add this in public_common.pl after or in between any other UBB Codes. I have mine after [Linked Image]


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

Am I right TheX ?

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198093 03/17/2003 7:44 PM
Joined: Aug 2000
Posts: 178
Member
Offline
Member
Joined: Aug 2000
Posts: 178
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!!

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198094 12/15/2003 10:48 AM
Joined: May 2000
Posts: 1,168
Member
Offline
Member
Joined: May 2000
Posts: 1,168
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 [Linked Image]


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 [Linked Image]( 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

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198095 12/15/2003 10:55 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
This hack won't work with 6.6+ I reccomend Even Advanceder Text . It comes with this mod plus some others

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198096 12/15/2003 10:59 AM
Joined: May 2000
Posts: 1,168
Member
Offline
Member
Joined: May 2000
Posts: 1,168
Nevermind, I got it to work beautifully.

- MT

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198097 06/11/2004 10:04 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198098 06/11/2004 10:39 AM
Joined: Jan 2000
Posts: 5,795
Likes: 8
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,795
Likes: 8
Plan on installing it tonight wink ... the only part of "advancecd-er text" i wanted wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198099 06/11/2004 12:00 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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?
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198100 06/11/2004 5:50 PM
Joined: Jun 2001
Posts: 2,849
RandyM Offline OP
Spotlight Winner
OP Offline
Spotlight Winner
Joined: Jun 2001
Posts: 2,849
My members love it, it keeps the pages looking neat and tables within the browser.

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198101 06/12/2004 1:03 AM
Joined: Jan 2000
Posts: 5,795
Likes: 8
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,795
Likes: 8
Now to find the "thumb" image I made lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198102 06/13/2004 11:12 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Does it look like this?

thumbsup

tipsy


- Allen wavey
- What Drives You?
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198103 06/13/2004 11:14 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Offline
Master Hacker
Joined: Jan 2003
Posts: 3,456
Likes: 2
Gizzy, the image is located in the Even Advanceder Text hack.

cool Oh yeah, got to plug it again tipsy

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198104 06/13/2004 7:18 PM
Joined: Jan 2000
Posts: 5,795
Likes: 8
UBB.Dev / UBB.Wiki Owner
Time Lord
Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,795
Likes: 8
My thumb.gif is in there? fun fun fun! lol


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198105 06/20/2004 5:37 PM
Joined: Dec 2003
Posts: 7
Junior Member
Offline
Junior Member
Joined: Dec 2003
Posts: 7
I added this hack to v6.4, but where do I find the results? I don't see it anywhere (CP nor Forum) help

Re: [6.4 - 6.5 - 6.6 - 6.7] [finished] The Thumb Hack
#198106 06/20/2004 7:00 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You see it when you use it... use [thumb] [/thumb] around the images you need to show a thumbnail of smile


- Allen wavey
- What Drives You?

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
jgeoff
jgeoff
NJ
Posts: 96
Joined: April 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 130
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 28
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200228.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.075s Queries: 66 (0.028s) Memory: 3.4704 MB (Peak: 3.7646 MB) Data Comp: Zlib Server Time: 2020-02-29 12:23:29 UTC
Valid HTML 5 and Valid CSS