is there a recent topics with auto update Script
3 posters
Page 1 of 1
is there a recent topics with auto update Script
is there a recent topics with auto update Script because i recently being asked for a recent topics that auto update with out refresh the page
i dont know if this could be done by java or what
so if this a good project i hope someone like Ange think of doing a project like that
if only that possible
and i apologize if im asking in the wrong place
i dont know if this could be done by java or what
so if this a good project i hope someone like Ange think of doing a project like that
if only that possible
and i apologize if im asking in the wrong place
Last edited by Michael_vx on February 7th 2015, 4:45 pm; edited 1 time in total
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
current reset time is every 3 mins
just set the placement to whatever page the latest topic widget is on
- Code:
var time = 3*60*1000;
just set the placement to whatever page the latest topic widget is on
- Code:
$(function(){
var time = 3*60*1000;
setInterval(function(){
$.get(location.href, function (data){
var b = $('#comments_scroll_div',data).parents('.module').html();
$('#comments_scroll_div').parents('.module').html(b);
$('#comments_scroll_div').parent().append('<script type="text/javascript">$(function(){div_marquee(\'comments_scroll_div\', \'comments_scroll_container\', \'up\', \'2\', \'90\', \'200\');});</script>');
});}, time);
});
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
hmmm
up
sorry
any good news ?
up
sorry
any good news ?
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
should i give up on this or something ?
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
\'up\', \'2\', \'90\', \'200\'
direction, how many px it scrolls each time, speed of scroll in miliseconds, height of scroll box
you will need to adjust height to your widget size thats why its cut off because its the end of the scroll box
direction, how many px it scrolls each time, speed of scroll in miliseconds, height of scroll box
you will need to adjust height to your widget size thats why its cut off because its the end of the scroll box
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
u asked what numbers in the script was .. the numbers in the script have to be same as those # else it wont be the same when it refreshes
Re: is there a recent topics with auto update Script
that is kinda weird
phpbb3 pun looks fine
phpbb2 and invision
no
and the numbers looks same
9 / 90 / 200
am I right
phpbb3 pun looks fine
phpbb2 and invision
no
and the numbers looks same
9 / 90 / 200
am I right
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
the script might be different on other versions this is for phpbb3
Re: is there a recent topics with auto update Script
_Twisted_Mods_ wrote:the script might be different on other versions this is for phpbb3
no wonder i got bugs on phpbb2
i wish i can do it my self so i wont waste time from any one
would mind make one for phpbb2
most users are on phpbb2 for the H recent topics widget
i think im gonna translate that to English soon
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
try this for phpbb2
- Code:
$(function(){
var time = 3*60*1000;
setInterval(function(){
$.get(location.href, function (data){
var b = $('#comments_scroll_div',data).html();
$('#comments_scroll_container').html(b);
})}, time);
});
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
your welcome and that last code should work 4 all versions i haven't tested so not 100%
Re: is there a recent topics with auto update Script
okay i understand
thanks again for the info
i have marked the topic because its solved
^^
thanks again for the info
i have marked the topic because its solved
^^
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: is there a recent topics with auto update Script
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Coding for an auto update table
» Auto Save Post Script not working
» Recent Status Update Widget like IPB is not working correctly
» Script to auto ban users without a certain email suffix?
» Recent Status Update Widget like IPB
» Auto Save Post Script not working
» Recent Status Update Widget like IPB is not working correctly
» Script to auto ban users without a certain email suffix?
» Recent Status Update Widget like IPB
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum