PDA

View Full Version : Remove Javascript Box


Silver Tiger
06-04-2009, 02:42 PM
Hi guys I have a question:

You know on vbulletin forums when you click the username of someone that makes a thread / post it gives you that javascript box (With options of going to thier homepage, profile etc).

My question is how do I remove that javascript box and when users click someones username it directly goes to their profile page.

Heres what I mean: http://img41.imageshack.us/my.php?image=helpeve.jpg

Lynne
06-04-2009, 04:02 PM
Find in postbit/postbit_legacy:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>And change to:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]

(Not tested, but I'm pretty sure it should work.)

You can also remove all the stuff between the <!-- post $post[postid] popup menu --> tags.

Silver Tiger
06-04-2009, 04:43 PM
It works, thanks