Author: Crash Override Suggestions: Davie Compatibility: Tested on Snitz 3.3.03 (Huwr's Modded Version) DB Compatibility: Access 97/2000 Name of the MOD: Award Member MOD Version: 3.00 Updates: New Formatting Options, Bronze Medal , Multiple members may be selected Original Release Date: 1.3 - March 3rd, 2002 Update Release Date: 2.1 - March 4th, 2002 Update Release Date: 3.00 - March 24th, 2002 Difficulty of installtion (1 [hard]-10 [easy]): 4
Formatting Options: Text can be made bold and italic, red, green and blue Awards: Golden Award: , Silver Award: and Bronze Award:
Questions? ---------- Questions can be posted at my site: Crash's Site
we all know that Huwr, but if i had to explain that i'd cost me loads of typing minutes. also, i'd have to scan the files from version 3.3.03 (original Snitz) and 3.3.03 (original Snitz+Huwr modifications) to see what modifications you've made to the code.
just to keep it simple i did what everyone else does (except maybe you and a lot of admins, etc. - so there's no need saying you do not): by telling people that the original Snitz code is v. 3.3.03 and your modded code can/may be seen as 3.3.10. this will give me the guarantee that users who implement the mod will have all the correct modifications in their code, just like i have.
If you take aways a member's award from the posts but not the member page you the image doesn't show up.
It is trying to call this image: /images/award_.gif
It doesn't know if it's gold, bronze, or silver.
How can this be fixed?
Also, is it easy to add other awards?
I'm not at home right now, but from what I remember, I had to tweak the code for Crash's Award Member MOD. I had a few instances where a file ending with an underscore like your example (award_.gif) were noticed.
In the code you will see something like:
award_<% =strVersionNumber %>.gif
Again, I don't have the code right in front of me, so that is just for reference.
What I did for all of the errors I encountered was to just take out the <% =strVersionNumber %> and replace it with 300 like this:
award_300.gif
I implemented this MOD last week just to see what it did. I haven't fully used it, so I haven't encountered the error you have found. The specific file you are referencing might end up looking like this when you are finished:
award_300_gold.gif
... so, you may have to modify the other instances for silver and bronze as well. And, you might have to also change the file's name. I'll look at it when I get home.
Note: This is a fix for my experiences with the Award Member MOD 3.0 only. I am not sure how other Award Member MODs handle version info.
the variable strVersionNumber (as you call it) is written to the DB. it stands for 300 - meaning 3.00 - and it is not added to the images used for the Awards...
if the page doesn't get the version number from the DB then your Forum Variables simply do not get loaded.
there was absolutely no need to reocde the code and i strongly suggest that you undo the changes you made for it will not function correctly leaving it this way.
try resetting your Forum Variables from the Admin Pages and check the Forum Variables List to see whether those variables do indeed get loaded.
it might very well be that your server is caching the lot. if this is true then you might have to wait for your ISP to reboot the server. it'll then freshen up the variables it should be fine afterwards.
if you have any more questions about this MOD i suggest you post them on my site (http://www.crashsite.nl) and i'll be sure to reply to them!