OK Gents - quick question.<br /><br />I have never used TLD...and basically all I need is an online script that will handle my bookmarks. I get tired of using multiple PCs and managing the bookmarks on each, so I am going to start using my personal site to do so. Easy enough to lock away if I need.<br /><br />My question is this - should I install this mod on my family's threads site and use it for my personal use, or is this a bit 'robust' for one user? I am sure there are a bunch of random non-integrated bookmark scripts out there, but figured I would start here.
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25452
Loc: Texas
this one is pretty simple to setup, bookmarks would probably be a good use for it <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
I just added this one to my site (after manually creating the tables). I can't get it to work -every time I submit a link I get: <br /> <br />You have not filled out the form completely. Please hit your back button and try again. <br /> <br />After digging through the scripts that erro is triggered in the links_submit_links.php file by the following code: <br /> <br />
Code:
// Check to see if the form was filled out completely <br /> <br /> if (!filled_out($HTTP_POST_VARS)) { <br /> print "<center><b>{$ubbt_lang['LINKS_SUBMIT_FILLED_OUT']}</b></center>"; <br /> $html -> send_footer(); <br /> exit; <br /> }
<br /> <br />It looks like the function that checks to see if all of the $HTTP_POST_VARS are avaialble is failing. Any ideas?
Allen please post the scripts that Threads Dev is using for this hack so I can use Beyond Compare to see what the differences are between the scripts that work here, and the ones in the mod.
I finally figured out how to fix it -it's not pretty but it works. Since there are only 4 variables that are user selectable I decided to only check for those 4:<br /><br />
Code:
foreach ($HTTP_POST_VARS as $key => $value);<br /><br />// Check to see if the form was filled out completely<br />if ( (!isset($cat_id) || ($cat_id == "")) || (!isset($url) || ($url == "")) || (!isset($title) || ($title == "")) || (!isset($description) || ($description == "")) ) {<br /> print "<center><b>{$ubbt_lang['LINKS_SUBMIT_FILLED_OUT']}</b></center>";<br /> $html -> send_footer();<br /> exit;<br /> } else {
<br /><br />After the else the rest of the script to check the url and enter the data in the database executes.
my provider changed the webserver a little bit and my TLD2 stop working correct in some functions. It doesnt show any error.
I can enter the main page of TLD. All looks nice and correct. If I click on a category it goes to it but show only every time the same link only (only one and every time the same). It doesn't show me the correct content of the category.
I can click on what I like, I get every time the same result showing me the one and only link and the categorys. The DB contains 138 Links.
Click I 'Most Popular' I see some of my links. If I try to follow a link the redirector show me an empty page (in firefox). In IE it take me back to my board main index.
I try do delete one of the Most Popular links, got the correct message that this link is deleted but after I revisit Most Popular it is still intact and I have 138 links.
If I try to edit a category or link I get the error that not all is filled out correctly.
I can remeber that this problem have to do with global variables or something like this. Anyone who know this effect and have a solution? I like TLD and have to bring it to work again. I need some help.
If I try to submit a link I get: http:// is not a valid url or is temporarily unavailable. Please check the url by clicking on the link and try again.
Seems be related to the post/get bug from Dalantech and maybe Threads 6.5.5 .... I changed the threads version von 6.5.4 to 6.5.5 some days bevore the server changes and not test the TLD *shame*.
/edit: I try to apply the fix for links_submit_link.php from dalantech above, but I ancounter some problems ... still working and cant find out to put it in the right place.
Update: I m on the way. I compare V1.5 to V2.0 and bring some old sript parts to V2. It begins to work but I guess its realy unsafe to XSS. The Links Categories shows now correect, but there is alot more work to do.
/edit: I include in most cases some code like this (example redirector):