php forum
php mysql forum
php mysql smarty
 
Page 4 of 21 < 1 2 3 4 5 6 ... 20 21 >
Topic Options
#247760 - 06/03/03 03:32 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: wilstephens]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Mark I fixed the problem no worry looking for it.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247761 - 06/03/03 06:17 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Congrats! <img src="/forum/images/graemlins/yay.gif" alt="" /><br /><br /> Not sure where the problem might be... it makes me think it might be server setup if no-one else is having the same problems. I'll re-upload all files and try again <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247762 - 06/03/03 06:52 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yeah if you have access to a few different sites as Josh meantioned look into register globals. I would suspect that as the first suspect thus requiring the get variables to be defined more. <br /> <br />After I saw your problem I tried it and it works for me.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247763 - 06/03/03 07:04 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, you'd get that message when adding a category if ($title) is empty.<br /><br />Allen you also might try adding <br /><br />echo "Title: $title";<br /><br />in the script somewhere and see if it has a value.<br />If not try adding <br /><br />$title = get_input("title","post");<br /><br />near the top with the other get_input function. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247764 - 06/03/03 09:19 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
will do Josh, thanks <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247765 - 06/04/03 03:11 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
Okay, now I can create/add categories and subcategories, but when I attempt to submit a link, it says that the url is not valid or is temporarily unavailable. It tells me to click the link to check it, and when I do, the link works perfectly. Any suggestions?

Top
#247766 - 06/04/03 09:33 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: wilstephens]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Do you approve the links after they are submitted?
_________________________
- Allen wavey
- What Drives You?

Top
#247767 - 06/04/03 11:49 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
It wasn't showing them as being submitted. Don't know what the problem was but Nikos fixed it I guess.

Top
#247768 - 06/05/03 08:49 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: wilstephens]
fishtails Offline
Enthusiast

Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
It sounds like y'all found the problem and it was with register globals being off? I'll add that get_input() that Josh spoke of.<br /><br />shortbus, I found out (at least most of the times) why some urls won't work even though they are good urls. Basically, it has to do with server redirects. Let me see if I can clarify this. If you put in, say http://www.fish-tails.net (note there is NO trailing slash) in the address bar of your browser (or just click the link) watch the address bar and it will add the trailing slash, which is the server basically redirecting you to the default directory. Now, if someones home page is not the default directory and is in effect in another directory, the script can not resolve the new location because it is expecting the exact url.<br /><br />In either case, php will not allow (at least from waht I've found out) to follow the redirect, hence the url is returned false.<br /><br />I haven't figured out how to overcome this, so if anybody knows, please speak up. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /><br />Well, I was just previewing this post, and noticed that the trailing slash was added for me, when I stated there was no trailing slash. It appears the answer may be before me without knowing it.
_________________________
Fish or Cut Bait! http://www.fish-tails.net

[:"red"]Air traffic control? It has its ups and downs.[/] http://www.natcazjx.org

Top
#247769 - 06/06/03 07:07 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
Tiny Giants Offline
Journeyman

Registered: 11/12/99
Posts: 107
I am not a programmer, but can't a check loop be used? Would it be possible to check the URL the way it is now and if false append the slash and recheck, if still false then return the failed check screen. <br /><br />I did a modification like that to script used (perl) to update a user file. I read the Users Name out of WWWthreads and modified it to be used as a directory level password. I checked and removed all non allowed characters if it failed the check.<br /><br />Thanks for this script. I will eventually be switching over from Links 2.0 to this.<br /><br />Good Luck,<br />Dale<br />

Top
#247770 - 06/13/03 04:12 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This is great and I'm proud to say we've gone live with this here.<br /><br />Suggestion for the approval page. Either a "approve all" link or radio buttons (like when we approve members).<br /><br />It would be nice to zip down a list of links and approve them all. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247771 - 06/13/03 09:34 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Daine]
fishtails Offline
Enthusiast

Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
WOW, I'm touched!!!!!!!!! <img src="/forum/images/graemlins/blush.gif" alt="" /> Looks great with this new theme as well!!!!! Good suggestion on the radio buttons, Josh. I'll add that to the todo list. What I want to do for the next release is to squash some of the little critteres that are annoying, optimize some of the queries so there's not so many calls, and finish the language files for the general and admin area. Thanks to all who have contributed to the links directory. <img src="/forum/images/graemlins/peace.gif" alt="" />
_________________________
Fish or Cut Bait! http://www.fish-tails.net

[:"red"]Air traffic control? It has its ups and downs.[/] http://www.natcazjx.org

Top
#247772 - 06/13/03 10:51 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
We love it <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />Would be nice to delete categories tho <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247773 - 06/13/03 05:14 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
I've also added a bit to mine to sort the sub-categories on the order that they are entered, rather than alphabetical - would be cool to be able to sort the sub-categories manually, as one doesn't always need them in the default order <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#247774 - 06/15/03 07:24 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
Rutto Offline
Member

Registered: 02/10/01
Posts: 182
I want to thank you for this nice hack ! I installed it on my website www.inpiega.com and works perfectly. <br /> <br />I noticed that most of the text was not in the language files so I decided to contribute to this doing it myself, attacched to this message you'll find a version with all text in the language files (English and Italian avaiable) and a small modification: now user can edit or remove the links they added. <br /> <br />Here other suggestion: <br />
  • All text in language files [Done, see attacched file];
  • Users should be able to edit their links [Done, see attacched file];
  • Categories should have a comment;
  • Administrator should be able to move a link;
  • Administrator should be able to delete categories;
  • To be able to use the search engine of the forum to search links in the link database ;
  • Could be good also changing the way categories works, not like folders as happen now but like... categories: <br />Example: <br />Green apples website: categories --> Colors | Furits <br />In this way a site could appear in more than one category. <br />
<br /> <br />I hope I have done something useful.


Attachments
85025-links - edited.zip (76 downloads)



Edited by Rutto (06/15/03 10:34 AM)

Top
#247775 - 06/19/03 01:46 PM I can't seem to install this correctly [Re: ]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
I added the .zip file for this to my threads directory and unzipped it there. Links.php went into the threads directory while everything else wento into the new links directory. I went to the links.php page in my browser and got these SQL errors:<br /> [] SQL ERROR: Unable to do_query: SELECT lid,cat_id FROM w3t_links_links WHERE approved = '1' <br />Table 'laondal_boards.w3t_links_links' doesn't exist<br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/laondal/public_html/foros/links/links_show_cat.php on line 46<br />SQL ERROR: Unable to do_query: SELECT * FROM w3t_links_categories WHERE parent_id = '0' ORDER BY 'cat_order' <br />Table 'laondal_boards.w3t_links_categories' doesn't exist<br />Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/laondal/public_html/foros/links/links_show_cat.php on line 66<br />There are () links in our database. [/] <br /><br />I figured the database would have to be altered, but there weren't any new tables yet for the links directory. Then it occurred to be that it says in the instructions to click on "Links Admin" to do the install (which explains why there are no tables). So I did that and I got this error:<br /><br /> [] Parse error: parse error, unexpected '<' in /home/laondal/public_html/foros/links/links_admin.php on line 659 [/] <br /><br />Ok. So what do I need to do to fix these problems so I can install the links directory?
_________________________
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
#247776 - 06/23/03 08:07 PM Re: I can't seem to install this correctly [Re: luan]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
I'm getting that parse error as well now...<br /><br />-peter

Top
#247777 - 06/23/03 09:25 PM Re: I can't seem to install this correctly [Re: adrienne48]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thats easy fix Line 659 of Links_Admin looks like it is missing a "<br /><br />Your file reads this<br /><br />print <p align=\"center\"><font size=\"-2\"><b>TLD by <a href=\"http://www.fish-tails.net\">Fishtails</a></b></font></p>";<br /><br />I double checked my working copy and it should be this<br /><br />print "<p align=\"center\"><font size=\"-2\"><b>TLD by <a href=\"http://www.fish-tails.net\">Fishtails</a></b></font></p>";<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247778 - 06/23/03 09:32 PM fish.... [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
did you guys figure out a rememedy to the redirect or whatever the problem was with the / or whatever? <br /><br />Still having trouble. Thanks.

Top
#247779 - 06/23/03 09:34 PM Re: I can't seem to install this correctly [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
I just installed this today, and you have to fix what chuck pointed out.. but also, when going to the links.php file as per the instructions, it would give SQL errors because the tables weren't created.<br /><br />It should have asked you whether or not you want to upgrade or create tables, but it didn't. But you can do so manually by doing this:<br /><br />http://www.domain.com/forums/links/links_admin.php?op=create_tables<br /><br />Or, whatever the path to that file may be. That will create the tables, and all of the SQL errors should have went away <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
Page 4 of 21 < 1 2 3 4 5 6 ... 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