Featured member link to profile or direct to site

Anna

Member
Seriously did not know what to name this topic so....
Anyway - why is it that the links for Featured member and Banner go straight to the members webpage and not to the statistics page? Is that not kind of contra-productive? Dont we want them to stay on our list as long as possible?

How do I change it?
 

Basti

Administrator
Staff member
well you can see it that way or not. Feated may mean something special, so it could go straight to the site. If you want to change it, please see featured_member.html
 

Anna

Member
Fair enough, although I dont agree ;-)It is speciality makes it to end up under Featured Members. That should be good enough.
What about Banners - where do I change that?
 

Mark

Administrator
Staff member
you dont need to agree :) you can make it behave how you like it.

"What about banners" - if you are referring to the banner displayed on the featured member listing, that would also be edited in the featured_member.html template. If yoru referring to the banner in the stats page, edit the stats template. If your referring to the banners in the table top, edit the table_top_row template.
 

cajkan

Active Member
Thats the power of VL,
you can customize every part of your design.

If you want to go into statistics page, then edit the URL inside featured_member.html
 

Anna

Member
OK, have found where now I need to know how. What do I need to switch out to make a click on banner/title etc NOT go to webpage but to the statistics-page of that member?
 

cajkan

Active Member
You need to edit into :
skins - skinname (parabola - default)
  • table_row.html
  • table_row_premium.html
  • table_top_row.html
  • table_top_row_premium.html
 

Basti

Administrator
Staff member
I suppose your title link look like this?
Code:
<a href="{$url}" onclick="out(this,'{$username}');">{$title}</a>
if so, you should switch out to the following
Code:
<a href="{$list_url}/{$url_helper_a}details{$url_helper_u}{$username}{$url_tail}">{$title}</a>
The banner link would have the same href url
 

Anna

Member
Sorry guys, dont have the patience for this..... ^^ I am so close to get it to work - but how do I change it to get it to work "inside" the banners as well? I have tried several versions but I just cant manage it... GAH! Thank you for your generosity and patience!
 

Basti

Administrator
Staff member
Well if you are unsure, you should post the contents of your file. Without, its to much guessing and we end up doing everything twice
 

Anna

Member
Code:
  <div class="table_top_inside"><a href="{$url}" onclick="out(this,'{$username}');" rel="nofollow"><img src="{$banner_url}" alt="{$title}"  class="vistip" title="{$title}"/></a>
This part is what I need help with. What part should I replace with with the code you supplied and what part should I leave be to keep the banner image intact and in place?
The text version on Table_top_row and Featured_Member I have managed to change successfully.
 

Basti

Administrator
Staff member
Code:
<a href="{$url}" onclick="out(this,'{$username}');" rel="nofollow">
to
Code:
<a href="{$list_url}/{$url_helper_a}details{$url_helper_u}{$username}{$url_tail}" rel="nofollow">
 
Top