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: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 127
Total: 127

Author Topic: How do I....?  (Read 10355 times)

0 Members and 1 Guest are viewing this topic.

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« Reply #15 on: March 03, 2011, 08:30:33 am »
I do, here is the settings page.
Nothing checked on the bottom

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How do I....?
« 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« Reply #17 on: March 03, 2011, 02:12:53 pm »
The ad has now appeared....!!   :)  :)
Two things though.
1) It's after the first thread of the area
2) It's not centered.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How do I....?
« Reply #18 on: March 03, 2011, 02:17:07 pm »
Try this
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« Reply #19 on: March 03, 2011, 02:22:25 pm »
Awesome!!!  ;D ;D
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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How do I....?
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« 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!!!

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« 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 »

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How do I....?
« 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 #
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« 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 »

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« Reply #26 on: March 16, 2011, 01:27:29 pm »
Still waiting on an answer here?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: How do I....?
« Reply #27 on: March 16, 2011, 01:44:39 pm »
Been busy hopefully will get a chance to look at it this week.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dsantana3

  • Member
  • *
  • Posts: 46
    • View Profile
Re: How do I....?
« 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...

 

+- 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