Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43294
Total Topics: 7523
Most Online Today: 124
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 98
Total: 98

Author Topic: adding <span class="botslice"> to After First Post & After Last Post locations  (Read 4850 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
7179 Views
Last post July 11, 2007, 02:50:36 am
by nolageek
3 Replies
5426 Views
Last post May 04, 2007, 07:02:31 am
by SMFHacks
1 Replies
8925 Views
Last post September 28, 2007, 11:46:07 am
by smalldonkey
1 Replies
5576 Views
Last post February 02, 2009, 10:57:15 pm
by SMFHacks
8 Replies
8337 Views
Last post September 19, 2011, 02:00:29 pm
by VividViews

+- Recent Topics

Please Help! by fmofmpls
Today at 01:47:09 pm

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal