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.

"HOT" Topic at 5 Replies Help

View previous topic View next topic Go down

Solved "HOT" Topic at 5 Replies Help

Post by J0k3R^ on April 25th 2014, 5:19 pm

Hello  Hello 
i made an attempt to use a code to display a "HOT" to a topic which got 5+ replies in it.
the result was supposed to be that: 

but didnt work at all..

Codes:
Removed

 blackeye  blackeye  blackeye scratch


Last edited by J0k3R^ on April 28th 2014, 6:55 am; edited 1 time in total

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by Mr Rockeye on April 25th 2014, 11:49 pm

In your java script you have this line:
Code:
if(number >= 5) {

I think you have to change the number to the desired number of replies on your topic.

Mr Rockeye
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by J0k3R^ on April 26th 2014, 4:29 pm

yeah @Mr Rockeye ive watched that, i told 5 of my members to make one reply each but didnt work, thats the problem :/

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by SLGray on April 26th 2014, 11:28 pm

Replies or topics?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35620
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by J0k3R^ on April 27th 2014, 7:58 am

@SLGray, this "HOT" means that there are a lot of replies on a topic i didnt understand ur question Very Happy

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by Neptune- on April 28th 2014, 2:56 am

Hello ^^

$('thead:contains("Replies")').each(function() {

Since your board language is greek, the script wont find "Replies" within your table header Wink

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by SocialAcademy on April 28th 2014, 3:20 am

pls make sure that youre using your default  topic_list_box

SocialAcademy
Forumember

Male Posts : 141
Reputation : 10
Language : JavaScript, CSS, Html, JQuery, C#, C++, Php, Python
Location : Forumotion

http://www.socialacademy.biz

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by J0k3R^ on April 28th 2014, 6:54 am

@Neptune- wrote:Hello ^^

   $('thead:contains("Replies")').each(function() {

Since your board language is greek, the script wont find "Replies" within your table header Wink

lol yeah, i didnt notice that Very Happy 
this is *Solved*

J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: "HOT" Topic at 5 Replies Help

Post by Ange Tuteur on April 28th 2014, 8:36 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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