Seguime server, partially non-free net?

Good afternoon,

I have seen Seguime was upgraded recently.

I have it installed on my phone and connected to a self-provided server by the software Javier list in the official webpage.

The app is promoted as does not use propietary software (even in the server side) and does not embedded ads on it.

However, after a problem trying to log in by the web application (server side) even when I made a clean installation (deleted and re-created databases, etc) I decided to check a bit of the source code of the server and I found this in the database creation and connection file (base.php) used on both administration web panel and Android application:

function publicidadamazon () {
	if  ($_SERVER['REMOTE_ADDR'] == "127.0.0.1")
		return "Espacio de Publicidad";
	return "
			<iframe src='https://rcm-eu.amazon-adsystem.com/e/cm?o=30&p=48&l=ur1&category=gift_certificates&banner=1SYGJ5YPBSBT9BEY35G2&f=ifr&linkID=59dd6a9397eb31e4873e82bc4648a469&t=javierpc-21&tracking_id=javierpc-21' width='728' height='90' scrolling='no' border='0' marginwidth='0' style='border:none;' frameborder='0'></iframe>	
	";
}
	

function publicidad($posicion = "horizontal") {
	if  ($_SERVER['REMOTE_ADDR'] == "127.0.0.1")
		return "Espacio de Publicidad";
	
	
	
	
	if ($posicion== "adaptable")
		return "<script async src=\"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>
			<!-- adaptable -->
			<ins class=\"adsbygoogle\"
				 style=\"display:block\"
				 data-ad-client=\"ca-pub-8178043305036289\"
				 data-ad-slot=\"8877875993\"
				 data-ad-format=\"auto\"></ins>
			<script>
			(adsbygoogle = window.adsbygoogle || []).push({});
			</script>";
	
	
	
	
	if 	($posicion == "vertical")
		return "<script type=\"text/javascript\">
			google_ad_client = \"ca-pub-8178043305036289\";
			width = document.documentElement.clientWidth;
			
			/* cartelito texto */
			 google_ad_slot = \"1022139534\";
			google_ad_width = 120;
			google_ad_height = 90;


			if (width > 900) {
				/* cartel vertical grande */
				google_ad_slot = \"2611850548\";
				google_ad_width = 300;
				google_ad_height = 1050;
			}
			
			</script>
			<!-- vertical300x1050 -->
			<script type=\"text/javascript\"
			src=\"//pagead2.googlesyndication.com/pagead/show_ads.js\">
			</script> ";
					

					
					
					
	if 	($posicion== "horizontal")
		return "
			<script type=\"text/javascript\"><!--
			google_ad_client = \"ca-pub-8178043305036289\";
			width = document.documentElement.clientWidth;


			/* cartelito texto */
			 google_ad_slot = \"1022139534\";
			google_ad_width = 120;
			google_ad_height = 90;


			if (width > 300) {
			/* cartel chico */
				google_ad_slot = \"7287852458\";
				google_ad_width = 234;
				google_ad_height = 60;
			}

			
			
			if (width > 500) {
			/* cartel medio */
				google_ad_slot = \"1041895809\";
				google_ad_width = 468;
				google_ad_height = 60;
			}
	

			if (width > 1000) {
			/* cartel grande */
				google_ad_slot = \"4100617069\";
				google_ad_width = 970;
				google_ad_height = 250;
			}

			//-->
			</script>
			<script type=\"text/javascript\"
			src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
			</script> ";

}

Ok, so those functions are in the server, BUT are those actually used? When you host…does it connect to Amazon or whatnot?

It appears that is charged when I log in into the panel but I have no idea how to solve my problem to log in. I will notify on this thread on that case.

Loaded? Used? What does “charged” mean?

What happens when you delete these functions?

Loaded* I cant login and I am not an expert in PHP I can only guess.

I sent an email to the developer and he answered me about the problem of login and announcements.

Here the translated version of it:

Thanks for notifying
The index file was outdated
Here I attach the file index.php,
with that he should be able to log in
The file base.php has an advertising code because it is what I use on the website, it is exactly the same file.
On the site and on gitlab I already uploaded a new version of the application.
regards!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.