Atheistforums.com

The Lobby => Introductions => Topic started by: wolf39us on June 06, 2013, 09:04:03 AM

Title: Colanth - Webmaster
Post by: wolf39us on June 06, 2013, 09:04:03 AM
Colanth has been a great help with some awesome code that will keep the site safer than it was.  We will both automatically receive e-mails daily with the site files attached!  

Colanth is an experienced PHP developer with a little extra time on his hands and has agreed to assist me in keeping the site going (Thank You!).  He will help lift the burden of keeping things running around here :-)

Congratulations Colanth!
Title:
Post by: WitchSabrina on June 06, 2013, 09:08:16 AM
Thanks to Colanth. (and thanks to you too Wolf)

 =D>  =D>  =D>
Title:
Post by: Colanth on June 06, 2013, 11:28:13 AM
Thanks to the board.  Being retired means that I forget everything.  Having to work on the board will keep me from rusting away.
Title:
Post by: stromboli on June 06, 2013, 11:34:34 AM
Quote from: "Colanth"Thanks to the board.  Being retired means that I forget everything.  Having to work on the board will keep me from rusting away.

I know the feeling......
Title:
Post by: Fidel_Castronaut on June 06, 2013, 12:50:52 PM
Congrats :)

Good team so far :)
Title:
Post by: Sal1981 on June 06, 2013, 07:39:02 PM
Yay.

Make it as least reliable on JS as possible, only for mobile at most, and rely on CSS and PHP as much as possible.

And for Jebus' sake, remove that eval() function.
Title: Re: Colanth - Webmaster
Post by: AllPurposeAtheist on June 06, 2013, 07:47:09 PM
I'm a former site hack and have already forgotten more than I ever learned. At least now the site is faster and so far no blank white screens since the server switchover.. Thanks fellers.. good show. :)
Title:
Post by: wolf39us on June 06, 2013, 07:51:16 PM
Quote from: "Sal1981"Yay.

Make it as least reliable on JS as possible, only for mobile at most, and rely on CSS and PHP as much as possible.

And for Jebus' sake, remove that eval() function.

which eval()?
Title:
Post by: stromboli on June 06, 2013, 08:11:14 PM
So he's sort of like Gandalf then.
Title:
Post by: Sal1981 on June 06, 2013, 08:52:19 PM
Quote from: "wolf39us"
Quote from: "Sal1981"Yay.

Make it as least reliable on JS as possible, only for mobile at most, and rely on CSS and PHP as much as possible.

And for Jebus' sake, remove that eval() function.

which eval()?
Appears at line 72 in the HTML document of the viewtopic.php and posting.php

Only if you don't see any other way around than using eval(). I obviously don't see the php page from the server, but wouldn't it be easier to just use getElementsByTagName or somesuch to get the element id?

http://php.net/manual/en/function.eval.php (http://php.net/manual/en/function.eval.php)

Quote[center:1yw5tsrg]Caution[/center:1yw5tsrg]
The eval() language construct is very dangerous because it allows execution of arbitrary PHP code. Its use thus is discouraged. If you have carefully verified that there is no other option than to use this construct, pay special attention not to pass any user provided data into it without properly validating it beforehand.
Title: Re: Colanth - Webmaster
Post by: wolf39us on June 06, 2013, 09:07:25 PM
I searched both those files.

Neither of them are sporting an eval function
Title:
Post by: PickelledEggs on June 06, 2013, 10:16:51 PM
Saweeeet!
Title:
Post by: Colanth on June 06, 2013, 10:27:48 PM
It occurs in the overall_header tpl files in the cache, but not in any other files.  It's in function marklist().  (Probably only generated dynamically - and that would put it in the core files.)

[Edit]
Oops, I was wrong.  It's in overall_header.php too.
Title:
Post by: WitchSabrina on June 07, 2013, 10:21:07 AM
(//http://helpmesupergeek.com/images/Super-Geek-ContactL.gif)
Title:
Post by: La Dolce Vita on June 07, 2013, 01:06:01 PM
Congratulations! Make us proud! (And by that I mean that you do a lot of free work and favors for us. Yeah, if you could do that, that would be great)
Title:
Post by: Jason78 on June 07, 2013, 01:35:59 PM
Quote from: "Colanth"Thanks to the board.  Being retired means that I forget everything.  Having to work on the board will keep me from rusting away.

Ha! Ha!  You have to take responsibility for things!
Title:
Post by: Colanth on June 07, 2013, 02:45:53 PM
Right now I'm trying to fit my head through a brick wall that has no hole yet.  Some people shouldn't be allowed to write computer code.
Title:
Post by: GurrenLagann on June 07, 2013, 04:19:10 PM
Hmph. I know PHP and JS as well.... :-&
Title:
Post by: Colanth on June 07, 2013, 04:52:23 PM
Oh, NOW he tells me!  AFTER I fixed things.
Title:
Post by: WitchSabrina on June 07, 2013, 05:04:51 PM
And your name's all sparkly now, too. You code-writer you!

 :rolleyes:  =D>  :rolleyes:
Title:
Post by: Colanth on June 07, 2013, 06:13:31 PM
That's what they tell me, Bri. :)

Right now, I'm a head-against-the-wall-banger.  I got this mod working on my local version of the forum, but something's missing when I install it on the real forum.  Oh, well, that's what makes life interesting.
Title: Re:
Post by: BarkAtTheMoon on June 07, 2013, 09:33:15 PM
Quote from: "Colanth"Right now I'm trying to fit my head through a brick wall that has no hole yet.  Some people shouldn't be allowed to write computer code.
Ain't that the truth. I'm a programmer, not an expert on web languages, but I've been handed some shit code at work many times.
Title:
Post by: Colanth on June 07, 2013, 10:54:10 PM
This isn't shit code, it's easy to follow.  It just doesn't work the way it's supposed to.  I think someone let a little bit of magic smoke get out of it.