Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 62 users online :: 0 Registered, 0 Hidden and 62 Guests :: 2 Bots
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
Widget: Recent Topics of a Specific Sub-forum
Page 1 of 1 • Share
- Anita
- Gender :
Posts : 26
Points : 2816
Reputation : 10
Location : [404 - Not Found]
Language : English, Spanish, Rubbish
Browser : Forum Version :
Hello, everybody!
Before anything else, I wish all of you a fantastic weekend!
Let me share an issue I've had with a widget based on this tutorial from the Forumotion Support Forum: http://help.forumotion.com/t129060-widget-recent-topics-of-a-specific-sub-forum
While it used to work before the conversion to FAE, now it's become irresponsive.
I created a widget. In the widget source text area, I inserted this code:
Then I created a JS with the following code for PHPBB3:
Last, I added the CSS suggested in the tutorial:
However, the widget's still blank.
I wonder if you could help me figure out what the problem is. I tried deactivating the other scripts. I also made sure the address of the forum was the right one. Yet, it hasn't worked.
Thanks in advance for your help!
Happy weekend!
Before anything else, I wish all of you a fantastic weekend!
Let me share an issue I've had with a widget based on this tutorial from the Forumotion Support Forum: http://help.forumotion.com/t129060-widget-recent-topics-of-a-specific-sub-forum
While it used to work before the conversion to FAE, now it's become irresponsive.
I created a widget. In the widget source text area, I inserted this code:
- Code:
<div id="newsareal1" class="newsareal"> </div>
Then I created a JS with the following code for PHPBB3:
- Code:
jQuery(document).ready(function(){
jQuery("#newsareal1").load("/f1-welcome div.topic-title-container:lt(10)");
});
Last, I added the CSS suggested in the tutorial:
- Code:
.newsareal div.topic-title-container {
display: block !important;
margin: 2px 1px 0;
padding: 2px 5px 5px 30px;
border: 1px solid #B1BFC0;
border-radius: 5px;
background: #F3F9F9 url('http://i44.servimg.com/u/f44/16/54/26/99/old-ve10.png') no-repeat 5px center;
}
.newsareal div.topic-title-container:hover {
background-color: #D8DEDE;
}
.newsareal div.topic-title-container a {
color: #708090 !important;
text-decoration: none !important;
text-shadow: #fff 1px 1px 0px
}
However, the widget's still blank.
I wonder if you could help me figure out what the problem is. I tried deactivating the other scripts. I also made sure the address of the forum was the right one. Yet, it hasn't worked.
Thanks in advance for your help!
Happy weekend!
Hi @Anita,
In the script, try changing
to
. You will also need to replace
with
in the CSS.
If you need any help let me know.
In the script, try changing
|
|
|
|
If you need any help let me know.
- Anita
- Gender :
Posts : 26
Points : 2816
Reputation : 10
Location : [404 - Not Found]
Language : English, Spanish, Rubbish
Browser : Forum Version :
Hi, @Ange Tuteur! How are you today?
I made the changes in the JS and the CSS. Nothing changed, though.
I'll keep trying to figure out whether I did anything wrong despite following the steps.
Have a beautiful day!
I made the changes in the JS and the CSS. Nothing changed, though.
I'll keep trying to figure out whether I did anything wrong despite following the steps.
Have a beautiful day!
Hi again,
Replace the JavaScript with :
and replace the CSS with :
The HTML should be a-okay. If there are any issues, let me know.
Replace the JavaScript with :
- Code:
jQuery(document).ready(function(){
jQuery("#newsareal1").load("/f1-welcome .forum-category:not(.announcement) .topictitle:lt(10)");
});
and replace the CSS with :
- Code:
.newsareal .topictitle {
display: block !important;
margin: 2px 1px 0;
padding: 2px 5px 5px 30px;
border: 1px solid #B1BFC0;
border-radius: 5px;
background: #F3F9F9 url('http://i44.servimg.com/u/f44/16/54/26/99/old-ve10.png') no-repeat 5px center;
}
.newsareal .topictitle:hover {
background-color: #D8DEDE;
}
.newsareal .topictitle {
color: #708090 !important;
text-decoration: none !important;
text-shadow: #fff 1px 1px 0px
}
The HTML should be a-okay. If there are any issues, let me know.
- Anita
- Gender :
Posts : 26
Points : 2816
Reputation : 10
Location : [404 - Not Found]
Language : English, Spanish, Rubbish
Browser : Forum Version :
Good evening!
I'm afraid it didn't work, either. How strange...
I deactivated or deleted some JS I had in the forum, just in case they interfered. However, this widget doesn't work yet. I also tried linking it with another forum, just in case. But there's no reaction.
My apologies for any inconvenience caused.
Have a good night, sir!
Nughty night!
I'm afraid it didn't work, either. How strange...
I deactivated or deleted some JS I had in the forum, just in case they interfered. However, this widget doesn't work yet. I also tried linking it with another forum, just in case. But there's no reaction.
My apologies for any inconvenience caused.
Have a good night, sir!
Nughty night!
Hmm.. do you only have one topic in the forum that's being loaded, and is that topic also an announcement ? If so, try removing
from the script I gave you.
That little snippet ignores topics that are announcements, so that might be the issue.
|
That little snippet ignores topics that are announcements, so that might be the issue.
- Anita
- Gender :
Posts : 26
Points : 2816
Reputation : 10
Location : [404 - Not Found]
Language : English, Spanish, Rubbish
Browser : Forum Version :
Wow, I see! None of the topics were announcements. However, when I removed the piece of code that you said, it started working!
Thank you very much, @Ange Tuteur! You rock!
As always, thanks indeed for your patience, generosity and genius! May your help be rewarded a gazillion times!
Best,
Anita
Thank you very much, @Ange Tuteur! You rock!
As always, thanks indeed for your patience, generosity and genius! May your help be rewarded a gazillion times!
Best,
Anita
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum