Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

Junkbox v1.5b2






rhd

0
Joined
Dec 7, 2010
Messages
8,475
Points
0
Re: Junkbox v1.5b1

Very cool! love the new look. I just posted something. Two notes:

1) IMG BBCodes don't work
2) The edit link that came in the email doesn't work:
"Fatal error: Call to undefined function trum() in /home/teravolt/public_html/junkbox/editPost.php on line 28"
 
Joined
Nov 22, 2010
Messages
239
Points
28
Re: Junkbox v1.5b1

Lolwhoops, supposed to be trim(). Fix'd.

I didn't enable image bbcodes since we would end up getting a huge mess like LPF (5 megappixel images). But now that I think of it, I can just use the size attribute. Lemme see if I can do that...
 

rhd

0
Joined
Dec 7, 2010
Messages
8,475
Points
0
Re: Junkbox v1.5b1

Lolwhoops, supposed to be trim(). Fix'd.

I didn't enable image bbcodes since we would end up getting a huge mess like LPF (5 megappixel images). But now that I think of it, I can just use the size attribute. Lemme see if I can do that...

Actually - good point.

The size attribute solves the problem visually, but not in terms of bandwidth. The full 5 megapixel image would still be downloaded, but the browser would resize it. So maybe your disabling of the IMG tag is actually smart. Yes, I think it is.
 

rhd

0
Joined
Dec 7, 2010
Messages
8,475
Points
0
Re: Junkbox v1.5b1

This time - error in posting a listing:
Fatal error: Cannot redeclare BBcode() (previously declared in /home/teravolt/public_html/junkbox/controller.php:10) in /home/teravolt/public_html/junkbox/controller.php on line 50

The only difference this time around was that this time I tried to upload an image.

EDIT: there was another difference. This time I put in my name. That might have been the problem. I removed my name, and the post went through (image included) So maybe the problem is with the name field ?
 
Last edited:
Joined
Nov 22, 2010
Messages
239
Points
28
Re: Junkbox v1.5b1

Well I don't host external images, so not my problem :). Images now enabled, and all errors fixed. (errors occurred while I was replacing the php files)
 
Last edited:




Top