PDA

View Full Version : How do I remove attachment icon in postbit


G37Sam
06-17-2010, 08:10 PM
Hello

The attachment icon in postbit is clashing with the page numbers, I want to get rid of it or at least move it up a bit. Any help?

Here's a screen shot of what I'm talking about

http://img228.imageshack.us/img228/6919/19707744.jpg

Appreciate your help

Sam

ChopSuey
06-18-2010, 09:38 AM
Edit your search results templates.

G37Sam
06-20-2010, 01:56 PM
Can that be done from Admin CP? If so can you please shed more light on it?

Appreciate your help

ChopSuey
06-20-2010, 02:36 PM
AdminCP > Styles & Templates > Style Manager > Your style

G37Sam
06-20-2010, 03:11 PM
And then?

G37Sam
06-21-2010, 09:13 PM
Come on don't leave me hanging here lol

ChopSuey
06-23-2010, 01:11 PM
Your style > Search templates > take a guess. ;)

G37Sam
06-24-2010, 12:49 AM
Come on man.. I always end up with some HTML code down that road, I'm not very good at HTML coding

What is it that I need to remove from my code?

ChopSuey
06-24-2010, 10:10 AM
AdminCP > settings > Options > general settings

Add template name in html comments - Set to YES

Check the "postbit" area after.

G37Sam
06-24-2010, 01:03 PM
I'm not interested in removing it from postbit man

I just want to remove it from the damn threadbit

ChopSuey
06-24-2010, 01:24 PM
Remove this from search_threadbit

<vb:if condition="$show['paperclip']">
<a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
</vb:if>

--------------- Added 1277389582 at 1277389582 ---------------

NOTE do it for all styles if you have multiple styles ;)

Your welcome.

G37Sam
06-24-2010, 07:40 PM
See... that wasn't so hard to spill out was it?

ChopSuey
06-24-2010, 07:47 PM
It was hard actually, i did the edit myself to make sure it worked.

G37Sam
06-24-2010, 07:52 PM
haha it's all good man I appreciate it, it's working great :) I also got carried away and removed the "deleted posts" icon as it got in the way as well.

If you come down to Dubai a round of drinks will be on me ;)

ChopSuey
06-24-2010, 07:57 PM
hahah, when i tried to add the edit back to the template i had it end up underneather the thread title lmao. I just reverted it.

Dubai? You see my location? lol that's too far.

G37Sam
06-24-2010, 10:31 PM
Dayum just noticed! You're on a different planet mate haha

ChopSuey
06-26-2010, 01:55 AM
Dayum just noticed! You're on a different planet mate haha

:alienized: ahahha. Good luck with your forum.