mynameiskhan Posted May 24, 2010 Report Share Posted May 24, 2010 Hi guys i have installed simple machine forums on my virtual airline now i wanted to add recent posts on my main virtual airline page or left menu how i can do that? Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted May 24, 2010 Administrators Report Share Posted May 24, 2010 smf is easy to intergrate, they built most everything in. goto http://www.vpia.org/virtualairblue/Forum/ssi_examples.php and it will show all the examples of what you can do. Remeber to be logged into your forum if you have it so non-members cant see anything, as ssi will not display anything in that situation. Quote Link to comment Share on other sites More sharing options...
mynameiskhan Posted May 24, 2010 Author Report Share Posted May 24, 2010 sim pilot thanks you your reply i have checked out examples but cannot figured out how it will work on my main page if you can tell me it will be gr8 then for me here is my code header.tpl file Cut the code out if you want to paste code, please use pastebin if you can tell me where i have to do changings to work this addon. thanks Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2010 Administrators Report Share Posted May 24, 2010 Also, if you do a search, there are examples of this Quote Link to comment Share on other sites More sharing options...
mynameiskhan Posted May 24, 2010 Author Report Share Posted May 24, 2010 nabeel i didnt find any example in forum help plz? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 24, 2010 Administrators Report Share Posted May 24, 2010 http://docs.simplemachines.org/index.php?topic=400.0 Quote Link to comment Share on other sites More sharing options...
mynameiskhan Posted May 25, 2010 Author Report Share Posted May 25, 2010 nabeel i did what ever mentioned in EXAMPLES actually i am not understanding how to give flile path in php code i did what i understood have a look on the code maybe you will understand where i did mistake. Snipped irfan Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 25, 2010 Administrators Report Share Posted May 25, 2010 Irfan, Don't paste code into posts. If you have to paste code, goto www.pastebin.com, and paste it there, and post the link here. For the SSI, extract that file into a path, then include that file. So include '/path/to/ssi/file'; Obviously, replace the path Quote Link to comment Share on other sites More sharing options...
mynameiskhan Posted May 25, 2010 Author Report Share Posted May 25, 2010 now i have 80% success before it was not showing me any thing in My link but now in examples it was showing me my recent posts but it was not showing me in main page of my website dont know why code: <div class="mc01t2"> Recent posts </div> <div class="mc01cc"> <ul> <?php ssi_recentTopics($num_recent = 8, $exclude_boards = null, $include_boards = null, $output_method = 'echo'); ?> </ul> </div> Quote Link to comment Share on other sites More sharing options...
mynameiskhan Posted May 25, 2010 Author Report Share Posted May 25, 2010 ANY BODY please help Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 25, 2010 Administrators Report Share Posted May 25, 2010 Follow their examples, I'm not sure how anyone can really help. Their examples page just copy paste wht they put. http://www.simplemachines.org/community/ssi_examples.php <?php ssi_recentTopics(); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.