|
Post by Nightwalker on Sept 4, 2010 16:31:18 GMT -6
Puts a button in your menu bar that when clicked takes you to your last 10 posts.
<script type="text/javascript"> <!-- /* View your last 10 posts button in menu bar You may repost but leave header joemaggio.proboards.com */
var button = '<img src="url of image" border="0">'; //Image url. For text remove everything between the single quotes and put the text.
// No editing required var menuBar = document.getElementsByTagName('td')[5]; if(pb_username != "Guest") { menuBar.innerHTML += '<a href="/index.cgi?action=userrecentposts&user='+pb_username+'">'+button+'</a>'; } //--> </script>
|
|
Ajay
Daywalker
[M:0]
Posts: 31
|
Post by Ajay on Sept 9, 2010 5:31:02 GMT -6
Puts a button in your menu bar that when clicked takes you to your last 10 posts. <script type="text/javascript"> <!-- /* View your last 10 posts button in menu bar You may repost but leave header joemaggio.proboards.com */
var button = '<img src="url of image" border="0">'; //Image url. For text remove everything between the single quotes and put the text.
var forumurl = 'http://forum url'; //Your forum URL must start with http://
// No editing required var menuBar = document.getElementsByTagName('td')[5]; if(menuBar.className == "menubg"){ menuBar.innerHTML += '<a href="'+forumurl+'/index.cgi?action=userrecentposts&user='+pb_username+'">'+button+'</a>'; } //--> </script> Isn't this a feature already?
|
|
|
Post by Nightwalker on Sept 9, 2010 20:32:00 GMT -6
No this takes you to YOUR last ten posts not the recent posts
|
|