I hate upsetting my users that's why my member_sectios_links.tpl usually looks like this:
... <!-- IF settings.enable_blogs AND member_total_blogs > "0" --> <li><a href="{virtual_path}{member_blog_link}" <!-- IF active_module == "member_blog" OR active_module == "member_blog_entry" -->class="active"<!-- ENDIF -->>{lang:"member","frm_blog"} ({member_total_blogs})</a></li> <!-- ENDIF --> <!-- IF settings.enable_videos AND member_total_videos > "0" --> <li><a href="{virtual_path}{member_videos_link}" <!-- IF active_module == "member_videos" OR active_module == "member_videos_view" -->class="active"<!-- ENDIF -->>{lang:"member","frm_videos"} ({member_total_videos})</a></li> <!-- ENDIF --> <!-- IF settings.enable_friends AND member_total_friends > "0" --> <li><a href="{virtual_path}{member_friends_link}" <!-- IF active_module == "member_friends" -->class="active"<!-- ENDIF -->>{lang:"member","frm_friends"} ({member_total_friends})</a></li> <!-- ENDIF --> ... As you have probably noticed on this site visiting anybody's profile you see only those links having content and number of containing objects in brackets. Thus members of the site rarely see that annoying message "Member did not add any videos (albums|blog entries|friends|guestbooks etc.) yet." You can manage links of the albums, events, audio using the same way. Unfortunately there is no template variable returning number of pictures when you need it most having old-style pictures enabled. |
vldCrowd Stats
- Members: 596
- Online Now: 1
- Blogs:585
- Files: 40
- Pictures:139
- Videos:89
Support vldCrowd
LuvPoint.com
Premium Dating Templates
for Your vldPersonals Website.
Serving Community for
Almost 3 Years!
- + Easy to Install & Activate
- + Full Documentation
- + Free Lifetime Updates
- + Visit LuvPoint.com






Comments
adamus
radioact
adamus
db3204
Log in to leave a comment