Staredit Network > Forums > Technology & Computers > Topic: Website Script...
Website Script...
Dec 25 2009, 6:11 am
By: sharf  

Dec 25 2009, 6:11 am sharf Post #1



Ok so...what I want is for my regular html webpage (suppose I can change the file type) to import text from a forum post (forums are phpBB3) This is sort of...a way to allow other members to post content without doing a php login system and shit. I know I can use a javascript code to import text from one file and display it on here, but I want to grab the text from a page...is that possible? If so, how?

Thanks, sharf - and merry christmas



None.

Dec 25 2009, 4:04 pm Doodle77 Post #2



If the forum post is on the same site then you can do it, though it wouldn't look good, otherwise no.

I highly recommend you look into other free web hosting services that provide scripting support, e.g. http://000webhost.com



None.

Dec 25 2009, 4:36 pm sharf Post #3



They are both on the same host, they're both on my server. I have also found PHP code that will import code from a specified URL (anywhere on the web) and snag everything that is inbetween certain code tags (what ever tags you define) I'm just not quite sure of the syntax...mycoding expertise is not with PHP...



None.

Dec 27 2009, 2:16 am Doodle77 Post #4



Sorry, by 'regular html' i thought you meant no PHP, just javascript.



None.

Dec 27 2009, 5:17 am sharf Post #5



I did say "I suppose I can change the file format" though that may not have been cear, I did mean I can use php, sorry. I would like to import as many functions as possible...like the avatar of the user, the name of the user, the date, the post title, and the content itself....I just don't know what kind of code I need...I have had no luck getting it to work yet. Anyone know the code I'd need?



None.

Dec 28 2009, 4:21 pm Forsaken Archer Post #6



The hell?
Quote
what I want is for my regular html webpage... to import text from a forum post (forums are phpBB3)
This is EASILY doable... as you said, it's your forums, you have access to everything, you can make php scripts that access YOUR database, right?

Quote
This is sort of...a way to allow other members to post content without doing a php login system and shit.
Why? You have a login, it's the phpbb board?

phpbb probably has defined functions to get the username, parse whatever data format it uses into english-readable dates, etc. You just have to look around the code ^_^

I have absolutely no idea what you want to do, but like SENv4's core was invision. In order for me to make a new *whatever* I basically made a script called from its core and do whatever I want myself in my own script. I had access to everything from everywhere else in the core and it's functions.
You can do the same with phpbb.



None.

Dec 28 2009, 7:25 pm sharf Post #7



Yeah...I am used to invision free...that's what I've always used. Lately I went to phpbb so I could host it myself, not have ads, etc. Thing is...I have no clue where to start I have not learned php yet and little I do know....does not help me. I don't want to work around to encorperate my login system from the forums into the website...that is more than I know to do...more than I care to know how to do, and more than I have time for...I'm hoping for a simple script that will look at a URL, and snag specific information inside certain tags...this way if someone posts in say, a news forum, I have phpbb's built in "newest post" so I can have the same URL for the newest post, and then grab the info and display it. If there is a relativey easy way to encorperate their login with my website for simple input fields...and someone can either help me learn it and make it work, or can direct me to a good tutorial, I'll be perfectly willing to try that.

Thanks, sharf



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:13 pm]
Oh_Man -- No APM in chess. Computer just outthinks the human by seeing more moves ahead and more permutations
[10:12 pm]
Oh_Man -- U reckon? Kasparov waa defeated by computer decades ago
[05:47 pm]
NimoStar -- If its any consolation, the human brain would still mop the floor with this bot if it wasn't limited by the mechanical interface
[05:34 pm]
NimoStar -- Well. The bot didn't come up with any new strategy. It just has superhuman micro. Hard to beat that. I reckon even the simplest dedicated chess engines are unbeatable for humans now.
[02:13 pm]
Oh_Man -- all g
[10:54 am]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider did u watch the entire video? it's not one game. it's currently dominating the ladder at number 1 position. do ur research first!
Oops, caught me there, no I haven't. :( I was imagining how the game went. Sorry for that. Watching it now. brb
[10:52 am]
NudeRaider -- NimoStar
NimoStar shouted: They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
that doesn't mean he was prepared. When humans come around with new strategies it often takes weeks until the pros figure out how to shut it down. Oh_Man that's certainly a way more convincing argument for micro being "too good to beat".
[09:43 am]
DiearAnother -- wirefram
[08:35 am]
NimoStar -- Well, pros showed that long ago... half of zerg pros just ling muta rush
[08:35 am]
NimoStar -- " its shown is that you can trade 1000's of apm to make up for lack of strategy"
Please log in to shout.


Members Online: l)ark_ssj9kevin, DarkenedFantasies