![]() |
Standalone Add-On for Awards/Medals/Cards Hack
Stand Alone Awards/Medals/Cards Add-On Hack What this hack does: This hack removes the award showcase from your users profile, but leaves a link to the new standalone version. This hack gives your members (usergroups you specify) the ability to request awards for other members. Requires: Awards/Medals/Cards Hack installed! Instructions include: Template Edits: 5 New Templates: 3 New Files: 1 New Phrases: 2 File Edits: 5 DB Changes: 1 1.01 Update: -- Removed unused queries in award.php, and cached templates to make sure page loads as fast as possible. -- Grouped awards templates together, to make styles and templates cleaner -- Fixed typo in template causing images not to show properly in IE -- General coding cleanup! Screenies are attached, and you can see this in use here! |
Screenies!!
|
mmm... :) interesting thanks Creed
|
Nice Addon.
|
Awesome man thanks...
/me installs |
Glad some people found use from it ;)
|
The update is there, I will be hopefully soon adding a nice little optional link to display an available awards list soon :) (Meaning, such as in navbar, or postbit, etc) Also, when I get off my lazy arse, I will make a variable for the User that is emailed the requests for awards in the admincp, so it doesn't have to be hardcoded into the award.php file :D
|
The hack work with vb 3.0.7?
|
I haven't installed 3.0.7 yet, however there is absolutely NO reason that it wouldn't work. There is only one template edit from the original vBulletin install files.
|
I have this hack installed in my previous vb 3.0.3 but when I upgraded to 3.0.7 this hack doesnt work anymore.
I have installed it from scratch but didn't work. |
Do you have the Awards/Medals/Cards Hack installed as well?
|
No, because don't work in VB 3.0.7
|
That would likely be the problem, as for why the hack wouldn't work with 3.0.7 I don't know. You need it installed before my add-on will work. Sorry!
|
What exactly is happening, that causes the Awards/Medals/Cards Hack not to work with 3.0.7? I would like to try to fix it myself ;)
|
Quote:
We are considering paying a developer to update the medals hack program but he needs to know waht the basic problem was. |
I have installed it finally in VB 3.0.7 but with some hard work for who don't know program in PHP.
The queries codes are different in VB 3.0.7. |
Would you be interested in installing it on my forum for a fee, seeing as you have managed to get it work?
|
Or alternatively give us some idea of what you had to do so another modder/coder could attempt to make this work for vb 3.0.7 etc.
|
Sorry, but I'm not a coder for can do this.
The queries that I talk is the code started by this line: $post = $DB_site->query_first(" You must see the differences and apply the changes yourself or ask for a coder do the job for you. |
Ok thanks , Creed is that enough to go on re our PM?
|
Hrmn, odd. I finally got off my lazy arse and installed a test 3.0.7 board and its working just fine there. So there should be NO problems installing on 3.0.7.
http://caldermonkey.hdclan.org/forums You can see it in action |
I've also re-written the install instructions. So that they are hopefully easier to understand, and yes it DOES work on 3.0.7
|
I didn't have any problems adding the awards in 3.0.7 you just have to toss in the part that says ,useraward
or the left join section. Basically, whenever you have a HUGE replace this in a hack and you don't have the original code, compare what they want you to take out with what they want you to put in, figure out the differences and then add in those differences. Creed - How does this hack go about adding the award? Does it automatically add it to the user? That's what I'm hoping for that way I can give my mods the abilities to request these or more directly add them via a controllable link then granting them access to edit users :) |
It uses the admin user options to add/remove the awards. I was thinking about adding the ability to let usergroups you specify add/remove awards
|
That would be very cool, kinda cut out the middle man some and let some of the mods do the work. :)
Great hack in any case, gonna roll this onto my test server and then take it live :) |
Quote:
On the one you had installed on the above URL you had some great looking award graphics. ? I think they were animated in blue. Where they stock with the hack or did you just locate them somewhere? |
My co-admin made them. Unfortunately the test board I had up, is currently dead (not because of the awards hack :-p), because I killed it to save space on a database :)
You can still view the awards images that he's talking about at www.hdclan.org/forums/awards.php |
Ahh, shame, they look fantastic. Shame there's not a whole set, I would have paid for those they look that good.
|
To Creed/ And or any other gurus out there
Anybody interested in earning some $$$ utilising their knowledge of this hack go here: https://vborg.vbsupport.ru/showthread.php?p=621249 |
Thx for a great hack. I have got everything working perfectly except
the following. U are not allowed to reqeust an award. I have check and the email and its enabled. But I was wondering "DB QUERY (replace *TABLE.PREFIX* with your VB table prefix, if you don't have one remove it completely along with the underscore),: ***************************************** ALTER TABLE *TABLE.PREFIX*_usergroup ADD `awrequest` INT( 12 ) NOT NULL" were to I change that in the db or in the award.php. thx for any help. |
Quote:
As far as the request award, that is a setting under your Admincp, you can set so that only certain usergroups can request awards. For the DB Query, you need to run that for the settings to take effect, if you don't have a prefix on your table just run this: PHP Code:
|
That worked liked a charm , Thx for the help =)
|
No problem, glad you got it working :)
|
sorry but where is the "awards_mailselect template" located? I only have ustom Templates
AWARDS [Edit] [Revert] [View Original] awards_bit [Edit] [Revert] [View Original] awards_earnawards_bit [Edit] [Revert] [View Original] awards_userawards_bit [Edit] [Revert] [View Original]? |
awards_mailselect is a new template :)
|
So far soo good till I get to this...
DB QUERY (replace *TABLE.PREFIX* with your VB table prefix, if you don't have one remove it completely along with the underscore),:<----what does this mean? ***************************************** ALTER TABLE *TABLE.PREFIX*_usergroup ADD `awrequest` INT( 12 ) NOT NULL<----what does this mean? also I noticed the java script doesn't work any longer on the drop menu for the usernames. I click o the name and it takes me to his/her member id. Any suggestions? |
If you don't use table prefix, then use:
[sql]ALTER TABLE usergroup ADD `awrequest` INT( 12 ) NOT NULL[/sql] If you use a table prefix of for example 'vb3_', then use: [sql]ALTER TABLE vb3_usergroup ADD `awrequest` INT( 12 ) NOT NULL[/sql] |
I'm sorry but what do you mean "if I use table prefix?" I'm lost here and yes I did click the link lol.
|
Check either your includes/config.php for a line like:
PHP Code:
Or check in myphpadmin, if all tables are prefixed. |
Spoke a bit to soon =) , I have everything set up all the modification done , But in userprofile the awardspicture shows up instead of the link , What can I have missed? ,
I have gone trough all the step in the upgrade a couple of times now and cant see that I missed something. Sorry to bother u with questions but I really would love to see this mod work perfectly |
All times are GMT. The time now is 04:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|