[3.2][BETA] Sticky Ad (for ebay/amazon/other supported links found in posts)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
Toxyy
Registered User
Posts: 697
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

[3.2][BETA] Sticky Ad (for ebay/amazon/other supported links found in posts)

Post by Toxyy » Wed May 08, 2019 10:05 am

Extension Name: Sticky Ad
Author: Toxyy

Extension Description: Parses the page's posts to see if there are any ebay/amazon/alibaba (and other supported) item links, and if so it shows them in a responsive sticky ad box. Meant to be used in conjunction with an existing script on your forum that auto changes ebay/amazon/alibaba links with your own monetized ones. If not then there's really no point in installing this.

Priority of ads: ebay > amazon > alibaba > aliexpress

Extension FAQ:
How does it work?
- I parse all posts to see if there are any ad links, and if so I get a partial mobile version of the site and cache the ad's data for 7 days. If a cache already exists I simply pull the ad info from that.

If you are having problems with the collapsing button and need to enable a jquery version of it, change STICKYAD_JAVASCRIPT to true at the bottom of listener.php

You're welcome to customize the css file, I didn't really clean that up at all.

As this was special ordered, I likely won't be adding ACP support for these unless a lot of people start using this, but I made it relatively easy to add it for yourself.

Extension Version: 1.0.2

Extension Download: Download

Github Repository: https://github.com/toxyy/stickyad/

Requirements:
  • phpBB 3.2.5-RC1+
  • PHP 7+ (probably works on php 5 though)
Features:
  • Post comment under posts or comments, which gets properly indented
  • Limit depth of comments per page
  • Limit number of comments per parent per depth level
  • Supports topic order options (subject/name/post time) - (50% DONE - todo: store inverted subject/username in db for ascending support)
Screenshots:
(it's behind the page up button, if your site has one, for compatibility)

Image
Image
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics

Post Reply

Return to “Extensions in Development”