Jump to content

Want to add Forum/Recent topics


mynameiskhan

Recommended Posts

  • Administrators

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.

Link to comment
Share on other sites

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

errrrg.jpg

if you can tell me where i have to do changings to work this addon.

thanks

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...