Ads Manager 2 Alpha 1 preview

Siropu

Well-known member
First of all, I want to apologize for having an Alpha version at this point instead of a Beta but I just couldn't finish it for various reasons. :notworthy:

I have decided to release it in Alpha stage because there are customers who are eager to test it out. This version cannot be purchased at the moment and it is not recommended for production. Customers of Ads Manager 1 can download Ads Manager 2 Alpha 1 for testing.

The ad system is functional and works fine from the testing I've done. What remains now is the advertiser functionality which is incomplete at this stage and some other features and functionality in front-end.

A few of the new things in Ads Manager 2

Predefined dynamic positions
  1. Below first thread post
  2. Below last thread post
  3. Below random thread post
  4. Below first unread thread post
  5. Below every 3rd thread post
  6. Below every 5th thread post
  7. Below first conversation message
  8. Below last conversation message
  9. Below random conversation message
  10. Below first unread conversation message
  11. Below every 3rd conversation message
  12. Below every 5th conversation message
  13. Below first profile post
  14. Below last profile post
  15. Below random profile post
  16. Below every 3rd profile post
  17. Below every 5th profile post
  18. Below first search result item
  19. Below last search result item
  20. Below random search result item
  21. Below every 3rd search result item
  22. Below every 5th search result item
  23. Below first tag result item
  24. Below last tag result item
  25. Below random tag result item
  26. Below every 3rd tag result item
  27. Below every 5th tag result item
  28. Below first thread list item
  29. Below last thread list item
  30. Below random thread list item
  31. Below every 3rd thread list item
  32. Below every 5th thread list item
In total there are 96 positions available.

Image banners in text ads
Keyword ads in profile posts
(You can set for each keyword ad to apply to threads, conversations, profile posts)
New device criteria options
Device platform: iOS, Android, Windows, macOS, Linux
Device browser: Chrome, Firefox, Safari, Opera, Microsoft Edge, Internet Explorer

Carousel with custom options to rotate multiple ads

More features to come.

If you have any suggestions or found any bugs, please post them here.
 

Attachments

  • adsACP.png
    adsACP.png
    325.1 KB · Views: 63
  • adsCerateDevCritACP.png
    adsCerateDevCritACP.png
    85.2 KB · Views: 63
  • adsCreateACP.png
    adsCreateACP.png
    736.1 KB · Views: 61
  • adsCreatePosCritACP.png
    adsCreatePosCritACP.png
    382.3 KB · Views: 60
  • adsUser.png
    adsUser.png
    51.4 KB · Views: 56
  • packagesACP.png
    packagesACP.png
    63.8 KB · Views: 52
  • packagesCreateACP.png
    packagesCreateACP.png
    275.5 KB · Views: 47
  • packagesCreateBannerACP.png
    packagesCreateBannerACP.png
    627.2 KB · Views: 47
  • packagesCreateSettingsACP.png
    packagesCreateSettingsACP.png
    134.2 KB · Views: 43
  • packagesUser.png
    packagesUser.png
    40.6 KB · Views: 39
  • promoACP.png
    promoACP.png
    20.6 KB · Views: 40
  • promoEditACP.png
    promoEditACP.png
    110.1 KB · Views: 37

Sunka

Well-known member
Great job, as always @Siropu.

Please could you give options to show not default ads position so if we add them in one moment, we can delete them once we do not need them.
For keywords - style settings (color, underline/no underline, first keyword in post only or all in post)
Any chance to add tooltips too? (selected keyword give some tooltip on hover but without to be a link in same time)
Braintree payment?
Default first page when click on menu tab - with option to customize text on it.
 

Siropu

Well-known member
Please could you give options to show not default ads position so if we add them in one moment, we can delete them once we do not need them.
Where, in position list when creating ads or in the position list page?

For keywords - style settings (color, underline/no underline, first keyword in post only or all in post)
I will add style option and the post keyword limit is already an option.

Any chance to add tooltips too? (selected keyword give some tooltip on hover but without to be a link in same time)
Tooltip is an already an option but currently works only with urls. I can make links optional.

Braintree payment?
I plan to integrate it with the built in XenForo payment system which has that option included.

Default first page when click on menu tab - with option to customize text on it.
I will add the option to change the text using the rich-text editor.
 

Sunka

Well-known member
or in the position list page
In ACP where you can add/delete positions.
In v1 you could not know is some position default added by addon or is it custom position added by me

I will add style option and the post keyword limit is already an option.
Styling is good progress (y)
Tooltip is an already an option but currently works only with urls. I can make links optional.
Yep, that is what I need. If tooltip is present like link, nobody knows that is tooltip. Just add some font color so user is not confused
I plan to integrate it with the built in XenForo payment system which has that option included.
Nice.
I will add the option to change the text using the rich-text editor.
I did that by changing one of your phrases, but have to add by my self complete new page with that custom text.
When user click on menu tab, default first page is where he can add/buy ads, but I added new page where is all explained (how to buy, prices...).
 

duderuud

Well-known member
Hi Siropu, uninstalled Alpha 1, deleted the addon-files and uploaded Beta 0.

When trying to install Beta 0, it gives me the following error:

Code:
XF\Db\InvalidQueryException: MySQL query error [1072]: Key column 'code' doesn't exist in table in src/XF/Db/AbstractStatement.php at line 212

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 69
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 74
    XF\Db\AbstractAdapter->query() in src/XF/Db/Schema/AbstractDdl.php at line 151
    XF\Db\Schema\AbstractDdl->apply() in src/XF/Db/SchemaManager.php at line 164
    XF\Db\SchemaManager->createTable() in src/addons/Siropu/AdsManager/Setup.php at line 190
    Siropu\AdsManager\Setup->installStep1() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
    Siropu\AdsManager\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
    Siropu\AdsManager\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 378
    XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 249
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
    XF\App->run() in src/XF.php at line 328
    XF::runApp() in admin.php at line 13
 

Siropu

Well-known member
I have made some changes and forgot to update the setup file. Please re-download it and try again.
 

Siropu

Well-known member
That means that the add-on files are not in place. I just did an install test on siropu.com and works fine.
 

Nirjonadda

Well-known member
That means that the add-on files are not in place. I just did an install test on siropu.com and works fine.

All are here. I have updated from 1.26.4 then uninstalled. Now doing fresh install but can not. Does its need XF1 files for install.

Oops! We ran into some problems.

All purchasable_type_id values must be unique.
 
Last edited:

Mike Edge

Well-known member
Beta 0 is available for download. This is a pre-release for official Beta 1 and it's almost complete.

I don't see it on your site to purchase. I don't own for 1.x. Do I need to purchase 1.x to get the 2.x download option?
 

Nirjonadda

Well-known member
It was a field that wasn't removed from one of the xf's tables. That's fixed in the current release.

Great, Please add support for option "Ads Manager [General]", "Ads Manager [Advertiser]" and "Ads Manager [Admin]" in same Tab without separate. Create tabs for each group of options and assign option to each tab. You can read more about Tabbed Options here

tiMMHW3IR0eWXFw6duqabQ.png


Example Option TAB:

H6Wi0i8jTyKM5TCoEuaU0Q.png
 
Top