![]() |
just add a <br /> to the end of the awards_bit template
|
Quote:
By far one of the best "Supported" hacks on vB.org :thumbsup: |
I have an odd error, everything displays properly (as far as I can tell) but I can't award anyone an award. When I go into a users profile the "User Awards" menu is there and I can select "yes" to them having the award but when I save the profile it reverts back to them not having the award. How do I make that stick?
|
Quote:
|
I have a 3.0.1 board. Which have do I have to download/ what do I have to do when I want to know for sure it works?
Is is compatible with that version already? |
Quote:
|
HOOAH!
I'll try it out, thx I have red and yellow card if you like. |
I'd like the text "Earned Awards" or "Award Showcase" to be diplayed above earned awards in the users postbit. I edited the awards_bit to add the text but when the user has two awards it is shown as:
Earned Awards: [IMAGE OF AWARD] Earned Awards: [IMAGE OF 2ND AWARD] How can I make it so it only shows Earned awards once then all of the users earned awards? -Michael |
WoodiE, try putting the "Earned Awards:" text in the postbit template.
Find... Code:
<div>$post[userawards]</div> Code:
<if condition="$post['userawards']">Earned Awards:<br /><div>$post[userawards]</div></if> |
That would work, but it also displays "Earned Awards:" in the postbit even if the member doesn't have any awards. I only want it shown in the postbit if they do have an award.
-Michael |
Ah yes, I wasn't thinking clearly enough and forget the condition. The correct way to do it is to replace it with...
Code:
<if condition="$post['userawards']">Earned Awards:<br /><div>$post[userawards]</div></if> |
miker 316 - You're awesome man, worked perfectly!
-Michael |
I'm also ready to install this onto 3.01, anyone have any problems with 3.01?
Another dumb question...when VBulletin issues updates and I install them, what do I do to prevent the new updates from overwriting my installation of this hack? Do I need to backup the templates or something else? Thanks AnimeWebby..you've really put alot of work into this and I appreciate it. If you have a PayPal account please PM me your email and I will send you a donation once I get this up and running. |
I installed this some time ago, I have a site where the community drives 90% of the content, so I wanted something to acknowledge the people who contribute materially either with content, or by our semi-annual fundraisers.
Recently, I decided to also use this as a system to flag people who are on XBoxLive or PS2Online, to make it easy for them to set up games. I have a college football focused site, but with EA Sport's NCAA 2005 title being online for both consoles, there's a significant enough level of interest from the users that I'm going to support it on the site level. My question is this... Has anyone figured out a way, could an add-on be developed, or might a future version include a way to generate user lists for specific medals? I'd love to have the little Xbox logo/'award' link to a page that lists everyone with that award. Ditto for the PS2 logo. As is, I have it set up to display people's gamertags on the mouseover, but a centralized 'roster' of people with the specific award/logo would be even more helpful. |
I tryed to install this via the hack tracking log, got to step three and this error occured...
******************** Invalid SQL: CREATE TABLE award ( awardid smallint(5) unsigned NOT NULL auto_increment, name varchar(50) NOT NULL default '', description varchar(250) NOT NULL default '', icon_url varchar(250) NOT NULL default '', PRIMARY KEY (awardid) ) TYPE=MyISAM; mysql error: You have an error in your SQL syntax near '; ' at line 7 mysql error number: 1064 **************** I am using vB 3.0.1 Any help? Thanks :) |
I'm using vB 3.0.1. When I ran the uninstall script, I got this error:
Code:
Invalid SQL: |
hmm.. i just installed this hack, seems ok except for some reason the awards arent showing up on the post bit...
|
Is this hack compatible with vb3.0.1?
|
This hack works fine on vb301 you just have to make sure you follow the instructions very carefully. Especially the file and template edits. I've installed it 3 or 4 times on different boards so far.
|
oh ok, i will install it then. Thank you.
|
this may sound really dumb, but how does one run an installer via the hack tracking log?
i cannot figure this out! please help :) |
Well, I installed this last nite, paying particular attention to the manual edits to all the .php and template edits ( all 15 or so..ugh ) and after all that, I load up my admincp and get the "There is a new version of VBulletin"...so, I carefully looked through the list of changed files in VB 3.0.2, and noticed two templates had to be reverted, postbit and postbit_legacy. No problem, so I looked through the list of changed .php files and noticed that all of the files I had just edited were changed. I thought, no problem, I'll just go back and re-edit them. Then I thought, how am I going to re-edit the files? all the necessary changes were given at the end of the installation process. I finally uninstalled it all. Is there an easier way to do this? Is there a more automatic way to re-apply the hack script in the event of a VBulletin update? I really don't want to have to edit 15 templates/php files every VBulletin update.
|
Quote:
It seems to be a 'feature' of vbulletin that they do not make hacking easy, even though it is the hacking community that makes vb popular. I don't see how an addition such as awards / medals (good as it is!) should require any changes to php files at all. |
JamesFrost, once in awhile Vbulletin does that. They'll release an update then a day or so later another. I wish they would do it perhaps once a month and kill a million birds with one stone.
This hack is really cool but to much manual-editing of files for me. No, I'm not lazy or ungrateful for free hacks, it's because given the nature of the precision required in editing (i.e. one small slip-up and your forum doesn't work) I can see myself editing these files for the nth number of times and misplacing a block of code or two. I'll think I'll pass on this hack unless some upgrade script becomes part of the hack. I don't know about anyone else, but I'd be willing to pay for this piece of software in order to receive updates. |
Quote:
Animwebby - this hack is SOOO much easier to install than it used to be - really good work. :D The only downside to the awards_install.php approach is it makes it harder to upgrade (as you have to uninstall / reinstall the hack - losing the details of who has which award). |
when i view a persons profile after adding a award for them
the awards section is not showing up in the public profile ... when i check in the admincp its showing checked as Yes for the award. the awards are showing fine in the threads.... but not in the public profile ..... this is what i have in members.php Code:
// [START HACK='Awards/Medals/Cards by AnimeWebby' AUTHOR='AnimeWebby' VERSION='2.0' CHANGEID= 14 ] i have the arcade hack installed also and was wondering if this may be conflicting |
i have went back throught the install really slow and made sure i done all the edits .... everything works fine but nothing shows in the
members.php file when i view a members profile .... no award block or anything .... i have double checked and made sure the user has a award enabled in the admincp/user.php anyone have any ideas? i have vb3.0 gold .... with the major fixes applied from 3.0.1 and 3.0.2 |
Installed on 3.0.1 and working just fine! The regular installer was used as I haven't been able to trust any HTL hacks here lately(they just don't seem to work while all the regular installations do). Thanks for the great port! ^^
-y2k- |
are there not any support anymore for this hack ?
|
Quote:
i have tried them, they have fail... i prefer manually... that way i have a more oriented prespective of what i am doing... |
sweet jesus!
i finally got this installed! only took me 4 hours! but, i am slow at this, so thats why..lol i love this hack and have been trying for months to get it to work! thanks!! *click install finally! |
Wish my luck, I'm going to install it (3.0.3 board)
|
any idea when the request award link will be added ....
my members kept asking how to use it ..... so i had to disable all the awards ...... |
I made the link to request an award live and I installed Erwin's form hack and made a generic form to request an award. Very simple to do.
In the awards_earnedawards_bit find this pice of code: <td class="$bgclass" align="center" nowrap="nowrap">$vbphrase[request_award]</td> </tr> then change it to look like this: <td class="$bgclass" align="center" nowrap="nowrap"><a href="http://yourwebsite/forums/form.php">$vbphrase[request_award]</td> </tr> Change the address to your web site and thats it. Just modify Ewrin's form hack to whatever you want to request an award. |
at the risk of sound stupid... how do you add an award to a user? in the admin cp you can only edit/add/delete awards and stuff... wheres the add button?
|
nvm I got it :p
|
Quote:
[edit]Owh, didn't see you reply :p[/edit] |
Quote:
can you attach the form and template your using from the Erwin's form hack so i dont have to recreate something . |
Quote:
|
clicks install
|
All times are GMT. The time now is 01:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|