Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4253
Latest: Ineedsmfhelp
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43242
Total Topics: 7516
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 110
Total: 110

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

0 Members and 1 Guest are viewing this topic.

Offline diegolyanky

  • Member
  • *
  • Posts: 42
    • 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: 16428
    • 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

  • Member
  • *
  • Posts: 42
    • 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: 16428
    • 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

  • Member
  • *
  • Posts: 42
    • 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: 16428
    • 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
0 Replies
6175 Views
Last post June 11, 2006, 09:59:37 pm
by ivo2296
28 Replies
23651 Views
Last post April 13, 2007, 07:56:47 am
by sduford
1 Replies
3624 Views
Last post July 05, 2008, 11:21:25 am
by cozmin
2 Replies
4818 Views
Last post November 07, 2012, 08:56:20 am
by ApplianceJunk
pay to post

Started by orville « 1 2 » Support

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

+- Recent Topics

is it possible to add support for odysee.com by SMFHacks
March 13, 2024, 10:53:28 pm

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

User Gallery Feature: move / bulk move images by SMFHacks
January 30, 2024, 05:48:25 pm

In the future it may be for smf 2.1.x? by smithloo
January 30, 2024, 12:55:34 am

Powered by EzPortal