php forum
php mysql forum
php mysql smarty
 
Topic Options
#36572 - 02/24/00 09:23 AM Release- Bookmark this thread hack
Dave# Offline
Member

Registered: 01/09/00
Posts: 78
In action: http://cpfc.org/ubb/Forum13/HTML/002704.html

Summary:
Places a hyperlink to bookmark individual threads (IE5 of higher). the aim is to promote your site

caveats:
uses javascript 1.2 and will only work with IE5 and the latest Netscape:

Graphics:

You will needd this one <IMG SRC="http://cpfc.org/ubb/bookmark.gif" border=0>
Save as bookmark.gif and add to your UBB directory;

In order to get the most from this you should also upload a favicon.ico graphic to your root web directory- I am sure that someone will explain why in due course

File to edit UBBlibary.pl

Find:
Quote:
quote:


add after
Quote:
quote:


Next

Find:
Quote:
quote:

add
Quote:
quote:


Simple!

Top
#36573 - 02/24/00 05:26 PM Re: Release- Bookmark this thread hack
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
wow dave, your really cranking them out >:0)

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Top
#36574 - 02/26/00 11:28 AM Re: Release- Bookmark this thread hack
Dave# Offline
Member

Registered: 01/09/00
Posts: 78
Guys- i notice that a few of you have added this- however few of you are adding the fav icon

Read more here http://www.scriptkeeper.com/ubb/Forum10/HTML/000193.html
It really makes this hacklet

Top
#36575 - 02/26/00 12:06 PM Re: Release- Bookmark this thread hack
NotaHacker Offline
Junior Member

Registered: 02/26/00
Posts: 1
Dave,

You have any idea how to make status levels function with version 5.44a? I'm going nuts trying different things, to no avail. I've had status levels that have worked through 5.42, and now, with the upgrade to 5.44a, nothing I try seems to work.

going nuts in new york!

Top
#36576 - 02/26/00 12:33 PM Re: Release- Bookmark this thread hack
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Is it possible to add a "Make Bookmark" function for Netscape. If not, I've changed the code as follows:

Code:
code:



Also, don't the changes go in ubb_library2.pl not ubb_library.pl?

Just a thought
_________________________
http://www.iamcal.com

Top
#36577 - 02/26/00 11:07 PM Re: Release- Bookmark this thread hack
ak Offline
Member

Registered: 02/26/00
Posts: 65
I get this error
Error including required files: syntax error at /usr/local/etc/httpd/htdocs/guyana/cgi-bin/ubb/ubb_library2.pl line 290, near ""$NonCGIURL/bookmark.gif" BORDER" Make sure these files exist, permissions are set properly, and paths are set correctly.

Top
#36578 - 02/27/00 03:43 AM Re: Release- Bookmark this thread hack
Arie Offline
Junior Member

Registered: 02/27/00
Posts: 6
I get the same error as ak

The icon exists, and permissions are set....

UBB 5.44a....

Arie
_________________________
Regards,

Arie Slob,
InfiniSource, Inc.
http://www.infinisource.com
Internet & Windows Resources

Top
#36579 - 02/27/00 11:50 AM Re: Release- Bookmark this thread hack
Dave# Offline
Member

Registered: 01/09/00
Posts: 78
Sorry the file to edit is ubblibary2.pl

Top
#36580 - 02/27/00 07:07 PM Re: Release- Bookmark this thread hack
ak Offline
Member

Registered: 02/26/00
Posts: 65
I did figure that much out, that the wrong file was listed, but I still get the above message I have posted.
No trouble though, I have decided not to use it

Top
#36581 - 02/28/00 06:18 PM Re: Release- Bookmark this thread hack
Digi-God Offline
Junior Member

Registered: 02/20/00
Posts: 16
Loc: Kampenhout, Belgium, Europe
I got the same error -- android as I amd though ... I figured it out!

Apparently, for some strange reason, there was one too many ");" in there.

To cure, just remove the ");" from after the top line of the block.

Easy-peasy.

- Philip

------------------
I'm just this guy you know...
_________________________
I'm just this guy you know...

Top
#36582 - 03/15/00 11:28 PM Re: Release- Bookmark this thread hack
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Just found a problem with the hack. If a thread title contains quote (") in it, you'll get JavaScript error, since you need to backslash all special characters in perl/java/php.
You need to fix that
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#36583 - 03/16/00 12:28 PM Re: Release- Bookmark this thread hack
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
No offence to your wonderfullness, but you're wrong.

The reason for the JS error is that the Javascript statement ends up like this:
Code:
code:


This means that the string is terminated early, causing the error.

Just a thought
_________________________
http://www.iamcal.com

Top
#36584 - 03/16/00 03:00 PM Re: Release- Bookmark this thread hack
lascowiec Offline
Member

Registered: 01/08/00
Posts: 133
Loc: São Paulo,Brazil
Some bookmark icons:

<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark2.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark3.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark4.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark5.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark6.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark7.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark8.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark9.gif" border=0>
<IMG SRC="http://ubbcodehacking.com/ubb/uploads/bookmark10.gif" border=0>
_________________________
I hate this guys! They stoled my credits from icon graphics. Do you hear me Cal and Leshrac!!!

Top
#36585 - 03/16/00 09:27 PM Re: Release- Bookmark this thread hack
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
cal, ok.
Still, it needs to be fixed
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#36586 - 03/17/00 04:02 AM Re: Release- Bookmark this thread hack
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Here's how to fix it:

find this:
Code:
code:



add this ABOVE it:
Code:
code:



find this:
Code:
code:



replace with:
Code:
code:



That's it!

Just a thought
_________________________
http://www.iamcal.com

Top
#36587 - 03/17/00 10:57 AM Re: Release- Bookmark this thread hack
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
Cal-

Thanks for posting this fix, works great

-Chris

------------------
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
http://www.fast4gl.com/
UBB: http://www.progresstalk.com/
_________________________
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Top
#36588 - 03/17/00 11:02 AM Re: Release- Bookmark this thread hack
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Good.

To be honest I haven't tested it myself. I just wrote it straight into the posting window...

Thanks for being my guina pig.

Just a thought
_________________________
http://www.iamcal.com

Top



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