Jump to the post that solved this thread.
Solved: 6 Years, 3 Months, 3 Weeks ago [How To?] Image in the postbit
#4
Solved: 6 Years, 3 Months, 3 Weeks ago
Thanks a lot to you both, I'll let you know how it goes.

<div class="author_information">
			<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
			<span class="smalltext">
				{$post['userstars']}
				{$post['groupimage']}
			</span>
	</div>
	<if $post['usergroup'] = 4 then>
        <div>
            <img src="http://i.imgur.com/Ga9ljcE.png"/>
        </div>
    </if>
	<div class="author_statistics">
		{$post['user_details']}
	</div>

This is what I have now in .postbit but nothing seems to be showing up, and I am in group 4. :/

edit: Strange, when I take out the <if> statement and just the <div> it shows up, but the only group I'm in is group 4 (admins) and that's the most important part.



On an unrelated note, if you wouldn't mind taking a look at: http://ggvend.com/showthread.php?tid=2&pid=4#pid4
I'm not keeping that "donators" image, I found it online and am just testing the css out with it.

Does anything know how I can center that image vertically, though? I made it its own class, and have padding setup to move it over to the right a bit from the author_information, but I'm not sure how to center vertically. I tried setting position:relative and using top:50% but it didn't change. Any ideas? I'm not great with css!
Reply
Jump to the post that solved this thread.


Messages In This Thread
Image in the postbit - by katz - 2015-08-09, 06:36 AM
RE: Image in the postbit - by .m. - 2015-08-09, 07:40 AM
RE: Image in the postbit - by Ad Bakker - 2015-08-09, 07:59 AM
RE: Image in the postbit - by katz - 2015-08-09, 08:13 AM
RE: Image in the postbit - by Ad Bakker - 2015-08-09, 10:16 AM
RE: Image in the postbit - by .m. - 2015-08-09, 09:27 AM
RE: Image in the postbit - by katz - 2015-08-09, 09:47 AM
RE: Image in the postbit - by .m. - 2015-08-09, 10:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)