miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
  
 | Begin | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   
 

$enableViews=FALSE but views column is printed (Or: how to remove Views column from templates)

 
Author epicsff
Partaker
#1 | Posted: 23 May 2005 09:04 
I would like to remove the 'VIEWS' on last disucssions and all other sub boards. Can someone help me with this?

Thanks,
Shane

Author realitybytes
Partaker
#2 | Posted: 23 May 2005 09:46 
main_last_discuss template remove
<td width="5%" align=center class=caption4>&nbsp;{$l_views}&nbsp;</td>

main_last_discuss_cells remove
<td class=caption1><span class=views>{$topic_views}</span></td>

main_topic tamplate remove
<td width="40" align=center class=caption4>&nbsp;{$l_views}&nbsp;</td>

Author realitybytes
Partaker
#3 | Posted: 23 May 2005 09:47 | Edited by: realitybytes 
main_topic_cells remove

<td class=caption1><span class=views>{$topic_views}</span></td>

backup the files incase you want to revert back.

Author Team
8-)
#4 | Posted: 23 May 2005 16:13 
Also set

$enableViews=FALSE;

in setup_options.php - this will disable the updating of views counter in database.

Author Anonymous
Guest
#5 | Posted: 19 Aug 2005 21:37 
hi!

i'm upgrading minibb and set $enableViews=FALSE. But the Views column is still there.

Is it a bug/option? =)

http://forum2.cifraclub.terra.com.br/

Thanks,
Samuel

Author Team
8-)
#6 | Posted: 19 Aug 2005 21:45 | Edited by: Team 
This option only disables updating the database. So you need to remove this column manually, from HTML templates:

main_last_discussions.html, main_last_discuss_cell.html, main_topics_cell.html, main_topics.html.

Author Anonymous
Guest
#7 | Posted: 19 Aug 2005 21:46 
Thank you. =)

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 $enableViews=FALSE but views column is printed (Or: how to remove Views column from templates)
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP