UBB.Dev
Posted By: Gizmo Blended Sponsor Bar - 04/29/2008 2:29 PM
This template takes and changes the format of a post island to blend in with how each post looks.

There was another version of something similar to this, but it didn't blend in at a level that I was comfortable with...

I made this in 7.3 but I don't see why it shouldn't work for prior versions... You can see a demo at UGN on any posting...

Simply open the portal_box_#.tpl of your choosing, and paste in:
Code
{$tbopen}
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" class="subjecttable">
<b>{$name}</b>
</td>
</tr>
<tr>
<td width="17%" valign="top" class="author-content">
<b><span class="adminname">Sponsor</span></b>
<br/>
<span class="small">
<!-- Author Info -->
</span>
</td>
<td width="83%" class="post-content" valign="top">
<div class="post_inner">
{$body}
</div>
</td></tr>
<tr>
<td class="post_top_link" valign="bottom">
<a href="#top">Top</a>
</td>
<td class="post-options" valign="bottom" align="right">
 
<!-- Post Options -->
</td>
</tr>

</table>
</td>
</tr>
{$tbclose}

Now, whatever you insert into that custom box in your control panel, will wrap in a content area that appears to look like a post...

I put comments in the template code above so that you can adjust it to fit your needs; everything should be self explanatory there. This isn't wordletalized as it'd be more of a mod having to set it to parse a language file.
Posted By: AllenAyres Re: Blended Sponsor Bar - 04/30/2008 3:17 PM
Interesting, got a screenshot or link to an example?
Posted By: Stephen G Re: Blended Sponsor Bar - 04/30/2008 6:19 PM


https://www.ubbdev.com/uploads/2521.jpg

smile

Attached picture blended.jpg
Posted By: Gizmo Re: Blended Sponsor Bar - 04/30/2008 11:52 PM
Yeh, what he said wink... (Allen forgot how to read, especially the line about "look at any post on ugn" hehe...)
Posted By: Stephen G Re: Blended Sponsor Bar - 05/01/2008 11:19 AM
heheheheh
© UBB.Developers