For those users who also want their blogs to be customized, here's a useful code.
The idea is from the Who's viewed me of Overlay Profiles in [b]markyctrigger[/b], here is a way of knowing who viewed your blog. and of course this is javascript..
[u][b]STEPS:[/b][/u]
First of all, create a cbox account.
[b]1.)[/b] Go to your blog home and click on EDIT CONFIGURATION. the insert this code: (this code is the handler of the visitor's name.. eg: in non-overlay fs account it is "pageViewerFname" right?)
<">[b]2.)[/b] Then create a typelist. Under list type, create it as a link. List name is the title of the list (ex. My Visitors) then click on create new list.
[b]3.)[/b] When it asks for a link on a text box, just click add link with the box empty
[b]4.)[/b] In the notes box (the big textarea) insert this:
[quote][b]Code:[/b]
<div>
<SCRIPT LANGUAGE="javascript">
function send()
{
if (commenter_name=="[color=blue][b]xavier kym[/b][/color]"||commenter_name=="[color=blue][b]xavier kym[/b][/color]")
{alert("I am the owner.")}
else
{
if (commenter_name!="")
{document.getElementById('nme').value=commenter_name;}
else
{document.getElementById('nme').value="Visitor"};
document.getElementById('pst').value=" was here on ^";
document.wvcbox_form.submit();
}
}
</script>
<iframe allowtransparency="yes" frameborder="0" width="175px" height="100px" src="http://www[color=red][b]4[/b][/color].cbox.ws/box/?boxid=[color=green][b]1234567[/b][/color]&boxtag=[color=orange][b]1234[/b][/color]&sec=main" marginheight="0" marginwidth="0" scrolling="auto" id="wvcbox" name="wvcbox" style="border: #ababab 0px solid;"></iframe>
<br>
<div style="display:none">
<form name="wvcbox_form" target="wvcbox" action="http://www[color=red][b]4[/b][/color].cbox.ws/box/?boxid=[color=green][b]1234567[/b][/color]&boxtag=[color=orange][b]1234[/b][/color]&sec=submit" method="post">
<input type="text" id="nme" name="nme" value="">
<br>
<input type="text" id="[color=teal][b]pst[/b][/color]" name="[color=teal][b]pst[/b][/color]" value="">
</form>
</div>
<script type=text/javascript>
window.onload=wvcboxrefresh();
function wvcboxrefresh()
{
window.wvcbox.location.href=document.getElementById('wvcbox').src;
setTimeout("wvcboxrefresh()",[color=purple][b]30000[/b][/color])
}
</script>
<SCRIPT LANGUAGE="javascript">
{setTimeout("send()",[color=maroon][b]1000[/b][/color]);}
</script>
</div>[/quote]
[u]
[b]
NOTE:[/b][/u]
codes in [color=blue][b]blue[/b][/color]: your account names, so that when you view your own blog, you don't get listed
codes in [color=green][b]green[/b][/color] and [color=orange][b]orange[/b][/color]: your cbox id and tag
codes in [color=purple][b]purple[/b][/color]: the time it takes to autorefresh the box, in this case 30000 means 30000 miliseconds or in short, 30 seconds
codes in [color=maroon][b]maroon[/b][/color]: the time it takes for the name to be posted in the box. 1000 miliseconds or 1 second is the default.
codes in [color=teal][b]teal[/b][/color]: the module of the cbox you are using. it's either [u]pst[/u] or [u]cstr[/u]. choose either one and see if the add-on works. if not, choose the other module. But i think pst is for majority cbox accounts
code in [color=red][b]4[/b][/color]: depends on your code there are lots. like www2 , www3 or www4
[b]5.)[/b] When finished, click on the save and update button
[b]6.)[/b] Click on the configure tab then on the advanced configuration under display notes, choose DISPLAY AS TEXT then save.
[b]7.)[/b] Now click on blogs and then click edit design. Click content, then under the YOUR TYPELIST check the name of the typelist you just created and click save changes.
[b]8.)[/b] there you have it! you can re arrange the position of your who view by clicking on ORDER and re arrange the boxes you have
Live Preview
http://xavierkymguillen.blogs.friendster.com/
PS: Tweak your blog my fellow ftalkers.. its fun..
credits: MCTF Last edited by xavierkym (2007-09-21 14:54:46)
Thanks for this one anyway.
I found the answer to my question.
And the answer is neither. For those that are unenlightened. The choices are neither the correct answer. It is simply the name you use. The value of the "pageOwnerFName".
So sorry for any confusion that I may have caused!
Kudos to xavier for sharing this code.
Last edited by jes_vida (2007-09-25 10:28:27)
uhm...
coz i tried my WVM and cbox..
everytime i post message on my cbox,
its shown in the WVM
hmm... why??
//edit//
do i need to make a new cbox for this WVM or
i can use the cbox im using in my blog??
Last edited by zephyr14 (2007-10-05 06:44:11)
ps: i have 6 accounts..
why is it that whenever i view my own blog,
my old name in FS shows in my WVM??
is there any way i can change it??
Last edited by xavierkym (2007-10-11 18:58:10)
[/quote]
hi kua,
uhm, it didn't work..
coz my old fs name have quotes... aw...
hows that??
[/b]