Forum Activity for @derrickhand300

derrickhand300
@derrickhand300
02/12/18 06:58:00PM
1,353 posts

How to move a production site to a staging server


Installation and Configuration

Hello-I would like to move a copy of my production site to a new url as a staging site. I have about 10 hours tied up in failed attempts
Some of the Docs I have read get "close"
https://www.jamroom.net/the-jamroom-network/documentation/howto/1991/howto-move-jr5-to-a-different-server
https://www.jamroom.net/the-jamroom-network/documentation/howto/4153/howto-clone-one-server-to-another-server

But none cover the issue of using a new LIVE URL for the staging server
Are there Docs that cover this and if not could you explain the process and when you get to the part about moving the database please explain like you are talking to a 10 yr old :)
Thank you Michael

updated by @derrickhand300: 05/16/18 11:42:25PM
derrickhand300
@derrickhand300
02/10/18 06:33:14AM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

Thanks Michael...I actually spent a day trying to make that work before posting here
I am just going to add the code in template files in predefined locations and be done with it
Thank you for your help though!
derrickhand300
@derrickhand300
02/09/18 04:18:01PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

No ads showing up several hours later...I removed the code. I then added the code using
{jrCore_include template="google_ads.tpl"}
to the bottom of each news article- and the ads showed up instantly..hope that helps
updated by @derrickhand300: 02/09/18 04:40:17PM
derrickhand300
@derrickhand300
02/09/18 02:35:31PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

Here is what the code looks like after you use [ADSENSE]- then viewing it in the html editor
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle" style="display: block; text-align: center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4020801146046639" data-ad-slot="9853926026"></ins>
<script>// <![CDATA[
     (adsbygoogle = window.adsbygoogle</p>
<p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="mce-pagebreak" data-mce-resize="false" data-mce-placeholder /></p>
<p>
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
// ]]></script>
</p>
<p><ins class="adsbygoogle" style="display: block; text-align: center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4020801146046639" data-ad-slot="9853926026"></ins></p>
<p>
<script>// <![CDATA[
     (adsbygoogle = window.adsbygoogle || []).push({});
// ]]></script>
</p>
derrickhand300
@derrickhand300
02/09/18 12:42:09PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

michael:
I put [adsense] into this article at the end of it.:
https://www.roughneckcity.com/roughneck-city/oilfieldnews/1158/osha-investigates-oilfield-fatality-near-williston-north-dakota

It came out as expected.

Yes i also get a blank space pasting the code in the html editor- which never displayed an ad....If i paste the code in a blog vis jrblog_item_detail .tpl the add appears instantly from Google....so I dont mean to sound unappreciative...but I think the fact that its not showing means its not working
derrickhand300
@derrickhand300
02/09/18 08:56:56AM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

SteveX:
derrickhand300:
Thanks-ive added the code to a text editor-put it all on one line then added it to the template injection
still breaks the page
Can you tell me what this error means?
[07-Feb-2018 23:05:08 America/Tegucigalpa] PHP Notice: Undefined offset: 1 in /home/rough/public_html/modules/jrInject-release-1.0.0/include.php on line 58 [4]

I guess the template injection text box wont hold all the code on a single line...

This isn't an error. It's a PHP Notice, as it says.
http://www.php.net/manual/en/errorfunc.constants.php

Thank you Steve!
derrickhand300
@derrickhand300
02/09/18 08:54:20AM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

michael:
should be adding it here:
https://www.roughneckcity.com/inject/admin/global

want me to do it for you?

PLEASE Do...Ive added it there a dozen different times-each time it breaks the page where I add [ADSENSE] ...i have added the line of code to 2 different text editors-removed all spaces then copy/paste into the box at the location you linked to...same result....I KNOW its gonna work right off for you....just not for ME :)
derrickhand300
@derrickhand300
02/07/18 09:06:52PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

Thanks-ive added the code to a text editor-put it all on one line then added it to the template injection
still breaks the page
Can you tell me what this error means?
[07-Feb-2018 23:05:08 America/Tegucigalpa] PHP Notice: Undefined offset: 1 in /home/rough/public_html/modules/jrInject-release-1.0.0/include.php on line 58 [4]

I guess the template injection text box wont hold all the code on a single line...
updated by @derrickhand300: 02/07/18 09:10:34PM
derrickhand300
@derrickhand300
02/07/18 01:30:44PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

Thank you-I tried it but it breaks the page- only thing that shows up is header and footer...
derrickhand300
@derrickhand300
02/07/18 12:15:03PM
1,353 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

michael:
you cant put that code into your blogs item_detail.tpl file? that would be a better place than adding it to the blog text each time.

It goes in a different place in each blog...there is no set location
  12