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.

thumbnails of similar topics

View previous topic View next topic Go down

thumbnails of similar topics

Post by H.A.SS.A.N on August 5th 2015, 2:42 pm

hi freind ,,, I have this code javascript for similar topics in veiwtopic tamplate


Code:
<script type="text/javascript">
$(function () {
$('#cungchuyenmuc').load('/f{FORUM_ID}-forum td:not("td:contains("Announcement"), td:contains("Sticky"), td:contains("Global announcement")") .topic-title a.topictitle:lt(15)', function () {
$('#cungchuyenmuc a.topictitle').wrap("<tr><td></td></tr>");
});
var topictitleFMvi = '{TOPIC_TITLE}';
var fmviTopictitle = topictitleFMvi.replace(/ /gi, '+');
$('#bailienquan').load('/search?mode=searchbox&search_keywords=' + fmviTopictitle + '&show_results=topics td:not("td:contains("Announcement"), td:contains("Sticky"), td:contains("Global announcement")") .topic-title a.topictitle:lt(15)', function () {
$('#bailienquan a.topictitle').wrap("<tr><td></td></tr>");
});
});
</script>


I need some edit for appear thumbnails of these topic , I mean (( first image in these topics ))
with name of writer this topic
please help me ++ my forum version phpbb2
thank u , I'm waiting

H.A.SS.A.N
Forumember

Posts : 77
Reputation : 1
Language : Arabic

http://www.deve-net.com

Back to top Go down

Re: thumbnails of similar topics

Post by H.A.SS.A.N on August 10th 2015, 12:35 pm

bump

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