Customizing SMF > Modifications and Packages

Simple Machines News Post Module for Mambo

<< < (2/3) > >>

CartDestr:
¿Is possible use the same userlist in mambo and in SMF?
I have a installation of SMF, and I want to use a CMS, and Mambo is one of the options but, i don't know if is possible use the same userlist or is absolutely necessary what the users do registration in the 2 sites (forum and web)...
Sorry for my bad English, but I'm Spanish.

booger:
The following link should answer all of your questions.

http://www.simplemachines.org/community/index.php?board=77.0

tinatoth:
it tells me the package file is corrupt.

nevermind, i worked it out. You could have said however that this was a MAMBO mod, not an smf mod. It needs to be installed in mambo, not smf.

Also, its not very clear where the

< ?php require("/../../smf/SSI.php"); ?>

code is supposed to go. Im not sure what "above the first html tag" means. On top of the whole document? Before the <html> tag? or right after it, where the actual html begins?

Nevermind though, cos I tried all options, and in every case i would have the code imprinted on top of my page as text, however the module worked. And now i removed that code completely, and the module works!

so whaddyaknow!!!

buf:
I use this module before, then stopped using it because of some minor details.
The name "forumnews" reminds me of a set of php-nuke modules that make all the difference in a community site, and I thought that maybe it's possible to expand booger's work into a full featured component.
Let see if I can explain myself...

First, topics on the forum would be marked as "news", just like they're marked as "sticky" or "announcement".
Then the ssi_boardnews function would be modified to retrieve the last X topics that were marked as "news" from ANY board (not a specified board).
There would also have to be a tag or bbcode to split the post text into Intro and Body. Something like a [readmore] tag. The component (or modified ssi function) would retrieve the post text just until that tag, instead of automatically cutting the text based on number of characters (this sometimes causes broken tags).
As added value, an image would be associated with the news item (on the component) based on which board the topic was in. If the topic (marked "news") was in board "Money Talks", a dollar bill picture would show up on the top right of the news item (this is just an example).

I think that sums it up. We could probably add some more things, like an Archive section (which showed a list of topic titles separated by start date/month) and a Categories section (which would show a list of topic titles separated by the board they're in).

Is there any interest in doing this?

booger:
That sounds like a good idea buf.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version