For simplification just add this after every user link like member.php, tori_trans_history.php, tori.php etc.
?username=<user's name>
for inventories add this before the "?"(question mark)
sid=<value>&
-note: the values are
0 = for inactive inventory (use also can remove this part to go to deactivated inventory)
-1 = for activate inventory
-2 = for market items