php forum
php mysql forum
php mysql smarty
 
Page 9 of 21 < 1 2 ... 7 8 9 10 11 ... 20 21 >
Topic Options
#247860 - 12/31/03 01:05 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
MattyJ Offline
Coder

Registered: 05/11/99
Posts: 788
Loc: Wisconsin
Just a note... I downloaded what I think is the latest copy of this (looks much like what is here at threadsdev), and found that if I allowed anonymous users to submit links, the form was a little out of whack... (the e-mail input box wrapped to the next line...)<br /><br />To fix this, open links_submit_form.php and change line #63 to this:<br />
Code:
$submitter_email = "&lt;b&gt;{$ubbt_lang['LINKS_SUBMIT_EMAIL']}&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;input type=\"text\" name=\"email\" value=\"\" class=\"formboxes\" /&gt;";
<br />instead of <br />
Code:
$submitter_email = "&lt;b&gt;{$ubbt_lang['LINKS_SUBMIT_EMAIL']}&lt;/b&gt;&lt;br /&gt;&lt;input type=\"text\" name=\"email\" value=\"\" class=\"formboxes\" /&gt;";
<br />That seemed to fix it for me.<br /><br />Thanks for all the updates on this!!
_________________________
--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/

Top
#247861 - 01/03/04 01:41 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Original zip from first post updated with the latest code from this thread. Please let me know if I missed anything <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Thankyou to everyone who's contributed their time and knowledge to this great piece of work <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" /> <br /> <br />I fixed a few more xhtml errors, there's still a few left <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247862 - 01/03/04 11:22 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
Just to make sure, becuase I want to upgrade this also: It's Fishtails original .zip that you updated? Thanks!
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#247863 - 01/03/04 04:01 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: luan]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
is the subcatagory sort fixed on the add a link drop down form?

Top
#247864 - 01/04/04 07:30 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
bjsjr Offline
Newbie

Registered: 08/12/02
Posts: 22
I just downloaded the zip from the first post and still got the following SQL error during install: <br /> <br />SQL ERROR: Unable to do_query: CREATE TABLE w3t_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) ) <br />You have an error in your SQL syntax near ''', cat_order tinyint(10) NOT NULL default '0', ' at line 8Database tables have been created. You can now add categories and links. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />I found the solution in the thread but it must have escaped inclusion into the updated zip. <br /> <br />Bill


Edited by bjsjr (01/04/04 07:53 PM)

Top
#247865 - 01/04/04 11:12 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: packlite]
ksanuk Offline
Member

Registered: 02/06/02
Posts: 297
Loc: Bangkok, Thailand
Hi, <br /> <br />This hack could be a nice way to make some additional ad revenue. What I was thinking about was to allow sites / companies that you link to to upgrade their link, for a fee or free (up to you I suppose). <br /> <br />This upgrading could be a different style to the link (i.e. larger font / bolder / italics) or even a small banner displayed next to or below the link. <br /> <br />It would be even better if we could add different levels of priority to the links (each with a different style associated to them) and then sort the list on links by priority first before alphabetically. <br /> <br />How much work would it be to add these features? <br /> <br />Sanuk!

Top
#247866 - 01/07/04 08:41 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: packlite]
bjsjr Offline
Newbie

Registered: 08/12/02
Posts: 22
I noticed here at Threadsdev when you check the 'Who's Online' scrren it will show that someone is viewing the links database. The version of TLD I just installed just shows 'Private' when someone uses the db.<br /><br />Is there some code I have to add to get the Who's Online screen to display members using TLD?<br /><br />Thanks,<br />Bill

Top
#247867 - 01/07/04 08:47 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: packlite]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]bjsjr said:<br />I noticed here at Threadsdev when you check the 'Who's Online' scrren it will show that someone is viewing the links database. The version of TLD I just installed just shows 'Private' when someone uses the db.<br /><br />Is there some code I have to add to get the Who's Online screen to display members using TLD?<br /><br />Thanks,<br />Bill [/]<br />Bill,<br /><br />Add the bellow code to your /ubbthreads/language/english/online.php file.<br /><br />
Code:
$ubbt_lang['links']  =  "Links Page";

Top
#247868 - 01/07/04 08:58 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: vajraman]
bjsjr Offline
Newbie

Registered: 08/12/02
Posts: 22
Thanks a lot! I knew it had to be something simple <img src="http://www.ubbdev.com/forum/images/graemlins/blush.gif" alt="" /><br /><br />Bill

Top
#247869 - 01/08/04 09:56 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: packlite]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
I wonder if anyone can help. I just uploaded the links directory to /ubbthreads/links and when I try to go to /ubbthreads/links/links.php, I get the following error message: <br /> <br />=========== <br /> <br />Warning: main(main.inc.php): failed to open stream: No such file or directory in /home/flighta/public_html/ubbthreads/links/links.php on line 52 <br /> <br />Fatal error: main(): Failed opening required 'main.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/flighta/public_html/ubbthreads/links/links.php on line 52 <br /> <br />=========== <br /> <br />Line 52 is: <br /> <br /> $html = new html; <br /> <br />=========== <br /> <br />Can anyone tell at a quick glance what I might have done wrong? <br /> <br />Thanks, <br /> <br />Jason

Top
#247870 - 01/08/04 12:45 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]Sky YYZ said: <br />I wonder if anyone can help. I just uploaded the links directory to /ubbthreads/links and when I try to go to /ubbthreads/links/links.php, I get the following error message: <br /> <br />=========== <br /> <br />Warning: main(main.inc.php): failed to open stream: No such file or directory in /home/flighta/public_html/ubbthreads/links/links.php on line 52 <br /> <br />Fatal error: main(): Failed opening required 'main.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/flighta/public_html/ubbthreads/links/links.php on line 52 <br /> <br />=========== <br /> <br />Line 52 is: <br /> <br /> $html = new html; <br /> <br />=========== <br /> <br />Can anyone tell at a quick glance what I might have done wrong? <br /> <br />Thanks, <br /> <br />Jason [/] <br />If I recall correctly, you need to put the files in the ubbthreads directory with the current changes or redirect them to the /links folder.


Edited by BWilliams (01/08/04 12:45 PM)

Top
#247871 - 01/08/04 12:54 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: vajraman]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yep the files no longer go in their own directory. They follow the threads directory structure now.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247872 - 01/08/04 12:59 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
looks like im going to have to give this one another try...
_________________________
DrChaos
LeetGamers

Top
#247873 - 01/08/04 03:00 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Duck]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
Hi guys,<br /><br />Okay I installed it in the /ubbthreads directory. I clicked on "links administration" and this is what followed:<br /><br />=======================<br /><br />If you have NOT already created your database tables and this is your first install, you can do so by clicking here. :: So I did.<br /><br />=======================<br /><br />Next I got this:<br /><br />=======================<br /><br />SQL ERROR: Thu, Jan 08 2004 15:55:28 -0500 Unable to do_query: CREATE TABLE w3t_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) ) <br />You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''', cat_order tinyint(10) NOT NULL defaSQL ERROR: Thu, Jan 08 2004 15:55:28 -0500 Unable to do_query: CREATE TABLE w3t_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 '', 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) ) <br />Table 'w3t_links_links' already existsSQL ERROR: Thu, Jan 08 2004 15:55:28 -0500 Unable to do_query: CREATE TABLE w3t_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) ) <br />Table 'w3t_links_favorites' already existsDatabase tables have been created. You can now add categories and links. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />========================<br /><br />and when I clicked on "Links Home" in the navigation bar I got this:<br /><br />========================<br /><br />SQL ERROR: Thu, Jan 08 2004 15:57:24 -0500 Unable to do_query: SELECT * FROM w3t_links_categories WHERE parent_id = '0' ORDER BY 'cat_order' <br />Table 'flighta_thread.w3t_links_categories' doesn't exist<br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/flighta/public_html/ubbthreads/links_show_cat.php on line 66<br /><br />=======================<br /><br />It looks like the w3t_ table(s) didn't create automatically? Don't suppose there are any more ideas? Sorry, I wish it had gone smoothly.<br /><br />Thanks,<br /><br />Jason <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />

Top
#247874 - 01/08/04 03:56 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
Looks like I need to find where the create table code is, more specifically "w3t_links_categories" and change it to:<br /><br />CREATE TABLE w3t_links_categories <br />( <br />cat_id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, <br />parent_id int(11) DEFAULT NULL, <br />title varchar(50) NOT NULL DEFAULT '', <br />cat_desc varchar(60) DEFAULT NULL, <br />cat_order tinyint(10) NOT NULL DEFAULT '0' <br />)<br /><br />....looking for it now.

Top
#247875 - 01/08/04 04:10 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
That was it! Found it in links_admin.php and replaced the code starting on line 488.<br /><br />Off to work I go... <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks!

Top
#247876 - 01/08/04 04:40 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
hmm quick.. someone call the net.. hes talking AND answering himself... <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#247877 - 01/08/04 06:45 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: 234234]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
haha... yeah, actually I get bugged about that at work all the time! <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> There's one person worse than me though! <br /> <br />Well I figure this way if anyone else has the same problem they will see how to correct it... hence the talking to myself bit. <br /> <br />There are a couple of different troubleshooting techniques to try deep within this thread... but this is the one that works for me. Maybe the code could be updated in the original d/l by the powers-that-be. Or not, either way... this is a great mod. Thanks!

Top
#247878 - 01/08/04 07:15 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
Well here's something maybe someone else can help me with...<br /><br />I noticed it won't validate links from within your own domain. Is there a trick to get it to do that?<br /><br />Thanks!

Top
#247879 - 01/10/04 12:38 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: gingerginger]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
how do you mean? GOt an example?
_________________________
- Allen wavey
- What Drives You?

Top
Page 9 of 21 < 1 2 ... 7 8 9 10 11 ... 20 21 >


Who's Online
0 registered (), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 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 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks