Latest Topics widget

Go down

Latest Topics widget Empty Latest Topics widget

Post by Coolname007 on July 22nd 2009, 6:43 pm

Hello,
here is my problem:

I want to put the Latest Topics widget on my main website, which will display the latest posts made in my forums. Technically I have already done this, but it doesn't fully work (i.e. it does not update when a new post is made).

Here's the code I used:

Code:
<p><link rel="alternate" type="application/rss+xml" title="Latest topics (RSS 2.0)" href="http://ets-forums.forumotion.com/feed/"></link><link rel="alternate" type="application/atom+xml" title="Latest topics (ATOM)" href="http://ets-forums.forumotion.com/feed/?type=atom"></link></p>
<script src="http://illiweb.com/fa/js_06/en.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[

$(document).ready(function(){});//]]></script><script src="http://illiweb.com/fa/js_06/invision.js" type="text/javascript"></script><div class="minwidth_IE"><div class="layout_IE"><div class="container_IE"><div id="ipbwrapper"><a id="top" name="top" accesskey="t"></a>
<div style="height:4px"></div><div class="module borderwrap"><div class="maintitle"><h3>Latest topics</h3></div><div class="box-content"><div id="comments_scroll_div" style="height:200px;overflow:auto">» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/movies-f32/the-new-movie-2012-t12.htm#49">The new movie '2012'!</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Today at 1:44 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/the-moderating-team-f38/assigning-moderators-t3.htm#44">Assigning Moderators</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Today at 11:59 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=2"><span style="color:#000099"><b>Dark Knight</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/forum-games-f3/count-to-one-million-t4.htm#43">Count to one million!</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Today at 11:57 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=2"><span style="color:#000099"><b>Dark Knight</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/the-rest-of-the-world-f18/copter-crash-kills-16-in-afghanistan-nato-says-t11.htm#40">Copter crash kills 16 in Afghanistan, NATO says</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Today at 3:22 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/israel-f14/israel-rejects-us-call-to-halt-jerusalem-project-t10.htm#39">Israel rejects U.S. call to halt Jerusalem project</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Today at 3:08 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/china-f13/china-says-police-killed-12-in-urumqi-rioting-t9.htm#38">China says police killed 12 in Urumqi rioting</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Yesterday at 15:22 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/israel-f14/israel-told-to-halt-east-jerusalem-housing-project-t8.htm#37">Israel told to halt east Jerusalem housing project</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Yesterday at 15:19 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/the-water-cooler-f39/share-your-favorite-pics-t7.htm#36">Share your favorite pics!</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Yesterday at 1:43 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/general-discussion-f1/welcome-to-the-expert-technology-storehouse-forums-t1.htm#33">Welcome to the Expert Technology Storehouse forums!</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Sat 18 Jul 2009 - 2:57 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=4"><span style="color:#000099"><b>mikehell</b></span></a><br/><br/>» <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/feedback-suggestions-f5/designing-the-ets-forums-logo-t6.htm#31">Designing the ETS Forums logo</a><br/><img src="http://2img.net/i/fa/empty.gif"/>Sat 18 Jul 2009 - 2:24 by <a onmouseover="document.getElementById('comments_scroll_container').stop();" onmouseout="document.getElementById('comments_scroll_container').start();" href="http://ets-forums.forumotion.com/profile.forum?mode=viewprofile&amp;u=1"><span style="color:#000099"><b>Coolname007</b></span></a><br/><br/></div></div></div><script type="text/javascript">//<![CDATA[
div_marquee('comments_scroll_div', 'comments_scroll_container', 'up', '2', '90', '200', 'genmed');//]]></script><div style="height:4px"></div></div></div></div></div>

Does anyone have a solution for this?

Thanks in advance.

P.S. Why does the Admin CP not allow you to modify (or even access) the code for that particular widget (the Latest Topics widget), like it does with some of the other ones? Perhaps that should be considered for the next version of the forums...
Coolname007
Coolname007
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Nowhere

View user profile http://ets-forums.forumotion.com/forum.htm

Back to top Go down

Latest Topics widget Empty Re: Latest Topics widget

Post by Mehtevas on July 23rd 2009, 12:14 am

I dont think you can use that code on non-forumotion forums. Wink

and to your post script, you can always suggest it Wink
Mehtevas
Mehtevas
Hyperactive

Male Posts : 2114
Reputation : 14
Language : Currently, I am receiving support requests by P.M. Support requests, which can, and should, be done in the support section.
Location : Oregon, USA

View user profile

Back to top Go down

Latest Topics widget Empty Re: Latest Topics widget

Post by Rok on July 23rd 2009, 12:18 am

@Coolname007 wrote:i.e. it does not update when a new post is made).

That's because you have the latest topics linked in the code. I think all you did was just view the source on your forum and get the code from there, and that's not how you do it. I'm pretty sure a expert HTMLer can get you some sort of code for something similar to what you are requesting.
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

View user profile

Back to top Go down

Latest Topics widget Empty Re: Latest Topics widget

Post by Coolname007 on July 23rd 2009, 5:33 am

@Rok wrote:
@Coolname007 wrote:i.e. it does not update when a new post is made).

That's because you have the latest topics linked in the code. I think all you did was just view the source on your forum and get the code from there, and that's not how you do it. I'm pretty sure a expert HTMLer can get you some sort of code for something similar to what you are requesting.
You're right. That's exactly what I did. I took the code from the forums, and then modified all the "href"s to point to the full URL of my Forumotion forums.
Anyway, I hope someone who knows HTML and other code pretty well will come along soon, and have an answer...
I searched all day yesterday on the Web for a solution to this problem, and explored some of the "Recent Forum Posts" widgets out there, but I found nothing that I liked, or that I thought would work for me. :/
I believe how the widget updates on the forums itself is the posting code plays a huge part in that. And so obviously I can not modify the posting code, and so I need another solution. Think scratch
Coolname007
Coolname007
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Nowhere

View user profile http://ets-forums.forumotion.com/forum.htm

Back to top Go down

Back to top


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