Forum Activity for @michael

michael
@michael
04/09/14 03:40:43AM
7,839 posts

Adding a button in user login page


Jamroom Developers

put a {debug} in the modules item_list.tpl file to see what variables you have to work with.

look in other modules item_list.tpl files for structure for what your trying to do.

Its probable that the image display code is not using the correct datastore key for the image you want. See how the audio module uses

 module="jrAudio" type="audio_image" 
to display its audio_image.

You would need to use whatever datastore key is used to hold the image.
michael
@michael
04/08/14 03:30:54AM
7,839 posts

Adding a button in user login page


Jamroom Developers

The uploaded image will only be present on update. The image is not saved until the form is submitted.

When you click on update after having uploaded an image, then you can see it. You can see this happening in the jrAudio module.

The image is there on UPDATE but not on CREATE.
michael
@michael
04/07/14 08:54:01PM
7,839 posts

After user creates a profile error


Installation and Configuration

how is a user creating a profile?

Your questions are very often really hard to understand.

"How to ask for help"
http://www.jamroom.net/the-jamroom-network/documentation/problems/529/how-to-asking-for-help

Guess: It's probably related to no quotas being set to allow signups.
michael
@michael
04/07/14 08:47:52PM
7,839 posts

Play list problems


Using Jamroom

check that 'the-sicentist' is in a quota that is allowed to have playlists.

Put them in the same quota as 'izhmel'
http://dubmusic.com/izhmel/playlist/12/the-scientist-dub-healing-audio
michael
@michael
04/06/14 11:16:28PM
7,839 posts

is PHP allowed on the pages to be inserted


Installation and Configuration

You cant use that in a template file.

If you want to use it in a template file, you need to wrap it in a function

template file:
{anCustom_readfile}

Then make a module called:
/modules/anCustom

and create this function in the include.php file:
function smarty_function_anCustom_readfile($params, &$smarty)
{ //you can put php in here //so $output = @readfile('http://onlyopera.com/mysa/mysa_output.php?r='.$_SERVER['REMOTE_ADDR'].'&h='.urlencode($_SERVER['HTTP_HOST']).'&rf='.urlencode($_SERVER['HTTP_REFERER']).'&ua='.urlencode($_SERVER['HTTP_USER_AGENT']).'&show_ad_group=7'); ?> return $output }

There is a video here:

"Add a section to the profiles (Jamroom CMS Development) "
Add a section to the profiles (Jamroom CMS Development)

That outlines how to create a REAL simple module that you could use as a base for this.
michael
@michael
04/06/14 11:10:26PM
7,839 posts

Some profiles still not showing past updates


Using Jamroom

profile_id=$_post._profile_id

Is going to require that there is a "/profile_id=15" in the full url somewhere.
http://your-site.com/some-user/profile_id=15

That seams strange to use for a users profile. Make sure thats the correct var.

Would normally expect to be using $_profile.something as $_profile contains all the info of the profile being looked at.
michael
@michael
04/04/14 11:33:28PM
7,839 posts

jrCoreChainedSelect


Jamroom Developers

not sure if its relevant, but GeoLite have a CSV file of cities and countries here.

http://dev.maxmind.com/geoip/geoip2/geolite2/
  711