News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Grab a single message with SSI.php

Started by Cccddd, March 09, 2004, 01:22:41 PM

Previous topic - Next topic

Cccddd

[update]

This mod has moved to my package server: http://nrrds.com/packages

HRM

#1
Great Mod sir!! I tried it and it worked right away!!! Just a little modification to my ssi_examples.php ( http://www.muziek4um.nl/forum/ssi_examples.php , scroll al the way down ) and I can use it as easily as the other tags.

Fantastic!! Thanks a lot!

Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Erik Mabry

Does this let you make a topic on the forums and, once the code is added to the site, make that topic show up on your site?

Norbert

#3
Thx, Fine work!

QuoteDoes this let you make a topic on the forums and, once the code is added to the site, make that topic show up on your site?

With this mod, you can write a message in the forum and you can add this to your site, and then the message will shown on your site. It's like a CMS. I did it for my whole site. It's great you don't need another CMS.

HRM

#4
Hi, This mod is working, but is it right that i should not display attached pictures?
Even though if it's in a board in which guest have all permissions, also to see attachements.?

If anyone had some experience with this i would be very grateful.

Again, it works excellent, it shows the text but not the picture like it would in the forum. And that attached picture is in the second post of the topic.

Tnx in advance.
Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Meriadoc


[url=http://mods.simplemachines.org/index.php?id=18]Link to Mod[/url]

your link needs to be mod=18 not id=18... they might have changed that on you ;)
link
If I know the way home and am walking along it drunkenly, is it any less the right way because I am staggering from side to side? : Leo Tolstoy
Everything I know I learned from Calvin and Hobbes.
And patience is about the most useful thing you could ever have.  That and backups. : [Unknown]
If I choose to send thee, Tuor son of Huor, then believe not that thy one sword is not worth the sending. : Ulmo, Lord of the Waters - Unfinished Tales, by J.R.R. Tolkien

HRM

huh?
Now I believe I cant follow anymore, you mean I copied the wrong script into my ssi.php?
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Meriadoc

Homerecording man, sorry, no. I was directing my post at Cheschire. The link in his first post does not go where it is intended to. That is all :)
If I know the way home and am walking along it drunkenly, is it any less the right way because I am staggering from side to side? : Leo Tolstoy
Everything I know I learned from Calvin and Hobbes.
And patience is about the most useful thing you could ever have.  That and backups. : [Unknown]
If I choose to send thee, Tuor son of Huor, then believe not that thy one sword is not worth the sending. : Ulmo, Lord of the Waters - Unfinished Tales, by J.R.R. Tolkien

HRM

A'ha! Ok Meriadoc,

That makes it a lot more clear  because I was becoming pretty confused. :D
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Ben_S

Liverpool FC Forum with 14 million+ posts.

HRM

Thanks Ben_S.

Now I don't need to worry that I was doing something wrong.

I will ask those guys on my forum to link the pics instead of putting them all as attachements.
Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

HRM

How do I make this mod to dislay only a limited part of text from the original message so that people really have to click on "read More" tot read the whole message?

To see what I mean check my portal on www.muziekforum.com . It's the second message at the top.


Thanks in advance
Ed
To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Ben_S

Don't recall off the top of my head, will have a look at mine tonight.
Liverpool FC Forum with 14 million+ posts.

HRM

To install something for the cat's 'cut' is never nice..... (old dutch saying) :D

Ben_S

Im using it as follows, the ssi_boardNews function to grab a chunk of the message

$news = ssi_boardNews(17,15,0,350,"array");

And my read more link looks like

<a href="./article.php?id=', $news['message_id'], '">Read More</a>
Liverpool FC Forum with 14 million+ posts.

Alisha

I am having some issues with this MOD. I get the error:

    Please specify a message id

with:

<?php include("http://dancedancekc.com/Forums/SSI.php?ssi_function=grabMessage&message_id=858"); ?>

What exactly is the message Id?

Quote from: Homerecording man on September 25, 2004, 09:13:51 AM
Great Mod sir!! I tried it and it worked right away!!! Just a little modification to my ssi_examples.php ( http://www.muziek4um.nl/forum/ssi_examples.php , scroll al the way down ) and I can use it as easily as the other tags.
Ed

Would you care to share your Codes for the Message history?  I would love to add that one of the themes... Thanks :)

Cccddd

I didnt develop this mod for 1.0. i will check it out in a few days and attempt further development.

Ben_S

Liverpool FC Forum with 14 million+ posts.

Cccddd

ah nice. well I still have several features I would like to add to it anyways so I'll still have to keep workin on this one :)

Ben_S

Will check out any updates you make to it then, since it is a major part of my site :).
Liverpool FC Forum with 14 million+ posts.

Advertisement: