News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

ssi_topic() not working in SMF 2.0.5

Started by chinmay235, October 03, 2013, 02:57:23 AM

Previous topic - Next topic

chinmay235

Hi i want to show one particular forum and replies under that topic.

i follow this link
http://www.simplemachines.org/community/index.php?topic=162958.0
But this is Compatible With: SMF 2.0


Tell me how can i show that in SMF 2.0.5.

I am using ssi_topic() in SMF 2.0.5 but this is not working.


Here is my code which is i have include the SSI.php


<?php
require('SSI.php');

ssi_topic(3);
?>


Showing error

Fatal error: Call to undefined function ssi_topic() in E:\xampp\htdocs\smf\test.php on line 4

margarett

But did you install that MOD?
Because ssi_topic is NOT a standard function in SSI.php, it is introduced by that MOD...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chinmay235

No, How can i install?

Please give me link of mod

margarett

You install it like every other MOD, through package manager.
The link to the MOD is on the topic you mentioned :o
Here it goes: http://custom.simplemachines.org/mods/index.php?mod=751
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chinmay235


chinmay235

I have successfully download and install through package manager

there is showing error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chinmay235

Thank you very much. I have successfully installed.

margarett

And can you use the function now (like you're intending to do in the beginning?)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

and also, remember, you need to include SSI including the PATH, if your script is not in the exact same directory as the SSI file (the forum directory)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

chinmay235


chinmay235

#11
Hi i fetch the data using ssi_topic() but problem is it is showing ASC order. how i get data from DESC order



include("SSI.php");
$topic_id=$_REQUEST['topic'];
$limit=5;
ssi_topic($topic_id,$limit);


above code is shoing ASC order how can i fetch data in DESC order?

Kindred

Ok...   This is now officially MOD SUPPORT.
Please ask questions related to specific mods in the thread dedicated to supporting that mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

chinmay235

QuoteOk...   This is now officially MOD SUPPORT.
Please ask questions related to specific mods in the thread dedicated to supporting that mod.


there is not any thread supporting mod for ssi_topic()

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

chinmay235

Hi,

I have posted in which you had asked to me in http://www.simplemachines.org/community/index.php?topic=162958.0

But i did not get any answer.


include("SSI.php");
$topic_id=$_REQUEST['topic'];
$limit=5;
ssi_topic($topic_id,$limit);


above code is showing ASC order how can i fetch data in DESC order?

Kindred

that does not change the fact that we do not actually provide support for mods here...  We don't use that mod, so, quite honestly, we have no idea ho he has coded it....   as I said before - questions relating to a specific mod need to be asked in the support topic for that mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: