php forum
php mysql forum
php mysql smarty
 
Page 17 of 21 < 1 2 ... 15 16 17 18 19 20 21 >
Topic Options
#248020 - 08/08/04 05:05 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
ekempter Offline
User

Registered: 10/06/01
Posts: 27
Ok so admittedly I am probably getting carried away with this script but I can't seem to leave it alone. The attachment contain the following mods:<br /><br />1. Fixed the default rate in the 'rate this link' page to default to 1. It currently defaults to blank. I think the author intended it this way but made a typo.<br />2. Added a configurable option to allow / disallow the link submitter from voting on his/her own link. <br />3. Added a configurable option to specify the minimum number of votes required before a link will appear on the Top Rated page and before the 'stars' ratings will appear next to a link.<br />4. When a link submitter clicks on his/her link, it is no longer counted as a hit.<br /><br />I'm going to try to leave this alone now but I'm not crazy about the way that the redirect sends the link in the clear.


Attachments
118140-TLD.zip (40 downloads)


Top
#248021 - 08/10/04 07:27 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
So, does the first post in the thread contain the very latest release?<br /><br />I tried to install this mod when it was still "new" and had errors everywhere. lol.<br /><br />But since everyone is getting it working and you devoted some time to it, I might have to give it a go again...
_________________________
DrChaos
LeetGamers

Top
#248022 - 08/11/04 09:07 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Duck]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
[]DrChaos said:<br />So, does the first post in the thread contain the very latest release?<br /><br />I tried to install this mod when it was still "new" and had errors everywhere. lol.<br /><br />But since everyone is getting it working and you devoted some time to it, I might have to give it a go again... [/]<br /><br /><br />ditto! <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />

Top
#248023 - 08/11/04 11:27 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Duck]
ekempter Offline
User

Registered: 10/06/01
Posts: 27
I think the first post is the latest (it's what I started with). Did it error out before or after you added my mods? You may need to include the other mods that I included in this thread. What kind of errors are you getting? Seems like this thread should me in the mods forum.

Top
#248024 - 08/12/04 03:57 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
I was just wondering if there was one zipped file that had all the fixes. I installed it a long time ago. But as I read the post it seems that few people got it to work with your help.
_________________________
DrChaos
LeetGamers

Top
#248025 - 08/16/04 03:55 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Duck]
ekempter Offline
User

Registered: 10/06/01
Posts: 27
I'll try and zip up what I have tonight.

Top
#248026 - 08/20/04 03:00 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
I've got this far now guys<br />i've installed it, called up links.php and now get this error<br /><br />[]<br />Script:<br />Line#:<br />SQL Error: Table 'fordmond_threadsdb.w3t_links_favorites' doesn't exist<br />SQL Error #: 1146<br />Query: SELECT w3t_links_favorites.uid, w3t_links_favorites.lid, w3t_links_links.lid, w3t_links_links.title, w3t_links_links.url, w3t_links_links.description FROM w3t_links_favorites, w3t_links_links WHERE w3t_links_favorites.uid = '2' AND w3t_links_favorites.lid = w3t_links_links.lid <br />[/]<br /><br />any ideas?<br />i know it's something to do with tables, but i dont know how to fix it!

Top
#248027 - 08/20/04 03:27 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Luka_dup1]
slayer60 Offline
Junior Member

Registered: 06/14/03
Posts: 1185
Loc: New Boston, NH
You're missing tables. I don't know if there is an install script with this, but if there is, it appears that it didn't finish.

Top
#248028 - 08/20/04 03:36 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: BrokenToy]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
hmm dang diggity.<br />i suppose i could add them manually via phpmyadmin yeah?

Top
#248029 - 08/21/04 01:14 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
ekempter Offline
User

Registered: 10/06/01
Posts: 27
Here are my files. Sorry for the delay.


Attachments
118876-links.zip (84 downloads)


Top
#248030 - 08/23/04 07:31 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
i cant figure this out<br />why doesnt the install script create the tables guys?

Top
#248031 - 08/23/04 10:20 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: OWL_pokemon]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Very appreciated <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Looks pretty here:<br /><br />http://www.ubbdev.com/forum/links.php<br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /><br /><br />I updated the original post in this thread with emkempter's files added <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#248032 - 08/24/04 01:53 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
[]AllenAyres said:<br />Very appreciated <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Looks pretty here:<br /><br />http://www.ubbdev.com/forum/links.php<br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /><br /><br />I updated the original post in this thread with emkempter's files added <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />hey allen<br />yours doesnt seem to be working m8.<br /><br /> [] Warning: main(languages//links.php): failed to open stream: No such file or directory in /home/threadsdev/domains/threadsdev.com/public_html/forum/links.php on line 55 [/]

Top
#248033 - 09/23/04 06:41 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Luka_dup1]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
Im trapped at the same error. I use the latest version witch runs on php5 (globals off) under 6.4.x<br /><br />after Update to 6.5 I modify this:<br /><br />// Require the library<br /> require ("includes/main.inc.php");<br /> require ("languages/${$config['cookieprefix']."w3t_language"}links.php");<br /><br />to reflect the moving of the main.inc.php to the includes directory but get:<br /><br />Warning: main(languages/links.php) [function.main]: failed to open stream: No such file or directory in /...path.../dragonclan-forum.de/ubbthreads/links.php on line 41<br /><br />Any Idea ?
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#248034 - 09/23/04 07:28 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: landyphil]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Zarzal said:<br />Im trapped at the same error. I use the latest version witch runs on php5 (globals off) under 6.4.x<br /><br />after Update to 6.5 I modify this:<br /><br />// Require the library<br /> require ("includes/main.inc.php");<br /> require ("languages/${$config['cookieprefix']."w3t_language"}links.php");<br /><br />to reflect the moving of the main.inc.php to the includes directory but get:<br /><br />Warning: main(languages/links.php) [function.main]: failed to open stream: No such file or directory in /...path.../dragonclan-forum.de/ubbthreads/links.php on line 41<br /><br />Any Idea ? [/]<br />I had the same problem, but I got it working but using the full paths.<br /><br />Change this:<br /><br />
Code:
<br />// Require the library<br />require ("includes/main.inc.php");<br />require ("languages/${$config['cookieprefix']."w3t_language"}links.php");<br />
<br /><br />To This:<br /><br />
Code:
<br />// Require the library<br />require ("/path/to/ubbthreads/includes/main.inc.php");<br />require ("/path/to/ubbthreads/links/languages/english/links.php");<br />
<br /><br />Probably not the right way to do it, but it does work.

Top
#248035 - 09/23/04 11:31 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
One important update on ANYTHING that you're converting to work on 6.5 - is that you have to change<br /><br />${$config['cookieprefix']."w3t_language"}<br /><br />to<br /><br />{$myprefs['language']}<br /><br />That'll fix why it's leaving "english" out of the language file include. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#248036 - 09/24/04 02:22 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Daine]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
Thanks Josh. Last night I do the fix with fixed path to test out where the error comes from. I know that something was changed and that is it.<br /><br />To bring TLD to work on Threads 6.5 do the following changens:<br /><br />links.php:<br />require ("./includes/main.inc.php");<br />require ("./languages/{$myprefs['language']}/links.php");<br /><br />links_admin.php<br />require ("./includes/main.inc.php"); <br /><br />links_redirect.php<br />require ("./includes/main.inc.php");
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#248037 - 09/24/04 04:40 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: landyphil]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
i'm still getting this problem:<br /><br />Script:<br />Line#:<br />SQL Error: Table 'fordmond_threadsdb.w3t_links_links' doesn't exist<br />SQL Error #: 1146<br />Query: SELECT lid,cat_id FROM w3t_links_links WHERE approved = '1'<br /><br />Please use your back button to return to the previous page.<br /><br /><br />how do i insert these tables?

Top
#248038 - 09/24/04 04:49 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Luka_dup1]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
Hmmm, even if i try the links_admin.php?op=upgrade_from_1_0 or the links_admin.php?op=create_tables manually which i've found in the links_admin.php file i STILL get the same error.<br />HELP!<br />I really want this working and it's doing my head in.

Top
#248039 - 09/25/04 02:04 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Luka_dup1]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK- I've put this on a couple of 6.5 forums. I don't have a "pretty" way to do it, or else I'd re-post the mod for 6.5.<br />If I find myself with free time, I will. But for now I'm swamed.<br /><br />To use this mod with 6.5 - I did the following.<br /><br />inks.php:<br />require ("./includes/main.inc.php");<br />require ("./languages/{$myprefs['language']}/links.php");<br /><br />links_admin.php<br />require ("./includes/main.inc.php");<br /><br />links_redirect.php<br />require ("./includes/main.inc.php"); <br /><br /><br />Then I manually created the tables using my Threads SQL interface. The following 3 queries need to be run.<br /><br />CREATE TABLE `w3t_links_categories` (<br /> `cat_id` int(11) NOT NULL auto_increment,<br /> `parent_id` int(11) default NULL,<br /> `title` varchar(50) NOT NULL default '',<br /> `cat_order` tinyint(10) NOT NULL default '0',<br /> `cat_desc` varchar(60) default NULL,<br /> PRIMARY KEY (`cat_id`)<br />) TYPE=MyISAM AUTO_INCREMENT=32 ;<br /><br /><br /><br /><br />CREATE TABLE `w3t_links_favorites` (<br /> `num` int(9) unsigned NOT NULL auto_increment,<br /> `lid` int(9) unsigned NOT NULL default '0',<br /> `uid` int(9) unsigned NOT NULL default '0',<br /> PRIMARY KEY (`num`),<br /> KEY `FAV_indx1` (`uid`)<br />) TYPE=MyISAM AUTO_INCREMENT=11 ;<br /><br /><br /><br /><br />CREATE TABLE `w3t_links_links` (<br /> `lid` int(11) NOT NULL auto_increment,<br /> `cat_id` int(11) default NULL,<br /> `approved` tinyint(4) NOT NULL default '1',<br /> `title` varchar(100) NOT NULL default '',<br /> `url` varchar(100) NOT NULL default '',<br /> `description` text NOT NULL,<br /> `date_added` int(11) unsigned NOT NULL default '0',<br /> `name` varchar(100) NOT NULL default '',<br /> `email` varchar(100) NOT NULL default '',<br /> `hits` int(11) NOT NULL default '0',<br /> `user_number` int(11) NOT NULL default '0',<br /> `member` char(2) NOT NULL default '',<br /> `linkratingsummary` double(6,4) NOT NULL default '0.0000',<br /> `totalvotes` int(11) NOT NULL default '0',<br /> PRIMARY KEY (`lid`)<br />) TYPE=MyISAM AUTO_INCREMENT=65 ;<br /><br /><br />Once you make those tweaks, and create the tables, then it should all function normally.<br /><br />Probably wouldn't be difficult to figure out how to allow the admin script by the SQL error on initial install. Or create a "createlinktable.php" script which you could run first and then delete it. But the above works just fine. <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 17 of 21 < 1 2 ... 15 16 17 18 19 20 21 >


Who's Online
0 registered (), 22 Guests and 11 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