Forum Activity for @michael

michael
@michael
05/08/14 10:44:47PM
7,832 posts

Upload files on item detail page for module


Jamroom Developers

dobmat:...it seems the newly uploaded files are not there. I'm getting error "you forgot to select a file to upload".

That error is usually associated with the _file field being 'required' on update.
michael
@michael
05/08/14 10:41:45PM
7,832 posts

New Chained Select - important upgrade instructions


Announcements

Rather get it sorted out here in the forums if possible. That way its sorted out for everybody and can be searched on later when others are having the same issue.

What are the categories your using for each level?
michael
@michael
05/08/14 10:39:47PM
7,832 posts

Purchase was declined (Marketplace Purchase)


Using Jamroom

I don't remember paypal being an option when purchasing items from the ACP of your site. It might have been added, I'll go take a look.

I think its only an option when purchasing here on jamroom.net.

Click on add to cart, then on the cart screen, instead of clicking "Checkout", click the "Checkout with Paypal" button instead.
michael
@michael
05/08/14 10:32:53PM
7,832 posts

rebase - resulted in Blank pages across site


Using Jamroom

That error is nothing. Its saying "Went looking for ..../jrCore-release-5.1.41/contri.... but couldnt find it".

Which suggests that the the $_SESSION thinks the latest version is 'jrCore-release-5.1.41' where what it really is after the rebase is 'jrCore'.

So we need the system to use what is actually there, which is /jrCore/

To clear the cache manually on the file side of things, FTP to:
/data/cache

and there will be a bunch of things in there like:
/jrAudio
/jrCore
/jrElastic
/jr......

Its fine to delete all of those directorys if they exist. (I would expect them to have been deleted by rebase.)

Leave the /index.html file there if its there. Just stops anybody getting a directory listing of files in that folder if they look.

To clear the database side of things, the table name is jr_jrcore_cache and can be cleared by either doing it manually via phpmyadmin or the easy way:

FTP into the root of your site, look for the file /repair.php.html rename it to /repair.php and open it in the browser.

you will see:

Quote: Jamroom Database Repair
This script will:

run TRUNCATE TABLE your session and cache tables (which will empty them)
run REPAIR TABLE on all Jamroom database tables

Press the start repair button to begin.

only fair that I help fix it, I built the module. Thought it was all working though. If we find the root cause of this happening, ill add in a check for it.

---
One other thing to check for is that there are files in the modules/jrCore directory. The guess is that perhaps the latest version didn't get copied before the -release-'s were deleted.

That shouldn't happen, but its worth checking.
michael
@michael
05/08/14 09:24:28PM
7,832 posts

Good Skin URL's


Design and Skin Customization

here's one reason not to:
* it makes functions look ugly.

If i use the url:
site.com/(some profile)/(my module)/latest-releases

and want to make a custom profile view for that the function name becomes:
function view_xxMymodule_latest-releases()

yuck. So its a "Nice for programmers to look at VS something that may or may not effect SEO" debate.
michael
@michael
05/08/14 09:09:35PM
7,832 posts

rebase - resulted in Blank pages across site


Using Jamroom

not psychic, and haven't got any secret cameras on you right now, so lets try to figure it out.

What does the FTP structure of the modules directory look like. anything strange looking?

You tried a different browser, good idea. didnt help....mmmm. Anything in the error_log?
michael
@michael
05/08/14 08:36:42PM
7,832 posts

RSS feeds for each host?


Using Jamroom

There is a module that reads feeds INTO jamroom. I don't think anyones created one that sends RSS out of a profile yet.

It certainly could be done, just hasn't been yet.
michael
@michael
05/08/14 08:32:48PM
7,832 posts

Categories as a top menu drop down?


Using Jamroom

use jrCore_list and group_by

"{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

Fiddle with it to figure it out, but here's a guess to get you going....
{jrCore_list module="jrAudio" group_by="audio_genre_url" template="some_file.tpl"}

then in some_file.tpl: (you could do it with a capture too, but to keep it simple.)
{jrCore_module_url module="jrAudio" assign="murl"}
{if isset($_items) && is_array($_items)}
  {foreach $_items as $item}
     <a href="{$jamroom_url}/{$murl}/{$item.audio_genre_url}">{$item.audio_genre}</a>
  {/foreach}
{/if}
michael
@michael
05/08/14 08:25:56PM
7,832 posts

rebase - resulted in Blank pages across site


Using Jamroom

watch the 2 videos. You rebased the jrCore module.
(part 2) reason for rebase
Rebase the Jamroom modules and skins onto their base url

The solution is to open a different sites page in a tab. (in the video I use phpmyadmin) then refresh the page.

Its related to the current path for the system thinking it is something like
/jrCore-1.5.x/ then having the current path change to /jrCore/
michael
@michael
05/08/14 08:22:56PM
7,832 posts

can i add a page to a module?


Using Jamroom

These 2 youtube vids might help:
Add a section to the profiles (Jamroom CMS Development)
Jamroom 5 CMS: adding to the profiles


If you add a file at:
agTask/templates/index.tpl

That will show up at
site.com/task

What you want to do is create a view in the profile.php file.

You can do that by using the default view function name:
function profile_view_agTask_default($_profile,$_post,$_user,$_conf)
{ //..... do something }

check out how the jrBlog/profile.php file looks for an example of it.

OR You can specifically define views to map to urls

function profile_view_agTask_invoiced($_profile,$_post,$_user,$_conf)
{ //..... do something }

the default one will map to
domain.com/profile/task/
the second one will map to
domain.com/profile/task/invoiced

but you could use the first one to handle invioced if you wanted to too. The 'invoiced' will be in the $_post var.
  698