Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 280
Total: 281

Author Topic: adding <span class="botslice"> to After First Post & After Last Post locations  (Read 4834 times)

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Hi,

When I use the ad locations of "After First Post" & "After Last Post" I get a square corner on the bottom instead of a round one as shown in the attachment.

I'm thinking that I need to add <span class="botslice"> to the adseller2.template.php file someplace but I can't figure out where.

Any help would be greatly appreciated, thanks.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
After some more looking around maybe I need to make the change in Display.template.php?

Add <span class="botslice"> someplace in this section of code?

Code: [Select]
// Begin Ad Seller Pro Location - After Last Post

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(5);
if ($adSellerAdData != false)
{


echo '<div class="',  ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') , '">
<span class="topslice"><span></span></span>

<div class="poster">

</div>

<div class="post">
' . $adSellerAdData . '
</div>

</div>
';



}

// End Ad Seller Pro Location - After Last Post

Thanks,

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 432
    • View Profile
    • ApplianceJunk.com
Got it figured out, woot woot!!

Ended up adding this.

Code: [Select]
';
echo'
<span class="botslice"><span></span></span>

So the code in my previous post end up like this...

Code: [Select]
// Begin Ad Seller Pro Location - After Last Post

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(5);
if ($adSellerAdData != false)
{


echo '<div class="',  ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') , '">
<span class="topslice"><span></span></span>

<div class="poster">

</div>

<div class="post">
' . $adSellerAdData . '
</div>';
echo'
<span class="botslice"><span></span></span>

</div>
';



}

// End Ad Seller Pro Location - After Last Post

Thanks!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
7152 Views
Last post July 11, 2007, 02:50:36 am
by nolageek
3 Replies
5410 Views
Last post May 04, 2007, 07:02:31 am
by SMFHacks
1 Replies
8882 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
1 Replies
5569 Views
Last post February 02, 2009, 10:57:15 pm
by SMFHacks
8 Replies
8286 Views
Last post September 19, 2011, 02:00:29 pm
by VividViews

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal