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.

can this code set for the subforum as it will apper

View previous topic View next topic Go down

can this code set for the subforum as it will apper

Post by Michael_vx on May 6th 2014, 4:40 pm

1st hi
i wonder if that code of last topics to have a little change

Code:

var CopyrightNotice='The last Topics category for forumotion. Copyright By Micsoft';

$(function () {

$.ajax({

url: "/feed/?f={FORUM_ID}",

success: function (a) {

 

$(".postbody:first").after('<div

class="clear"></div><div

class="clear"></div><div

class="clear_both"></div><div

style="width:90%;background:#eee;border:1px solid


  #ddd;padding:4px;margin-top:5px;"><br /><DIV
style="BORDER-BOTTOM: #ddd 1px solid; BORDER-LEFT: #ddd 1px solid;
PADDING-BOTTOM: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: 20px;
BACKGROUND: #fff; BORDER-TOP: #ddd 1px solid; FONT-WEIGHT: bold;
BORDER-RIGHT: #ddd 1px solid; PADDING-TOP: 10px" id=cungchuyenmuc
sizcache033358950495445="13" sizset="51">

<DIV
class=title sizcache033358950495445="13" sizset="51"><IMG
src="http://i57.servimg.com/u/f57/18/31/15/78/812.gif"></DIV>');

12 < $(a).find("title").length ? so = 12 : so = $(a).find("title").length;

 

for (i = 2; i < so; i++) $('<a href="' +

$(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq("

+ i + ")").text() + "</a><br/>").appendTo("#cungchuyenmuc")

}

})

});

what im thinking of this code normaly should use the whole forum last 10 topics the code apper at the end of first topic
if this possible i like this code to have only the last topics of only the section will only with the topic
in other word i have sub forum 1 and sub forum 2
i have topics here and topics here when this code apper in the end of the 1st in the first sub forum i want to show only the topic of sub forum 1 only and if the topic on the sub forum 2 will show only the topics of sub forum 2 only
and should read ech sub forum by it self if that possible
if you dont understand what im trying to say please let me know
i will try to say as easy as i can but i guess i have said every thing im thinking about Very Happy

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Michael_vx on May 8th 2014, 8:06 am

i give up
no body tell if this possible or not
Sad

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Pizza Boi on May 8th 2014, 8:14 am

Hi Very Happy

Sorry, we do try to solve problems and as much as possible, to the ones that our capabilities can. This is just one of those difficult problems we have :/ . If ever, I suggest you consult the following:

1. http://help.ahlamontada.com/
2. http://www.avacweb.com/
3. http://forum.forumactif.com/

For French, I will ask in your stead if you want. The 3 links above should hopefully be able to help you.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Michael_vx on May 8th 2014, 8:24 am

@Pizza Boi wrote:Hi Very Happy

Sorry, we do try to solve problems and as much as possible, to the ones that our capabilities can. This is just one of those difficult problems we have :/. If ever, I suggest you consult the following:

1. http://help.ahlamontada.com/
2. http://www.avacweb.com/
3. http://forum.forumactif.com/

For French, I will ask in your stead if you want. The 3 links above should hopefully be able to help you.

Regards,
Pizza Boi
1st thanks so much for reply
about the link help.ahlamontada.com wont do it this topic will be like x100 of difficult for them i will try the link 2 and link 3 i can not speak french
i barely able to speak English and some words i need to translate it
so i hope you help me at the french one thanks again

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Pizza Boi on May 8th 2014, 9:12 am

Hi Very Happy

This is what I said in English:

I want the 'last topic' to have a little change.

Code:

var CopyrightNotice='The last Topics category for forumotion. Copyright By Micsoft';

    $(function () {

        $.ajax({

            url: "/feed/?f={FORUM_ID}",

            success: function (a) {

 

              $(".postbody:first").after('<div

    class="clear"></div><div

    class="clear"></div><div

    class="clear_both"></div><div

    style="width:90%;background:#eee;border:1px solid

 
  #ddd;padding:4px;margin-top:5px;"><br /><DIV
style="BORDER-BOTTOM: #ddd 1px solid; BORDER-LEFT: #ddd 1px solid;
PADDING-BOTTOM: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: 20px;
BACKGROUND: #fff; BORDER-TOP: #ddd 1px solid; FONT-WEIGHT: bold;
BORDER-RIGHT: #ddd 1px solid; PADDING-TOP: 10px" id=cungchuyenmuc
sizcache033358950495445="13" sizset="51">

    <DIV
class=title sizcache033358950495445="13" sizset="51"><IMG
src="http://i57.servimg.com/u/f57/18/31/15/78/812.gif"></DIV>');

                12 < $(a).find("title").length ? so = 12 : so = $(a).find("title").length;

 

              for (i = 2; i < so; i++) $('<a href="' +

    $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq("

    + i + ")").text() + "</a><br/>").appendTo("#cungchuyenmuc")

            }

        })

    });
This code is actually used for the whole forum's last 10 topics and the revision I want is for it to appear at the end of the first topic.

If possible, I would like this code to have only the last topic or recent topics of only the section be only in the topic.

In other words, I have sub forum 1 and sub forum 2, I have topics here and topics here when this code appears in the end of the 1st in the first sub forum and I want to show only the topic of sub forum 1. If the topic on the sub forum 2 will show only the topics of sub forum 2 and should read each sub forum by itself if that is possible.

If you don't understand what I'm trying to say, please let me know.

This is the link to the French version: http://forum.forumactif.com/t367575-last-topic-change#3111949

Regards,
Pizza Boi


Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Michael_vx on May 8th 2014, 9:44 am

@Pizza Boi wrote:Hi Very Happy

This is what I said in English:

I want the 'last topic' to have a little change.

Code:

var CopyrightNotice='The last Topics category for forumotion. Copyright By Micsoft';

  $(function () {

  $.ajax({

  url: "/feed/?f={FORUM_ID}",

  success: function (a) {

 

$(".postbody:first").after('<div

  class="clear"></div><div

  class="clear"></div><div

  class="clear_both"></div><div

  style="width:90%;background:#eee;border:1px solid

 
#ddd;padding:4px;margin-top:5px;"><br /><DIV
style="BORDER-BOTTOM: #ddd 1px solid; BORDER-LEFT: #ddd 1px solid;
PADDING-BOTTOM: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: 20px;
BACKGROUND: #fff; BORDER-TOP: #ddd 1px solid; FONT-WEIGHT: bold;
BORDER-RIGHT: #ddd 1px solid; PADDING-TOP: 10px" id=cungchuyenmuc
sizcache033358950495445="13" sizset="51">

  <DIV
class=title sizcache033358950495445="13" sizset="51"><IMG
src="http://i57.servimg.com/u/f57/18/31/15/78/812.gif"></DIV>');

  12 < $(a).find("title").length ? so = 12 : so = $(a).find("title").length;

 

for (i = 2; i < so; i++) $('<a href="' +

  $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq("

  + i + ")").text() + "</a><br/>").appendTo("#cungchuyenmuc")

  }

  })

  });
This code is actually used for the whole forum's last 10 topics and the revision I want is for it to appear at the end of the first topic.

If possible, I would like this code to have only the last topic or recent topics of only the section be only in the topic.

In other words, I have sub forum 1 and sub forum 2, I have topics here and topics here when this code appears in the end of the 1st in the first sub forum and I want to show only the topic of sub forum 1. If the topic on the sub forum 2 will show only the topics of sub forum 2 and should read each sub forum by itself if that is possible.

If you don't understand what I'm trying to say, please let me know.

This is the link to the French version: http://forum.forumactif.com/t367575-last-topic-change#3111949

Regards,
Pizza Boi

thsnk so much for makeing the topic for french and i wish there will be good news i will be waiting for this good news
thanks again

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Re: can this code set for the subforum as it will apper

Post by Michael_vx on May 19th 2014, 9:15 pm

hi there
there is reply on the French forum but i dont understand it
the avacweb replyed with template code
this like 50% solve i can not have template in the main forum for free Sad
if this code changed to be none template this will be 100% better

Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

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