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:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Oh_Man