XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: Hack - Getting Revive Ad Banner to Display in Thread
Magnumxe
Member
***




Posts: 24
Registered: 9-19-2020
Member Is Offline


[*] posted on 9-20-2020 at 09:18 PM
Hack - Getting Revive Ad Banner to Display in Thread


For those of you wanting to have Banner code to display banner cone in your thread - this is how I went about it on my board https://www.daveschultz.com/forum/

Two caveats:
1. I'm a retired businessman/drag racer, and only know enough to be dangerous. If one of you pros feel like I screwed up and did something dangerous - tell me how/why and give a better way to go about it
2. The next time you upgrade, your hack will disappear. This is something better handled as a "Functionality tool" where the Admin has a block to paste his ad code and radio buttons on location options to display it.

That said, I
1. in Administrative edited the template Viewthread
2. I inserted my banner code (Javascript) with proper formatting options just above the call for quick reply.

See the two screen prints for details



Ad1.jpg - 173kBad2.jpg - 158kB
View user's profile View All Posts By User
Magnumxe
Member
***




Posts: 24
Registered: 9-19-2020
Member Is Offline


[*] posted on 9-20-2020 at 09:36 PM
I got a little more bold - for me as a hacker


anyway, if you have banner code you want see towards the top, I modified the Index template as shown in the images. Same caveat as in first post. I don't claim to be any kind of decent coder. Just know enough to screw things up.



ad3.jpg - 244kBad4.jpg - 171kB
View user's profile View All Posts By User
Magnumxe
Member
***




Posts: 24
Registered: 9-19-2020
Member Is Offline


[*] posted on 9-20-2020 at 09:48 PM


And to get to the bottom of the home page, I edited the Index template


ad5.jpg - 237kBad6.jpg - 210kB
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 417
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

[*] posted on 9-20-2020 at 10:11 PM


banner-ad-rotator-3.0.zip
adsense-in-between-posts.txt

from https://www.xmbforum2.com/modifications/

might be useful too.
View user's profile View All Posts By User
Magnumxe
Member
***




Posts: 24
Registered: 9-19-2020
Member Is Offline


[*] posted on 9-20-2020 at 10:44 PM


Quote: Originally posted by lottos  
banner-ad-rotator-3.0.zip
adsense-in-between-posts.txt

from https://www.xmbforum2.com/modifications/

might be useful too.


Kool, I'll get it done. The one I haven't figured out yet is getting at the top and bottom of the thread list for a particular forum, like I have on the Home Page.

I tried various place in the Forumdisplay template, but not showing up.
View user's profile View All Posts By User
alkutob
Member
***




Posts: 23
Registered: 5-13-2012
Location: Jordan
Member Is Offline


[*] posted on 1-20-2021 at 07:53 PM


Quote: Originally posted by lottos  
banner-ad-rotator-3.0.zip
adsense-in-between-posts.txt

from https://www.xmbforum2.com/modifications/

might be useful too.


It is not working with xmb 1.9.12
It needs some modifications



View user's profile Visit user's homepage View All Posts By User This user has MSN Messenger

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2020 The XMB Group
[Queries: 16] [PHP: 23.5% - SQL: 76.5%]