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 10 users online :: 0 Registered, 0 Hidden and 10 Guests
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
only topic widget
Page 1 of 1 • Share
you reminded me by this
http://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
lol you already a stuff
and missed my question in there
http://help.forumotion.com/t138665-is-there-a-recent-topics-with-auto-update-script
lol you already a stuff
and missed my question in there
Something that would load all only topics into a widget ? We could probably use the search query http://help.forumotion.com/search?search_keywords=[only+topic]
However, as you can see it provides results that aren't exact to what you're searching. You can filter results based on their text content though.
However, as you can see it provides results that aren't exact to what you're searching. You can filter results based on their text content though.
ok some thing like this.
make a widget like we always do but it will look for this icon when its marked with that icon it would then place the title of that post in the widget and just link it so when clicked it will bring it to that topic i would also like to use the Update icone aswell so when i post a thread with an update it will show in the same place using this icon
make a widget like we always do but it will look for this icon when its marked with that icon it would then place the title of that post in the widget and just link it so when clicked it will bring it to that topic i would also like to use the Update icone aswell so when i post a thread with an update it will show in the same place using this icon
humm.. do you have a specific forum only topics go into ? I think it might be hard to do since there's no way to search by topic icon unless you're willing to send multiple AJAX requests to a handful of forums.
it would go in this forum http://www.achatworld.com/f28-site-news-updates if it is tomuch hard work then Don't worry i will leave it
It's a single forum then ? It should be possible to write a script that grabs the topic based on their icon from it. I didn't want to give you a script that was too AJAX heavy, but if it's one forum then I can write something efficient up.
So you want the following topics from that forum :
- Those with only topic icon
- Those with new update icon
So you want the following topics from that forum :
- Those with only topic icon
- Those with new update icon
Ange Tuteur wrote:It's a single forum then ? It should be possible to write a script that grabs the topic based on their icon from it. I didn't want to give you a script that was too AJAX heavy, but if it's one forum then I can write something efficient up.
So you want the following topics from that forum :
- Those with only topic icon
- Those with new update icon
YES please
@Ape,
See how this works :
Add it to a widget, and place it on the forum. Let me know if there's any problems or want to change something..
See how this works :
- Code:
<div id="SujetSpecial"></div>
<a id="sujetRef" href="#">Refresh</a>
<script type="text/javascript">// <![CDATA[
(function(){
var list = document.getElementById('sujetSpecial'), ref = document.getElementById('sujetRef'), storage = window.localStorage;
if (storage && storage.sujetSpec && storage.sujetSpecExp > +new Date - 9*59*1000) list.innerHTML = storage.sujetSpec;
else sendReq();
ref.onclick = function() {
ref.style.opacity = 0.3;
sendReq(function() { ref.style.opacity = 1 });
return false;
};
function sendReq(cb) {
list.innerHTML = 'Refreshing...';
jQuery.get('/f28-', function(d){
list.innerHTML = '';
for (var a = jQuery('.dterm', d), i = 0, j = a.length; i<j; i++) if (/update10.png|only_t10.png/.test(a[i].style.backgroundImage)) list.appendChild(a[i].getElementsByTagName('A')[0]);
cb && cb();
if (storage) {
storage.sujetSpec = list.innerHTML;
storage.sujetSpecExp = +new Date;
}
});
};
})();
// ]]></script>
Add it to a widget, and place it on the forum. Let me know if there's any problems or want to change something..
Oups, I made a mistake with the ID. I had the first letter in capital in the ID, but not in the script. Try now :
Dooh
- Code:
<div id="sujetSpecial"></div>
<a id="sujetRef" href="#">Refresh</a>
<script type="text/javascript">// <![CDATA[
(function(){
var list = document.getElementById('sujetSpecial'), ref = document.getElementById('sujetRef'), storage = window.localStorage;
if (storage && storage.sujetSpec && storage.sujetSpecExp > +new Date - 9*59*1000) list.innerHTML = storage.sujetSpec;
else sendReq();
ref.onclick = function() {
ref.style.opacity = 0.3;
sendReq(function() { ref.style.opacity = 1 });
return false;
};
function sendReq(cb) {
list.innerHTML = 'Refreshing...';
jQuery.get('/f28-', function(d){
list.innerHTML = '';
for (var a = jQuery('.dterm', d), i = 0, j = a.length; i<j; i++) if (/update10.png|only_t10.png/.test(a[i].style.backgroundImage)) list.appendChild(a[i].getElementsByTagName('A')[0]);
cb && cb();
if (storage) {
storage.sujetSpec = list.innerHTML;
storage.sujetSpecExp = +new Date;
}
});
};
})();
// ]]></script>
Dooh
yes that works now but the text for each one is all mixed up is there anyway i can have them so there on there own line
This is how it is now
I want it some thing like this
>> maximize the editor so it takes up the whole screen.
>> Theme Update
>> Hashtags # on your PostsTag members on your Posts.
or maybe add in the place of the >> put an icon next to it like this
This is how it is now
I want it some thing like this
>> maximize the editor so it takes up the whole screen.
>> Theme Update
>> Hashtags # on your PostsTag members on your Posts.
or maybe add in the place of the >> put an icon next to it like this
You can use a bit of CSS to do that. Add the following rule to your stylesheet :
This'll display the links as block-level elements so they take up a whole line. For the icon, you can set it as a background image, then just use padding to add spacing to the left of the link so your icon is visible. I'd probably size that icon down a bit.
- Code:
#sujetSpecial a {
display:block;
background:url(/img.gif) no-repeat 0 50%;
padding-left:0;
}
This'll display the links as block-level elements so they take up a whole line. For the icon, you can set it as a background image, then just use padding to add spacing to the left of the link so your icon is visible. I'd probably size that icon down a bit.
- 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