View Full Version : Major Additions - Yet Another Awards System 2.1.4
Yet Another Award System 2.1.4 ? by HacNho
Copyright (C) 2005 by HacNho, All rights reserved.
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=94836)
Hack Version: 2.1.4.070324
Compatible vB version: 3.6.x
Support: https://vborg.vbsupport.ru/showthread.php?t=142487
for vBulletin 3.5.x:
https://vborg.vbsupport.ru/showthread.php?t=94836
For vBulletin 3.0.x, please check the other version:
https://vborg.vbsupport.ru/showthread.php?t=78934
DESCRIPTION:
This is a Medals/Awards system. Admin can give members awards, and award icons will be displayed in member's profile, posts, as well as in a award list.
FEATURES:
In AdminCP
- Can Create/Edit/Delete/Reorder categories/sub-categories in ACP (with category name and description)
- Can Create/Edit/Delete awards in ACP (with Award Name, Description, Icon URL, Image URL)
- Can Move one (or all) award(s) from one category to another
- Can set some awards un-classified (not displayed for public)
- Can re-order awards in awards showcase
+ Issue awards to members, based on username or userid, with Issue Reason
+ Remove awards from members
- [1.2] Options to set number of awards displayed in postbit
- [1.2] Options to turn on/off showing award icon, images, award requests in awards list, awards icons in memberlist
- [2.1.3] Notify awarded user by PM/email
- [2.1.4] Option to turn on/off Award System in ModCP
In ModCP
+ Issue awards to members, based on username or userid, with Issue Reason
+ Remove awards from members
Front page
- Display awards list in with: Award Name, Description, Icon, Image, and Members who get each award.
- Display awards showcase in profile, with Award information, Issue time and reason
- Display award icons in postbit (showthread, showpost, announcement, private)
[1.2] Display limit awards in postbit, with total awards, and a link to awards showcase in member profiles.
[1.2] Award request, link to a form sending to email/PM/new thead or post (based on Dr Erwin Loh's Form hack)
[1.2] Display award on Memberlist page (by trulylowcarb)
CHANGES/MODIFICATION:
- Tables to add: 3 (award, award_user, award_cat)
- Files to add: 4 (/awards.php, /award_request.php, /admincp/award.php, /admincp/award_cat.php)
- Files to edit: 8 (/admincp/index.php, member.php, showthread.php, showpost.php, announcement.php, private.php, memberlist.php, /include/functions_online.php)
- Templates to edit: 5 (MEMBERINFO, postbit, postbit_legacy, memberlist, memberlist_resultsbit )
DIFFICULTY:
Easy
Time: about 5 minutes
Installer is included (1 product XML)
CREDIT:
Idea has been carried on by many people, here are some:
- Lesane for original Award hack for vB2, eventhough I've never use his hack
- AnimeWebby for Awards/ Medals/ Cards Hack [vB3] (http://showthread.php/?t=61108), which I write new code based on his.
- Mac ycl6 for phpBB Medal System (http://www.phpbb.com/phpBB/viewtopic.php?t=148362) for phpBB forum
- Dr Erwin Loh for FORM TO THREAD/ FORUM/ PM/ EMAIL hack
- and all others for supports and ideas
2.1.4:
- Option to turn on/off Award System in ModCP
- Fix permission error in ModCP
- Fix database conflict with other hacks when getting awards in posts
- Paste code in award description and issue reason
- Add instruction to add Award link in Nav bar
- Some other minor changes
IsMaR
03-19-2007, 08:21 AM
hmm well ok waiting
mktrilogy
03-19-2007, 09:59 AM
thanks installed :) Finally
Hornstar
03-19-2007, 10:37 AM
Cool, does this come with any pics?
BoYagoob
03-19-2007, 10:46 AM
what I was waiting for .. installed :)
Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.
fusiongoddess
03-19-2007, 01:04 PM
Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.
Me too. Just wondering if there were many changes.
cygy2k
03-19-2007, 01:09 PM
Any more images than just the blue?
Cool, does this come with any pics?
Any more images than just the blue?
Nope, I dont design any set of awards. Wish if anyone can design a set for this hack :)
Any benefits in upgrading to this 3.6.5 version ?
I'm running vbulletin 3.6.4 and installed the award system for 3.5.X a few months ago and had no problems.
Me too. Just wondering if there were many changes.
Not big changes. I released actually because people asking again and again for a version for 3.6.x, so I give out one.
beside some minor modification, there're few other changes:
- [2.1.3] Add a link "Give award to user" in admincp menu and change some link name.
- [2.1.3] Notify awarded user by email option
- Change "Issue reason" from input to textarea, so you can give more descriptive reason when giving award(s).
- Allow user to issue/remove awards in In ModCP (I myself dont like this, but it has been requested). Remember, no permission check in there yet, so anyone who can access ModCP can use it)
If you use the old one (2.1.2) without problem, you dont really need to upgrade.
KristerSwe
03-19-2007, 01:30 PM
Hello. i will upload a PSD with many award medals i did for another portal
I will do it as soon i get home Cheers
UncoderMom
03-19-2007, 01:40 PM
Thank you! Ive been waiting for this!!
KristerSwe
03-19-2007, 01:43 PM
Hello all
Sharing my PSD here for you to play with. the psd file is sliced so if you make changes
you can easy "save optimized as" and they are splitted and named .....
Hope you guys liked them enjoy ...
Regards Krister
Lionel
03-19-2007, 02:32 PM
@krister. That medals zip is corrupted, please reupload
ZomgStuff
03-19-2007, 02:39 PM
Thanks!
Krister,
Can I provide your award file with the package?
ps. do you have a bigger version by any chance?
weedheaven
03-19-2007, 03:20 PM
Krister,
Can I provide your award file with the package?
That would be great, as i aint smart with psd's
KristerSwe
03-19-2007, 03:45 PM
Krister,
Can I provide your award file with the package?
ps. do you have a bigger version by any chance?
Yes feel free to include it to the package. and a little credit :)
Yes sure i can . i will upload the pics itself also. they are transparent
and should work on all skins. give me little time only
Thanks for like them ..
KristerSwe
03-19-2007, 03:47 PM
@krister. That medals zip is corrupted, please reupload
Works great for me on 3 computers. i used Winrar 3.6 when i zipped them
can be found here. www.rarsoft.com
Sorry for the extra work
Lionel
03-19-2007, 04:13 PM
I've just installed and I got this from showthread
SELECT a.*, au.*, post.userid, post.postid
FROM new_post AS post
INNER JOIN new_award_user AS au ON (au.userid=post.userid)
INNER JOIN new_award AS a ON (a.award_id=au.award_id)
WHERE post.postid IN (0,61944)
GROUP BY au.issue_id
ORDER BY au.issue_time DESC;
MySQL Error : Unknown column 'au.award_id' in 'on clause'
Error Number : 1054
Lionel
03-19-2007, 04:22 PM
in db, the column is named awardid instead of award_id
strike that, I was looking at wrong column. But I still have error. I am on mysql 5.0.22 and php 5.16
bada_bing
03-19-2007, 04:31 PM
Installed and looks great.. I have a question how can I post the awards to show up under the members name in the postbit/postbit_legacy
Lionel
03-19-2007, 04:40 PM
INNER JOIN new_award AS a ON (a.award_id=au.award_id)
Actually I was right. In table award_user au it's awardid
Lionel
03-19-2007, 04:49 PM
This is getting juicy for me My award_user table is way different from your product
Lionel
03-19-2007, 05:02 PM
I solved my issue by fixing the table. I have no idea where that came from. Was empty anyway.
projectego
03-19-2007, 05:15 PM
Great work, mtha! Tanks. ;)
Subah
03-19-2007, 05:18 PM
mtha , the file is corrupted ??
Lionel
03-19-2007, 05:56 PM
Found the culprit! The Nova Awards was using that table. Lucky for me this is a very simple mod, so I just made a new table for it and changed the handful of instances where they were referring to it
mat.knott
03-19-2007, 06:24 PM
upgraded find from previous version but still have same problem that i had before (Thought it was to do with using wrong version for my vb)
when i click request award this text appears at the top of the page
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/pottypet/public_html/forum/includes/vba_cmps_include_template.php on line 27
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vba_cmps_include_top.php on line 37
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /includes/vba_cmps_include_top.php on line 37
i know its refuring to vb advanced templates but it only happens on the award request page
any ideas?
bada_bing
03-19-2007, 06:41 PM
Installed and looks great.. I have a question how can I post the awards to show up under the members name in the postbit/postbit_legacy
Any help on this please
mat.knott
03-19-2007, 07:29 PM
dont know for sure but i would guess you need to paste the code for the postbit/postbit legacy somwhere close to under $post[musername] (maybe after the if command)
Kiint
03-19-2007, 07:50 PM
I'm currently using your 3.5 version on my 3.6.5 vbulletin. How easy would it be to upgrade this to the new version without uninstalling the old one?
I'd like to keep it up-to-date incase of any future upgrades to this system.
I had to make a few template changes to get your 3.5 version to work with my current style so would hate to have to uninstall and reinstall the new version.
Thanks for all the effort you have put into this, it's much appreciated.
mat.knott
03-19-2007, 08:11 PM
i recently updated mine by just uploading all files again and installing the xml file in overright mode..
it seems to be working fine
KristerSwe
03-20-2007, 07:32 AM
Here is only the pic files for them who not know about photoshop and just need pics....
i Will do a new set with different looks and bigger in size. post a screenshot later
Cheers ...
kingvillain
03-20-2007, 08:36 AM
Thanks mate, cool mod
KristerSwe
03-20-2007, 08:43 AM
Was play around in photoshop anyone interessted in this kind. see screen
Can be a new set with medals ....
Kiint
03-20-2007, 10:40 AM
Was play around in photoshop anyone interessted in this kind. see screen
Can be a new set with medals ....
Nice medal, very nice.
All my current medals are 25x60, so as long as I can resize around that then they'll be great.
hotmasala4u
03-20-2007, 11:34 PM
this messed up my forum
hotmasala4u
03-20-2007, 11:35 PM
can somebody tell me what si worng
Database error in vBulletin 3.6.5:
Invalid SQL:
SELECT award_user.userawardid AS userawardid, award_user.userid AS userid, award_user.awardid AS awardid, award_user.dateline AS dateline, award_admin.title AS title, award_admin.description AS description, award_admin.image AS pic
FROM award_user AS award_user
LEFT JOIN award_admin AS award_admin ON ( award_user.awardid = award_admin.awardid )
WHERE award_user.userid = 2;
MySQL Error : Table 'malluboa_board.award_user' doesn't exist
Error Number : 1146
Date : Tuesday, March 20th 2007 @ 05:32:24 PM
Script : http://www.malluboard.com/forum/member.php?action=getinfo&u=2
Referrer : http://www.malluboard.com/forum/
IP Address : 68.37.87.51
Username : GoDFaTher
Classname : vB_Database
danhaga
03-21-2007, 01:45 AM
Great mod but I have one problem... The award description is limited in length and there isnt enough space for me to make a proper description for certain awards.
Is there a way to lengthen this?
masons
03-21-2007, 09:03 AM
Can someone integrate this so it shows up in ZOINTS profiles too?
masons
03-21-2007, 10:02 AM
Database error in vBulletin 3.6.5:
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,5288,5244,5169,5161,5158,5154,5142,4651,4291,42 50) 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
Date : Wednesday, March 21st 2007 @ 05:53:15 AM
Script : http://www.novusordosaeculorum.com/showthread.php/why-did-you-534.html?p=5288
Referrer : http://www.novusordosaeculorum.com/
IP Address : 124.86.224.8
Username : Mike
Classname : vB_Database
Phooey
03-21-2007, 11:09 AM
Hello all
Sharing my PSD here for you to play with. the psd file is sliced so if you make changes
you can easy "save optimized as" and they are splitted and named .....
Hope you guys liked them enjoy ...
Regards Krister
You rock.
masons
03-21-2007, 01:07 PM
The above error disappears when I turn off the POSTBIT function in the admin area!
Necrosaro420
03-21-2007, 11:10 PM
Will this run on vb 3.6.4? Also, I use Postbit, (not legacy) will this work? Thanks!
toucan42
03-22-2007, 03:13 AM
The above error disappears when I turn off the POSTBIT function in the admin area!
Database error in vBulletin 3.6.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,11332,11334,11336,11337,11338) 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
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database
For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.
toucan42
03-22-2007, 03:40 AM
On member.php there is a problem also where it shows the small awards showcase:
Awards Showcase
The Ladybug Award: For excellent posts
Congratulations!" border="0" />
Issue with quotes in the "Reason" field?
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
Database error in vBulletin 3.6.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,11332,11334,11336,11337,11338) 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
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database
For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.
Do you have some other hack that replace the $postids value and add a GROUP BY post.postid ?
please check what's other hacsk using this hook location: showthread_query
toucan42
03-22-2007, 04:10 AM
I'm not sure but by simply removing the GROUP BY in the product XML and replacing with a comma I was able to get it working.
howard11
03-22-2007, 12:24 PM
Great Mod really chuffed about it :):) Thanks
toucan42
03-22-2007, 05:47 PM
Do you have some other hack that replace the $postids value and add a GROUP BY post.postid ?
please check what's other hacsk using this hook location: showthread_query
How can I check this?
toucan42
03-22-2007, 06:03 PM
It's PhotoPlog causing the problem. Grrrr
toucan42
03-22-2007, 06:11 PM
What I did is simply remove the Group By altogether - no user will receive the same award twice so this should not be an issue (fingers crossed) - This has been quite a learning experience delving more into the vB code.
I will release a fix for that one. hope it will work
bacanze
03-22-2007, 08:28 PM
Wow, cool plugin, thanks.
marsauae.com
03-22-2007, 09:27 PM
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'مشرف عام',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<font color=\"#800000\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`pmdailyquota` = '',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '0',
`forumpermissions` = '1048575',
`genericpermissions` = '535779055',
`attachlimit` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '2000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '4'
WHERE usergroupid=5;
MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Date : Thursday, March 22nd 2007 @ 05:23:34 PM
Script : http://www.marsauae.com/bb/admincp/usergroup.php?do=update
Referrer : http://www.marsauae.com/bb/admincp/usergroup.php?do=edit&usergroupid=5
IP Address :
Username : marsauae
Classname : vB_Database
Nzarect
03-22-2007, 11:33 PM
Great mod but I'm having a problem with moderators not being able to view the awards in the modcp. It's there because I can see it, but when they try to access it, they get "you do not have permission to use this page".
I can't find where I can edit their permissions. Only 2 moderators will have permission to issue awards.
techenigma
03-23-2007, 03:35 AM
Excellent Mod... One error I spotted and also a feature request.
I get the following error when attempting to do a mass move in the award manager
Warning: Invalid argument supplied for foreach() in /admincp/award.php on line 808
Also I wanted to know if you could add a feature in the "Award System Settings" to enable or disable the "Awards SHowcase" in the user profile.
p.s - How can I paginate the images in both the postbit and when they appear in the small "awards showcase" in the user profile? I have about 10 awards showing up there but they just run in one line and I'd like to make it do 5 per line.
rjmjr69
03-23-2007, 11:54 AM
Cool another awards system. Just to pick which one to use...
I have the plugin installed, but i only have the aDmin-options link. I don't have links to the awards.php or awards manager.
Please help.
techenigma
03-23-2007, 05:48 PM
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
mat.knott
03-24-2007, 07:29 AM
any update on problem with vbadvanced?
MikeHolohan
03-24-2007, 04:54 PM
This is excellent, installed thanks, Mike.
RCWong
03-24-2007, 06:24 PM
I upgraded from 2.1.2 to this 2.1.4 and now I get this error?
Fatal error: Call to a member function parse() on a non-object in /home/****/domains/*****/public_html/showthread.php(1044) : eval()'d code on line 15
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'مشرف عام',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<font color=\"#800000\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`pmdailyquota` = '',
`pmquota` = '50',
`pmpermissions` = '7',
`pmsendmax` = '0',
`forumpermissions` = '1048575',...
WHERE usergroupid=5;
MySQL Error : Unknown column 'pmdailyquota' in 'field list'
Error Number : 1054
Date : Thursday, March 22nd 2007 @ 05:23:34 PM
Script : http://www.marsauae.com/bb/admincp/usergroup.php?do=update
Referrer : http://www.marsauae.com/bb/admincp/usergroup.php?do=edit&usergroupid=5
IP Address :
Username : marsauae
Classname : vB_Database
This error doesnt seem to relate to this hack
Great mod but I'm having a problem with moderators not being able to view the awards in the modcp. It's there because I can see it, but when they try to access it, they get "you do not have permission to use this page".
I can't find where I can edit their permissions. Only 2 moderators will have permission to issue awards.
Upgrade to version 2.1.4
Excellent Mod... One error I spotted and also a feature request.
I get the following error when attempting to do a mass move in the award manager
Also I wanted to know if you could add a feature in the "Award System Settings" to enable or disable the "Awards SHowcase" in the user profile.
p.s - How can I paginate the images in both the postbit and when they appear in the small "awards showcase" in the user profile? I have about 10 awards showing up there but they just run in one line and I'd like to make it do 5 per line.
Do you have anything special when you try to mass-move? anyway, try with the new version.
should the awards being automatically wrap?
I have the plugin installed, but i only have the aDmin-options link. I don't have links to the awards.php or awards manager.
Please help.
You have to add the link. upload the files again might solve the problem
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
postbit and postbit_legacy.
Database error in vBulletin 3.6.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,11332,11334,11336,11337,11338) 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
Date : Wednesday, March 21st 2007 @ 11:04:22 PM
Script : http://www.talkwhatever.com/showthread.php?p=11338
Referrer : http://www.talkwhatever.com/index.php
IP Address : 72.92.141.48
Username : admintw42
Classname : vb_database
For me this occurs when I turn ON postbit - assuming it is the double GROUP BY but not sure how to fix that in the product.
please try the new version 2.1.4 . it should work.
On member.php there is a problem also where it shows the small awards showcase:
Awards Showcase
The Ladybug Award: For excellent posts
Congratulations!" border="0" />
Issue with quotes in the "Reason" field?
well, I just remove the description in the link tag. it should be ok with 2.1.4
Great mod but I have one problem... The award description is limited in length and there isnt enough space for me to make a proper description for certain awards.
Is there a way to lengthen this?
ok, in 2.1.4, field type for award description and reason is changed to text, now you can put more stuff in there, but I am not guaranty about the template (if your long custom description would look nice on the pages.
Bojangles
03-25-2007, 08:31 AM
Great mod :) Awesome work! /installed.
odie3
03-25-2007, 05:55 PM
Installed and so far so good!
Question: On user posts, rather that showing the newest/oldest awards - could it be possible to just show random awards, per user posts?
Thanks!
Now if I could just get custom ranks per user [not per group like VB works] I'll be set.
techenigma
03-25-2007, 10:35 PM
Yet another question... which template controls the award display in postbit? I want to make some changes there but can't figure out which of your templates is the one to edit. thanks.
postbit and postbit_legacy.
No sorry, you mis-understood. I'm wondering which of your added templates needs to be edited to change it. Is it the award_showcase template?
Basically what I'm trying to do is change the way the awards are displayed in the post bit i.e remove the awards showcase box around them, have them display directly next to each other instead of spaced, and have them display automatically wrap 5 per line. Which template is it that controls the display? award_showcase?
techenigma
03-26-2007, 10:10 AM
My finger lay in wait on the "Donate" button should I be able to accomplish these things I need. Would make my site so much better, and smoother to run.
::grease palm::
paramorefans
03-26-2007, 03:11 PM
I have the same question as techenigma .
Another question.
anyone know where i could get medals? specially the small medal icons.
thanks!
odie3
03-26-2007, 03:55 PM
Here are my medals, not sure if you will find them useful.
There are a number of awards that are similar to the example one that comes with this MOD. The ones in the /gd/ directory are the ones that I really use [however only a small % of them].
Odie's Ghost Dogs Medals (http://ghostdogs.net/Pictures/vb/Medals.zip)
Danisty
03-26-2007, 10:46 PM
I just got this message when I tried to give an award. It did give them the award though.
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /admincp/award.php on line 581
I'm also showing this message at the top of the profile pages of people who have the award:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
Also, I'm not getting any awards displaying in the postbit.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
in module "YAAS - Showthread_postbit_create"
add
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
after $post['showuserawards'] = false;
if ($vbulletin->options['aw_postbit'])
{
Hostboard
03-27-2007, 04:25 PM
Would it be possible (did not see it listed in its abilities) to have it ato remove the award after X amount of days?
Danisty
03-27-2007, 04:34 PM
Where am I supposed to be looking to find that? Will that fix all the problems?
WAHMama
03-27-2007, 05:43 PM
Installed and working great TY
Does anyone know where I can find some "cute" awards for a mommy board?
testebr
03-28-2007, 11:07 AM
Question 1:
Why template conditionals dont work in awards_bit template?
example:
<if conditional="THIS_SCRIPT == 'member' ">
teste01
<else />
teste02
</if>
Will show teste01 teste02 in postbit and memberinfo
How to fix it? I need use conditionals...
Question 2:
You save the award reason in the field issue_reason on table *award_user, but you dont offer a option to edit the reason by board admincp. Why?
Can you add this option? I just edited the reason directly in phpmyadmin.
Thanks
KarenneLyn
03-28-2007, 02:55 PM
I installed this wonderful awards (thank you very much...just what I needed) but I have a problem...when I go to give an award, the person I give it to...any of the boards they have posted in have an error for all to see...the error is a tad different for each posting, but you get the idea here:
Fatal error: Call to a member function on a non-object in /public/vbulletin/showthread.php(1095) : eval()'d code on line 15
But the second I remove the award, this error goes away.
(scratches head) I have no clue. Any suggestions for me?:confused:
cheat-master30
03-28-2007, 05:20 PM
Okay, I tried this on my forum, and it was great until I gave someone an award. Then, once I did, going into any topic they had posted in would cause an error, but their profile would display it fine. I can provide a photo if needed.
Okay, I tried this on my forum, and it was great until I gave someone an award. Then, once I did, going into any topic they had posted in would cause an error, but their profile would display it fine. I can provide a photo if needed.
soluttion:
in module "YAAS - Showthread_postbit_create"
add
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
after $post['showuserawards'] = false;
if ($vbulletin->options['aw_postbit'])
{
bada_bing
03-29-2007, 11:45 AM
Any help on this please
Can anyone please help me with this?
TrIn@dOr
03-29-2007, 11:52 AM
Question:
I have working the 2.1.2 in our vB 3.6.5 (https://vborg.vbsupport.ru/showthread.php?t=94836)
Do we really need to upgrade to this one?
Upgrade process?
Thanks in advance.
Danisty
03-29-2007, 11:15 PM
soluttion:Could you please explain where to find "YAAS - Showthread_postbit_create." I looked in all the places I thought it should be, but I'm not an expert or anything.
Question:
I have working the 2.1.2 in our vB 3.6.5 (https://vborg.vbsupport.ru/showthread.php?t=94836)
Do we really need to upgrade to this one?
Upgrade process?
Thanks in advance.
Reading the posts in the thread sometimes helps :rolleyes:
Click here (https://vborg.vbsupport.ru/showpost.php?p=1207306&postcount=10)
abdulla1
03-30-2007, 12:42 AM
The boarder of the showcase in the user postbit fields is not showing!
Its not compatable with my forum applied design.
Anybody can help me change the font color of the boarder of the showcase?
or atleast remove it?
i just want to display the icons without any typings in the postbit.
thanks.
Can anyone please help me with this?
Could you please explain where to find "YAAS - Showthread_postbit_create." I looked in all the places I thought it should be, but I'm not an expert or anything.
ACP - > Plugins & Products -> Plugin Manager
(http://yourforumhome/admincp/plugin.php?do=modify)
Installed and looks great.. I have a question how can I post the awards to show up under the members name in the postbit/postbit_legacy
read awards_install_template.html and edit postbit/postbit_legacy templates
Danisty
03-30-2007, 07:04 PM
I don't know what I'm doing wrong, but that didn't help at all.
paramorefans
03-31-2007, 06:32 PM
No sorry, you mis-understood. I'm wondering which of your added templates needs to be edited to change it. Is it the award_showcase template?
Basically what I'm trying to do is change the way the awards are displayed in the post bit i.e remove the awards showcase box around them, have them display directly next to each other instead of spaced, and have them display automatically wrap 5 per line. Which template is it that controls the display? award_showcase?
yeah i want to this too, any idea how?
Danisty
04-07-2007, 02:28 PM
Can anybody help me with this? Perhaps post the entire text that should be in the YAAS - Showthread_postbit_create plugin?
sinisterpain
04-07-2007, 02:37 PM
Can anybody help me with this? Perhaps post the entire text that should be in the YAAS - Showthread_postbit_create plugin?
$post['userawards'] = '';
$post['showuserawards'] = false;
if ($vbulletin->options['aw_postbit'])
{
if (is_array($userawardscache[$post[userid]]))
{
$aw_i = 0;
$post['num_awards'] = count($userawardscache[$post[userid]]);
foreach($userawardscache[$post['userid']] AS $award_id => $award)
{
$aw_i++;
if ($aw_i <= $vbulletin->options['aw_display_limit'])
{
eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
}
}
$post['showuserawards'] = true;
}
}
Elfo King
04-08-2007, 08:41 PM
Hi !
I have a problem with this:
IF on POSTBIT is enabled:
Database error in vBulletin 3.6.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 1=1
AND post.postid IN (0,1684)
GROUP BY au.issue_id
ORDER BY au.issue_time DESC;
MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 10:45:07 PM
Script : http://forum.uebb.it/showthread.php?t=371
Referrer :
IP Address : 66.249.72.209
Username : Non registrato
Classname : vb_database
If MEMBERLIST is enabled:
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT a.*, au.*
FROM user AS user
INNER JOIN award_user AS au ON (au.userid=user.userid)
INNER JOIN award AS a ON (a.award_id=au.award_id)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid=user.userid)
LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid=reputationlevel.reputati onlevelid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE 1=1
AND user.usergroupid IN (-1,37,38,72,71,9,6,70,52,79,74,51,16,19,64,82,29,69 ,30,56,77,42,28,68,7,15,14,73,84,12,65,80,81,59,60 ,5,26,49,83,50,2,31,78)
GROUP BY au.issue_id;
MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 11:38:03 PM
Script : http://forum.uebb.it/memberlist.php
Referrer :
IP Address : 62.123.244.184
Username : King™
Classname : vb_database
and...a big problem...if all disabled, in ALL MEMBER PROFILE:
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT a.*, au.*
FROM award AS a
LEFT JOIN award_user AS au ON (a.award_id=au.award_id)
WHERE (au.userid = 1874)
ORDER BY au.issue_time DESC;
MySQL Error : Colonna sconosciuta 'a.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, April 8th 2007 @ 10:43:57 PM
Script : http://www.uebb.it/forum/member.php?u=1874
Referrer :
IP Address : 74.6.68.235
Username : Non registrato
Classname : vb_database
Now i have disabled the product for full board function...
Pls...i need fast help to repair..:(
Danisty
04-09-2007, 02:20 AM
$post['userawards'] = '';
$post['showuserawards'] = false;
if ($vbulletin->options['aw_postbit'])
{
if (is_array($userawardscache[$post[userid]]))
{
$aw_i = 0;
$post['num_awards'] = count($userawardscache[$post[userid]]);
foreach($userawardscache[$post['userid']] AS $award_id => $award)
{
$aw_i++;
if ($aw_i <= $vbulletin->options['aw_display_limit'])
{
eval('$post[userawards] .= "' . fetch_template('awards_bit') . '";');
}
}
$post['showuserawards'] = true;
}
}
I'm still getting the following error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(825) : eval()'d code on line 60
polo708
04-10-2007, 08:05 AM
alright, I feel stupid right now... to install this hack I download the zip file on teh first page and do what?... yes im serious, haha. This is my first hack install and im curious/nervous. Looks like a great program.
Im running: VBulletin 3.6.4
MikeHolohan
04-10-2007, 05:55 PM
Can anyone tell me if it is possible to give an award to a usergroup rather that a single user... for example I have bronze supporter, silver supporter and gold supporter usergroups.
I created awards for each of these usergroups and wanted to assign an award to each usergroup, any ideas?
Mike.
Kirkus
04-10-2007, 09:49 PM
alright, I feel stupid right now... to install this hack I download the zip file on teh first page and do what?... yes im serious, haha. This is my first hack install and im curious/nervous. Looks like a great program.
Im running: VBulletin 3.6.4
First you need to "unzip" the file that you downloaded. Then, if you look inside the "Docs" folder you'll see installation instructions. Follow them step by step.
home9000
04-15-2007, 04:17 AM
very nice product
I want to change Yes/No/Maybe options in poll to another words where I can found this words
Danisty
04-20-2007, 08:19 AM
If I can't get some kind of feedback here I'm just going to uninstall this.
djchris
04-21-2007, 05:40 AM
Am I right to say that for this mod, I allow members to vote, and then I see the results of the voters and award the winner?
If so, may I know, how do I view the results of the votes? I can't seem to find the results, and who voted..
JuGgOlOw22
04-21-2007, 02:44 PM
Wanted to give a heads up.
When I installed this awards system, (which is great btw), I got this error:
Database error in vBulletin 3.6.0:
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 1=1
AND post.postid IN (0,1691,2180,2184,2185,2187,2188,2189,2190,2252,22 79,2280,2286,2327,2332,2333,2337,2338)
GROUP BY au.issue_id
ORDER BY au.issue_time DESC;
MySQL Error : Table 'setxapa2_forum.award_user' doesn't exist Error Number : 1146
Date : Friday, April 20th 2007 @ 04:59:56 PM
This happened because I had installed Nova Awards.
Fix:
1. Uninstall Nova Awards
2. Uninstall YAAS
3. Re-Install YAAS
Voila!
odinzu
04-21-2007, 08:05 PM
Hey, I can't find this in the postbit template. Could someone help me out?
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Ayien
04-21-2007, 09:18 PM
I recently downloaded this modification and installed it onto our forums. I followed the template editing to the word, however when I try to view someone's profile (let's say my own) I get a blank white page.
Is anyone else having this issue?
Edit: Disregard that, I fixed it. I made a small mistake in the MEMBERINFO template edit. Sorry.
Great modification by the way. Top notch.
SupermanInNY
04-22-2007, 12:12 AM
Hey, I can't find this in the postbit template. Could someone help me out?
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
Just do a search on word: icqicon it will show up.
Pearl
05-01-2007, 09:18 AM
Thanks for this hack , its really great we are designing a set of medals atm.
I got a question i implemented your hack here http://www.clanlife.eu
however the link request this award never showsup on award.php file even as it is enabled in the award settings when i call upon the award_request.php file it states "choose a medal first"
what would be the issue?
Thanks
Pearl
05-01-2007, 09:28 AM
Thanks for this hack , its really great we are designing a set of medals atm.
I got a question i implemented your hack here http://www.clanlife.eu
however the link request this award never showsup on award.php file even as it is enabled in the award settings when i call upon the award_request.php file it states "choose a medal first"
what would be the issue?
Thanks
:) ok i foudn it the medal was turned off in manager as not possible to request... yay thanks anyway
Necrosaro420
05-03-2007, 12:14 AM
How would one get this to work with regular postbit? (one that goes left to right across the top of each message)
And also, does this work with 3.6.4?
Thanks
BANDiT600
05-04-2007, 07:29 PM
And also, does this work with 3.6.4?
ThanksvB Version: 3.6.5. Look at the top...
Majest
05-09-2007, 12:24 AM
Installed and works great thanks.
david05
05-09-2007, 10:41 PM
I dont' want moderators have permission to give awards to user. How do we disable this. Is this simple not to upload or delete the file award.php in modcp folder? Is this the right way to do this.
Thank,
Invalid ID
05-10-2007, 02:12 AM
Great... Installed :)
I dont' want moderators have permission to give awards to user. How do we disable this. Is this simple not to upload or delete the file award.php in modcp folder? Is this the right way to do this.
Thank,
ACP - vBulletin Options - Award System Settings - Allow moderators to give award from ModCP (Yes/No)
david05
05-10-2007, 10:32 PM
ACP - vBulletin Options - Award System Settings - Allow moderators to give award from ModCP (Yes/No)
Thank you for helping me.:)
Invalid ID
05-11-2007, 12:38 AM
Could you please give me some matching Ranks? Thanks
Invalid ID
05-11-2007, 01:50 AM
Both of the links in postbit and postbit_legacy (Award Showcase & Total Awards) take to the Member's profile, why?
*Installed* No problems, works great! Really appreciate it - Thanks a bunch!
Always, Bree
vB 3.6.5
EDIT: Not sure if it was just my style or not but in the awards_request_form template there was an extra:
</td>
</tr>
</table>
Starting on line 116 I think. It was messing my page all up, I deleted it and all is better now. Again, that may be a prob with my template(skin) or smn, I dunno.
Aimee1969
05-11-2007, 09:15 PM
I get this when i go to mod cp to give awards:
Not Found
The requested URL /modcp/award.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at www.timeoutlounge.net Port 80
What does it mean??
E.Blackadder
05-12-2007, 07:57 PM
clicking on the medal (3) takes you to the 'awards showcase'....
so how can I tidy the look by deleting the spare links...text (1) and (2)
Thanks to any one who can explain how to do the 'edit'.
other than these few tweaks the mod works perfectly....well done developer.
http://homepage.ntlworld.com/peter.coan1/post%20pictures%20not%20humour/medals.JPG
Lottis
05-14-2007, 08:35 PM
Installed, and works great in 3.6.6 Thank You, mtha. :)
Invalid ID
05-17-2007, 04:46 PM
Clicking on Award Showcase and Total Awards both take to http://www.mysite.com/forum/member.php?u=2#award
why?
MikeSF
05-17-2007, 05:32 PM
Suggestions:-
Define who can give awards exactly, by user ID (E.G: 1,3,4) - This will allow these users to give awards. This will also prevent admins having to give rights to 'every mod' to be able to give and remove awards.
In threads that are created, people who are allowed to give awards can see a quick link, which will automatically give the requesting user the badge (with predefined settings). E.G: Having an 'Automated Award Settings' section, which you decide whether the user automatically gets a notification PM etc etc.
In conjuntion, this is a brilliant MOD. Well done and thank you :]
joshbond
05-18-2007, 12:06 AM
Can someone integrate this so it shows up in ZOINTS profiles too?
I'm having the same problem. Is there anyway to get this to show up in ZOINTS?
BTW, great mod! I love it. All my members are very excited about receiving their trophies!!!
http://www.photochopz.com/forum
bela-meaad
05-19-2007, 01:54 AM
How can i delete the medal i gave to the member?
i can`t find that?
Thanks
MikeSF
05-19-2007, 12:14 PM
How can i delete the medal i gave to the member?
i can`t find that?
Thanks
In
Admin CP > Award System > Award Manager > Give award to user
If you look, it's below the form to give a user an award.
Choose the person you want, tick the box which is 'remove' and submit.
MsRachel
05-28-2007, 03:34 AM
okay..ive read though all 9 pages..its been a long weekend..so sorry for the stupid questions..! someone already asked how to display the metals with the users profile when they post..and someone said to change the postbit. Can someone tell me what the codes are and what to do..? i got confused a few pages back and im not that patient (thats why im asking for help)..thanks so much..!!
also, how can you create a seperate page where people can vote and the boxes to put answers in..? we've seen it done on other sites. thanks
Pearl
05-28-2007, 04:54 AM
You need to change either postbit or postbit_legacy depending on what your forum is set to.
Pic i uploaded is legacy, I cahnged some of the code to fit the needs of my style but the original code you need to add in postbit is
<!-- show awards -->
<if condition="$post[showuserawards]">
<div class="info"><legend><a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[award_showcase]</a></legend>
<div>
$post[userawards]
<br>
<a href="member.php?u=$post[userid]#award" title="$vbphrase[more_awards]">$vbphrase[total_awards]</a>: $post[num_awards]
</div>
</div>
</if>
<!-- /show awards -->
as u can see on my pic its underneath everything else it can be anywhere in the postbit .
enable votes in vbulltin options, create a new forum and use the forum id in the options of yaas settings.
VenomMaster
05-31-2007, 07:11 AM
Hi there!
fist, let me say "Thanks" for this really great mod.
Second, i got a question: Is it possible to show a list of Awards on another page (actually i try ant combine your hack with the "Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=141311)"-hack)?
Thanks in advance,
Venom
odinzu
06-03-2007, 01:12 AM
EDIT: I Need to know how to edit the style of the award in the postbit legacy. I want to change the border. Here is an example of my postbit: Linky (http://www.haloscene.com/forums/showthread.php?t=147)
o0Hubba0o
06-03-2007, 02:58 AM
I've used this before on my graphics and have been wanting to get it on my gaming site to give game awards (for contests in diablo, wow, etc). Only downloaded so far will install in a bit, I just have to create my custom awards first. ;)
Hope I have better luck than it sounds like others are having.
VenomMaster
06-04-2007, 07:37 AM
Hi there!
fist, let me say "Thanks" for this really great mod.
Second, i got a question: Is it possible to show a list of Awards on another page (actually i try ant combine your hack with the "Customizable Roster (https://vborg.vbsupport.ru/showthread.php?t=141311)"-hack)?
Thanks in advance,
Venom
No one? I really need this...
daviblight
06-04-2007, 01:44 PM
i just an odd error...
Database error in vBulletin 3.6.5:
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 1=1
AND post.postid IN (0,1331380,1331426,1331429,1331508,1331510,1331542 ,1331851,1334085,1334399,1334432,1334436,1334446,1 334460,1334503,1334505,1334614,1334806,1335043,133 8530,1338533,1338581,1338616,1338693,1342940,13429 68,1344396)
GROUP BY au.issue_id
ORDER BY au.issue_time DESC;
MySQL Error : Unknown column 'a.award_id' in 'on clause'
Error Number : 1054
Date : Monday, June 4th 2007 @ 09:42:07 AM
Script : http://www.conceptart.org/forums/showthread.php?t=98016
Referrer : http://www.conceptart.org/forums/forumdisplay.php?f=2
IP Address : 66.72.161.124
Username : davi
Classname : vb_database
IR15H
06-10-2007, 10:02 PM
I installed and it all seemed to go well, however when I give someone a medal I get the following error;
Warning: mysql_insert_id() [function.mysql-insert-id (http://www.bitclan.com/forum/admincp/function.mysql-insert-id)]: A link to the server could not be established in \admincp\award.php on line 581It gives the award anyway, and appears in memberlist/posbit but when I try to view a member's profile it returns a white screen. I saw someone else mis edited the MEMBERINFO template, so I double checked mine and it was correct. I even reverted it to it's original state and tried clicking the profile anyway (assuming I'd see the user profile but no award stuff), but that still gave a white screen. When I remove the user's medal I can see their profile again. This is on 3.6.7. Help?
santimariani
06-11-2007, 05:04 PM
This may seem like a dumb question, but...
How do I get to the Awards List page? I can't seem to find it anywhere.
Thanks!
EDIT: Found it. It's amazing what looking well for something will do.
IR15H
06-13-2007, 10:05 AM
Well, it's been over 24 hours so I guess it's ok to bump...
I installed and it all seemed to go well, however when I give someone a medal I get the following error;
Warning: mysql_insert_id() [function.mysql-insert-id (http://www.bitclan.com/forum/admincp/function.mysql-insert-id)]: A link to the server could not be established in \admincp\award.php on line 581It gives the award anyway, and appears in memberlist/posbit but when I try to view a member's profile it returns a white screen. I saw someone else mis edited the MEMBERINFO template, so I double checked mine and it was correct. I even reverted it to it's original state and tried clicking the profile anyway (assuming I'd see the user profile but no award stuff), but that still gave a white screen. When I remove the user's medal I can see their profile again. This is on 3.6.7. Help?
PoetJA-1975
06-15-2007, 08:43 AM
Thanx very much MTHA for this modification.
Planning on making it a Major Feature on JPiC
**INSTALLED**
Jacquii.
masons
06-17-2007, 10:41 PM
Several things that could possible make a good add-on to this amazing mod.
Could you please make it possible for members to know about the different awards that are available in an area that they can readily access it should they desire to do so.
Can this area also have a recommend an award to someone area so that if someone wants to make a recommendation, they can.
Can we have a "Hall of Honor" to display those people who have won awards.
Can we also have something saying that we are prepared to make up a new award should there be a need recommended through PM to admins.
Let me know what you think!
BigDog56
06-19-2007, 02:58 PM
Got it working, great mod, was looking for this one! Thank you very much!
kennethsia
06-21-2007, 02:30 PM
works fully functional on 3.6.5 please guys follow all the steps, upload files. upload product. DO the styles edit first. then start messing with the awards. test it out before u start editing the settings. great great mod.
wrang
06-26-2007, 05:52 PM
Witch database prefix do this mod upload
I want to delete it from my database
is this the thing or is it more?
vb3_award
vb3_award_cat
vb3_award_user
powerful_rogue
06-26-2007, 07:17 PM
Any idea where to get the really small award icons? Ive searched high and low and can only find the large ones.
The Ottoman
06-26-2007, 08:32 PM
How would I go about changing the Memberinfo page to show the large awards (AwardImage) in place of the small awards (AwardIcon)?
<tr>
<td align="center">
$userawards
</td>
</tr>
That is the part of the code that displays the small award, what would be the variable to show the large one?
Thanks
powerful_rogue
06-26-2007, 11:24 PM
https://vborg.vbsupport.ru/
Hi, At present when an award is given it will show at position number 2. Is it possible, and if so how - to make it show up at position number 1?
Reason being, I have this vast amount of space there, and it would be very useful to show the awards in that section. Im really hoping there is a way of doing this that someone knows.
Many Thanks
Dave
Mrdby
06-27-2007, 01:25 AM
so anybody using it with 3.6.7?
mktrilogy
06-27-2007, 07:19 AM
using 3.6.7 here
chatzworld
06-27-2007, 08:21 AM
same here :)
powerful_rogue
06-28-2007, 09:07 AM
https://vborg.vbsupport.ru/
Hi, At present when an award is given it will show at position number 2. Is it possible, and if so how - to make it show up at position number 1?
Reason being, I have this vast amount of space there, and it would be very useful to show the awards in that section. Im really hoping there is a way of doing this that someone knows.
Many Thanks
Dave
Anyone able to oblige with the above at all please :o
The Ottoman
06-29-2007, 12:50 AM
Anyone able to oblige with the above at all please :o
try putting it between
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<--put award stuff here-->
</td>
<td width="100%"> </td>
<td valign="top" nowrap="nowrap">
<div class="smallfont">
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
BANDiT600
06-29-2007, 09:42 PM
If I give to user award in second time PM not sending!!!
Where to delete user from award?
kennethsia
06-30-2007, 04:00 AM
is this heavy on the resources?
The Ottoman
07-01-2007, 04:44 AM
is this heavy on the resources?
I haven't noticed a problem with it.
Silvio
07-07-2007, 09:57 PM
ty mta for this great mod i'm using it from last version and is really gorgeous.
now i've upgraded to 3.6.x version and i enabled a setting i did not used on last version so i cant say if is the same issue.
issue : phrases not working (after install they doesnt exists and nor create them) at least from cp options
Enter the userID of the User you would like to appear as sender of the Congratulation PM and/or Email.
Leave it "0" to use userid of the one who issue award
To edit the PM Content, click here (http://www.yoursite/forum/admincp/phrase.php?do=edit&e[3000][award_pm]), to edit the Subject click here (http://www.yoursite/forum/admincp/phrase.php?do=edit&e[4000][award_pm]).
i guess the problem is here
To edit the PM Content, click <a href="phrase.php?do=edit&e[3000][award_pm]">here</a>, to edit the Subject click <a href="phrase.php?do=edit&e[4000][award_pm]">here</a>.]]></phrase>
how is possible to fix that?
pls accept apologises for my terrible english
take care
ciao
es-league.com
07-10-2007, 06:42 AM
Think I have an error that I hope someone can help with...
I have noticed that only some of the award winning members
have medals displayed in their posts ?
Although the medals are clearly given in the admin cp
and showing as awarded on a particular date,
they even show up in each players user cp but not always
in the posts and threads...
seems a bit random , any ideas ?
Taios
07-12-2007, 10:53 AM
Question:
How do i get the medals to be as big as the medals in this forum?
http://www.global-army.com/forum/showthread.php?p=9253#post9253
I mean like. When the user posts, they are much bigger. Atm, my forum only shows a minute of the actual thing.
EDIT : figured it out. Just need to do some edits now i guess to change the position fo where its shown :)
katie hunter
07-13-2007, 08:34 PM
Hi I have a small question in the award how can i edit this part ? Name / Description
I want to stretch it more a little or add more words to it other then Name / Description
http://forum.nihonomaru.com/awards.php
Thanks
Simetrical
07-16-2007, 06:12 PM
This is a nice mod. Unfortunately, it crashed my site when this query was run repeatedly during a period of high load (23 times over, running between 78 and 208 seconds, as of just before I started killing them):
mysql> EXPLAIN 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 1=1
->
->
-> GROUP BY au.issue_id
-> ORDER BY au.issue_time DESC;
+----+-------------+-------+--------+---------------+---------+---------+-------------------------+-------+---------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-------+--------+---------------+---------+---------+-------------------------+-------+---------------------------------+
| 1 | SIMPLE | au | ALL | NULL | NULL | NULL | NULL | 117 | Using temporary; Using filesort |
| 1 | SIMPLE | a | eq_ref | PRIMARY | PRIMARY | 2 | totalwar_vb.au.award_id | 1 | Using where |
| 1 | SIMPLE | post | ref | userid | userid | 4 | totalwar_vb.au.userid | 25005 | Using where |
+----+-------------+-------+--------+---------------+---------+---------+-------------------------+-------+---------------------------------+
3 rows in set (0.00 sec)
While I'm no MySQL expert, it seems that this attempts to copy the entirety of the post table to a temporary table, in my case about 1.5 million rows. I've tracked the query down to the showthread_query hook:
// Obtain list of awards for current user
$alluserawards = $db->query_read("
SELECT a.*, au.*, post.userid, post.postid
FROM " . TABLE_PREFIX . "post AS post
INNER JOIN " . TABLE_PREFIX . "award_user AS au ON (au.userid=post.userid)
INNER JOIN " . TABLE_PREFIX . "award AS a ON (a.award_id=au.award_id)
WHERE 1=1
". iif((!empty($ids)), "AND post.postid IN (0" . $ids . ")") ."
". iif((!empty($cache_postids)), "AND post.postid IN (" . $cache_postids . ")") ."
GROUP BY au.issue_id
$awardsdisplayorder
");
while( $ua = $db->fetch_array($alluserawards))
{
$userawardscache[$ua['userid']][$ua['issue_id']] = $ua;
}
$db->free_result($alluserawards);
Apparently this fails to account for the possibility that $ids and $cache_postids are both empty. I have no idea why it would or would not be reasonable to account for that, because I don't know what either of those variables is, but at any rate, if they both are empty things are not very good. I've wrapped the whole thing in a conditional checking whether both are empty, just not setting anything if they both are. I'd appreciate any response.
letsjoy
07-16-2007, 09:41 PM
thanks alot
kartik786
07-18-2007, 08:48 PM
thanks a lot.. im going to give it a try soon
malluroses
07-19-2007, 09:56 AM
Thanks a lot yaar
The Librarian
07-19-2007, 09:43 PM
I've got this mod working but I've got two items I need help fixing:
1) I need to re-arrange the order members are listed on the Awards page. They seem to be listed by MemberID # (order of registration) but I want them in Alphabetical order.
and
2) I got a database error when I tried to give an award to a member with an apostrophe in her name. I'm working on a fix but if someone has information on that it would be appreciated.
Oh, and btw, I corrected the English on the PM message. It should be "Congratulations" (with an "s") and "upon receiving" instead of "as you are receiving".
Thanks!
The Librarian
07-20-2007, 07:59 PM
More about #2 above:
2) I got a database error when I tried to give an award to a member with an apostrophe in her name. I'm working on a fix but if someone has information on that it would be appreciated.
Here's the deal... when I try to award another user (5peaches) I get "you have successfully given MA'AM the award"- so it's giving 5peaches award to MA'AM... and then if I try to give MA'AM an award I get this error message:
Invalid SQL:
SELECT userid, username
FROM vb_user
WHERE username = 'MA'AM';
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 'AM'' at line 3
Error Number : 1064
Date : Thursday, July 19th 2007 @ 08:43:42 PM
Script : http://www.website.com/forum/admincp/award.php?do=dogiveaward
Referrer : http://www.website.com/forum/admincp/award.php?do=awardusers&award_id=9
I'm sure it's because of the appostrophe... does anybody have a fix for this, please?!
Simetrical
07-20-2007, 08:25 PM
Change line 427 of award.php from
WHERE username = '". $vbulletin->GPC['awardusername'] ."'
to
WHERE username = '". mysql_real_escape_string( $vbulletin->GPC['awardusername'] ) ."'
Repeat for line 556, and the bug should disappear. If you're paranoid, repeat for every other variable used in an SQL query in the file, although in principle it looks okay.
Is this extension maintained? Are the maintainers on vacation or something, perhaps?
The Librarian
07-20-2007, 08:29 PM
Change line 427 of award.php from
WHERE username = '". $vbulletin->GPC['awardusername'] ."'
to
WHERE username = '". mysql_real_escape_string( $vbulletin->GPC['awardusername'] ) ."'
Repeat for line 556, and the bug should disappear. If you're paranoid, repeat for every other variable used in an SQL query in the file, although in principle it looks okay.
Is this extension maintained? Are the maintainers on vacation or something, perhaps?
Thank you so much! I'll give this a try.
...and I was wondering the same thing about the maintainers. I hope all is well and they'll return soon.
The Librarian
07-20-2007, 08:45 PM
Thank you so much! I'll give this a try.
Well, that fixed the MA'AM problem - no more database error (Thanks again!) - BUT I'm still getting the mix up between 5peaches and MA'AM. Any ideas on that one?
Just so you understand, when I type in 5peaches and click SAVE it says "Give Award to MA'AM successfully" and then MA'AM shows on the award list. :confused:
Simetrical
07-20-2007, 08:51 PM
As a workaround, you could try giving the award by user id instead of name.
The Librarian
07-20-2007, 08:57 PM
As a workaround, you could try giving the award by user id instead of name.
ARGGGG !!! I am SUCH an idiot!!! I just realized that I'd been putting the "username" in both blanks, not understanding that the userid wasn't the name but the number! MA'AM is member #5 so that's why she was given the award. DUH!!
All I needed to do is leave the userid field blank and just put 5peaches in the username field.
Works perfectly now.
Thank you again, especially since I've wasted your time a bit. :o
katie hunter
07-22-2007, 02:35 PM
Hi I have a small question in the award how can i edit this part ? Name / Description
I want to stretch it more a little or add more words to it other then Name / Description
http://forum.nihonomaru.com/awards.php
Thanks
Can someone help with this if they know :rolleyes:
Thank you so much! I'll give this a try.
...and I was wondering the same thing about the maintainers. I hope all is well and they'll return soon.
... due to some problems reported, and I haven't got time to fix it yet, I temporary put this release back to beta release. I might not have time to work on this for the next few weeks though. sorry for any inconvenient. any suggestions or fixes from other members would be greatly appreciated.
lostgirl815
07-24-2007, 07:38 PM
Okay so... if this is showing up like it should be in the postbit, do I need to worry about the problems that were reported?
Simetrical
07-25-2007, 01:11 AM
Probably not unless you have a large site, which could get slowed down until the issue I first reported here gets fixed. The other issue probably isn't a huge deal ― if you get weird errors when giving awards, try using user id's instead of usernames.
lostgirl815
07-25-2007, 01:16 AM
Thanks very much for your reply, Simetrical! I don't have a large site, so I'll see how it goes. :)
The Ottoman
07-25-2007, 08:01 PM
Can someone help with this if they know :rolleyes:
AdminCP\Styles&Templates\whatever the style is\YAAS Templates\awards_category shows you all the different phrases for the page.
It looks like you want to change the $vbphrase[award_name] and $vbphrase[award_description] phrases; so go to the Phrase manager and find it in the GLOBAL phrases; and change it there.
Repeat with awards_category.
The Ottoman
07-25-2007, 08:09 PM
I was wondering if anyone had managed to configure this so that awards were automatically awarded after the request was submitted rather than require administrator approval.
lostgirl815
07-26-2007, 03:28 AM
And, I was wondering if there's any way to put the send-PM thing on no by default?
military-space
07-26-2007, 07:30 PM
is there a way to change the displayed awards in postbit and member info to show on more that one row?
Lets say I want to set my awards system to show 6 awards and have them display on 2 rows instead of stretching across on one row.
Would this be possible? Any suggestions on how to do this?
Apophis
07-26-2007, 09:58 PM
I've been toying with this system for a while but what I really wanted to do was to get the awards to display via a bbcode tag.
I started by modifying the code a bit to get the awards to display below the signature area in the main body of a user's post but decided I wanted to give them more flexibility and give them some bbcode they could use to display their awards.
I added the following into class_bbcode.php
// [RIBBONS]
$tag_list['no_option']['ribbons'] = array(
'callback' => 'handle_bbcode_ribbons',
'strip_empty' => false,
'parse_option' => true
);
/**
* Handles a [RIBBONS] tag. TG Ribbons.
*
*/
function handle_bbcode_ribbons($ribbontext)
{
global $db, $vbulletin;
$ribbontext = str_replace(array('<br>', '<br />', '\\"'), array('', '', '"'), $ribbontext);
$templaterib = 'tgribbons_display';
eval('$html = "' . fetch_template($templaterib) . '";');
return $html;
}
Needles to say, it didn't do what I was hoping for. I created a new template called "tgribbons_display" using the code that I had placed in my postbit_legacy template and used the bbcode handler to display that template.
Well. Nothing shows up at all. I'm assuming that I'm missing some key step in pulling this off, such as making sure that the appropriate code is also executing to query the DB to display the awards when I call my template. Just to make sure I had the bbcode handler working I tried calling another template that just displays text and it worked fine.
Any ideas what I'm missing or what I could do to be able to use my custom bbcode tag to display the awards?
Apophis
07-27-2007, 12:09 AM
is there a way to change the displayed awards in postbit and member info to show on more that one row?
Lets say I want to set my awards system to show 6 awards and have them display on 2 rows instead of stretching across on one row.
Would this be possible? Any suggestions on how to do this?
I actually modified the template code and create a table with a fixed width to display the awards in. They will automatically wrap to a new line if the number of awards exceed the width. IE: If your awards are 50 pixels wide and you want no more than 3 in a row, set the table size to a width of 160.
Here's a sample of how I display my ribbons (although it's in a considerably different place than the stock code).
<table width="425" border="0" cellspacing="0" cellpadding="0"><tr>
<td align="left"><div>$post[userawards]</div></td></tr></table>
You could replace the $post[userawards] line with something similar to what I have above and it should work for you with some minor tweaking.
lostgirl815
07-31-2007, 06:59 AM
I would like to be able to have two rows of awards for two categories. I'd like to know if it would be possible to get such a thing as this via paid custom work. I wouldn't need most of the bells and whistles - don't need it to show on the members list, don't need the PM, the showcase, the description, and so on - I just need two rows and two categories and the ability for Mods to give a specific user an award in a category. (One category would be acquired game pieces and would change constantly. The other would be icons for completed games.)
If this is anything you would consider doing, I'd appreciate a PM and a ballpark figure. If we're not actually allowed to ask things like this in here... mea culpa. If it makes any difference, I wouldn't be asking for exclusivity and would not care who else used it for free.
djdonx
07-31-2007, 11:15 AM
Hey, I currently have YAAS installed and I also have Psinoic Visions interactive profiles installed. The awards strectch my page because it is only in one half of the page, this only happens in internet explorer, not in fireworks. I was wondering if there is a way to make the awards flatten to say 4 per row and it works into columns like that.
Hopefully you understand my poor descriptive skills but if you don't then it is shown here: http://hffmforum.co.uk/member.php?u=222
djdonx
08-01-2007, 09:21 AM
So could anyone possibly help me? Please :(
djdonx
08-01-2007, 06:16 PM
BUMP. Its been over a day now :(
lostgirl815
08-01-2007, 07:29 PM
Have you tried this suggestion from a few posts up?
Here's a sample of how I display my ribbons (although it's in a considerably different place than the stock code).
<table width="425" border="0" cellspacing="0" cellpadding="0"><tr>
<td align="left"><div>$post[userawards]</div></td></tr></table>
You could replace the $post[userawards] line with something similar to what I have above and it should work for you with some minor tweaking.
djdonx
08-01-2007, 09:04 PM
Should I change the original code, or add this underneath? :S
lostgirl815
08-01-2007, 10:23 PM
When I tried it out, I added it underneath the original code and two sets of awards were displayed, so I'm guessing you can replace the original code with this. However, I am not a coder, and I'm just guessing - so keep that in mind.
djdonx
08-02-2007, 06:57 AM
I've just realised that this code applies for the postbit template. I don't want a postbit edit, I need to change the profile view.
I just tried that code but it doesn't work ;)
lostgirl815
08-02-2007, 07:58 AM
He did say he was working out some problems with it, which is why it's Beta again, but I don't recall that this was supposed to show on the profile anyway? Just the members' list and postbit?
djdonx
08-02-2007, 08:27 AM
https://vborg.vbsupport.ru/external/2007/08/24.jpg
As you can see, it stretches
lostgirl815
08-02-2007, 08:31 AM
Isn't the profile portion someone else's mod? But anyway, I'd think that a fixed table width would work for that too.
djdonx
08-02-2007, 02:38 PM
<!-- [START HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->
<if condition="$show['userawards']">
<fieldset class="fieldset">
<legend>$vbphrase[award_showcase]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td align="center">
$userawards
</td>
</tr>
</table>
</fieldset>
</if>
<!-- [END HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->
It says on the page /docs/award_install_template.html in the downloaded file to add that to the MEMBERINFO template
Adam21
08-02-2007, 03:00 PM
It says on the page /docs/award_install_template.html in the downloaded file to add that to the MEMBERINFO template
You can try posting that piece of MEMBERINFO template codes here to let us see if we could figure it out.
djdonx
08-02-2007, 03:06 PM
<if condition="$show['usernoteview']">
<br />($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</div>
</div>
</if>
<!-- [START HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->
<if condition="$show['userawards']">
<fieldset class="fieldset">
<legend>$vbphrase[award_showcase]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td align="center">
$userawards
</td>
</tr>
</table>
</fieldset>
</if>
<!-- [END HACK='Yet Another Awards System hack' AUTHOR='HacNho'] -->
djdonx
08-02-2007, 08:17 PM
I suppose I'm not really bothered how it will work as long as its displayed properly. Firefox automatically uses fixed width on the tables.
http://img340.imageshack.us/img340/4583/hollyproblemfirefoxyu8.png
Is it possible to do that as code?
Simetrical
08-02-2007, 11:11 PM
You can put zero-width spaces (& #8203; but without the space) between each image to explicitly require them to be valid break points, if they aren't considered that already.
djdonx
08-03-2007, 10:13 AM
How would I do that ;S
djdonx
08-04-2007, 10:13 AM
So, can anyone possibly help then?
teamsupra
08-04-2007, 06:06 PM
WIll this work with Usergroups? I want to give an award to a usergroup and everyone in the group will receive the award. Is this a built in option?
jluerken
08-04-2007, 06:20 PM
WIll this work with Usergroups? I want to give an award to a usergroup and everyone in the group will receive the award. Is this a built in option?
No its not working this way
djdonx
08-05-2007, 09:25 AM
Any help with my MEMBERINFO template then? :(
Apophis
08-06-2007, 01:57 PM
I hate to do this, but I was curious if the author had any input on this dilemma or if anyone else knew of any plugins or modifications to the bbcode system that would allow me to complete this task.
I've been toying with this system for a while but what I really wanted to do was to get the awards to display via a bbcode tag.
I started by modifying the code a bit to get the awards to display below the signature area in the main body of a user's post but decided I wanted to give them more flexibility and give them some bbcode they could use to display their awards.
I added the following into class_bbcode.php
// [RIBBONS]
$tag_list['no_option']['ribbons'] = array(
'callback' => 'handle_bbcode_ribbons',
'strip_empty' => false,
'parse_option' => true
);
/**
* Handles a [RIBBONS] tag. TG Ribbons.
*
*/
function handle_bbcode_ribbons($ribbontext)
{
global $db, $vbulletin;
$ribbontext = str_replace(array('<br>', '<br />', '\\"'), array('', '', '"'), $ribbontext);
$templaterib = 'tgribbons_display';
eval('$html = "' . fetch_template($templaterib) . '";');
return $html;
}
Needles to say, it didn't do what I was hoping for. I created a new template called "tgribbons_display" using the code that I had placed in my postbit_legacy template and used the bbcode handler to display that template.
Well. Nothing shows up at all. I'm assuming that I'm missing some key step in pulling this off, such as making sure that the appropriate code is also executing to query the DB to display the awards when I call my template. Just to make sure I had the bbcode handler working I tried calling another template that just displays text and it worked fine.
Any ideas what I'm missing or what I could do to be able to use my custom bbcode tag to display the awards?
teamsupra
08-06-2007, 02:21 PM
Is there anyway to mod it to do usergroups?
es-league.com
08-21-2007, 07:53 AM
I have a small issue with this mod now :
although it displays all awards clearly in the user cp
of each member who have awards, only some
have their medals showing in the posts ?
It appears to select random members to show
medals in posts rather than all members with awards.
any ideas ? rest of the mod seems to be
working fine and the members love it :)
SlapnutzUK
08-23-2007, 07:14 AM
Hi,
Great mod, fitted flawless into my site.
My only niggle is the section that appears on the postbit_legacy (I think). The part that on a post contains the users name, avatar, title etc...
Is there anyway to remove the border around the awards bit on this, I can't find any border tags for it so don't know how it is produced?
Thanks
lostgirl815
08-24-2007, 01:48 AM
I managed to remove it but don't remember what it was called - but I think it's the same thing as is around attached images, which I also removed (if that helps).
For the person whose awards weren't showing up - did you add the code to all the styles?
insidedesign
08-28-2007, 04:43 PM
Does anyone know how to display User Awards with the Zoints Local Profile MOD (https://vborg.vbsupport.ru/showthread.php?t=130946)?
Found it, check it out:
http://dev.zoints.com/showthread.php?t=47&highlight=Awards+System
toucan42
08-28-2007, 07:45 PM
Hi,
Great mod, fitted flawless into my site.
My only niggle is the section that appears on the postbit_legacy (I think). The part that on a post contains the users name, avatar, title etc...
Is there anyway to remove the border around the awards bit on this, I can't find any border tags for it so don't know how it is produced?
Thanks
The awards are being displayed in a frameset tag with legend. I removed it fine on my forum and looks cleaner.
scdurwood
08-31-2007, 12:13 PM
Does this only show one instance of the award on postbit if an user has been given the award multiple times?
mm mods 2k6
08-31-2007, 09:13 PM
nominated 4 MOTM :)
SliceofLife
09-01-2007, 10:52 AM
I followed all of the steps outlined in the install and edited all templates, and I'm not actually seeing ANY new menu in my admincp for 'Awards'?
SliceofLife
09-02-2007, 02:59 AM
Maybe the fact that I'm running 3.6.8 and this is for 3.6.5 is the problem. I will have to uninstall in the meantime. When will this be working for 3.6.8?
EvilArcana
09-04-2007, 03:49 PM
I'm running 3.6.8 as well and would like confirmation of this mod working in 3.6.8 before I proceed with install...I'm VERY interested in this mod. Thanks!
Kiint
09-04-2007, 04:09 PM
yep, works fine on 3.6.8, runs on my site with no problem at all
EvilArcana
09-04-2007, 06:18 PM
yep, works fine on 3.6.8, runs on my site with no problem at all
Yuppers...soon as you posted that I downloaded and installed, and it works like a champ...
Sliceoflife...you may have to refresh your admincp menu frame in order to see the awards system options. Thats what I had to do...Or if you just log off and log back into the admincp.
Of to make and award some awards
LilSniper
09-04-2007, 08:40 PM
I would appreciate some assistance from any experienced users of this hack.
The "Award System" category shows up in the Admin CP and is fully functional. I was able to create awards as desired, and award them to other members. Furthermore, the /awards.php page functions great.
However, the awards do not show up in people's profiles, nor does it show up under their names in posts.
How can I get it to show up in people's profiles and under their posts?
Thanks.
SliceofLife
09-04-2007, 10:12 PM
Yuppers...soon as you posted that I downloaded and installed, and it works like a champ...
Sliceoflife...you may have to refresh your admincp menu frame in order to see the awards system options. Thats what I had to do...Or if you just log off and log back into the admincp.
Of to make and award some awards
I did :( It's still not working. I haven't yet uninstalled it because I'm hoping someone will be able to help me. ? I'm happy to know that it's working on 3.6.8.
EvilArcana
09-05-2007, 12:09 AM
I did :( It's still not working. I haven't yet uninstalled it because I'm hoping someone will be able to help me. ? I'm happy to know that it's working on 3.6.8.
Did you upload all the files to the right place and make all the template edits? If you did and its not working then its beyond me, you'll have to request support or something. I'm still fairly new to vB
insidedesign
09-07-2007, 12:12 AM
http://www.mymoan.co.uk/images/award.JPG
Hi, At present when an award is given it will show at position number 2. Is it possible, and if so how - to make it show up at position number 1?
Reason being, I have this vast amount of space there, and it would be very useful to show the awards in that section. Im really hoping there is a way of doing this that someone knows.
Many Thanks
Dave
Search your postbit template, and dump the code into this column:
<td width="100%"> </td>
You should get something that looks like this:
http://www.genxglow.com/f50/genxglow-com-tour-introduction-617/
techenigma
09-07-2007, 12:47 AM
edit: Thanks to Toucan42, I found the frameset tag and all, I have the box and assorted text removed. Thanks for the help there.
For anyone wondering how to remove the awards showcase box in your post pit do the following:
- Go into your style/template manager
- Into the style you have the mod installed under
- Open the post_bit legacy template.
Remove the <fieldset> and <legend> tags also be sure to remove their closing tags as well i.e </fieldset> and </legend>
This will remove the box around the awards in your post bit.
If you want to remove the space in between the awards do the following:
Go into your style/template manager
Into the style where the mod is installed
Open the Yet Another Awards System Templates tab
Open the Awards bit template
Remove the following at the very end of the code:
Now all the awards will be right next to each other.
I still need to figure how to get it to wrap after 5 awards though, anyone can help?
lostgirl815
09-07-2007, 02:03 AM
Search your postbit template, and dump the code into this column:
<td width="100%"> </td>
Thanks for that!
techenigma
09-07-2007, 07:48 PM
I shoot down one problem and another comes up... or rather several.
1. Look at this page: SOuthwest Regulators (http://www.southwestregulators.com/forums/showpost.php?p=7740&postcount=3) notice how the two full lines of ribbons are not spaced at all (which is good) but the third one with only two ribbons has a gap between it and the others. How do I remove that gap? I've looked through my code searching for a rogue tag or something and nothing... what is causing this?
2. It only wraps after 5 ribbons in the postbit_legacy, not in the new style horizontal postbit. How can I have it wrap after 5 ribbons in the new post bit?
Any help is appreciated. Thanks!
LilSniper
09-07-2007, 10:01 PM
I would appreciate some assistance from any experienced users of this hack.
The "Award System" category shows up in the Admin CP and is fully functional. I was able to create awards as desired, and award them to other members. Furthermore, the /awards.php page functions great.
However, the awards do not show up in people's profiles, nor does it show up under their names in posts.
How can I get it to show up in people's profiles and under their posts?
Thanks.
Anyone?
edytwinky
09-08-2007, 05:46 PM
Can you reward usergroups with a badge?
How do you delete badges/awards from users? I accidentally gave the same user the same award twice and now it shows. But I can't delete them.
lostgirl815
09-09-2007, 03:02 AM
Click on Give Award, (the award you duplicated), and scroll down - there's a Remove Award below that. :)
And I think I may have solved the table-stretching and clutter problem by moving them to their own separate table below the regualr part of the postbit, although, I'm not a coder and I have no idea if this has any repercussions. (I guess I'll see. It's on a test style for now.)
soulweaver
09-09-2007, 08:58 PM
How do I get the awards to show up in the postbit? The installer didn't work.
lostgirl815
09-09-2007, 09:02 PM
You have to edit the postbit template - it's in the readme.txt I think.
DaGirl
09-16-2007, 04:56 PM
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT a.*, au.*
FROM award AS a
LEFT JOIN award_user AS au ON (a.award_id=au.award_id)
WHERE (au.userid = 67)
ORDER BY au.issue_time DESC;
MySQL Error : Unknown column 'au.award_id' in 'on clause'
Error Number : 1054
Date : Sunday, September 16th 2007 @ 07:57:48 PM
Script : http://www.teamkalarin.com/member.php?find=lastposter&f=9
Referrer : http://www.teamkalarin.com/forum.php
IP Address : 80.57.89.34
Username : Test0001
Classname : vb_database
How do i fix this?
dicegame
09-24-2007, 05:48 AM
k i've got a weird error.
My awards work but my award showcase section is under my footer...wtf...
here:
http://www.totalgamerzone.com/forums/member.php?u=4
scroll down to the bottom of the page and yu should see an award showcase box...
can someone please help me?
pipin
09-30-2007, 04:58 PM
after upgrading from vb 3.6.3 to 3.6.8
i got this error when viewing profiles of members who got an award.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /member.php(839) : eval()'d code (Zeile 37)after disabling the yass the error disappears.
Edit:
If someone spots the same error und you use mysquli, just search the plugin YASS - member complete
and change line
$total_awards = mysql_num_rows($alluserawards); in
$total_awards = mysqli_num_rows($alluserawards);
thats just the number of total awards. it wont be displayd anymore in the member profile, but you get rid of the annoying error.
lasto
09-30-2007, 05:07 PM
does this work on 3.6.8 ???
IR15H
10-02-2007, 05:49 PM
If anyone gets an error of;
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /admincp/award.php on line 581when trying to give a user an award, like I was, then open your config.php (FORUM ROOT/includes/config.php) file and change the database type ($config['Database']['dbtype'] = ''; ), from mysqli to just mysql. That did the trick for me, so hopefully if others are having the same problem it'll work for them too :).
OnyxChase
10-03-2007, 01:14 AM
Is there any way to say give medals automatically? Say if someone posts 100 posts then they get an automatic medal?
pipin
10-04-2007, 07:02 AM
If anyone gets an error of;
Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /admincp/award.php on line 581when trying to give a user an award, like I was, then open your config.php (FORUM ROOT/includes/config.php) file and change the database type ($config['Database']['dbtype'] = ''; ), from mysqli to just mysql. That did the trick for me, so hopefully if others are having the same problem it'll work for them too :).
thats the wrong way, i can give you the change of the award.php this evening.
El Orans
10-08-2007, 05:07 PM
* Clicks Install *
fb-guy
10-09-2007, 10:08 PM
I am trying to work out whether YAAS will work for my application. I am looking for a mod that will let our members nominate a photo, or thread, for an award -- and then have the community vote for their favorite. Basic on that vote, we will make awards, and issue both virtual and physical awards (we will send something).
Can I do this with YAAS, or another vBulletin mod?
Thanks!
FB
nader
10-16-2007, 08:08 PM
Fatal error: Existing data passed is not an array
Called set_existing in /home/******/public_html/vb/request_award.php on line 150
in /includes/class_dm.php on line 235
nader
10-17-2007, 09:55 AM
I think this mod does not work on VB3.6.8 Am I right?
I got this error
Fatal error: Existing data passed is not an array
Called set_existing in /home/******/public_html/vb/request_award.php on line 150
in /includes/class_dm.php on line 235
Kiint
10-17-2007, 02:01 PM
I'm running it on 3.6.8 absolutely fine, you may need to check your installation ensuring all the files uploaded correctly.
bmwusa
10-17-2007, 02:39 PM
yup it is working perfect.... :) vbulletin 3.6.8 :)
just one thing i couldnt find this:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
on the navbar
so idont know where this goes...
<!-- show awards -->
<td class="vbmenu_control"><a href="awards.php$session[sessionurl_q]">$vbphrase[award]</a></td>
<!-- /show awards -->
my navbar look like this:
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td> </td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
<if condition="$show['member']">
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if><br />
<a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a>
</div>
</td>
<else />
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
<br />
any ideas where to put the other missing thing????
thank you!!!:p
bmwusa
10-17-2007, 03:55 PM
one more thing... lol how can i show the medalls on the Vb_advanced CMPS on the user block or show the icons under the messages alert?
thank you :)
glorify
10-21-2007, 04:06 PM
Installed.
Check my medals page (http://www.glorifythepast.com/forums/awards.php) :)
ricker
10-21-2007, 09:36 PM
Can the same award be given more than once?
glorify
10-21-2007, 10:34 PM
Yes, I believe so.
Thanks for this system, it's easy to use and very helpful for me.
Does anyone know how I'd be able to award people automatically based on how long they've been registered with my forum? I want to give out an award for 100 days, 250 days, and so on, but it would have to be automatic.
glorify
10-28-2007, 11:31 PM
What would be the variable for awards not won?
For example in memberinfo I want to show the awards won and not.
lostgirl815
10-29-2007, 06:01 PM
Has anybody ever figured out how to take the default checkmark out of Notify user via Private Message?
afmarko99
10-29-2007, 06:55 PM
Enter the userID of the User you would like to appear as sender of the Congratulation PM and/or Email.
Leave it "0" to use userid of the one who issue award
To edit the PM Content, click here, to edit the Subject click here.
I have tried to click here on both of those options in my Admin CP but it gives me the following error.
'No Phrases Matched Your Query'
Did I miss something on the install?
Also when I created a forum in the admin section for the awards request so our admins could vote on someone receiving the award. I then tested the request award and it gave me an error message saying I didn't have permission to view that page.
Anyone have any ideas?
lostgirl815
10-29-2007, 09:19 PM
The same thing happens to me with the edit-PM-content.
afmarko99
10-29-2007, 11:54 PM
I have went to other websites and they all do the same thing. I don't believe this function works. It would be great if it did though.
Any help on this?
Awjvail
10-30-2007, 04:21 AM
The same thing happens to me with the edit-PM-content.
To edit PM content you edit the phrase "award_pm". For some reason it doesn't show under the award phrases so go to "Search Phrases" and search for "{$award_name}" and it'll bring it right up.
cagbaazee
11-01-2007, 09:29 AM
is it for Vbadvanced or Vbulletin. Do reply asap. thanks
Kiint
11-01-2007, 02:40 PM
If forum = vbulletin.org
{ Yes it is for vbulletin}
Else
{ It's not }
Yes, its' for vbulletin
lostgirl815
11-01-2007, 05:43 PM
To edit PM content you edit the phrase "award_pm".
Thank you very much! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.