miniBB ® miniBB®
miniBB Support Forums
 | Forums | 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
Registered
#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
Registered
#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
Registered
#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) Top

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

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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 ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB