Advertisement:

Author Topic: Functionality requests for SSI in the next version of SMF  (Read 96138 times)

Offline Sarge

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,209
  • Gender: Male
    • Zëri YT!
Re: Functionality requests for SSI in the next version of SMF
« Reply #40 on: April 12, 2007, 08:22:17 PM »
Does ssi_recentTopics(), for example, have image/attachment support?

For example, some users attach images to their posts and some others prefer to include them using [img] [/img]tags. It seems to me that ssi_recent*() and ssi_boardNews() simply don't show images at all, whether hotlinked or attached.
    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Offline c2h5oh

  • Jr. Member
  • **
  • Posts: 141
  • Gender: Male
    • Lisiewski.info Photo Gallery
Re: Functionality requests for SSI in the next version of SMF
« Reply #41 on: April 13, 2007, 06:12:49 PM »
How about adding an extra variable allowing UTF8 output (forced, via converter) - it would come in handy if forum cannot be converted - ie. recent posts are pulled via SSI at 2 websites, one being UTF8, the other not.
"The day Microsoft makes something that does not suck is probably the day they start making vacuum cleaners"

Offline mrskumfetish

  • Semi-Newbie
  • *
  • Posts: 14
  • Gender: Female
Re: Functionality requests for SSI in the next version of SMF
« Reply #42 on: April 16, 2007, 03:20:23 AM »
i have an idea.. how about a refreshing "shout box" where members can chat right across any page they are on. thats is something sure to get members going.

also how about member rating profiles/pictures. where there will b a selected 10 main best of pictures 5 women 5 men
this may require alot of coding but im sure it can be done right? lol

wellanyway its jus a few suggestions hope mayb it an b done
im jus tryna get in where i fit in. fastest way to harlem is the A-train slick!

Offline mip69

  • Semi-Newbie
  • *
  • Posts: 60
    • www.ciklider.se
Re: Functionality requests for SSI in the next version of SMF
« Reply #43 on: April 16, 2007, 04:28:12 AM »
I would like a function for new replys/active topics in x hours.

Offline nitins60

  • Sr. Member
  • ****
  • Posts: 838
  • Gender: Male
  • LoVE mAKeS lIFe bEauTIfUL
    • Simple Mobile Forum - SMF
Re: Functionality requests for SSI in the next version of SMF
« Reply #44 on: April 16, 2007, 04:30:31 AM »
Does ssi_recentTopics(), for example, have image/attachment support?

For example, some users attach images to their posts and some others prefer to include them using [img] [/img]tags. It seems to me that ssi_recent*() and ssi_boardNews() simply don't show images at all, whether hotlinked or attached.

+1, i just want to pull attachments from the topics, show up as per permissions!

Offline peterstannard

  • Full Member
  • ***
  • Posts: 536
Re: Functionality requests for SSI in the next version of SMF
« Reply #45 on: April 27, 2007, 07:03:25 AM »
Hopefully I havn't missed the board.

Can I ask for the option to turn off the displaying of the stuff I have highlighted in the image below, the comments text, the post info text and the separator.


Offline mediman

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,663
  • Gender: Male
Re: Functionality requests for SSI in the next version of SMF
« Reply #46 on: April 27, 2007, 07:09:03 AM »
Hopefully I havn't missed the board.

Can I ask for the option to turn off the displaying of the stuff I have highlighted in the image below, the comments text, the post info text and the separator.



Use "array" instead "echo" as output and you can change the output to what ever you want.

mediman
My Projects: http://ticker-oase.de 
Please do not PM me with support requests.

Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: Functionality requests for SSI in the next version of SMF
« Reply #47 on: April 29, 2007, 12:25:30 AM »
Quote
That way people could incorporate SMF into their websites easier.
What's wrong with using the layer system for incorperating SMF into a site?
Integrating the forum into your site..., second post :D

The layering system is complex to the point where I didn't understand it and couldn't get it to work right.  Looks like others felt the same.

I did a little experiement the other day.  What I did is renamed the SMF index.php file to index2.php.  Then, I created another index.php and included in the index2.php file.  The forum seemed to work OK.

In light of this, I was thinking what if it were possible to include in SMF into an existing website layout easily.  Say, a custom index.php could be made with an existing website's header, footer, and navigation panel and the SMF forum could be included in quickly.

Perhaps there could be a function that would include the entire SMF forum without the meta data, body tags, doc type, and other stuff.  Basically, just a way to very quickly include the forum in an existing layout.  A core function to just generate the basics of the forum without the entire page.



« Last Edit: April 29, 2007, 12:27:20 AM by motumbo »

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,073
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Functionality requests for SSI in the next version of SMF
« Reply #48 on: April 29, 2007, 02:00:49 PM »
Edit the index.template.php file to remove the extra content you don't want.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: Functionality requests for SSI in the next version of SMF
« Reply #49 on: April 30, 2007, 12:07:01 AM »
Edit the index.template.php file to remove the extra content you don't want.

Sure, that could be done.  And it's work.  That's how I integrated my forum into my site. 

But if there was a quick and simple function to include just the forum without the head and meta data, it would be nice.  That would be so simple and easy to integrate into an existing website that a small child could do it.

Easy is best.




Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,073
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Functionality requests for SSI in the next version of SMF
« Reply #50 on: April 30, 2007, 12:58:30 AM »
But different themes might handle things differently.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline Alan S

  • Sophist Member
  • *****
  • Posts: 1,250
  • Gender: Male
  • Monkey see Monkey do
Re: Functionality requests for SSI in the next version of SMF
« Reply #51 on: May 20, 2007, 08:24:56 AM »
I'd like to see the ability to SSI the calendar onto a page , Not just events from the calendar , The actual calendar.
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Offline motumbo

  • Full Member
  • ***
  • Posts: 611
  • Just say 'no' to spaghetti code!
Re: Functionality requests for SSI in the next version of SMF
« Reply #52 on: May 23, 2007, 10:16:57 AM »
But different themes might handle things differently.

I was thinking in terms of your own custom theme.

Have any of the developers of SMF seen what WordPress theme templating looks like? 

Offline ladynada

  • Full Member
  • ***
  • Posts: 423
  • Gender: Female
  • What happens next loves me
    • The Two Witnesses - Overcome The Carnal Mind Through Christ Jesus
Re: Functionality requests for SSI in the next version of SMF
« Reply #53 on: May 30, 2007, 01:31:25 AM »
Quote
That way people could incorporate SMF into their websites easier.
What's wrong with using the layer system for incorperating SMF into a site?
Integrating the forum into your site..., second post :D

The layering system is complex to the point where I didn't understand it and couldn't get it to work right.  Looks like others felt the same.

I did a little experiement the other day.  What I did is renamed the SMF index.php file to index2.php.  Then, I created another index.php and included in the index2.php file.  The forum seemed to work OK.

In light of this, I was thinking what if it were possible to include in SMF into an existing website layout easily.  Say, a custom index.php could be made with an existing website's header, footer, and navigation panel and the SMF forum could be included in quickly.

Perhaps there could be a function that would include the entire SMF forum without the meta data, body tags, doc type, and other stuff.  Basically, just a way to very quickly include the forum in an existing layout.  A core function to just generate the basics of the forum without the entire page.





I did something like that with the ultiportal theme but it was rejected and I was told that the SMF license agreement does not allow that.

nada
WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

Offline el canadiano

  • Semi-Newbie
  • *
  • Posts: 53
Re: Functionality requests for SSI in the next version of SMF
« Reply #54 on: June 07, 2007, 07:18:45 PM »
I want to see the News feed template to be editable

Offline illustrationism

  • Semi-Newbie
  • *
  • Posts: 92
Re: Functionality requests for SSI in the next version of SMF
« Reply #55 on: July 04, 2007, 12:04:59 PM »
I know that some people have already mentioned this, but a way to grab posts from a topic would be nice... I'm about to build a function to do it myself, but something like this:

Code: [Select]
ssi_getTopic($topic = null, $limit = null, $start = null, $length = null, $output_method = 'echo')
...is what I'll be using.

Offline moneyearner

  • Semi-Newbie
  • *
  • Posts: 29
    • http://moneyearner.co.uk
Re: what i think is
« Reply #56 on: July 22, 2007, 09:01:52 AM »
these items should come as standard now

ads (banner rotator) for advertising as standard
ad management                                as standard
or serparate file linked to admin so you input details and save it and its there like a codingpart say for google ads or just a banner rotator which can be turned off or on in admin

shop                                                  as standard

logo changer in separate file so it calls for it and then its easier to change
what i mean is if you put in the coding a file it has to call for then in that file named whatever you could change the code to call a different one its easier than mucking around with all the coding......

and in this maybe im just thinking about my self LOL

allan



Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,664
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: what i think is
« Reply #57 on: July 22, 2007, 12:35:24 PM »
these items should come as standard now

ads (banner rotator) for advertising as standard
ad management                                as standard
or serparate file linked to admin so you input details and save it and its there like a codingpart say for google ads or just a banner rotator which can be turned off or on in admin

shop                                                  as standard

logo changer in separate file so it calls for it and then its easier to change
what i mean is if you put in the coding a file it has to call for then in that file named whatever you could change the code to call a different one its easier than mucking around with all the coding......

All bloat AFAIC (and not really SSI)! ::)

Offline - GeO -

  • Newbie
  • *
  • Posts: 4
Re: Functionality requests for SSI in the next version of SMF
« Reply #58 on: August 11, 2007, 01:59:48 PM »
sorry if I didn't find it..
I'd like to see a mod that makes your forum looks like a portal  ... Tinyportal or something else..
Again - sorry if I posted  wrong.                                                 

Offline ExcalibursZone

  • Jr. Member
  • **
  • Posts: 143
Re: Functionality requests for SSI in the next version of SMF
« Reply #59 on: August 22, 2007, 12:16:42 PM »
hmm, the strangest thing happened, my posts in this thread disappeared... *ponder* Well, here is the request again.

To repost then:
For functionality I'd request:
login($username, $password)
logout()
Does not display forms or links but are simple back-end functions that will log someone in and out of SMF from an external source. Not from a CMS, not by showing a form that you log into/out of, but something that can be called after including the SSI.php file in your custom login/out page.

Code: [Select]
<?
    require ('path/to/smf/SSI.php');
    if(!$_GET['logout'] && $_GET['action'] != 'login' && !is_loggedIn()) { /*...show my custom form... that points back to this file...*/ }
    if(!is_loggedIn() && $_GET['action'] == 'login') ssi_login($_POST['username'], $_POST['password']);
    if(is_loggedIn() && $_GET['action'] == 'logoff') ssi_logoff();
    ....
?>
That's the basic idea. I use my own form (or another form that is already created) then I go ahead and use the ssi_login() and ssi_logoff() functions to log the user into SMF at the same time. So if they have a browser window open to the forums, they can hit refresh and they're logged in because the cookies and everything is there. If they logoff and go back to the forum window, they refresh and they're logged out.

Thanks for writing what you have, I just think these two simple functions would make things easier for anyone writing their own custom bridges/login forms/or adapting a form that already exists.