Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12224
Latest: marcimila
New This Month: 8
New This Week: 3
New Today: 1
Stats
Total Posts: 39301
Total Topics: 6919
Most Online Today: 46
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 44
Total: 45

Author Topic: Ad beginning of post  (Read 203 times)

0 Members and 1 Guest are viewing this topic.

Offline diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 38
    • View Profile
Ad beginning of post
« on: August 16, 2018, 09:05:24 pm »

How can I make the ADS show at the beginning of the first post and not at the end of the post?
That is to say, I want the message that is normally shown in the first post, to do so at the beginning of the POST and not at the last.
What should I modify?
Thank you !!!
P.D: Very good MOD;)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14679
    • View Profile
Re: Ad beginning of post
« Reply #1 on: August 16, 2018, 09:26:51 pm »
You would edit the display.template.php and just move the ad location code.

Or you can create your own custom ad location and put the php code it generates 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 diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 38
    • View Profile
Re: Ad beginning of post
« Reply #2 on: August 16, 2018, 09:43:45 pm »

Or you can create your own custom ad location and put the php code it generates there.

Thanks for yor reply...

Where can I do that ? Do You mean under "locations" --> Add Location and then I can put my own php code into text area ?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14679
    • View Profile
Re: Ad beginning of post
« Reply #3 on: August 16, 2018, 09:46:27 pm »
It creates your own ad code for a location. You can then use the location in smf php code. Or on external websites/pages
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 diegolyanky

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 38
    • View Profile
Re: Ad beginning of post
« Reply #4 on: August 16, 2018, 10:20:35 pm »
Thanks !!

I modified my display.template.php and changed the location of ADS.

Thanks a lot for your help ;)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14679
    • View Profile
Re: Ad beginning of post
« Reply #5 on: August 16, 2018, 10:22:58 pm »
Glad to help
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/

 

Related Topics

  Subject / Started by Replies Last post
28 Replies
17760 Views
Last post April 13, 2007, 07:56:47 am
by sduford
0 Replies
2790 Views
Last post May 05, 2008, 11:20:57 pm
by MaryLou
1 Replies
2300 Views
Last post July 05, 2008, 11:21:25 am
by cozmin
2 Replies
2610 Views
Last post November 07, 2012, 08:56:20 am
by ApplianceJunk
pay to post

Started by orville « 1 2 » Support

16 Replies
3622 Views
Last post November 03, 2013, 01:34:06 pm
by SMFHacks

+- Recent Topics

Fewer clicks to a download? by SMFHacks
November 14, 2018, 07:31:39 pm

SMFGalleryPro by SMFHacks
November 13, 2018, 04:52:08 pm

SMF Hacks Black Friday Sale! by SMFHacks
November 13, 2018, 11:17:24 am

error message from IPN by SMFHacks
November 11, 2018, 08:04:19 am

condition de livraison by SMFHacks
November 04, 2018, 12:36:49 pm

Issues with SMF 2.1 by SMFHacks
November 03, 2018, 12:00:12 am

banner visible only to admin by esoterico
November 02, 2018, 03:37:47 pm

SMF Classifieds 5.0 Released! by SMFHacks
October 31, 2018, 10:24:03 pm

SMFPacks WYSIWYG Editor doubts! by SMFHacks
October 31, 2018, 06:40:25 pm

A couple of questions by SMFHacks
October 30, 2018, 06:53:23 pm

Powered by EzPortal