Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2013, 01:07:00 pm

Login with username, password and session length
Members
Total Members: 10771
Latest: Siphix
Stats
Total Posts: 32413
Total Topics: 5483
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 42
Total: 44
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: How do I....?  (Read 4506 times)
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #15 on: March 03, 2011, 08:30:33 am »

I do, here is the settings page.
Nothing checked on the bottom
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #16 on: March 03, 2011, 02:03:34 pm »

I think I fixed I had the code where it was under child boards try this file
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #17 on: March 03, 2011, 02:12:53 pm »

The ad has now appeared....!!   Smiley  Smiley
Two things though.
1) It's after the first thread of the area
2) It's not centered.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #18 on: March 03, 2011, 02:17:07 pm »

Try this
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #19 on: March 03, 2011, 02:22:25 pm »

Awesome!!!  Grin Grin
Is there a way to center it up?
I have it set for center in the ad set up.

My other question is do I just copy and paste the edit you did with a couple of changes to get it into the correct section?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #20 on: March 03, 2011, 02:23:15 pm »

For centered.

Yeah you can just create a new location then post it in the file where it goes and it will show up there.
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #21 on: March 03, 2011, 02:31:12 pm »

Thanks very much for all your help!! That's exactly what I was looking for.
I will attempt to add one on my own.
If it all goes well I'm a happy cat!!!
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #22 on: March 03, 2011, 10:41:18 pm »

I was able to find the end of the code you input in the file, "// End Ad Seller Pro Location - Bottom of VJB Announcements in Forum"
I'm not sure where it starts so that I can edit it and add the other sections of my forum to this.
« Last Edit: March 04, 2011, 08:05:17 am by dsantana3 » Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #23 on: March 05, 2011, 12:05:48 pm »

For centered.

Yeah you can just create a new location then post it in the file where it goes and it will show up there.
So can you modify the file one more time to show where the edit is you've done begins so I know what I need to copy/mod and then paste please?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #24 on: March 05, 2011, 10:20:53 pm »

Basically you copy the code that is generated when add a new location then from that point you paste in the template file where it should show custom coding maybe required if you need to appear after a certain area like a topic # or board #
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #25 on: March 06, 2011, 06:27:45 pm »

It appears as if this the code you added? I cannot figure what I am supposed to do to it with my other custom locations to get it into the other spots in my forum.
Since you did such a great job of adding this to my code with the info I provided. Can I just send you the ad code and the board # where it's to go and edit the php file again?
The code that's tabed to the right is what seems to be different but, I don't get it.


global $sourcedir;
include_once $sourcedir . "/adseller2.php";
                  
$adSellerAdData =  ShowAdLocation(1001);
                     
// Check if any ads where found
if ($adSellerAdData != false)
                        {
// Dispaly the advertising code
                        echo '
                                  <tr>
                             <td colspan="4" class=windowbg" align="center">';
echo $adSellerAdData;
                        echo '</td>
                                  </tr>';
}
               
// End Ad Seller Pro Location - Bottom of VJB Announcements in Forum



Below is what I copied from the "Get Code" and pasted here for you to use but there are some differences to it that I can't seem to decipher.


// Begin Ad Seller Pro Location - Bottom of VJB Announcements in Forum

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

$adSellerAdData =  ShowAdLocation(1001);

// Check if any ads where found
if ($adSellerAdData != false)
{
   // Dispaly the advertising code
   echo $adSellerAdData;
}

// End Ad Seller Pro Location - Bottom of VJB Announcements in Forum
« Last Edit: March 07, 2011, 08:32:25 am by dsantana3 » Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #26 on: March 16, 2011, 01:27:29 pm »

Still waiting on an answer here?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #27 on: March 16, 2011, 01:44:39 pm »

Been busy hopefully will get a chance to look at it this week.
Logged
dsantana3
Inline PM Customer
*****
Offline Offline

Posts: 46


View Profile
« Reply #28 on: March 16, 2011, 01:46:09 pm »

Awesome... Thanks...
I really think I can do it but, I need a little more guidance...
Logged
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 11:40:49 am]

[May 24, 2013, 06:36:59 pm]

[May 24, 2013, 05:22:09 pm]

[May 24, 2013, 05:20:20 pm]

[May 24, 2013, 05:11:52 pm]

[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.33 seconds with 21 queries.