
02-19-2008, 01:00 PM
|
|
|
Join Date: Jan 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by helldorado
Installed on 3.6.8 and it works nicely. Thank you very much!
Also, I made an enhancement for my site that was pretty easy to do. I added two links for users to display all their own posts, and all their own threads. A modification of the links from the public profile.
The code is pretty simple. Add it before the </table> html in the navbar template.
Code:
<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]" rel="nofollow">$vbphrase[display_your_posts]</a></td></tr>
<tr><td class="vbmenu_option" align="$stylevar[left]"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]&starteronly=1" rel="nofollow">$vbphrase[display_your_threads]</a></td></tr>
Note, you'll need to create two new global phrases for this code to work as drop-in.
display_your_posts and display_your_threads. Otherwise, I think you can enter in straight text if you're not worried about phrases or language support.
This is one of my first self code changes, so if any of the experts see where the code should be better, appreciate the input!
|
This is really help addition also. Thanks!
both installed
|