Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!
So I'm redesigning one of my sites (which I coded from scratch) and decided to take a crack at wordpress because I really like some of the plugins that people have come up with.

Unfortunately I need the ability to execute php code before any html headers or anything. I have no idea how to do this in wordpress...

I've tried tinkering around with greybox ( http://orangoo.com/labs/GreyBox/ ) to try and get it to accept the form post and run the code in a 'popup' window, but am having a hell of a time trying to get it to pass the form data along.


Links:

https://www.wheresmycellphone.com <-- ugly-rear end current site

https://www.wheresmycellphone.com/beta <--- wordpress version I'm working on

Thanks in advance for any insight on my plight!

Adbot
ADBOT LOVES YOU

Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!

Ned posted:

Can you do it with a page/template combination? A template probably won't send out headers unless you tell it to do so.
Perhaps I could... I'm not entirely sure how to do this, though :(


vvv This worked swimmingly, thank you!

Treytor fucked around with this message at 22:51 on Oct 1, 2009

Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!
Thanks again for the help guys!

Does anyone here have any experience with the Donate Plus plugin? I seem to be having problems with it interfacing with Paypal's IPN... I keep getting "FATAL ERROR No Reply at all Posted IPN variables in order received:"

Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!
Okay I feel really stupid, but I forgot to check my new wordpress site on anything other than Firefox. My form submit is returning this:

"No posts were located with the given criteria. Go back and try again."

http://www.wheresmycellphone.com/


Googling isn't really coming up with anything... I have no idea what I'm missing here...

Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!

NotShadowStar posted:

It looks like your HTML is very wrong. There's mismatched tags all over and mystyped closings.

I must be really stupid, but I'm totally missing what you're referring to. Everything seems okay to me... Mistyped closings?

Edit: I figured it out... privately published pages will actually not show up under IE, but they will in firefox.

Very strange.

Treytor fucked around with this message at 12:11 on Oct 3, 2009

Adbot
ADBOT LOVES YOU

Treytor
Feb 8, 2003

Enjoy, uh... refreshing time!
Alright I'll look into that as well. Thanks man :)

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply