Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Third Party Products and Support:
That's coding...
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 12:52 
I have the originals set for the default artists page,but I wouldn't know how to make that link point at all.That should be coded in the program automaticly I would think.


_________________
http://patriotsnetwork.com
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 01/21/07 16:59 

OJ:
I have the originals set for the default artists page,but I wouldn't know how to make that link point at all.That should be coded in the program automaticly I would think.


Question not sure what you're talking about here.. If you can clarify that would be great. Thanks!

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 17:19 
When I went to an artists website,set on originals,I tried to vote on one of the photos they have.That's when I got the error message.I works when I vote on songs.
The originals style is set to default and that's the only style artists can use.The website is set on cobalt.
Thanks...
I just looked at the first post and the first 2 are missing,between me and Kyle.Let me go find the error message again


_________________
http://patriotsnetwork.com
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 17:23 
I went in and changed something in the quotas and that must have fixed the error,but the error was there.It stated that the rate_error.tmp was missing from the themes directory.
I don't now how my reply to Kyle got here.
Here was the error message.

(I haven't changed anything in any files or ratings.I tried to vote on a photo and I got this error messege.
ERROR-the template file "rate_error.tpl" does not exist or is not readable from the themes/ directory
I looked in the themes directory for the file and it's not there.But I uploaded everything the way it came. )


_________________
http://patriotsnetwork.com
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 18:00 
It's not working I was wrong.
Here's the error message when I vote on a photo.

error the template file "rate_error.tpl" does not exist or is not readable from the themes/ directory


_________________
http://patriotsnetwork.com
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 01/21/07 18:06 

OJ:
It's not working I was wrong.
Here's the error message when I vote on a photo.

error the template file "rate_error.tpl" does not exist or is not readable from the themes/ directory


What Jamroom theme are you using? If it is not Cobalt, or one of the Oinkba themes, then the rating links will likely need to be updated to include the name of the theme - ie..

&theme=Theme_name

needs to be added to the URLs.

- Brian


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 01/21/07 18:10 

Quote:
Post subject: sorry this was confusing

It is still confusing, possibly too confusing.
You might want to take stock and start again. Sum up your problem clearly in one post with all the info that might be relevant.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 01/21/07 18:12 
I could be wrong, but I think he is using the "originals" theme pasher updated.


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 18:27 
I must have hit new topic instead of reply.I set all of the default sites to the originals sites,except the admin site.I just tried changeing the url in the Rate_photo.tpl with no luck.I think the error is in the "post" code of the template.

here's part of the code.

<form method="post" action="rating.php?mode=update_rating&amp;photo_id={$BAND_ID}&amp;item_id={$PHOTO_ID}">
<input type="hidden" name="success_template" value="rate_success.tpl">
<input type="hidden" name="error_template" value="rate_error.tpl">


_________________
http://patriotsnetwork.com
Back to top
Brian
Jamroom Team


Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA

Posted: 01/21/07 18:29 

OJ:
I must have hit new topic instead of reply.I set all of the default sites to the originals sites,except the admin site.I just tried changeing the url in the Rate_photo.tpl with no luck.I think the error is in the "post" code of the template.

here's part of the code.

<form method="post" action="rating.php?mode=update_rating&amp;photo_id={$BAND_ID}&amp;item_id={$PHOTO_ID}">
<input type="hidden" name="success_template" value="rate_success.tpl">
<input type="hidden" name="error_template" value="rate_error.tpl">


You need to update your "action" part from this:


Code

rating.php?mode=update_rating&amp;photo_id={$BAND_ID}&amp;item_id={$PHOTO_ID}


to this:

Code

rating.php?mode=update_rating&amp;photo_id={$BAND_ID}&amp;item_id={$PHOTO_ID}&theme=Theme_Name


Where "Theme_Name" is the directory the theme is located in.

Hope this helps!

- Brian

p.s. moving to 3rd party forums..


_________________
Make sure and check out:
* The Jamroom FAQ
* The Jamroom Documentation
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 18:37 
I changed the code to that:

rating.php?mode=update_rating&amp;photo_id={$BAND_ID}&amp;item_id={$PHOTO_ID}&theme=Originals

Then I got this error:
invalid band_id - verify usage

This is the code from the rate_song.tpl,it works right:
<form method="post" action="rating.php?mode=update_rating&amp;band_id={$BAND_ID}&amp;song_id={$SONG_ID}">


_________________
http://patriotsnetwork.com
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 18:54 
I thought the originals were a supported theme,this is a php tpl coding problem,and that's not what I'm good at,I can barely get by with design.


_________________
http://patriotsnetwork.com
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 01/21/07 19:04 
It seems like it should be something like this:

Code
rating.php?mode=update_rating&amp;band_id={$BAND_ID}&amp;photo_id={$PHOTO_ID}&theme=Originals


At least that's what intuition tells me.


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 19:08 
That's what I thought but when I did that it just wouldn't open the vote page at all.I've turned off the rating for photos until I can fix it.


_________________
http://patriotsnetwork.com
Back to top
OJ



Joined: 11 Jan 2007
Posts: 297
Location: Cincinnati Ohio

Posted: 01/21/07 19:14 
That worked Kyle,You're a genious!


_________________
http://patriotsnetwork.com
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Third Party Products and Support

12Next >
 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.