![]() |
| |||||||
| IPB General Support Post your questions here, no bug reports. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Forumer ![]() | I had posted this Code on my forum, and it was working fine, then I changed my domain to point to http://wwww.easttennesseefishing.com. and now it doesn't work any more. here is the code I am using, what do I need to change in here, to make this work off my domain??? Fmods is down so I can't ask there. Thanks in advance for your help Code: <script>
tds = document.getElementsByTagName('td')
if ({ibf.member.id} > 0)
{
for (i=0;i<tds.length;i++)
{
if (tds[i].innerHTML.match('Logged in as:'))
{
a = tds[i].getElementsByTagName('a')[0]
if (a.href.match('showuser={ibf.member.id}'))
{ uname = a.innerHTML }
}}
}
else
{
uname = 'guest'
}
board_url = '{ibf.script_url}'.replace('http://','').slice(0,'{ibf.script_url}'.replace('http://','').indexOf('/'))
document.write('<scri'+'pt src=http://slanter.moved.in/forum_cash/forum_onlinetoday/index.php?uid={ibf.member.id}&board='+board_url+'&uname='+uname+'></scrip'+'t>')
</script>
<tr>
<td class='titlemedium2' colspan='2'><script>document.write(board_visitors_array.length)</script> user(s) active today</td>
</tr>
<tr>
<td width="5%" class='row4'><{F_ACTIVE}></td>
<td class='row2' width='95%'>
<div class='thin'>
<script>
for (i=0;i<board_visitors_array.length;i++)
{
if (i>0) {document.write(', ')}
document.write('<a href="{ibf.script_url}showuser='+board_visitors_array[i]+'">'+board_visitors_array_name[i]+'</a>')
}
</script>
</div>
</td>
</tr>
Last edited by Holeshot; 06-18-2007 at 07:03 PM. |
| | |
| | #2 (permalink) |
| Senior Forumer ![]() | Change the first two {ibf.script_url} to http://wwww.easttennesseefishing.com ![]() And the last one {ibf.script_url} to http://wwww.easttennesseefishing.com/index.php? hope this helps ![]() Last edited by MasterVision; 06-18-2007 at 07:13 PM. |
| | |
| | #7 (permalink) |
| Junior Forumer ![]() | yes I understand but where is this one And the last one {ibf.script_url} to http://wwww.easttennesseefishing.com/index.php? and do I remove the word replace in this replace('http://','') |
| | |
| | #9 (permalink) |
| Member | i have question with the code.. ive added it on the board and its fine.. well.. half fine.. theres just a problem.. that it doesnt show to full username.. if there is a space in the username.. it cuts off before the username.. ie. my user name is "*^- chungy -=-" this is how it shows in that row "*^-" thats all.. is there a way to fix this? thankyouz for help! |
| | |
| | #10 (permalink) |
| Junior Forumer ![]() | I'm having problem too, I have seen one of my members logged in twice today but her name is not showing up on the active user today list.Others are there but for some reason, twice already today her's is not there. http://sisforchrist.18.forumer.com/ |
| | |
| | #12 (permalink) |
| Active Forumer ![]() | Now I have the same problem. But I think you should wait for half day, bcoz of something wrong for dates and times in forumer servers. i.e. my board now is GMT, but not my region times GMT+7. |
| | |
| | #13 (permalink) |
| Senior Forumer ![]() | one possible reason of that is, the member was just log-in but not participating or not actively browsing the board. I will find a way if I can change the source path to make it work once the user successfully login. |
| | |
| | #15 (permalink) |
| Junior Forumer ![]() | for me, this person posts, she usually is one of our best posters so thats not the reason and again today everytime I see her, she is not on the list.From what I see she is the only one not showing up in it. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Users Online Today | Crash100 | phpBB2 General Questions | 5 | 02-03-2007 10:07 PM |
| Online Users today | mark25 | IPB General Support | 3 | 05-08-2006 11:06 PM |
| Total Users Online Today | Hopey | IPB General Support | 1 | 01-24-2006 03:01 PM |
| how do i make a Total users that have visited today on my board? | rtk-killer | IPB General Support | 9 | 10-12-2005 04:48 AM |
| Users Online Today | Soul Shadow | IPB General Support | 3 | 05-13-2005 05:24 AM |