[]AllenAyres said:<br />I can look at this for you if you like, it's probably easy, tho I'm not sure... been a while since I looked at the code. [/]<br /><br />Thanks Allen <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
<br />// -----------------------------<br />// Make sure they should be here<br /> if (($user['U_Status'] != 'Administrator') && ($user['U_Status'] != 'Moderator')) {<br /> $html -> not_right ("You must be logged in, and be a valid administrator to access this.",$Cat);<br /> }<br />
<br /><br />REPLACE WITH:<br /><br />
Code:
<br />// -----------------------------<br />// Make sure they should be here<br /> if (($user['U_Status'] != 'Administrator')) {<br /> $html -> not_right ("You must be logged in, and be a valid administrator to access this.",$Cat);<br /> }<br />
I'm not getting a setup screen which I think I should be?<br /><br />Instead I get<br /><br />Script:<br />Line#:<br />SQL Error: select command denied to user: 'bm3wadmin@localhost' for table 'w3t_links_links'<br />SQL Error #: 1142<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.
Ah, another problem.. when submitted a new link I get<br /><br />Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in g:\webs\www.bm3w.co.uk\public_html\ubbthreads\links_submit_link.php on line 93<br />Could not notify admin<br /><br />Do we need to set an address somewhere?
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
Sorry Matt, on holiday. I'll check it out when I'm back home and have access to my computer (1-2 days) <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
[]MattUK said:<br />Ah, another problem.. when submitted a new link I get<br /><br />Warning: mail(): SMTP server response: 501 5.5.4 Invalid Address in g:\webs\www.bm3w.co.uk\public_html\ubbthreads\links_submit_link.php on line 93<br />Could not notify admin<br /><br />Do we need to set an address somewhere? [/]<br /><br />It uses the forum's email address set in the control panel. Double-check that your forum's email address is a current legit one.
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
Download zip updated to 1.8.3 - a few bugs fixed <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br /><br />One was in the links admin where the admin viewed links submitted, the link to the username didn't work, now it does <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
Thank you for this Update. The V1.83 is the first version behond 1.5 that will work on my server. But the are 2 typo bugs in links_submitrate_link.php<br />On Line 39 and 59 you must add \ to the " around the word top or you get an error while trying to rate a link.<br /><br />Good work ! <img src="http://www.ubbdev.com/forum/images/graemlins/bow.gif" alt="" />
This mod adds search capability to TLD. Links title and description are searched and the found search term is bolded. Perhaps Allen or Josh would be so kind as to integrate my changes into the latest and greatest release because my changes may not include those contributed by other users since I last worked on this script. The integration should be minor because I only changed one script and one template. Enjoy. <br /> <br />Files: <br /> <br />links_search_links.php (new script to go with your other links scripts) <br />links.php (you may need to modify the path to links_search_links.php) <br />links_header.tmpl (this replaces links_header.tmpl in your templates/default directory) <br />search.gif (new icon - this goes in your images directory)
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
cool, I'll get it integrated sometime this week and release it as a 2.0 <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br /><br />thankyou again <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
Added a couple of minor fixes: <br /> <br />Added 'no results found' message, previously no message which made you wonder if the script was working. <br /> <br />When bolding search results, script wasn't retaining case. Example: search for 'dallas' would return 'dallas' but it should have returned 'Dallas'. <br /> <br />Links no longer send the URL in the clear.
[]ekempter said:<br /><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 /> [/]<br /><br />The stars appear in the 'Most Popular' list regardless of how the configuration option is set. Fixed this. Allen, please integrate into the lastest release - this is a very small mod.<br /><br />Thanks.
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25432
Loc: Texas
Zip files updated with the search feature by ekempter - <img src="http://www.ubbdev.com/forum/images/graemlins/yay.gif" alt="" /><br /><br />A few small bugfixes to update it to work with threads 6.5+ and a url fix.<br /><br />Thanks ekempter, seems to be working real well here <img src="http://www.ubbdev.com/forum/images/graemlins/pineapple.gif" alt="" />
Thank you for this update.<br /><br />After review the files your should take a look to links_popular_links.php <br />The header contains wrong version descriptions and in line 58 is an alt tag missing after /images/popular-c.gif\ witch was in your last update.<br /><br />I have a question about your directory structure for this modification. I put he language files in the UBBt language directory so I have to edit the line <br /><br />require ("languages/{$myprefs['language']}/links.php");<br />to<br />require ("./languages/{$myprefs['language']}/links.php");<br /><br />in some files. There should be a note in the installation description about the directory location.<br /><br />This update works very well.