Aveatrex 0 Report post Posted October 26, 2016 Hello everyone,my question is how i can add javascript tags,iFrame codes to my top2 website hosted from zend/apache. Best Regards Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted October 27, 2016 Hello @Aveatrex! Give us more information. What do you want make and what web site do you use? Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Aveatrex 0 Report post Posted October 27, 2016 Hi @V3ct0r I'm using LPO website and i want to add ad tags such as this <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]--> <script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script> <script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script> <!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]--> Quote Share this post Link to post Share on other sites
TheLegend 13 Report post Posted October 27, 2016 (edited) 41 minutes ago, Aveatrex said: Hi @V3ct0r I'm using LPO website and i want to add ad tags such as this <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]--> <script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script> <script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script> <!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]--> do u wanna add the ad tag to every page if so than go to your-website\templates\core >> and open the header.tpl with any code editor and add it any where after the JS tag it should look something like <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta charset="utf-8"> <title>{$servername}{$pagename}</title> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" /> <!-- CSS --> <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" /> <!-- JS --> <script type="text/javascript" src="js/custom.js"></script> <script type="text/javascript" src="js/jquery.ui.widget.js" type="text/javascript"></script> <script type="text/javascript" src='js/jquery.easing.js'></script> <!-- Your code --> <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]--> <script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script> <script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script> <!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]--> PS: if you are doing this to get some extra cash from ads i wouldnt really bother with it since you will at least need thousands of click daily to even make few dollars so most of them will give you 1$ for every 3-10k clicks, which means even with the most active top servers wont make more than 5-15$ a month so it really isnt worth all the ads that pop Edited October 27, 2016 by TheLegend Quote Share this post Link to post Share on other sites
Aveatrex 0 Report post Posted October 28, 2016 14 hours ago, TheLegend said: do u wanna add the ad tag to every page if so than go to your-website\templates\core >> and open the header.tpl with any code editor and add it any where after the JS tag it should look something like <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta charset="utf-8"> <title>{$servername}{$pagename}</title> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" /> <!-- CSS --> <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" /> <!-- JS --> <script type="text/javascript" src="js/custom.js"></script> <script type="text/javascript" src="js/jquery.ui.widget.js" type="text/javascript"></script> <script type="text/javascript" src='js/jquery.easing.js'></script> <!-- Your code --> <!--[ 300x250 Ad Tag ( mywebsite.com ) - MediaCPM // www.mediacpm.pl // ]--> <script type="text/javascript"> var a = "12755"; var b = "300x250"; var network = "mediacpm.pl"; </script> <script type="text/javascript" src="http://mediacpm.pl/serve/ads.js"></script> <!--[ End of the Ad Tag - MediaCPM // www.mediacpm.pl // ]--> PS: if you are doing this to get some extra cash from ads i wouldnt really bother with it since you will at least need thousands of click daily to even make few dollars so most of them will give you 1$ for every 3-10k clicks, which means even with the most active top servers wont make more than 5-15$ a month so it really isnt worth all the ads that pop Hi TheLegend,first of all thank you im going to try this right away soon thank you again,btw you are right about the ads but i have my own methods to bring traffic to website around 10k-30k per day so i'm testing it right away if it's worthed Quote Share this post Link to post Share on other sites