What's new

Thanks Posts

Status
Not open for further replies.

Alister

Active Talker
PF Member
Messages
201
Highlights
0
Reaction score
20
Points
364
Peak Coin
0.000000¢
DB Transfer
0.000000¢
phpBB version: 3.0.8
Forum link: <!-- m --><a class="postlink" href="http://themovieforum.co.uk/index.php">http://themovieforum.co.uk/index.php</a><!-- m -->
Hosts: Host Gator
How did you install your forum: Fresh
Is your forum a fresh install or a conversion:
Do you have any MODs installed:
Is registration required to reproduce this issue: Yes
What styles do you currently have installed: Absolution
Please describe your problem: I was trying to install the following mod but the thanks button shows up as a dot.

<!-- m --><a class="postlink" href="http://www.phpbb.com/customise/db/mod/thanks_for_posts/">http://www.phpbb.com/customise/db/mod/thanks_for_posts/</a><!-- m -->

I think the problem is within my imageset/imageset.cfg file. Because I cannot find
Code:
img_icon_user_warn = icon_user_warn.gif*20*20

Therefore, I find img_icon_user because I cannot the full line.

Then, I pasted
Code:
 img_thankposts = thankposts.gif*20*20
    img_removethanks = removethanks.gif*20*20

after that line and edited the 20x20 to 20x40 (size of the image) and saved.

Refreshed the style/cache. Still the same dot.
 
Well, you don`t need to edit that 20*20 to 20*40. It is supposed to be half the height of the image cause of the hover effect.

But the button integration is a bit different on the absolution theme. After this find in the "viewtopic_body.html":
Code:
					<!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
You should add this:
Code:
<!-- IF  not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
	<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><a class="controlbutton cb-thanks" href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"><span>Thanks</span></a><!-- ENDIF -->					
					<!-- ENDIF -->
Then you should add this at the end of the colours.css file:
Code:
.cb-thanks {background: transparent url("./styles/absolution/theme/images/cb-thanks.png") no-repeat scroll top left;}

And finally, you should edit one of these pictures:
cb-warn.png

And edit the icon on it to whatever you like. Upload that image to "root/styles/absolution/theme/images" with the name "cb-thanks.png". The name of the picture is important too.

Then refresh the theme, template and the imageset too. If it doesn`t appear after a few refresh press CTRL+F5 to clear the style cookies in your browser.
Although you should know that you can only see that button if it is your topic if I`m right.
 
Status
Not open for further replies.
Back
Top