MyBB Community Forums

Full Version: Remove "www" button below each thread posts besides PM button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I wish to remove the "www" button which appears below each thread post besides the PM button.
Open "postbit" and "postbit_classic" templates of your theme and find the following and remove;
{$post['button_www']}
Edit : not seen Yaldaram's response Smile

see responses at Remove user website (though for earlier version of MyBB, it should still work ..)
In your Post Bit Templates- postbit_classic template find line:

{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}


and delete what you want Smile in your example "{$post['button_www']}"
Thanks everyone for your help
Hmmm. I think I'll do this to my board soon.
I commented out the Post Bit Templates- "postbit_www" template
<!--
<a href="{$post['website']}" target="_blank"><img src="{$theme['imglangdir']}/postbit_www.gif" alt="{$lang->postbit_website}" title="{$lang->postbit_website}" /></a>
-->
I always am an advocate for commenting instead of deleting. Makes it easy to restore in the future instead of having to find the code any copy/paste it in.
(2012-02-26, 11:27 PM)GamerVoid Wrote: [ -> ]I always am an advocate for commenting instead of deleting. Makes it easy to restore in the future instead of having to find the code any copy/paste it in.

But you can't use comments inside the templates Toungue
(2012-02-27, 07:06 AM)Yaldaram Wrote: [ -> ]
(2012-02-26, 11:27 PM)GamerVoid Wrote: [ -> ]I always am an advocate for commenting instead of deleting. Makes it easy to restore in the future instead of having to find the code any copy/paste it in.

But you can't use comments inside the templates Toungue

Sure you can. HTML comments. <!-- -->

I use them on my board in the navbar, sidebar, and other places.
Pages: 1 2