Welcome to Geeklog, Anonymous Sunday, November 09 2025 @ 01:33 am EST
Geeklog Forums
Need hack for centerblock staticpage
Status: offline
orfilms
Forum User
Regular Poster
Registered: 08/02/05
Posts: 70
I'm looking for a hack which would allow me to put an advertisement after 3 or 4 articles. It doesn't need to be a static page centerblock but I was thinking that would be the easiest.
Anyone know how to do this?
Anyone know how to do this?
14
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Near the end of the file, there are 2 calls to STORY_renderArticle(). The first one is for the featured story, the second one is in a while loop and displays the other stories. You would have to add a counter there and inject your code after the 3rd story (or something like that).
HTH
bye, Dirk
HTH
bye, Dirk
22
16
Quote
Status: offline
orfilms
Forum User
Regular Poster
Registered: 08/02/05
Posts: 70
It's now officially confirmed that I don't know what the hell I'm doing... and I don't really have the time to learn unfourtunately...
So if ANYONE could create this hack code for me I'll paypal you 20 bucks.
So if ANYONE could create this hack code for me I'll paypal you 20 bucks.
17
17
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Would it be OK if the add would be placed between the first and second article?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
16
16
Quote
All times are EST. The time is now 01:33 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content