News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Member Awards (2.0 Compatible!)

Started by Spuds, September 18, 2006, 03:14:03 PM

Previous topic - Next topic

Fustrate

Check the error log - does it tell you what file+line it's occuring on? (Admin -> Maintenance -> Logs -> Error Log)
Steven Hoffman
Former Team Member, 2009-2012

shinbrb

Quote from: YodaOfDarkness on January 22, 2009, 02:27:07 PM
Check the error log - does it tell you what file+line it's occuring on? (Admin -> Maintenance -> Logs -> Error Log)
Thanks for the reply!

Here's what I get:


Wrong value type sent to the database. Integer expected.
Function: AwardsModify
File: /Sources/ManageAwards.php
Line: 219

Fustrate

I think I've solved it - try replacing the one in /Sources/ with this new one. Please tell me if it works or not, so I can include it in the next update.
Steven Hoffman
Former Team Member, 2009-2012

shinbrb

Quote from: YodaOfDarkness on January 25, 2009, 01:30:43 AM
I think I've solved it - try replacing the one in /Sources/ with this new one. Please tell me if it works or not, so I can include it in the next update.
I'm sorry but it didn't work.

There were some errors on the error log regarding some 'id_award' and 'filename'

Wrong value type sent to the database. Integer expected.
Function: AwardsViewAssigned
Sources/ManageAwards.php
Line: 586


8: Undefined index: id_award
File: /nfs/c02/h04/mnt/16380/domains/j-caffe.net/html/sugoi/Sources/ManageAwards.php
Line: 172


8: Undefined index: filename
File: /nfs/c02/h04/mnt/16380/domains/j-caffe.net/html/sugoi/Sources/ManageAwards.php
Line: 168


phyrstorm

I want to add the award pictures to the user information beside their posts between rank and their avatar.  I am using a modified template however it uses the default display.template.php.  I have looked through this topic and have not found where to do that.  Any help would be appreciated.

mattchewone

Where can i download the award symbols to upload?

mattchewone

I have found some awards.

I have uploaded them and assigned one to myself but it isnt visible on the forum and i cant work out why. I am using SMF 2.0beta using default template.

Legrand

Hi,
I too am looking for some symbols to upload and would appreciate suggestions where to get, but I also have a problem: I made a couple of home made symbols to upload but they don't show up on the forum. I had to modify the skin php file so that the award box would show up under the avatar, which it now does, but all I see in that box when I assign an award is text. No graphics.

Any assistance would be greatly appreciated with both these matters.

Thanks.

twon

#1068
Hey,
I love the concept of this mod and want to get it up and running on my site
I have SMF 2.0 beta 4
mods
Mod Name Version 
1. PortaMx v0.95.1 0.951 
2. Auto Embed Video/Audio Clips 4.0.2 
3. Birthday on Profile Summary 1.0
4. Reg Bar 1.0.2  
5. Advanced Reputation System 1.5.2
6. TopicStarter Mod 1.3   
8. Auto Merge Double Post 1.0 
9. Custom Tab 1.2 
10. Stars And Badges 2.1   
12. Affiliates 1.1 ] 
13. Floating Bar Mod 1.0 
14. Google Member Map 1.0 beta 4 
15. More Spiders 1.2   
16. First Post on every Page 1.1  

This is what i get?
  Type Action Description
1. Execute Modification ./Sources/Admin.php Test failed
  1. Add Before ./Sources/Admin.php Test failed
  2. Add After ./Sources/Admin.php Test successful

2. Execute Modification ./Sources/Load.php Test successful
  1. Add After ./Sources/Load.php Test successful
  2. Add After ./Sources/Load.php Test successful
  3. Add Before ./Sources/Load.php Test successful
  4. Add After ./Sources/Load.php Test successful

3. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Add After ./Sources/ManagePermissions.php Test successful
  2. Add After ./Sources/ManagePermissions.php Test successful
  3. Add After ./Sources/ManagePermissions.php Test successful

4. Execute Modification ./Sources/Profile-View.php Test successful
  1. Add Before ./Sources/Profile-View.php Test successful

5. Execute Modification ./Sources/Profile.php Test successful
  1. Add After ./Sources/Profile.php Test successful

6. Execute Modification ./Sources/Subs.php Test successful
  1. Replace ./Sources/Subs.php Test successful

7. Execute Modification ./Sources/Who.php Test successful
  1. Add After ./Sources/Who.php Test successful

8. Execute Modification ./Themes/default/Display.template.php Test failed
  1. Add Before ./Themes/default/Display.template.php Test successful
  2. Add After ./Themes/default/Display.template.php Test failed

9. Execute Modification ./Themes/default/Profile.template.php Test successful
  1. Add Before ./Themes/default/Profile.template.php Test successful

10. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
  1. Add Before ./Themes/default/languages/Modifications.english.php Test successful

11. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
12. Extract File ./Sources/ManageAwards.php 
13. Extract File ./Themes/default/ManageAwards.template.php 
14. Extract File ./Themes/default/languages/ManageAwards.english.php 
15. Extract File ./Themes/default/languages/ManageAwards.english-utf8.php 
16. Extract File ./Themes/default/images/award.gif 
17. Extract File ./Themes/default/images/admin/awards.gif 
18. Create Tree ./awards 
19. Execute Code install.php


I dont want to install it and then it screw things up..as this site is 80+ users so...any ideas as to the two errors or what more info you need

OK i went ahead and installed it and this is what
this is the image of when i installed it


I cant find the badges section anywhere...and well i just wont help to get this thing up and running...thanks all

Noctivagus

Hey there, thanks for the awesome mod!

I've been working on installing it for awhile now, and while I managed to solve most of my problems by editing the SQL I just have one small problem that I was hoping someone could help me with:

On my forum now whenever you click a user profile you get the following error message:

QuoteFatal error: Cannot redeclare awards() (previously declared in /home/dragon/public_html/rpg/Sources/Profile.php:2917) in /home/dragon/public_html/rpg/Sources/Profile.php on line 3319

As can be seen here: http://beyondstonewalls.com/rpg/index.php?action=profile;u=46 [nofollow] for example.

I noticed some other people had this problem. I looked at my code and it doesn't look like I installed it twice, I don't see any duplicate code anywhere. Other than that I'm stumped. I tried removing the section of code around line 3319, but I had absolutely no idea what I was doing, so I put it back. Hahah.

Attached is my Profile.php any help would be greatly appreciated. Thank You!

leonardus

can i use in smf 1.1.8, but not in default theme? how can i do?

thx!

Ginolatex

Hello, to be grateful for the fantastic mod. A doubt. My .sources/Admin
$admPerms = TP_addPerms();
isAllowedTo($admPerms);

That I must do?

I have these mistakes:
http://xxxxxx/foro/index.php?action=awards;sa=assign;step=1;id=6
http://xxxxxx/foro/index.php?action=awards;sa=modify;id=8


Forbidden

You don't have permission to access /foro/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


SMF 1.1.8
TinyPortal v1.0.5 beta 1© Bloc

Sorry my language

Garry1953

I've been using this mod for a while now.
Works great on SMF 2 Beta 4

I'm looking forward to the update to SMF 2 RC1.

Thanks

Fustrate

I'm working on a full rewrite for RC1. It could be done tonight, or it could be done in a week.

After it's done, though, I'll have to test it for a day or two.
Steven Hoffman
Former Team Member, 2009-2012

Garry1953

Thanks.

I know you will release it when it runs perfect.

I'll keep watching this thread for the update. :D

mattchewone

Will the update work on 2.0beta 4?

are you going to allow the display of teh awards under the users avatars?

Thanks

Fustrate

The 2.0 version already shows them under the avatar. In the next release, which will be for RC1 only, it'll allow you to upload a second (smaller) image to use under the avatar if you want to use big ones but don't like them to be that big under your avatar. If you choose not to upload a second image, it'll just use the large one.
Steven Hoffman
Former Team Member, 2009-2012

mattchewone

Oh right yes i remember now i disabled it as i wasnt keen on the large award under the avatar. Ill have to upgrade to RC1 so i can have smaller ones under the avatars.

When should we be seeing member awards release for RC1?

Fustrate

Steven Hoffman
Former Team Member, 2009-2012

SgtMic

There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Advertisement: