Advertisement:

Author Topic: SSI Topic and Replies  (Read 78403 times)

Offline zaum

  • Newbie
  • *
  • Posts: 6
Re: SSI Topic and Replies
« Reply #100 on: December 27, 2010, 05:36:01 AM »
Hello, this mod works great on my site.  Thanks very much for it.

I just have one feature request:
Can you add support for negative start offset?  I would like an easy way to grab the LAST reply in a topic.

For example:
ssi_topic($topic, 1, -1) - grab the last reply
ssi_topic($topic, 2, -2) - grab the last 2 replies
etc...

Thanks!

Offline Darkness_

  • Full Member
  • ***
  • Posts: 405
Re: SSI Topic and Replies
« Reply #101 on: February 05, 2011, 06:41:22 AM »
is it possible to only get the first post without the replies?
and is it possible to get a limited amount of characters for that post

Offline Neverhurry

  • Sophist Member
  • *****
  • Posts: 1,019
  • Life is compromise.
    • We love Slovakia!
Re: SSI Topic and Replies
« Reply #102 on: February 08, 2011, 05:55:28 PM »
Please, can somebody help to improve this mod by adding the posiblity to show the first attachment picture of the first post? that will be more useful, because the one glance of picture worth thousand words. I tried all night but I failed. I tried to use codes (attachment function) form the SSI.php file, but somehow I made mistake and it shows error. Any help will be highly appreciated!
I am using SMF 2.0.1, curve themes.

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: SSI Topic and Replies
« Reply #103 on: June 16, 2011, 06:02:10 AM »
Hey guys,

I want to apologize for not updating the mod periodically and addressing your errors. I've been real busy and it's been so long since I coded for SMF, but with the release of SMF 2.0, the mod will need to be updated. Before I do that however, if you guys would go here to report some bugs or errors that you found in the mod so that I can fix those bugs and errors and the next version of this mod can be bug-free and is working smoothly. I promise that I will do my best to update and fix the mod in a timely manner as I have a little free time on my hands.

Thanks,
tyty1234
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: SSI Topic and Replies
« Reply #104 on: June 23, 2011, 07:31:49 PM »
Version 2.0 has been released! It supports SMF 2.0, but no longer supports SMF 1.1.x forums. Please refer to the OP for what's new in this version. This mod, along with the other mods that I wrote are also available on my site.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline katsbits

  • Newbie
  • *
  • Posts: 9
Re: SSI Topic and Replies
« Reply #105 on: September 23, 2011, 02:29:04 AM »
If you have this installed on 2.0, it might break when installing the recent 2.0.1 fix/update. Tried using this today and got an 'incompatible files' error message so it looks like some nuts and bolts stuff has changed behind the scenes.
« Last Edit: September 24, 2011, 01:32:23 PM by katsbits »

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: SSI Topic and Replies
« Reply #106 on: September 23, 2011, 03:03:21 AM »
I was reading some of the blog posts and announcements saying that it's now feature locked....however I'm not sure what that means, which means I have to find out. Either that or the way that mods are installed have changed...not sure.

EDIT: Nope, it's just that it's not compatible with SMF 2.0.1 according to the instructions I put in the package_info.xml file. I'll have to go in and adjust this. It should work though. for now, you should be able to use the emulate feature.
« Last Edit: September 23, 2011, 03:19:50 AM by tyty1234 »
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline katsbits

  • Newbie
  • *
  • Posts: 9
Re: SSI Topic and Replies
« Reply #107 on: September 25, 2011, 04:03:12 PM »
Just confirming that 'emulation' works ok and I've managed to get this sorted out. Thanks for the mod.

[EDIT] is there a way to add a "Post Reply/Write Comment" link (top or bottom of the inclusion) or the "quick reply" box to this mod or is that out of the general scope/purpose?
« Last Edit: September 25, 2011, 04:12:42 PM by katsbits »

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: SSI Topic and Replies
« Reply #108 on: September 25, 2011, 06:08:56 PM »
It's possible, but one of the queries would have to be altered within the function.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline diontoradan

  • Semi-Newbie
  • *
  • Posts: 73
Re: SSI Topic and Replies
« Reply #109 on: April 27, 2012, 10:42:22 AM »
yes i think the quick reply form is a good idea...

Looking forward for the updates...

Offline i777Ares

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
  • World Of Mass Distruction
    • x-tremedesigns
Re: SSI Topic and Replies
« Reply #110 on: April 30, 2012, 08:45:16 PM »
need ome help with this. I am trying to get this code to work in a simple portal php block
Code: [Select]
echo '<div id="content-explorer">

<ul class="yui-nav">
<li class="selected"><a href="#">News</a></li>
<li><a href="#">Video's</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Other</a></li>
</ul>

<div class="yui-content">
<div> ;
<?php ssi_boardNews(8);?>

echo '</div>
<div>;
<?php ssi_boardNews(4);?>
echo '</div>
<div>;
<?php ssi_boardNews(3);?>
echo '</div>
<div>;
<?php ssi_boardNews(10);?>
echo '</div>
<div>
</div>;
ty for ur help
Want some images made for your smf site?
paid help or free see here http://x-tremedesigns.net

Offline Alpay

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 3,605
  • Gender: Male
  • test
    • Personal Web Page
Re: SSI Topic and Replies
« Reply #111 on: August 30, 2012, 06:56:32 AM »
I need to calling avatars on topic replys. I try add this in final while.
Code: [Select]
loadMemberContext($row['id_member']);
  $avatarx =  $memberContext[$row['id_member']]['avatar']['image'];
And call this in foreach
Code: [Select]
',$avatarx,'But avatars not showing up. I really need help on this. Seems not impossible to me. But i guess, i would be skip something.
Can you help me?

Yep.. Help us ?

Offline mark7144

  • Sophist Member
  • *****
  • Posts: 1,174
Re: SSI Topic and Replies
« Reply #112 on: June 24, 2013, 06:51:46 PM »
Please can someone explain where the value for 'preview' is set? This code is just showing me the first character of the topic.

$topic_data['first_post']['preview']

Offline chinmay235

  • Semi-Newbie
  • *
  • Posts: 21
Re: SSI Topic and Replies
« Reply #113 on: October 04, 2013, 10:34:53 AM »
Hi Anyone help me i have successfully installed ssi_topic();

It is showing good.

It is showing ASC order but i want to show it reverse order(DESC).

More details -

http://www.simplemachines.org/community/index.php?topic=512121.msg3618295#msg3618295

Offline dakey

  • Semi-Newbie
  • *
  • Posts: 12
Re: SSI Topic and Replies
« Reply #114 on: May 04, 2015, 03:43:40 AM »
Sorry for bumping this topic, but this mod still works great with the latest version of SMF (2.0.10)

I'm able to display a certain topic with replies. The documentation of this mod describes that attachments can be displayed in the first post (which is working), but I can't find a solution to display also the attachments in the replies?

Can someone help me with this?

Online Study Force

  • SMF Hero
  • ******
  • Posts: 3,333
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
    • Study Force
Re: SSI Topic and Replies
« Reply #115 on: August 09, 2018, 10:19:29 PM »
Thank you for offering this excellent code, been using it with AJAX calls everywhere