Guest beatmix01 Posted September 16, 2005 Posted September 16, 2005 Can you embed php in threads on vbulletin? Thinking about putting some feeds for some price updates in there..
Brad Posted September 16, 2005 Posted September 16, 2005 You can show PHP code, but I don't think it allows actually executing the code - too much opportunity for security problems. I can run code on the main site - just PM me with the details.
Guest beatmix01 Posted September 16, 2005 Posted September 16, 2005 I was just curious because there is a PHP tag in the Reply section.
Brad Posted September 16, 2005 Posted September 16, 2005 Yeah that's just to display PHP code (with syntax highlighting I think)
Guest beatmix01 Posted September 16, 2005 Posted September 16, 2005 My main reason was I was thinking of a way we could have a Woot thread that autoupdates when a new item is added. Come to think of it I dont know how realistic that would be being that woot is aspx driven and GD is PHP.
Brad Posted September 16, 2005 Posted September 16, 2005 That could be done - it would just involve writing a small script that "scrapes" the woot home page a few minutes after midnight to get the item's title and then automatically creates a post - not too difficult
i-bystander Posted September 19, 2005 Posted September 19, 2005 My main reason was I was thinking of a way we could have a Woot thread that autoupdates when a new item is added. Come to think of it I dont know how realistic that would be being that woot is aspx driven and GD is PHP. Shouldn't be too hard... where were you thinking of putting it?
i-bystander Posted September 19, 2005 Posted September 19, 2005 In the OnLine Hot Deals. Ooh, that's a great idea - automatic points generator! Get on it stat, or I'll steal it from you.
Guest beatmix01 Posted September 19, 2005 Posted September 19, 2005 Ooh, that's a great idea - automatic points generator! Get on it stat, or I'll steal it from you. too late already started it about an hour ago.
i-bystander Posted September 19, 2005 Posted September 19, 2005 too late already started it about an hour ago. So that Woot! Daily Deals thread will auto-update then? If so, good job - and great thinking!
Guest beatmix01 Posted September 19, 2005 Posted September 19, 2005 So that Woot! Daily Deals thread will auto-update then? If so, good job - and great thinking! not auto updating. i think ill have to manually do it. I dont think I can autoupdate a thread using php since you cannot embed php within a thread.
i-bystander Posted September 19, 2005 Posted September 19, 2005 not auto updating. i think ill have to manually do it. I dont think I can autoupdate a thread using php since you cannot embed php within a thread. Why not: write a script; put it up on one of your sites; and reference that in your original post? You can do it, Jared!
Guest beatmix01 Posted September 19, 2005 Posted September 19, 2005 i guess i could do it that way... i think... hmm when i have time i will have to think it out more. it would be my first 'complex' php script.
i-bystander Posted September 19, 2005 Posted September 19, 2005 i guess i could do it that way... i think... hmm when i have time i will have to think it out more. it would be my first 'complex' php script. I'll keep an eye out for it. :)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now