SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 25, 2012, 09:59:25 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10073
Latest:
makablue
Stats
Total Posts: 28688
Total Topics: 4978
Online Today: 85
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 52
Total: 53
ApplianceJunk
SMFHacks.com
Forum
SMF Gallery Pro
Support
Rating Pictures
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Rating Pictures (Read 4080 times)
lexi_be
Newbie
Offline
Posts: 13
Rating Pictures
«
on:
June 26, 2007, 05:38:26 am »
Excuse my bad English, but i have a Problem with our Gallery Pro.
I hope, you understand which I to say would like...
in our Gallery does not function rating. Showing is ok, but I cannot rating.
This ist de Codesnippet:
Code:
//echo $txt['gallery_form_rating'] . $rating . $txt['gallery_form_ratingby'] . $context['gallery_pic']['totalratings'] . $txt['gallery_form_ratingmembers'] . '<br />';
echo $txt['gallery_form_rating'] . GetStarsByPrecent($rating) . ' ' . $txt['gallery_form_ratingby'] .$context['gallery_pic']['totalratings'] . $txt['gallery_form_ratingmembers'] . '<br />';
}
if(allowedTo('smfgallery_ratepic'))
{
echo '<form method="post" action="' . $scripturl . '?action=gallery;sa=rate">';
for($i = 1; $i <= $max_num_stars;$i++)
echo '<input type="radio" name="rating" value="' . $i .'" />' . str_repeat('<img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" />', $i);
echo '
<input type="hidden" name="id" value="' . $context['gallery_pic']['ID_PICTURE'] . '" />
<input type="submit" name="submit" value="' . $txt['gallery_form_ratepicture'] . '" />
';
what could be wrong? you need more information?
Thanks lexi
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #1 on:
June 26, 2007, 06:24:11 am »
Did you give each membergroup the rate picture permission?
Admin -> Permissions -> Modify each Group ->
Then give each group the gallery permissions needed.
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #2 on:
June 26, 2007, 06:35:22 am »
I had allredy done that. You can see in add
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #3 on:
June 26, 2007, 06:37:53 am »
What happens when you try to rate a picture?
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #4 on:
June 26, 2007, 06:49:28 am »
I can't use this function. the Rating are displayed, but i can't rating. there are no operation
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #5 on:
June 26, 2007, 07:01:46 am »
You can only rate a picture when you are viewing the image. On the main view image page.
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #6 on:
June 26, 2007, 07:11:31 am »
oh this page??
But there are also no radio buttons which allow me to rate a pictures. Oh sorry....I'm all mixed up.
«
Last Edit: June 26, 2007, 07:18:15 am by lexi_be
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #7 on:
June 26, 2007, 07:23:40 am »
Yeah that page.
Make sure you have these entries in your language file
Code:
$txt['gallery_form_viewratings'] = 'View Ratings';
$txt['gallery_form_ratepicture'] = 'Rate Picture';
$txt['gallery_form_norating'] = 'This picture has not been rated yet.';
$txt['gallery_form_rating'] = 'Rating: ';
$txt['gallery_form_ratingby'] = ' by ';
$txt['gallery_form_ratingmembers'] = ' members.';
$txt['gallery_text_rating'] = 'Rating';
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #8 on:
June 26, 2007, 11:51:10 am »
Thanks! I will search this. I think, that is not defined....
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #9 on:
June 26, 2007, 12:04:39 pm »
it does not function. The string was already present. do I have to be changed in the Modification.german(engish).php still something?
Code:
//Begin SMF Gallery Text Strings
$txt['smfgallery_menu'] = 'Galerie';
$txt['smfgallery_admin'] = 'Galerie-Einstellungen';
//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Galerie';
$txt['permissionname_smfgallery_view'] = 'SMF-Galerie zeigen';
$txt['permissionhelp_smfgallery_view'] = 'Sie haben Du hast keine Berechtigung, die Galerie anzuschauen.';
$txt['permissionname_smfgallery_add'] = 'Bild hochladen';
$txt['permissionhelp_smfgallery_add'] = 'Erlaubt dem Benutzer, ein Bild hochzuladen.';
$txt['cannot_smfgallery_add'] = 'Sie haben keine Berechtigung, ein Bild hochzuladen.';
$txt['permissionname_smfgallery_bulk'] = 'upload großer Datenmengen';
$txt['permissionhelp_smfgallery_bulk'] = 'Erlaube dem User den upload großer Datenmengen.';
$txt['cannot_smfgallery_bulk'] = 'Sie haben keine Berechtigungen, große Datenmengen zu laden.';
$txt['permissionname_smfgallery_edit'] = 'eigene Bilder bearbeiten';
$txt['permissionhelp_smfgallery_edit'] = 'Erlaubt dem Benutzer, eigene Bilder zu bearbeiten.';
$txt['cannot_smfgallery_edit'] = 'Sie haben keine Berechtigung, Bilder zu bearbeiten.';
$txt['permissionname_smfgallery_delete'] = 'eigene Bilder lösche';
$txt['permissionhelp_smfgallery_delete'] = 'Erlaubt dem Benutzer, eigene Bilder zu löschen.';
$txt['cannot_smfgallery_delete'] = 'Sie haben keine Berechtigung, Bilder zu löschen.';
$txt['permissionname_smfgallery_ratepic'] = 'Bild bewerten';
$txt['permissionhelp_smfgallery_ratepic'] = 'Erlaubt dem Benutzer Bilder zu bewerten';
$txt['cannot_smfgallery_ratepic'] = 'Sie haben keine Berechtigung, dieses Bild zu bewerten.';
$txt['permissionname_smfgallery_editcomment'] = 'Kommentare ändern';
$txt['permissionhelp_smfgallery_editcomment'] = 'Erlaubt dem Benutzer, eigene Kommentare zu bearbeiten';
$txt['cannot_smfgallery_editcomment'] = 'Sie haben keine Berechtigung, diesen Kommentar zu bearbeiten.';
$txt['permissionname_smfgallery_comment'] = 'Kommentare schreiben';
$txt['permissionhelp_smfgallery_comment'] = 'Erlaubt dem Benutzer, einen Kommentar zu einem Bild zu schreiben.';
$txt['cannot_smfgallery_comment'] = 'Sie haben keine Berechtigung, Kommentare zu schreiben.';
$txt['permissionname_smfgallery_report'] = 'Bild/Kommentar dem Administrator melden';
$txt['permissionhelp_smfgallery_report'] = 'Erlaubt dem Benutzer, Bilder/Kommentare dem Administrator zu melden.';
$txt['cannot_smfgallery_report'] = 'Sie haben keine Berechtigung, Bilder/Kommentare dem Administrator zu melden.';
$txt['permissionname_smfgallery_autocomment'] = 'Automatische Freigabe für Kommentare';
$txt['permissionhelp_smfgallery_autocomment'] = 'De-/Aktiviere die vorherige Freigabe für Kommentare in der Galerie, bevor diese den Benutzern angezeigt werden.';
$txt['permissionname_smfgallery_autoapprove'] = 'Automatische Freigabe für Bilder';
$txt['permissionhelp_smfgallery_autoapprove'] = 'De-/Aktiviere die vorherige Freigabe für Bilder in der Galerie, bevor diese den Benutzern angezeigt werden.';
$txt['permissionname_smfgallery_usergallery'] = 'persönliche Galerie';
$txt['permissionhelp_smfgallery_usergallery'] = 'Erlaubt dem Benutzer eine persönliche Galerie anzulegen';
$txt['cannot_smfgallery_usergallery'] = 'Sie haben keine Berechtigung für eine persönliche Galerie.';
$txt['permissionname_smfgallery_manage'] = 'Galerie administrieren';
$txt['permissionhelp_smfgallery_manage'] = 'Erlaubt dem Benutzer, Kategorien hinzuzufügen, zu bearbeiten und zu löschen, sowie Kommentare und Bilder zu löschen und Bilder freizugeben.';
$txt['cannot_smfgallery_manage'] = 'Du hast keine Berechtigung, die Galerie zu administrieren.';
//END SMF Gallery Text Strings
or in the ManagePermission.german(english).php?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #10 on:
June 27, 2007, 07:25:25 am »
Is the category set to allow ratings? There is an option to disalbe ratings inside a category when it is created.
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #11 on:
June 28, 2007, 12:39:20 am »
Ahhh, I must install this mod Rating for SMF?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Rating Pictures
«
Reply #12 on:
June 28, 2007, 07:02:40 am »
No it is built into the Gallery. Maybe PM a admin account and a forum url and I can check it out.
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #13 on:
June 29, 2007, 03:17:02 am »
ok, Thanks. i think, I have found the error. The designer changed the SMF-default-theme. Probably it deleted too much. On my test sytem is usable the rating. Here are present the original. We will convert the data. If that does't function, then I will adjust a admin account for you
Have a good weekend!
Lexi
Logged
lexi_be
Newbie
Offline
Posts: 13
Re: Rating Pictures
«
Reply #14 on:
July 12, 2007, 01:47:26 am »
I again installed. The rating is selectable now.
Thanks! Now I have a new question
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
$txt['downloads_txt_day_l...
by
ApplianceJunk
[
Today
at 09:42:09 am]
Feature Request: Ban indi...
by
ApplianceJunk
[May 24, 2012, 08:02:50 am]
Custom Fields
by
davejo
[May 24, 2012, 04:11:41 am]
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...