The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

topic list of specific forum

View previous topic View next topic Go down

topic list of specific forum

Post by H.A.SS.A.N on Wed Aug 26 2015, 23:45

hello friends >>>
I have this code
Code:
  
<script type="text/javascript">
var CopyrightNotice='The last Topics category for forumotion. Copyright © ';
$(function () {
    $.ajax({
        url: "/feed/?f={FORUM_ID}",
        success: function (a) {
    $(".animelast:first").after('<ul id="list7epsanime"></ul>');
            10000 < $(a).find("title").length ? so = 12 : so = $(a).find("title").length;
for (i = 2; i < so; i++) $('<li class="likistanime"><i class="fa fa-play"></i><a href="' + $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq(" + i + ")").text() + "</a></li>").appendTo("#list7epsanime")
        }
    })
});
</script>

for display topic of specific forum but the number of topics appear only 25
I need to appear all topics in the forum
and I favourate use ({FORUM_ID})
beacuase I need to use this code in my viewtopic-body tamplate
help me please
and thank u

H.A.SS.A.N
Forumember

Posts : 77
Reputation : 1
Language : Arabic

http://www.deve-net.com

Back to top Go down

Re: topic list of specific forum

Post by Niko on Thu Aug 27 2015, 01:26

Hello @H.A.SS.A.N

That javascript code refers to the /feed/?f={FORUM_ID} page.. and if you get only 25 posts this means that in the feed page only 25 topics are displayed. Wink
You may try to change the "topics per page" option, but I don't know if it will affect even the feed page

Just give a try :rose:

Niko
Hyperactive

Male Posts : 2296
Reputation : 97
Language : English, French, Italian, Spanish, Latin

https://www.translationscloud.com/?utm_source=forumotion&utm

Back to top Go down

Re: topic list of specific forum

Post by H.A.SS.A.N on Thu Aug 27 2015, 09:52

@Niko
yes , this true but the topic per page is limited to 50 only
and I need any way for display all topic of forum in list
becuase I have anime forum  and want to display all specific anime episodes in list
please give me any thing ^_^

H.A.SS.A.N
Forumember

Posts : 77
Reputation : 1
Language : Arabic

http://www.deve-net.com

Back to top Go down

Re: topic list of specific forum

Post by Niko on Thu Aug 27 2015, 16:25

@H.A.SS.A.N sadly I think it is not possible, even because the max number of topics per page is 50 and there is nothing you can do if not opening a suggestion to increase the number of topics per page Sad

I'm sorry but I can't see other options.. even because loading more than 50 topics can slow down the pages' speed

Niko
Hyperactive

Male Posts : 2296
Reputation : 97
Language : English, French, Italian, Spanish, Latin

https://www.translationscloud.com/?utm_source=forumotion&utm

Back to top Go down

Re: topic list of specific forum

Post by H.A.SS.A.N on Thu Aug 27 2015, 18:03

@Niko no way by jqury or ajax to get these topic from the forum
?????
please @Ange Tuteur give me any way I trust u

H.A.SS.A.N
Forumember

Posts : 77
Reputation : 1
Language : Arabic

http://www.deve-net.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum