Advertisement:

Author Topic: [README] SSI FAQ's  (Read 151018 times)

Offline Tomer

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,652
  • Gender: Male
    • Aromazing
[README] SSI FAQ's
« on: August 09, 2004, 05:30:03 PM »
I've noticed that the SSI FAQ's may have gotten a bit lost in the boards, here are links. :D

Basic SSI FAQ

Advanced SSI FAQ

Expert SSI FAQ

General Documentation on Using SSI

Please remember, these are not official or anything.
« Last Edit: February 25, 2008, 08:03:26 AM by akabugeyes »

Offline Bandecko

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
    • Bandemax.com (under construction)
Re: [README] SSI FAQ's
« Reply #1 on: September 01, 2004, 11:41:06 PM »
These are all great!  I'd like to see more info on the $context variable and things of that nature.  I don't think I would have stumbled upon these until you condensed them here.  Thanks!

Offline Tomer

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,652
  • Gender: Male
    • Aromazing
Re: [README] SSI FAQ's
« Reply #2 on: September 02, 2004, 09:13:14 AM »
Well that really isn't SSI but maybe. :)

Offline Bandecko

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
    • Bandemax.com (under construction)
Re: [README] SSI FAQ's
« Reply #3 on: September 02, 2004, 03:04:08 PM »
Well, this doesn't seem like true ssi to me anyway, mainly just importing functions from the board to other aspects of a site using an included php file.  True ssi has a different markup and is content generated from the actual web server I thought.

That was my understanding of this this works anyway.  I could be way off base.

** edit **

Never mind.  I'm an idiot :P
I just read a little more about the $context variable.
« Last Edit: September 02, 2004, 07:24:38 PM by Bandecko »

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: [README] SSI FAQ's
« Reply #4 on: September 02, 2004, 08:44:27 PM »
Well, this doesn't seem like true ssi to me anyway, mainly just importing functions from the board to other aspects of a site using an included php file.  True ssi has a different markup and is content generated from the actual web server I thought.

While that's right, it was only the initial (read: archaic :P) use of SSI.php.  It retains the same name, but it's now much much more useful as a PHP include.

-[Unknown]

Offline Bandecko

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
    • Bandemax.com (under construction)
Re: [README] SSI FAQ's
« Reply #5 on: September 02, 2004, 10:07:10 PM »
Yeah, I was thinking the $context variable was a part of SSI.php, but I guess it's uses extend beyond that right?

Is there a list of the variables within the $context array, or am I stuck just looping through it on my own :)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: [README] SSI FAQ's
« Reply #6 on: September 02, 2004, 10:35:50 PM »
It differs from page to page - it is the *context* of that page view.  It is in its essence to vary in content.

I suggest you use print_r(), and remember that just because you see it's available in one place doesn't mean it's available everywhere - sometimes that wouldn't make sense.  For example, what would $context['member'] be on admin?

-[Unknown]

Offline Bandecko

  • Newbie
  • *
  • Posts: 4
  • Gender: Male
    • Bandemax.com (under construction)
Re: [README] SSI FAQ's
« Reply #7 on: September 02, 2004, 11:50:07 PM »
I remember reading that it did change on a per page basis (which makes sense given the name).

Thanks for the help.  The $context variable is something I havn't seen any where else, not just it's usage, but the idea behind it entirely.  It's a very sweet idea.

I plan on using it with access control to certain pages on the main site, so I'll be wanting to do some checking for admin or even member groups.  In order to do that though, I wanted to know exactly which array portions I should be using (the names mostly).  So I'll stop bugging you about it, and just do the work myself :)

Thanks a lot though!

Offline bmupton

  • Semi-Newbie
  • *
  • Posts: 19
Re: [README] SSI FAQ's
« Reply #8 on: February 07, 2005, 08:49:23 PM »
Is there a complete listing someplace with all the available parameters for all the ssi functions?

I've read the FAQ's, and they helped me tremendously, but I'd like a listing of all available parameters for each function.

Or can one glean this information by simply reading the ssi.php file?

Thanks,
-Brent

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: [README] SSI FAQ's
« Reply #9 on: February 07, 2005, 09:09:49 PM »
Or can one glean this information by simply reading the ssi.php file?

Yes, this information is in that file.  When/if I ever have a spare moment again, I hope to write a bonified tutorial on SSI.php and a reference on the functions.

-[Unknown]

Offline bmupton

  • Semi-Newbie
  • *
  • Posts: 19
Re: [README] SSI FAQ's
« Reply #10 on: February 08, 2005, 04:03:32 PM »
Or can one glean this information by simply reading the ssi.php file?

Yes, this information is in that file. When/if I ever have a spare moment again, I hope to write a bonified tutorial on SSI.php and a reference on the functions.

-[Unknown]

This is very good news, expecially for those "less than versed" in php like me!  You're doing extremely great things here, and I think I can speak for everyone when I say, "Keep up the great work!"

Offline mister

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
    • Journey of a Photo iPod
Re: [README] SSI FAQ's
« Reply #11 on: February 22, 2005, 10:51:19 AM »
Is there any documentation that tells exactly what each function does and all the available options for those functions yet?

I think that would be very helpful when coding with SSI.
[nofollow]

Offline Oldiesmann

  • Lead Developer
  • SMF Super Hero
  • *
  • Posts: 24,755
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: [README] SSI FAQ's
« Reply #12 on: February 26, 2005, 10:00:36 PM »
Open the file in a text or code editor and look at the comments... Very useful.

Offline mister

  • Semi-Newbie
  • *
  • Posts: 24
  • Gender: Male
    • Journey of a Photo iPod
Re: [README] SSI FAQ's
« Reply #13 on: February 28, 2005, 11:57:02 AM »
I did that too, but i was wondering if there was more.
[nofollow]

Offline pivo

  • Semi-Newbie
  • *
  • Posts: 11
    • Scouts Vlierbeek
Re: [README] SSI FAQ's
« Reply #14 on: March 15, 2005, 05:56:34 AM »
When I call the "recent-poll" function by using SSI, I don't get a view of the result of the poll.

Is there a way to show the results of the poll directly after voting on it? (it's the feedback that makes the poll attractive off course!  ;D)

Offline Tanks

  • Full Member
  • ***
  • Posts: 583
  • Gender: Male
  • Danish Dude
Re: [README] SSI FAQ's
« Reply #15 on: March 15, 2005, 12:26:16 PM »
When I call the "recent-poll" function by using SSI, I don't get a view of the result of the poll.

Is there a way to show the results of the poll directly after voting on it? (it's the feedback that makes the poll attractive off course!  ;D)

i have been searching for an answer to this question to  :o

Anyone ?

Offline nameless

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
    • Skate, Snow, and Surf - SF Boarders - Bringing San Francisco Bay Area boarders together
Re: [README] SSI FAQ's
« Reply #16 on: April 08, 2005, 09:23:42 PM »
ssi_showPoll(); might work for you. Inside the paranthesis enter the post # and the poll results will show.

I can't get ssi_recentPoll(); to show and give me the option to vote. anyone?

Skate, Snow, and Surf - SF Boarders - Bringing San Francisco Bay Area boarders together.

Offline bloodmonkey

  • Semi-Newbie
  • *
  • Posts: 18
  • Gender: Male
Re: [README] SSI FAQ's
« Reply #17 on: July 24, 2005, 04:04:25 PM »
Hi everybody.... i like make something like this website: http://sentidourbano.com/news/julio05/50_070504.php [nofollow]
look on bottom, the article's comments, they was linked to phpbb forums... how i can do that with my smf forums? any ssi fuctions to modify to make it....  ???

( sorry about my poor english  :( )

Offline Neol

  • Full Member
  • ***
  • Posts: 472
  • Gender: Male
  • ##########
Re: [README] SSI FAQ's
« Reply #18 on: October 20, 2005, 05:30:30 AM »
Is it possible to show in SSI.php the photos or attachments of a post?

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,255
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: [README] SSI FAQ's
« Reply #19 on: October 21, 2005, 03:01:14 AM »
i read all three of ssi faqs but couldnt find what i am looking for..
one friend is asking to make some of the detailed statistics appear in the board index.
of course its easy to do with SSI.
but he wants the statistics appear just like in statistics page. (with the blue percentage bars)
now, how can we do?
Home of Elmacik