Forum Activity for @michael

michael
@michael
11/24/14 09:19:37PM
7,832 posts

Need for a Search within specific features (& Profiles/member List issues)


Ning To Jamroom

There's an update for the Audio, Video and Youtube out now that includes the search on the list pages and updated embedding layout.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/24/14 09:19:18PM
7,832 posts

Need for a Search within specific features (& Profiles/member List issues)


Ning To Jamroom

JeffH:
Sort of similar but different...is there a way to see what I am following as far as posts, forums, etc here?

There is a "suggestion" thread open about here:
https://www.jamroom.net/the-jamroom-network/forum/suggestions/15379/forum-topic-subscription-tab

Currently its not an option but is on the list of things todo.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/22/14 10:33:47PM
7,832 posts

An 'Heads Up'


Ning To Jamroom

We know how to build things, its the 'what to build' that you can help with. So thanks for all your input here in the forums. If you keep helping describe to us what is not right, we can handle the code side of it.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/22/14 10:15:23PM
7,832 posts

profile ids to profile names


Jamroom Developers

Melih:...I am not sure how can i do that. I don't understant :( ...

Hi Melih, sorry. From the first part of the thread:

Melih:
Hello,

I need help again.

I made a module. ........


I thought you were more comfortable working in PHP than in the templates.

What I've outlined above is a way to pass the template variables back to the module so you can work with them at that level instead of the template level. Its just another way of doing the same thing.

If you look in the templates you see {jrCore_list} around alot, right? Well that is just a smarty function. It allows you to pass in something and get something else back.

{jrCore_list module="jrAudio"} in the templates is just a smarty function that goes and searches the datastore of the jrAudio module and returns some pre-formatted items.

So from what I understand, the problem is: You have a variable that when put into your template will output "1,2,3,12,32". I don't know what the name of that variable is so I'll call it {$wanted_ids}.


I would have expected that the order would be preserved too, but if you wanted to take control of the order you could do it by passing that variable into a custom function in your module and then once the results came back add an extra bit of sorting to it.

-- just went to check--
Its working for me
{jrCore_list module="jrProfile" search="profile_id IN 2,1,3"}
{jrCore_list module="jrProfile" search="profile_id IN 1,2,3"}
{jrCore_list module="jrProfile" search="profile_id IN 3,2,1"}

all produce different results. They show in the order the numbers come. Are they not for you @Melih ?

-- update --
Remove the _ before profile.
{jrCore_list module="jrProfile" search="_profile_id IN 2,1,3"}
{jrCore_list module="jrProfile" search="_profile_id IN 1,2,3"}
{jrCore_list module="jrProfile" search="_profile_id IN 3,2,1"}
all produce the SAME order. So remove the _ before _profile and the order works. Not sure why, I would have expected they would be the same searches. mmmm.
updated by @michael: 11/22/14 10:19:39PM
michael
@michael
11/22/14 09:45:05PM
7,832 posts

Timeline Posting


Using Jamroom

This is on your profile on your site?
michael
@michael
11/22/14 09:43:25PM
7,832 posts

IE 9 Compatibility Issue?


Using Jamroom

Ken_Rich:....I did try uploading a different photo also a JPEG and got the same message saying that my photos need to end in .jpg ....

That just means the file that the user tries to upload needs to have a .jpg extension

flower.jpg will work fine, but
flower.jpeg will not work because it is 'jpeg'

if that's the error he's seeing, rename the file to whatever.jpg and try again.
michael
@michael
11/22/14 09:37:47PM
7,832 posts

Unable to update some Discussions


Ning To Jamroom

"our apples are 3 for $1"
"the guy down the road is selling 4 for $1"
"We can do 4 for $1"

Choosing a host can be difficult. Especially because they don't all put out all the info to make it easy to compare.

Hopefully your current host sorts out your server so it works as well as it needs to. Let us know what they say.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/22/14 09:15:36PM
7,832 posts

Need for a Search within specific features (& Profiles/member List issues)


Ning To Jamroom

Done (works as you've outlined above - simple.). Its up for checking now for the Audio, Video and Youtube modules. If they look ok, then we can get them out for everyone.
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/22/14 09:09:38PM
7,832 posts

An 'Heads Up'


Ning To Jamroom

That's the goal. Make the front section more configurable. Its still in beta right now as I work through all the issues. Once its stable by itself, then we can look to getting it into the ning focused skins.

--edit--
Beta discussion is going on here if you want to add your input:
https://www.jamroom.net/site-builder
updated by @michael: 12/29/14 09:23:54AM
michael
@michael
11/22/14 12:49:58AM
7,832 posts

profile ids to profile names


Jamroom Developers

a smarty function might be of use here, not sure.

You could pass in the variable from the templates to the smarty function the do whatever processing you need and pass it back. It might be more flexiable than trying to do it all in the templates.

if your module was xxSomething, then in include.php
function smarty_function_xxSomething_special($params, $smarty)
{ //do stuff return the output // $params['tag_ids'] = "1,2,3" return ''; }

then in the templates pass in your 1,2,3 or 3,8,4 inside tag_id
{xxSomething_special tag_ids="1,2,3"}
  634