Welcome, Guest. Please Login or Register.
August 29, 2025, 09:25:39 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  "Latest messages" displayed on a website i.e. Integration of YaBBSE with HTML « previous next »
Pages: [1] Reply Ignore Print
Author Topic: "Latest messages" displayed on a website i.e. Integration of YaBBSE with HTML  (Read 471 times)
szybszy
Noobie
*
Posts: 36


me not llama

"Latest messages" displayed on a website i.e. Integration of YaBBSE with HTML
« on: April 17, 2002, 01:15:57 PM »
Reply with quote

I want to put a window/frame on another website displaying latest messages from my forum. Which piece of code and from which file do I need?

Thanks!
« Last Edit: April 19, 2002, 08:45:46 PM by szybszy » Logged
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on another website
« Reply #1 on: April 19, 2002, 03:52:05 PM »
Reply with quote

Quote from: szybszy on April 17, 2002, 01:15:57 PMI want to put a window/frame on another website displaying latest messages from my forum. Which piece of code and from which file do I need?

Thanks!


C'mon guys, somebody's gotta know....
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:"Latest messages" displayed on another website
« Reply #2 on: April 19, 2002, 03:54:36 PM »
Reply with quote

search here for ssi.php or if that not work you can use the scripts i wrote

look here http://mitglied.lycos.de/therealmediman/

medi
Logged

mainComm Dev Team
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on another website
« Reply #3 on: April 19, 2002, 08:30:49 PM »
Reply with quote

Mediman, all I cound find under the link was a bunch files, I browsed them but none of them seemed to be what I needed i.e. an HTML file with a window frame showin the latest messages from a forum somewhere else.
I know that I can have them displayed on the forum website but I would like to show somewhere else to encourage posters to use it.
Logged
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #4 on: April 19, 2002, 08:51:58 PM »
Reply with quote

I found an example on www.spymac.com - on the right side. I'm beginnig to think maybe it should be done the other way round: edit index.php into a website instead of pluggin in part of YaBBSE board in to a HTML website...
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #5 on: April 19, 2002, 08:57:25 PM »
Reply with quote

why are u using an html site? why not an php site with html content?

and then use an simple mysql query (which i can write for you) to read this messages out!

medi
Logged

mainComm Dev Team
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #6 on: April 19, 2002, 11:03:05 PM »
Reply with quote

Mediman, you're probably right as always. I just didn't want to mess up my index.htm (www.reaktor.org.pl) How can I convert my index.htm into php document then? I would really appreciate that!

Danke schoen !!!
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #7 on: April 20, 2002, 02:02:21 AM »
Reply with quote

this is very easy:

only rename your file from index.html to index.php (you have not to change your html content!!!!!)

now you can in this file use <? phpcontent ?>

it´s still an html file but with the ability to have php content inside

example

<html>
<hr>
<br>
<p>
<?
echo "bla bla";
?>
<br>
<hr>
</html>

yes i know a stupid example!
« Last Edit: April 20, 2002, 02:03:50 AM by mediman » Logged

mainComm Dev Team
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #8 on: April 21, 2002, 04:08:42 AM »
Reply with quote

One step closer, thanks! But not quite there yet...

I paste the code from News.php into part of my index.php but didn't know how to redirect the commands to the commands that are in a different directory (/yabbse).

"Warning: MySQL: A link to the server could not be established in /reaktor/index.php on line 73
No Board Specified!"

How to solve that? Thanks!
Logged
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #9 on: April 23, 2002, 01:37:42 AM »
Reply with quote

Quote from: szybszy on April 21, 2002, 04:08:42 AMOne step closer, thanks! But not quite there yet...

I paste the code from News.php into part of my index.php but didn't know how to redirect the commands to the commands that are in a different directory (/yabbse).

"Warning: MySQL: A link to the server could not be established in /reaktor/index.php on line 73
No Board Specified!"

How to solve that? Thanks!

Allright so I copied index.php from my yabbse folder to my website folder to eventually leave only "latest messages" out of it and paste all the code from my index.htm (like I said above is to have my website with a separate "latest messages" window). I realized I need to copy QueryString.php and Settings.php. I wanted to copy template.php as well to narrow it down to only "latest messages". I assume index.php somehow draws its look from template.php. But I haven't notice any obvious link in QueryString.php and Settings.php or Index.php to template.php that I could redirect and edit my new template.php.

I know this is puzzled way of explaining things but that's how I feel, too.  ::)

Plz, guide a little bit further...
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #10 on: April 23, 2002, 07:14:12 AM »
Reply with quote

if you renamed your index.html to index.php you can put in a simple query to readout the latest messages! if you need a little codesnippet...

btw: this way you don´t need to use SSI!
Logged

mainComm Dev Team
szybszy
Noobie
*
Posts: 36


me not llama

Re:"Latest messages" displayed on a website i.e. Integration of YaBBSE with HT
« Reply #11 on: April 24, 2002, 04:42:04 AM »
Reply with quote

Quote from: mediman on April 23, 2002, 07:14:12 AMif you need a little codesnippet...


please....
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  "Latest messages" displayed on a website i.e. Integration of YaBBSE with HTML « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.032 seconds with 17 queries.