Forum Activity for @michael

michael
@michael
03/27/15 11:41:19PM
7,832 posts

Cant update System Core


Using Jamroom

xmafax:
Done!
Thanks
Paulo

Cant seam to locate it, what was the title of the email you sent?
michael
@michael
03/27/15 11:39:22PM
7,832 posts

What does jrProfile_is_profile_owner() do?


Jamroom Developers

Please ask new questions in new threads. The titles of the threads help others searching later on. Thanks.
michael
@michael
03/27/15 01:02:40AM
7,832 posts

contact us page


Using Jamroom

Just a word of caution about that method sturmelia, there are bots that go around the web collecting email addresses and adding them to lists that then can end up in the hands of spammers.

I see your using an @gmail.com account which is a good idea for that kind of address. gmail has lots of spam filters in place. If that wasn't a gmail.com address, then its a good idea to make it a little more difficult for the email collection bots.

See here:
http://www.albionresearch.com/misc/obfuscator.php

You enter the email address and it turns it into one that is harder to read and collect.

But the flip side is: are you sure you can trust albionresearch.com? the act of making the email hard to read might add you to a list that is sold to spammers. ..... .. ... .

and round and round the paranoia goes. ;)
michael
@michael
03/27/15 12:47:47AM
7,832 posts

How to write an IF/ELSE Conditional Statement?


Design and Skin Customization

Quote:
I must have tried this 30 different ways.

What I'm looking for is an if, else statement that will delete something ONLY on the profile index page or include something ONLY on non profile index pages.

So within a certain skin I can let's say modify a div of the header template but only for the profile/index, not the other profile pages like profile/audio.

Something like:

 {if $current_url == '{$jamroom_URL}/{$profile_index}'}{else}{/if}

Maybe it should be more along the lines of:

{if template="$profile_index.tpl"}{else}{/if}


Your not going to be able to use 1 if statement if it takes you 3 sentences to describe it. Its going to take you more than that.


If/else only checks for 1 thing at a time:

"if this is true (the thing to check), then show this part [ the stuff ] "

So if your English explanation is:
Quote:
...if, else statement that will delete something
What is the something, does it exist on the page or not. That could be the target of your first IF statement.
"if something exists on the page....."

That is ONE if statement there.

Then inside that you can have another.
Quote:
....ONLY on the profile index page...
"if the page is the profile index page....."
(but you would more than likely just include the statement in the profile_index.tpl so you know its the profile index page before you start, so don't need to check that.)
Quote: ...or....
This is a different thing, so handle it differently. Do one thing at a time.

You need to go about it one step at a time. Just slowly and methodically working towards the goal.
updated by @michael: 03/27/15 12:49:47AM
michael
@michael
03/27/15 12:36:41AM
7,832 posts

Out-of-the-Box Setups


Suggestions

davej56:....adding some kind of a link in each profile for sending a private message?....
How to do that is covered in this thread:

"How to add a contact link to the profile?"
https://www.jamroom.net/the-jamroom-network/forum/installation-and-configuration/25983/how-to-add-a-contact-link-to-the-profile
michael
@michael
03/25/15 10:46:34PM
7,832 posts

Configuring a group for my forum


Installation and Configuration

perrie:..... Right now, each member of my site can create a group/groups that they admin to and other members on the site join....

If your talking about your Jamroom site, they can do that because they are in a Quota that allows their profile to have groups.

If your talking about on your ning site and you want to have that for your members, then select their quota from the dropdown menu in that same location:
ACP -> PROFILE GROUPS -> GROUP SUPPORT -> QUOTA CONFIG

and check the "allowed on profile" checkbox and save.

---
short overview of how jamroom works:
* adding a module to the system means that functionality exists in the system but not necessarily anyone can use it.
* each module has a QUOTA CONFIG tab and that determines who can use the module.
* If you are allowed by your quota to use a module, then it will appear as a button on your profile.

For more info, take the free Udemy course:

"Start your own online community"
https://www.udemy.com/start-your-own-online-community

:)
updated by @michael: 03/25/15 10:47:20PM
michael
@michael
03/25/15 09:28:32PM
7,832 posts

Configuring a group for my forum


Installation and Configuration

Sad to hear you've not been feeling well. Hope your feeling better soon. :)

Did you see this thread?

"NEW - Ning to Jamroom 'Full' Import Services"
https://www.jamroom.net/the-jamroom-network/forum/new_posts/27231/new-ning-to-jamroom-full-import-services

Pauls getting pretty good with the ning imports so he's set up a new Jamroom offering.

It skips the part of the ning admin having to download anything from Ning and we handle the whole move over. No need to FTP anything. Might be of interest. :)


perrie:....Will this create a group that I can use as the group's main forum?....
no. It will only allow that profile to create a group if they want to. So it adds the ABILITY to add a group. To create a group from there you would click on the button provided to go to that page, then click on the + button to add a new group.
michael
@michael
03/25/15 09:20:33PM
7,832 posts

How to Create a Calendar on the Main Page that Shows All Events


Ning To Jamroom

The code section of the widget is not where my mind jumps to when I think about code. Its a new thing to me, but yes that would be ok.

No, there are no controls, you'd have to setup some controls if you wanted the user to have the ability to change months.

The control would include changing the URL to include the desired month/year so that it could be picked up by the calendar.

when you have a url like this:
site.com/somewhere/animal=elephant/color=blue/weather=rain

what will happen is jamroom will look in the skin for a file called somewhere.tpl and display that. If that is not there but the Site Builder system is turned on and it has a page for 'somewhere', then that will be displayed.

Inside either of those locations the rest of the values from the url will be available to use.

So:
{$_post.animal} in your template code will display "elephant" to the screen.
{$_post.color} in your template code will display "blue" to the screen.
{$_post.weather} in your template code will display "rain" to the screen.

Its this system that you would utilize to get the wanted date to show.

In your case you want to use /month=???/year=???? so the calendar can use them.

The easiest way to build some navigation is just to add a couple of links for next month and prev month:
<a href="{$jamroom_url}/somewhere/month=">next month</a>
<a href="{$jamroom_url}/somewhere/month=">next month</a>
Just need to figure out the correct month. Check out the smarty docs on how to format that:

"Smarty.Now formatting page"
http://www.smarty.net/docsv2/en/language.modifier.date.format

(no sense in making it completely copy+paste eh ;) )


There is this selector system in one of the templates too:
       <select class="form_select" style="width: auto" name="calendar_month" id="calendar_month" onchange="var m=this.options[this.selectedIndex].value; jrCore_window_location('{$jamroom_url}/concerts/month='+ m +'/year={$year}')">

            <option value="1" {if $month == "1"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="41" default="January"}</option>
            <option value="2" {if $month == "2"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="42" default="February"}</option>
            <option value="3" {if $month == "3"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="43" default="March"}</option>
            <option value="4" {if $month == "4"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="44" default="April"}</option>
            <option value="5" {if $month == "5"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="45" default="May"}</option>
            <option value="6" {if $month == "6"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="46" default="June"}</option>
            <option value="7" {if $month == "7"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="47" default="July"}</option>
            <option value="8" {if $month == "8"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="48" default="August"}</option>
            <option value="9" {if $month == "9"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="49" default="September"}</option>
            <option value="10" {if $month == "10"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="50" default="October"}</option>
            <option value="11" {if $month == "11"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="51" default="November"}</option>
            <option value="12" {if $month == "12"}selected="selected"{/if}>{jrCore_lang module="jrEvent" id="52" default="December"}</option>
        </select>
michael
@michael
03/25/15 08:59:00PM
7,832 posts

Featured discussions


Ning To Jamroom

For a specific discussion, try the address bar of your browser. The id of this thread is:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/26023/featured-discussions
....room.net/the-jamroom-network/forum/new_posts/26023/featured-discussions

most of the time the item_id for stuff can be found in the url. eg my profile pic:
https://www.jamroom.net/user/image/user_image/4/icon96

shows my user item_id is 4 ( I'm user #4 )
michael
@michael
03/25/15 08:53:52PM
7,832 posts

Main Site Navigation Question


Using Jamroom

Got an example. You should be able to add a page just by going to the URL. BUT only items in the menu are backed up in the export.

So its expected that pages will be in the menu somewhere.

The other option is to add a class to each of the menu items then use CSS to hide that so its not visible.
  563