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

LILMORA4 12-10-2006 05:03 AM

How can I give an award? I cant find that option.

fishhub 12-11-2006 02:32 PM

Quote:

Originally Posted by fishhub (Post 1133313)
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


bump, anyone can advice on this? TIA

JohnBee 12-11-2006 04:24 PM

Is it possible to give someone an award... (say image of the week) then having completed that period the award is given to another member. However... is it possible to keep tab of past awards? I mean I don't want the users to carry ribbons in there postbits forever since the award is for a given time period so I wondered if there was a way to display with some sort of subsystems how many awards a user has achieved over a period of time?

When I issued an award to a user it all worked well...
then I was somewhat confused to find that when I issued or handed the same award to another member they both had the same award even though I set the system to display only one at a time. I was wondering if it was possible to have the same award only show up once *by latest given so that only one award is shown in the postbit.

Kayden 12-12-2006 06:09 PM

This works for 3.6.x, right?

Amiga Harrison 12-14-2006 11:39 PM

I would also like to know if this works with 3.6.x? I'm currently using 3.6.4 and this would be perfect for my forum.

yingzhou 12-15-2006 03:18 AM

Work correct with 3.6.x! Thank for this great Mod!

Talisman 12-18-2006 04:23 AM

/me clicked install to not lose this thread again before getting to this.

Glad to find this and to see it's working for 3.6.4. I had a similar hack to this going back in the old vB2 days and it's a real nice feature to have for the group.

Thanks for making this available.

Cheers. :bunny:

Canis Firebrand 12-19-2006 12:45 PM

I have this mod installed and it works great on 3.6.2

I have a question that I didn't see posted here and I'm not sure if it is even possible.

I have one award that will be rotating between the members on my forum, kind of like a "Tag, your it" award.

When the award is given to someone, I'd like it to display on forumhome under the navbar.
I can do it manually each time, but if it was possible to check if the award was given then have it display the award image and the persons name. If it isn't awarded to anyone, that information wouldn't display.

fishhub 12-19-2006 01:41 PM

Quote:

Originally Posted by fishhub (Post 1133338)
Me too! I disabled photoplog and YAAS works.

How to we get both YAAS and Photoplog work well?

any kind soul to assist..TIA.

anyone has solutions to the above . Still awaiting for any kind soul to assist. TIA

Canis Firebrand 12-19-2006 06:26 PM

Another issue that I just discovered. The PM subject was missing an s from congratulations. When I went into the award system settings and found the area where you can edit the subject and content of the PM.

When you click on the link it says "No Phrases Matched Your Query"

It has the link as this: http://forum.domain.com/admincp/phrase.php?do=edit&e[4000][award_pm]

storpappa 12-21-2006 12:56 AM

Great mod, installed. I set the system up to create a post / poll in the first forum. It creates a post, but the actual post is visible code, not encoded. Any suggestions on making this presentation work?

http://gamegeekspeak.com/forums/showthread.php?t=15

vppremier 12-22-2006 10:26 AM

It installed without a hitch, however I would like to know how to edit the way the awards show up in a thread.

Currently its shows the award icon, Award name and Award Reason. How Can I remove the Award Reason from displaying there? What must I edit?

vauge 01-01-2007 03:49 PM

Version 3.6.4

*Warning*
The create new thread option screwed up my posts and search indexes.

I had to delete thread - repair vb3_posts (several times) then re-index search tables to get my site back up and running.

Other than that, it appears to be working ok for PM requests.

yingzhou 01-01-2007 04:06 PM

I see. I do not use the Creat hew thread option. :D Thank for warning.

treader 01-02-2007 06:42 AM

Excellent mod :classic: using it on 3.6.4 with no problems so far :cool:

dooch 01-04-2007 08:40 PM

after upgrading to 3.64 Ive had a few problems...

so i reinstalled and still errors...

set it all up ok

but when i request an award the click submit i get the following error

Quote:

This page is not designed to be access directly.
THen there is NO poll, even iff I selected it to create a poll, any ideas?

CK

flashfocus 01-06-2007 03:23 PM

award system works fine , besides the two following problems.

Yet when i want to see a members page (member has an award)
i get the following message above the rest of the shown page.

Quote:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in \member.php(651) : eval()'d code on line 34

And when a member tries to request an award i get the 'no acces' message.
Quote:

UserName, you do not have permission to access this page. This could be due to one of several reasons...
How can i fix this?


__
Vb 3.5.4

Caerydd 01-06-2007 10:56 PM

hoping for someone to create a stable version of this for 3.6.4 . It looks great, but I can't risk the errors that a few others have received!

snobird1211 01-09-2007 08:18 PM

hey i love this add on and it works great till now. we have had an alot of new memebrs join at www.iptourneys.com and usally the awrads we give show up in the post bit but they are not. they show up in the user profile but not in the post bit, it seems about 50 percent show up in post bit and 50 percent dont. eveyrthing is configured right what should i do?

Thanks for the help

vppremier 01-12-2007 12:42 PM

I've messed up my forums doing template edits and can no longer see the rewards next to the users post count. You can have a look here - http://stepinthezone.com/forum/showthread.php?t=262

The creator of that post has two awards, you can see it his profile, but they don't show up when you view the thread.

That postbit area used to be a darker color than the post body, but is now just white.

Please help me fix this and revert it back to what it used to be.

Mum 01-16-2007 05:15 AM

Can't wait for this for 3.6.4

dknelson 01-16-2007 11:39 AM

Works GREAT on my board running 3.6.4.

Cyricx 01-18-2007 02:08 PM

dknelson,

Do you use the create thread or create poll options?

I think those may be what's causing the issues in 3.6.4

dknelson 01-18-2007 02:21 PM

You may be right because no, I do not use those options and have never tried.

FamilyCorner 01-21-2007 04:07 PM

I originally installed this hack when it first came out. I am now running 3.5.1 and the system still works great.

I just spent well over an hour trying to upgrade to the most recent version of this hack and ended up reversing all my work when it got stuck on the automatic upgrade. When I click the link to upgrade it just didn't do anything.

ALL I WANT to change about the hack I have running is to be able to either resort the award display on a member's posts, or have them show up with most recent first.

is there a way to do this without going through the entire upgrade?

noreturn 01-21-2007 06:57 PM

I am using vb version 3.5.3
Right now only me (admin) can access the award system and award manager. Is there a way to allow Super Mods to be able to access this in the admin cp and give out the awards? If so can you please tell me how to set that up?

Thanks

Stilgar 01-24-2007 04:15 PM

I hope this question wasn't already answered. If it was, I'm sorry I could not find it.

How would I go about changing the size of the font in the postbit and postbit_legacy templates.

Right now the " Total Awards: 3 (moreĀ» ...) " part is in a larger font size then the rest of the text in the postbits.

Great mod, thanks!

EDIT

I figured it out. I added class="smallfont" to the <div> before the postbit edits.

wilde108 01-30-2007 04:20 AM

Everything seems to work fine for me except one small item. When I click on the request award link the formatting of the page shifts. I am using subdreamer v2.4.0 with a skinned vb forum. When the skinning is turned off it is fine. It is not the skin file because all other aspects of the plugin work fine. Can someone give me a hand as to what I may need to do. Here is the link for your viewing pleasure. http://www.photoshopchop.com/forum/r...php?award_id=5

Mobo 02-02-2007 03:25 PM

This is a great Mod and I've had it installed for the last week on my test site and it functions perfectly. I am having one display issue though...

http://gamershavenco.com/temp/memb1.jpg

For some reason, it appears that the Awards column is getting a thicker boarder if the member does not have an award granted to him.

Here is the code for the Awards section of the memberlist_resultsbit template...

Code:

<!-- show awards -->
        <if condition="$vbulletin->options['aw_memberlist']"><td class="$bgclass">$userinfo[userawards]
<if condition="$userinfo[num_awards]"><div nowrap>
<a href="member.php?$session[sessionurl]u=$userinfo[userid]#award">$vbphrase[total_awards]: $userinfo[num_awards]</a></div></if>
</td></if>
<!-- /show awards -->


And this is the code from the memberlist template...

Code:

<!-- show awards -->
                        <if condition="$vbulletin->options['aw_memberlist']"><td class="thead" nowrap="nowrap">$vbphrase[awards]</td></if>
<!-- /show awards -->


As you can see, it's noting as simple as boarder thickness, ect. You can also tell from the image above that as long as the members have an award, it appears just fine.

Any thoughts on what could be causing it?

Thanks again,

Keith

T_Richardson 02-04-2007 05:56 AM

I just wanted to post my experience with this mod.
It's a great mod, I had it working and uploading medals and giving them to my members. The next day I had a major database error on all my vbulletin pages including admincp.

After reinstalling my board (no data loss), I tried to install the mod again, thinking I made a mistake. Another database error, same as before.

I am not sure if it's caused by myself not installing it right, or it's conflicting with the custom style I have.

I will wait till this mod is fully functional for the vBulletin version I have = 3.6.4


All times are GMT. The time now is 04:14 AM.

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.01769 seconds
  • Memory Usage 1,839KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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