Forum Activity for @michael

michael
@michael
02/07/18 06:09:04PM
7,832 posts

Twitter - Url Card


Using Jamroom

:) good stuff. Thanks for providing enough info to understand the problem and not just "it doesn't work".
michael
@michael
02/07/18 12:58:05PM
7,832 posts

unable to copy template to cache repair gives error


Using Jamroom

soaringeagle:..
pretty certain theres a bug in new beta core..
There may be an error in the beta core, but this error:
...Warning: is_file(): open_basedir restriction in effect....
is the server.

Its not allowing jamroom to copy files to the cache.
michael
@michael
02/07/18 12:38:32PM
7,832 posts

unable to copy template to cache repair gives error


Using Jamroom

'open_basedir' is a setting in your php.ini file
https://secure.php.net/manual/en/ini.core.php#ini.open-basedir

by default its not set, so if it is set, its been added. un-add it.
michael
@michael
02/07/18 12:36:20PM
7,832 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

The correct way to do it would to build a module that replaced [adsense] in your editor with the actual script code when it was output.

The cheating but quicker and easier way would be to use the jrInject (" Template Inject " ) module and add:
[adsense]| <script async 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>     (adsbygoogle = window.adsbygoogle || []).push({}); </script>
into it as a rule on a single line. Then in your blog post put [adsense] where you wanted it to come out.
updated by @michael: 02/07/18 12:36:39PM
michael
@michael
02/07/18 12:05:34PM
7,832 posts

unable to copy template to cache repair gives error


Using Jamroom

Quote: ....Warning: is_file(): open_basedir restriction in effect.....
your server has 'open_basedir' rules set

maybe this:
https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths

It means jamroom wanted to do some copying but was not permitted to by the server.
updated by @michael: 02/07/18 12:05:48PM
michael
@michael
02/07/18 12:02:25PM
7,832 posts

Twitter - Url Card


Using Jamroom

serveion:
Refused to display 'https://wowmusic.fm/tracks/embed/1328/i-love-you?autoplay=1&auto_play=true' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Try this:

Forum: "Header X-Frame-Options"
https://www.jamroom.net/the-jamroom-network/forum/new_posts/54031/header-x-frame-options/search_string=sameorigin
michael
@michael
02/07/18 11:59:36AM
7,832 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

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.
michael
@michael
02/07/18 11:56:39AM
7,832 posts

Sitebuilder Widget problem and query


Using Jamroom

suggest copying the template code into a TEMPLATE CODE widget.

Docs: "HowTo: use {capture} to avoid using another file for {jrCore_list} calls"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1637/howto-use-capture-to-avoid-using-another-file-for-jrcore-list-calls
template_code.jpg template_code.jpg - 356KB
michael
@michael
02/07/18 01:01:18AM
7,832 posts

How to use Google Adsense Code in the Tinymce html editor


Design and Skin Customization

script its always going to be stripped out.

It might get through if you have the ALLOW ALL HTML setting set at:
ACP -> CORE -> QUOTA CONFIG -> ALLOW ALL HTML

but allowing users to enter scripts is usually frowned upon.
michael
@michael
02/07/18 12:59:44AM
7,832 posts

Integrity Check and import audio faulty


Using Jamroom

izhmel:.... PHP Fatal error: Allowed memory size of 268435456 bytes exhausted .....
read: "Your server is too under powered to do what you asked it to do, like a bicycle trying to tow a yachat, its not going to work."

solution is to not try to pull a yacht on your bicycle. get the right tool for the job. Get a better server.
  153