php forum
php mysql forum
php mysql smarty
 
Page 3 of 21 < 1 2 3 4 5 ... 20 21 >
Topic Options
#247740 - 05/31/03 10:12 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
ah yes, add a " after<br /><br />print<br /><br />on that line <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247741 - 05/31/03 10:13 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
yes, works for me now <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />
Code:
 <br />print "&lt;p align=\"center\"&gt;&lt;font size=\"-2\"&gt;&lt;b&gt;TLD by &lt;a href=\"http://www.fish-tails.net\"&gt;Fishtails&lt;/a&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;"; <br />
<br /> <br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247742 - 05/31/03 10:29 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Thanx Allen always good to have two sets of eyes. Well the program is now 100% compliant with the one exception of the show favorites menu which calls the links_redirect.php script which makes the validator go wild calling all kinds of tag elements. It actually looks like main.inc.php is being called twice by the links program. Anyway this post here has the latest files with all the validated programs. <br /> <br />http://www.ubbdev.com/forum/download.php?Number=82558
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247743 - 05/31/03 10:33 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Nice, thank you <img src="/forum/images/graemlins/smile.gif" alt="" /> I'mma gonna add it to a site that's been requesting it now... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247744 - 05/31/03 10:36 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
No problem you know me. With the tablewrappers and such on my site I can't afford to have a program with html mistakes as my site would look all wacky. <br /> <br />Everything should validate now except the favorites. <br /> <br />The offending line which points to the redirection script is this in show_favorites <br /> <br /> print " <br /> <a href=\"links/links_redirect.php?lid=$row[lid]&amp;url=$row[url]\" target=\"_blank\">$row[title]</a><br />&nbsp;&nbsp;$row[description]<br /> <br /> "; <br />} <br /> <br />If you look at that file contents you can see it also calls the main.inc.php file but to my knowledge the links program already does this. <br /> <br />Here is the redirect file. <br /> <br />// -------------------------- <br />// Update the total number of hits for a link. <br /> <br />require ("../main.inc.php"); <br /> <br /> $query = "UPDATE {$config['tbprefix']}links_links <br /> SET hits = hits+1 <br /> WHERE lid = '$lid' <br /> "; <br /> $update_hits = $dbh -> do_query($query); <br /> <br /> header ("Location: $url"); <br /> <br />I have tried taking out the require and the header location statement. Maybe someone will spot something obvious but I think the error looks to me like the main.inc being called twice.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247745 - 06/01/03 08:38 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Hmmm... strange that I have not had these errors - and I am running the side bar, and tested both on left & right. Maybe it is beacuse I run the links as root on the account and not in a sub-directory. Mine is at http://links.nonleague.com (Still testing things there, and not yet live <img src="/forum/images/graemlins/smile.gif" alt="" /> )<br /><br />One thing that was missing from the original version that I added to mine was Cat=$cat& on each URL so that categories are carried through from and back to threads <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Of course I also added to authenticate U_Groups as I use the groups feature in my sidebar (I have to be different LOL)
_________________________
Fans Focus - Focusing on Fans of Sport

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

Top
#247746 - 06/01/03 09:01 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Gorlum]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Allen's sidebar issue seems to be with that particular hack or in combination of another hack as in the sidebar thread I already stated my site validates with the sidebar. Now the issue above with the show favorites is the only thing left with this program that keeps it from being 100$ validated although the program works as intended.<br /><br />Now I logged into your site. The validator does not like your site at all. It can not even obtain doctype declarations from your domain. <img src="/forum/images/graemlins/smile.gif" alt="" /> I would suspect though that the validator would find the same error if it could parse past those nice little subdomains. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247747 - 06/01/03 11:20 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Very true - but then I do not run the validator at all - must admit that I have not given any thought to validation. So much of the extra software I use is not validated, that I am onto a looser from the start. I was mroe refering to the various html errors.<br /><br />Weird thing though I see you registered, and I had the email sent to me to verify your email address - despite the fact that your address was in the to section - strange.
_________________________
Fans Focus - Focusing on Fans of Sport

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

Top
#247748 - 06/01/03 11:27 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Gorlum]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yeah well it worked fine. I recieved the confirmation email. Your links section is private so I had to register to view the link you posted. The club I joined is funny my daughter is a travel soccer player for the Abingdon Football Club. Then again thats abingdon over here in Maryland USA<br /><br />Yeah I don't think you would ever know where to begin concerning validation however you talk about html error's validation ensures no html errors. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247749 - 06/01/03 11:38 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Good job you had a <img src="/forum/images/graemlins/wink.gif" alt="" /> after that comment <img src="/forum/images/graemlins/wink.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
#247750 - 06/01/03 12:34 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: Gorlum]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Well you do love your subdomains. Seems that interrupts with the Threads DocType declaration or something else is.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247751 - 06/02/03 08:38 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
I've got a site that when I try to add categories, it says something like 'you didn't type anything' <img src="/forum/images/graemlins/tongue.gif" alt="" /> Any ideas?
_________________________
- Allen wavey
- What Drives You?

Top
#247752 - 06/02/03 08:40 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Suggestion, add an entry for the who's online so peeps can be seen peeping at the links <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247753 - 06/02/03 09:52 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I wonder if this is a register global thing.<br /><br />Allen - I haven't looked at this mod closely - but does the script that is saying "you didn't type anything" have a get_input call at the top for all the variables it's looking for. If not - it might see them as empty. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247754 - 06/02/03 11:28 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
There's a <br />
Code:
<br />// Get the input<br />        $op        = get_input("op","get");<br />
<br /><br />toward the top of the file ( links_admin.php )
_________________________
- Allen wavey
- What Drives You?

Top
#247755 - 06/02/03 11:47 PM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Not sure if all the other variables (like $title etc.... ) need to be included in that, if register globals is on (or off) I always get confused on which one needs the get_input function. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247756 - 06/03/03 01:49 AM 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
idda know... it works here <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247757 - 06/03/03 02:08 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I'm thinking that the register globals is set differently on that server. <br /><br />I'm guessing. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247758 - 06/03/03 10:01 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: sf49rminer]
fishtails Offline
Enthusiast

Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
I haven'y been on a computer for days! Was begining to have withdrawals. <img src="/forum/images/graemlins/tongue.gif" alt="" /> Chuck, thanks for working on the html. I'm not having a problem with the admin script loading, but I'll take a gander at the file. The call to show_cats.tmpl is no longer needed. You can safely remove that line. <br /> <br />On my system, register globals is on, and everything works fine. <br /> <br />Today is 24 years of a great marriage, so forgive me if I don't look at it right away. <img src="/forum/images/graemlins/wink.gif" alt="" /> I'll check it out in the am.


Edited by fishtails (06/03/03 10:05 AM)
_________________________
Fish or Cut Bait! http://www.fish-tails.net

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

Top
#247759 - 06/03/03 10:51 AM Re: TLD Bv1.5 Released - Threads Links Directory [Re: ]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
congratulations man

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