Internet communities often come off as harsh and uninviting - I don’t think there are much difference between this forum and others in that regard.
When helping out answering questions we often come across a typical kind of user. One who follows outdated practises and don’t care about updating himself and his code to modern standards (which can often mean 10+ year old standards). After some time this gives many people a kind of rough edge for questions like this.
Hopefully you can see past the “rudeness” of the internet, and appreciate that most people actually do contribute with some kind of constructive feedback. Often when you have a problem the problem itself may be the issue, and avoiding the problem alltogether is a better solution that actually trying to fix it. If that makes sense.
Regarding your current issue you will have to either rewrite the site (as mentioned before) to modern standards. This will probably involve quite a bit of “front end” work, meaning potentially rewriting the HTML and CSS to be responsive (fit all screens). Many use a framework, like bootstrap to ease the work - and at the same time get a lot of front end components that work well together.
Keeping the site as is - is ofcourse also an option. Then you will to circumvent the mobile detect script so you can force the site to be in desktop mode. It’s hard to offer any sort of real advise without seeing any code, but as an example solution you may do something like this:
index.php
[php]<?php
include ‘mobile_detect.php’;
// code for your desktop site[/php]
[hr]
Then allow us to force desktop mode.
[php]<?php
if (!isset($_GET[‘desktop’])) {
include ‘mobile_detect.php’;
}
// code for your desktop site[/php]
You can now link to index.php?desktop to show the desktop site
[hr]
A better option may be to store the choice in session
[php]<?php
session_start();
$_SESSION[‘desktop’] = isset($_SESSION[‘desktop’]) || isset($_GET[‘desktop’]);
if (!$_SESSION[‘desktop’]) {
include ‘mobile_detect.php’;
}
// code for your desktop site[/php]
The choice will be persisted throughout the session even if the variable is lost from the url.