Forum Hosting  

Go Back   Forum Hosting > IPB Support > IPB General Support

IPB General Support Post your questions here, no bug reports.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2007, 07:00 PM   #1 (permalink)
Junior Forumer
 
Holeshot's Avatar
 
Join Date: May 2006

Posts: 50
Rep Power: 3 Holeshot is on a distinguished road
fTrader: (0)
fBuck$: 345
Bank: 0
Total fBuck$: 345

My Forumer
My Country:
Default Active Users Today

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.
Holeshot is offline   Reply With Quote
Old 06-18-2007, 07:09 PM   #2 (permalink)
Senior Forumer
 
MasterVision's Avatar
 
Join Date: Nov 2006

Posts: 1,065
Rep Power: 3 MasterVision is on a distinguished road
fTrader: (0)
fBuck$: 685
Bank: 4,247
Total fBuck$: 4,932

My Forumer
My Country:
Send a message via MSN to MasterVision Send a message via Yahoo to MasterVision Send a message via Skype™ to MasterVision
Default Re: Active Users Today

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.
MasterVision is offline   Reply With Quote
Old 06-18-2007, 07:17 PM   #3 (permalink)
Junior Forumer
 
Holeshot's Avatar
 
Join Date: May 2006

Posts: 50
Rep Power: 3 Holeshot is on a distinguished road
fTrader: (0)
fBuck$: 345
Bank: 0
Total fBuck$: 345

My Forumer
My Country:
Default Re: Active Users Today

Thanks You! MV, that seems to be working.
Holeshot is offline   Reply With Quote
Old 06-18-2007, 07:19 PM   #4 (permalink)
Senior Forumer
 
MasterVision's Avatar
 
Join Date: Nov 2006

Posts: 1,065
Rep Power: 3 MasterVision is on a distinguished road
fTrader: (0)
fBuck$: 685
Bank: 4,247
Total fBuck$: 4,932

My Forumer
My Country:
Send a message via MSN to MasterVision Send a message via Yahoo to MasterVision Send a message via Skype™ to MasterVision
Default Re: Active Users Today

my pleasure buddy... as always
MasterVision is offline   Reply With Quote
Old 06-18-2007, 08:51 PM   #5 (permalink)
Junior Forumer
 
UPCDeb's Avatar
 
Join Date: Dec 2006

Posts: 224
Rep Power: 2 UPCDeb is on a distinguished road
fTrader: (0)
fBuck$: 897
Bank: 0
Total fBuck$: 897

My Forumer
My Country:
Default Re: Active Users Today

I see the first 2 but where is the last one and do remove the word replace where it shows url?
UPCDeb is offline   Reply With Quote
Old 06-18-2007, 08:54 PM   #6 (permalink)
Senior Forumer
 
MasterVision's Avatar
 
Join Date: Nov 2006

Posts: 1,065
Rep Power: 3 MasterVision is on a distinguished road
fTrader: (0)
fBuck$: 685
Bank: 4,247
Total fBuck$: 4,932

My Forumer
My Country:
Send a message via MSN to MasterVision Send a message via Yahoo to MasterVision Send a message via Skype™ to MasterVision
Default Re: Active Users Today

i saw your board and you are not using any registered domain.. just copy the code and put it in the installation path given above.
MasterVision is offline   Reply With Quote
Old 06-18-2007, 09:05 PM   #7 (permalink)
Junior Forumer
 
UPCDeb's Avatar
 
Join Date: Dec 2006

Posts: 224
Rep Power: 2 UPCDeb is on a distinguished road
fTrader: (0)
fBuck$: 897
Bank: 0
Total fBuck$: 897

My Forumer
My Country:
Default Re: Active Users Today

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://','')
UPCDeb is offline   Reply With Quote
Old 06-18-2007, 09:09 PM   #8 (permalink)
Senior Forumer
 
MasterVision's Avatar
 
Join Date: Nov 2006

Posts: 1,065
Rep Power: 3 MasterVision is on a distinguished road
fTrader: (0)
fBuck$: 685
Bank: 4,247
Total fBuck$: 4,932

My Forumer
My Country:
Send a message via MSN to MasterVision Send a message via Yahoo to MasterVision Send a message via Skype™ to MasterVision
Default Re: Active Users Today

dont change anything.. just add the code as is in the Installation Path.
MasterVision is offline   Reply With Quote
Old 06-19-2007, 05:24 AM   #9 (permalink)
Member
 
ChungYunHo's Avatar
 
Join Date: May 2007

Posts: 14
Rep Power: 0 ChungYunHo is on a distinguished road
fTrader: (0)
fBuck$: 120
Bank: 0
Total fBuck$: 120

My Forumer
My Country:
Default Re: Active Users Today

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!
ChungYunHo is offline   Reply With Quote
Old 06-19-2007, 03:53 PM   #10 (permalink)
Junior Forumer
 
UPCDeb's Avatar
 
Join Date: Dec 2006

Posts: 224
Rep Power: 2 UPCDeb is on a distinguished road
fTrader: (0)
fBuck$: 897
Bank: 0
Total fBuck$: 897

My Forumer
My Country:
Default Re: Active Users Today

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/
UPCDeb is offline   Reply With Quote
Old 06-19-2007, 09:01 PM   #11 (permalink)
Junior Forumer
 
UPCDeb's Avatar
 
Join Date: Dec 2006

Posts: 224
Rep Power: 2 UPCDeb is on a distinguished road
fTrader: (0)
fBuck$: 897
Bank: 0
Total fBuck$: 897

My Forumer
My Country:
Default Re: Active Users Today

anbody have an idea on why the 1 member is not showing up on the active users today list? She is posting again but still not showing up there.
UPCDeb is offline   Reply With Quote
Old 06-20-2007, 01:33 AM   #12 (permalink)
duy
Active Forumer
 
duy's Avatar
 
Join Date: Jul 2006

Location: Hanoi, Vietnam
Posts: 313
Rep Power: 3 duy is on a distinguished road
fTrader: (0)
fBuck$: 1,099
Bank: 0
Total fBuck$: 1,099

My Forumer
My Country:
Send a message via Yahoo to duy
Default Re: Active Users Today

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.
duy is offline   Reply With Quote
Old 06-20-2007, 02:08 AM   #13 (permalink)
Senior Forumer
 
MasterVision's Avatar
 
Join Date: Nov 2006

Posts: 1,065
Rep Power: 3 MasterVision is on a distinguished road
fTrader: (0)
fBuck$: 685
Bank: 4,247
Total fBuck$: 4,932

My Forumer
My Country:
Send a message via MSN to MasterVision Send a message via Yahoo to MasterVision Send a message via Skype™ to MasterVision
Default Re: Active Users Today

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.
MasterVision is offline   Reply With Quote
Old 06-20-2007, 03:02 AM   #14 (permalink)
duy
Active Forumer
 
duy's Avatar
 
Join Date: Jul 2006

Location: Hanoi, Vietnam
Posts: 313
Rep Power: 3 duy is on a distinguished road
fTrader: (0)
fBuck$: 1,099
Bank: 0
Total fBuck$: 1,099

My Forumer
My Country:
Send a message via Yahoo to duy
Default Re: Active Users Today

Thanks MasterVision. We are waiting for you, master...
duy is offline   Reply With Quote
Old 06-20-2007, 03:51 PM   #15 (permalink)
Junior Forumer
 
UPCDeb's Avatar
 
Join Date: Dec 2006

Posts: 224
Rep Power: 2 UPCDeb is on a distinguished road
fTrader: (0)
fBuck$: 897
Bank: 0
Total fBuck$: 897

My Forumer
My Country:
Default Re: Active Users Today

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.
UPCDeb is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

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