1
Discussion & Troubleshooting / failed to open
« on: June 22, 2003, 03:02:48 AM »
I installed that long time ago , and didn't change anything, this happen just now.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Warning: Unknown(4menu1.php): failed to open stream: No such file or directory in /home/artpapa/public_html/gallery/includes/template.php(133) : eval()'d code on line 304
Warning: (null)(): Failed opening '4menu1.php' for inclusion (include_path='/usr/local/lib/php:/usr/lib/php') in /home/artpapa/public_html/gallery/includes/template.php(133) : eval()'d code on line 304
what version of the MOD do u use? regular or with using cookies?.
this MOD has no affect of "new images" part.
Quote from: artpapait is start work in the categories, but didn't work in the home template, I mean after reloading nothing is change. (Should it work in the home?).U must add exact same code in any templates where u want it be displayed.
New version posted. Now you can set random selection mode (by votes, hits, comments, etc.)
if (check_permission("auth_vote", $image_row['cat_id'])) {
1. vote for yourself? do u mean vote for your images? if so, then in /includes/functions.php find:Code: [Select]if (check_permission("auth_vote", $image_row['cat_id'])) {
replace with:Code: [Select]if (check_permission("auth_vote", $image_row['cat_id']) && ($user_info['user_id'] != $image_row['user_id'] || $user_info['user_level'] == GUEST)) {
This is work, user don't have ability to rate their own image anymore.
but this tweak, seems to me, stopped functions of "Star rating" mood,
stars didn't change any more.
where is could be a problem?
thank you
Alexei
www.artpapa.com
2. so far the only way I see this could be done is use image, otherwise u wont be able see if the vote casted or not.