PDA

View Full Version : Board Optimization - Duckways: Remove AJAX functions


Jorandh
03-06-2018, 10:00 PM
https://vborg.vbsupport.ru/external/2018/03/5.png
Remove AJAX functions



What is this mod all about?
One of the things that bugs me a bit about vBulletin 5 is that our ad revenue dropped heavily due to pages refreshing with AJAX. Next to that, a lot of users reported to us that the AJAX functions cause a lot of different issues on the user-end. We decided to write a simple plugin to control AJAX functionality.

https://vborg.vbsupport.ru/external/2018/03/6.png

We're currently looking into more options as vBulletin is filled with AJAX requests. We'll update this plugin with any additional options when we find one. Please feel free to do a request by PM here on vBulletin.org.


About Duckways
We're a company with a team of developers who have been working a lot on a vBulletin 4 system for two of our customers. The largest one with over 200,000 users and 4 million posts.
This one migrated to vBulletin 5 recently and we've faced quite some issues in vBulletin 5 which we'll fix by writing custom modifications. Some of those, which are worth sharing, will be added here on vBulletin.org. If you're missing a feature or add-on, please feel free to contact us.

How to install:

- Download the zip file below
- Unzip it and upload the folder "duckwaysajax" to the "core/packages" folder in your vBulletin install.
- Go to settings and disable functions based on your preference

Version history

1.0.0 - Initial release
1.0.1 - Fixes for vBulletin 5.4.x



Support
Please use this thread to ask questions or to report bugs.

iask
03-07-2018, 12:14 PM
Go to settings and disable functions based on your preference

In setting is not to be found

Jorandh
03-07-2018, 07:06 PM
Go to settings and disable functions based on your preference

They do show up for me as a setting group. Could you try re-installing the xml file please and let us know? Thanks!

Emad ELsayed
03-08-2018, 01:34 PM
Dear Jorandh
Greetings to you

iask
03-09-2018, 01:26 PM
Work not for
vBulletin 5.4.0

Jorandh
03-14-2018, 12:00 AM
Work not for
vBulletin 5.4.0

Thanks for the heads up! We've updated our development environment and will release the update of this plugin soon.

Emad ELsayed
03-16-2018, 11:52 AM
Waiting for the next release vb 5.4.x
Best Regards

iask
03-20-2018, 04:15 AM
next release ?

Jorandh
03-27-2018, 05:54 AM
next release ?

On it's way! We'll release it in the next couple of days.

plongeur.com
03-30-2018, 08:10 AM
i have the same issue as iask, the setting are not shown in the options...

I am on 5.3.4 at the moment.

plongeur.com
04-05-2018, 01:52 PM
hi, any news about the next release ? the couple of days went by a while ago now :)

plongeur.com
04-11-2018, 09:54 AM
Never mind, i ended up opening the XML and creating the templates and hook manually, this works like a charm !

Jorandh
04-19-2018, 07:51 AM
Never mind, i ended up opening the XML and creating the templates and hook manually, this works like a charm !

Good to hear you managed to get it working yourself! We're currently off for a holiday and I'll ask my colleague to upload the new version here on monday.

iask
04-25-2018, 01:37 PM
Never mind, i ended up opening the XML and creating the templates and hook manually, this works like a charm !

Can you share this ?

iask
06-15-2018, 05:18 PM
Good to hear you managed to get it working yourself! We're currently off for a holiday and I'll ask my colleague to upload the new version here on monday.

Hello you sleeping ?

Jorandh
06-27-2018, 07:05 AM
Hello you sleeping ?

Actually, yes, I've been sleeping 16-18 hours a day for weeks after I was taken into hospital for meningitis. I'm currently working 8-12 hours a week, so updates will come but it'll take some time.

Jorandh
07-03-2018, 07:41 PM
Plugin updated to v1.0.1, contains bug fixes and support for vBulletin 5.4.x!
Let me know if this works for you guys :)

iask
07-16-2018, 12:40 PM
Thanks

keyla31
08-05-2018, 11:12 AM
What is an example of ajax functions so i know what will be getting illuminated? Ive heard the term but i really understand noticed changes will be?

Jorandh
08-06-2018, 12:47 PM
What is an example of ajax functions so i know what will be getting illuminated? Ive heard the term but i really understand noticed changes will be?

Well, for an example:

Due to the pagination in ajax (only loading new page content into the page without refreshing the page itself) the amount of views on our ads dropped heavily. After removing the ajax functions it will refresh the page itself, and we're back to normal on amount of ad views :)

delicjous
08-07-2018, 06:15 AM
Interesting add-on. get well soon!

rustyshack
04-24-2020, 05:56 PM
Sorry for commenting.

delicjous
04-25-2020, 08:17 AM
I built my own advertising modules that refresh on every page load.
No need to turn off ajax unless you use the built in advertising.

Behause of the Ajax functions like change the thread Page or load More threads the Pages did not load on every action. This mod loads the page for that actions.

rustyshack
04-26-2020, 03:11 PM
Behause of the Ajax functions like change the thread Page or load More threads the Pages did not load on every action. This mod loads the page for that actions.

No Kidding. Of course it does. Why are you telling me this.
Obviously you don't know what I am talking about.
Leave me alone.

cirdok2
06-26-2021, 01:43 PM
in the last month stopped working, from the console I now see that load.js is blocked (see attachment). I suppose is part of the plugin. Any hint?

Thanks!

cirdok2
06-26-2021, 02:35 PM
in the last month stopped working, from the console I now see that load.js is blocked (see attachment). I suppose is part of the plugin. Any hint?

Thanks!

nevermind. For some reason after importing the style from the test version, the hook
{vb:hook footer_before_body_end}

was not in the footer template anymore. Adding it worked and this mod is working just fine for 5.6.4. patch 1.

I really wish this was a functionality since it impacts revenues big time.

Zweeper
07-08-2021, 12:50 PM
Thanks, works fine (5.6.4)