PDA

View Full Version : remove topposter


clearchannel
11-14-2004, 08:54 AM
I will like to remove all reference to the topposter on the portal page.

What would be the best way to accomplish this.

Thanks

phlogiston
11-14-2004, 07:19 PM
in your adv_portal_stats template removing the line:$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br />should do what you want I think :)

Our Sponsors
 

clearchannel
11-14-2004, 07:39 PM
I did that but I still have the Top Poster: () althought it does not show the poster or their posts, I would like to remove Top Poster: () altogether.

Thanks

phlogiston
11-14-2004, 07:51 PM
If you check the template again and make sure to remove all the code I posted above it should work - the admincp input box in my browser wraps the code to look like it's on three lines, maybe you missed some when editting?

Our Sponsors
 

clearchannel
11-14-2004, 08:33 PM
How stupid was I. I removed the reference to top poster in the module/stats.php. Is that going to give me any grief?

Once I removed it from the adv_portal_stats it's working like a charm.

Thanks again.

Brian
11-15-2004, 06:55 PM
How stupid was I. I removed the reference to top poster in the module/stats.php. Is that going to give me any grief?

No. In fact if you are going to remove that option it is best to remove it from the file as well so there won't be an unnecessary query with that module.