vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Yet Another Awards System 3.5 v2.1.2 (https://vborg.vbsupport.ru/showthread.php?t=94836)

GameArtisan 11-26-2006 08:48 PM

Nevermind, I have found a solution to the problem...

Cheers

Kiint 11-27-2006 09:39 AM

First of all, Working great on 3.6.4 on the default template, every page loads fine but I'm having problems on the Epic 3.6 template as posted there. I can only guess it's the template at fault but can't see what's wrong!!! any suggestion?

Pages with problems:
http://www.bluedragons.co.uk/forums/...ard&award_id=2
http://www.bluedragons.co.uk/forums/...php?award_id=2

Pages that work:
http://www.bluedragons.co.uk/forums/awards.php

The only difference I can see between the working and problem pages is the bar under the award name:
Award Icon Award Image | Award Name / Award Description Users Who Have Already Recieved Awards

Secondly, Is there a way to add permissions to a usergroup to allow them to issue awards? I was previously using a medal system for phpBB which looks nearly exactly the same as this and had a link where the "request award" link is, that linked to a Medal Control Panel where the named moderators could issue awards to users (saved me from doing it all the time) Is this already in this module and I've just missed it?, or is it something that could possibly be planned for a future versions (if the author starts working on it again) The only way I can see of issuing an award is through the AdminCP.


Edit: Fixed problem pages, removed the extra:

Code:

</td>
</tr>
</table>

which the mod added to its pages

KenDude 12-03-2006 03:09 AM

I installed on 3.6.3 and have run across a couple of problems.

1) When I try to request an award, for example clicking the link that takes me to the following page:

http://www.caymanclub.net/request_award.php?award_id=1

I get the following error:

K-Man S, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Ummm, I'm the administrator, I should NOT be getting that message. I simply tried to request the award that comes built into the system by default. Anyone else have this problem? Is there a fix?

2) Displaying award.php works fine, see: http://www.caymanclub.net/awards.php

however, if I click on the award and it goes to this page:

http://www.caymanclub.net/awards.php...ard&award_id=1

(same page just a certain action)

The formatting of the page is screwed up. I suspect something is missing or something extra is included in the do=viewaward section of the awards.php file. I'm going to go dive into that and see if I can fix it but thought I'd ask if anyone else had run into this one as well?

Otherwise it looks good so far other than I need to find a good source of medals and icons to add to my site!

KenDude 12-03-2006 03:15 AM

Ok fixed #2,

Find the template: awards_viewaward

Edit the template and near the bottom remove the items listed in Kiint's post just above mine where there is an extra td, tr and table tag.

Ok now to try and figure out what is wrong with #1...

KenDude 12-03-2006 03:53 AM

As posted on a prior page I took the following code out of the request_award.php file (it is near the top)

i think this code, in request_award.php, is preventing requests of awards even though values appear to be set correctly in the admin:

if (!($permissions['awardpermissions'] & $vbulletin->bf_ugp_awardpermissions['canrequestaward']))
{
print_no_permission();
}

And now that page works. I did have the same problem that the template that displays that page needed to have an extra set of td, tr and table tags removed just like the other page previously mentioned.

At this point everything seems to be working so I'll concentrate on finding some medals/awards graphics now... :)

inzane 12-03-2006 06:49 AM

I am running 3.6.4 and am trying to figure out code to add the awards list into my Quick Links menu. Can anyone help??

Thanks.

inzane 12-05-2006 12:39 AM

I have figured out the err of my ways and all is working well again.

fishhub 12-06-2006 04:57 PM

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT a.*, au.*, post.userid, post.postid
FROM post AS post
INNER JOIN award_user AS au ON (au.userid=post.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,17342,17343,17344,17345,17351,17357,17376,17464 ,17470,17472) GROUP BY post.postid

GROUP BY au.issue_id
ORDER BY au.issue_time DESC;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY au.issue_id
ORDER BY au.issue_time DESC' at line 7
Error Number : 1064

I got the above problems. Any kind soul can assist? TIA

fishhub 12-06-2006 05:42 PM

Quote:

Originally Posted by carpzone (Post 995135)
OK Problem fixed, a hooked file from Photoplog Lite (gallery) did the Job for the errors.

I d'ont now the reason but i just disabled the the hook an the YAAS works very fine now.

Awesome Mod
Thank u for this Addon ;)

Me too! I disabled photoplog and YAAS works.

How to we get both YAAS and Photoplog work well?

any kind soul to assist..TIA.

inzane 12-08-2006 10:19 PM

Does anyone know of a hack, similar to this one, that allows the assignment of ranks in the same fashion. (I hate assigning by usergroups).

Thanks


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01337 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete