php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#315098 - 08/07/07 11:34 PM TLD 7.2 - Link Directory
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This is originally Fishtails TLD Link Directory Addon, so I take no credit for the scripts. All credit and rights go to fishtails. I simply "wrapped" the scripts to function within UBB7 so that anyone who used this mod in the past, can add it again, and presuming you still have your old links tables, all your old links will still be there.

To Install
images - goes in images/links
scripts - go in /scripts directory
templates - go in /templates/default directory

Once installed, you can add a link to your menubar for /ubbthreads.php?ubb=links for a link to the Link Directory.
If you are installing for the first time, you can click the "Admin" link at the bottom of the link directory area and create the tables.

If you had this installed under the older version of UBB.Threads (6 series) then it presumes your w3t_links_links, w3t_links_categories, and w3t_links_favorites are still present in your database, and still have the w3t_ table prefix.

If the table prefix is different, then you'll see a spot in each of the 3 scripts to edit this:
$config['tbprefix'] = "w3t_";

Author - Fishtails - http://www.fish-tails.net
Updated by - Joshua Pettit - http://www.JoshuaPettit.com
Credits - Rick Baker, Gardener, Raconteur and ThreadsDev.com

Working Under - UBB.Threads Version 7.2


Attachments
2462-TLD7.2.zip (50 downloads)
Description: The Link Directory - TLD v. 7.2


_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#315104 - 08/08/07 10:23 AM Re: TLD 7.2 - Link Directory [Re: JoshPet]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Thank you Josh, very appreciated thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#315107 - 08/08/07 10:39 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Hey Josh, there were a good number of mac files in there (ds store, etc.). I removed them and uploaded the replacement zip. If I broke something, let me know smile
_________________________
- Allen wavey
- What Drives You?

Top
#315108 - 08/08/07 10:49 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
When accessing it the first time I am getting:

Script:
Line#:
SQL Error: Table 'threads.w3t_links_links' doesn't exist
SQL Error #: 1146
Query: SELECT lid,cat_id FROM w3t_links_links WHERE approved = '1'

I don't have it installed from the old version, so I don't have tables created yet.
_________________________
- Allen wavey
- What Drives You?

Top
#315112 - 08/08/07 04:12 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
Same error here

frown
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
#315114 - 08/08/07 05:29 PM Re: TLD 7.2 - Link Directory [Re: GEN]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
Same here, and http://themepark.nl/ubb/ubbthreads.php?ubb=links_admin&op=create_tables doesn't work also.

The queries in the script are wrong also, atleast I had to rework them manually to be able to create the databases.

For those who want to play, I executed this in phpmyadmin (I did change the table prefix to ubbt_:

Code:
			CREATE TABLE ubbt_links_links
			(
				lid int(11) NOT NULL auto_increment,
				cat_id int(11) default NULL,
				approved tinyint(4) NOT NULL default '1',
				title varchar(100) NOT NULL default '',
				url varchar(100) NOT NULL default '',
				description text NOT NULL,
				date_added int(11) unsigned NOT NULL default '0',
				name varchar(100) NOT NULL default '',
				email varchar(100) NOT NULL default '',
				hits int(11) NOT NULL default '0',
				user_number int( 11 ) NOT NULL default '0',
				member char(2) NOT NULL default '',
				linkratingsummary double(6,4) NOT NULL default '0.0000',
				totalvotes int(11) NOT NULL default '0',
				PRIMARY KEY  (lid)
			)


			CREATE TABLE ubbt_links_categories
			(

				cat_id int(11) NOT NULL auto_increment,
				parent_id int(11) default NULL,
				title varchar(50) NOT NULL default '',
				cat_desc varchar(60) default NULL,
				cat_order tinyint(10) NOT NULL default '0',
				PRIMARY KEY  (cat_id)
			)


			CREATE TABLE ubbt_links_favorites
			(
				num int(9) unsigned NOT NULL auto_increment,
				lid int(9) unsigned NOT NULL default '0',
				uid int(9) unsigned NOT NULL default '0',
				PRIMARY KEY  (num),
				KEY FAV_indx1 (uid)
			)


Edited by blaaskaak (08/08/07 05:31 PM)
_________________________

Top
#315119 - 08/08/07 10:50 PM Re: TLD 7.2 - Link Directory [Re: blaaskaak]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
hmmm...

/ubbthreads.php/ubb/links/op/links_admin

doesn't throw an error, but it doesn't do much either crazy
_________________________
- Allen wavey
- What Drives You?

Top
#315120 - 08/08/07 10:56 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
hmmmm, a good part of the issue is we didn't get a language file, so there's no text smile
_________________________
- Allen wavey
- What Drives You?

Top
#315121 - 08/08/07 11:03 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
language file added to original zip above.
_________________________
- Allen wavey
- What Drives You?

Top
#315122 - 08/08/07 11:30 PM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Was this based off tld 1.5 or 2.1? Some things like the search function we added and some bug fixes look to be missing crazy
_________________________
- Allen wavey
- What Drives You?

Top
#315123 - 08/09/07 12:25 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks AA. This was based off whatever my client was running - which in looking now, I see was 1.5. I assumed it was the latest - but guess not. Doah. Good catch on the language file.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#315125 - 08/09/07 12:50 AM Re: TLD 7.2 - Link Directory [Re: JoshPet]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
ok, thanks. There were quite a few changes by you, myself, omegatron, ekempter, gardner, id242 and a few others between Mark's release in may '03 and our last one in 12/05 - some were to just update to work with the different 6-series threads, others were to fix a lotta bugs and add some nice features. I may look at it at some point. If I do I need to write an importer for the old classic links script, it imported from the OLD gossamer threads links script smile
_________________________
- Allen wavey
- What Drives You?

Top
#315552 - 09/06/07 06:57 AM Re: TLD 7.2 - Link Directory [Re: AllenAyres]
Carte Blanche Offline
Newbie

Registered: 10/08/06
Posts: 19
Loc: Auckland, NZ
Ok...so...er...what's the mod do?

Top
#315553 - 09/06/07 10:14 AM Re: TLD 7.2 - Link Directory [Re: Carte Blanche]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
Think DMOZ, but for your UBB (if you don't know what DMOZ is, google it)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315554 - 09/06/07 02:36 PM Re: TLD 7.2 - Link Directory [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
Originally Posted By: Gizmo
(if you don't know what DMOZ is, google it)


what's google? wink
_________________________

Top
#315557 - 09/06/07 06:44 PM Re: TLD 7.2 - Link Directory [Re: blaaskaak]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
If you don't know what Google is, you've obviously been living under a Rock, so yahoo it...

If you don't know what yahoo is, you're obviously highly handicapped and should ask your parental guardian to smack you in the head and how to live life online wink... lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315559 - 09/07/07 02:48 AM Re: TLD 7.2 - Link Directory [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 304
Loc: The Netherlands
I'll settle for the smack on the head and live happely after smile
_________________________

Top
#315560 - 09/07/07 03:16 AM Re: TLD 7.2 - Link Directory [Re: blaaskaak]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
Happily ever after? so you discovered the booze cabinet in the admin lounge? :x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#315726 - 09/17/07 09:22 AM Re: TLD 7.2 - Link Directory [Re: JoshPet]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
works very well, thank you!
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#315729 - 09/17/07 01:59 PM Re: TLD 7.2 - Link Directory [Re: Zarzal]
GEN Offline
Power User

Registered: 01/01/07
Posts: 52
Loc: UK
I couldn't get it to work with 7.2

frown
_________________________
GEN
Give Yourself to the Dark Side @ http://www.galacticempire.net
Give Yourself to the Geek Side @ http://www.movingimagetoys.com
"Anakin, duck!"
"What's a duck?"

Top
Page 1 of 3 1 2 3 >


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