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

Hardy_rzn

How to add list of award names or just number of awards near user's avatar?
Version 1.1.8

Fustrate

#1241
C4G-TK - I'm not quite sure why... where do the images link to? Do they show if you go to where they're src'd from?

Hardy_razn - http://www.simplemachines.org/community/index.php?topic=114701.msg1144061#msg1144061
Steven Hoffman
Former Team Member, 2009-2012

C4G-TK

I figured it out!!  Dammit. 

I just uploaded a new image and it works fine.  I guess when I uninstalled the mod the last time, it emptied the table or information that I had submitted previously.  (Although, it didn't do that the other times I uninstalled and reinstalled.) 

No errors and the image is shown when I upload a new award.  Anywho.. TK has left the building and is heading to the beach to clear his head for a few hours.

-img removed-

Lamarck

#1243
It's working very good for me,now I can see the unasign button.I'm getting some errors on the error log tough,I will copy them here later.

Two things I want to see in this nice mod:

1-Support for external images (I said this,but I repeat it xD)
2-Different number of awards showing in display.template.php if you are admin,mod,user,etc (per membergroup).For example,the admin can set that mods/globalmods can show 7 awards,but users only 3.

Thanks for your great mod,my users enjoy it ^^.

Fustrate

While typing a reply that was going to say I haven't figured out a good way to do external images yet, I figured out how to do external images :)

As for the different numbers, that's a possibility.
Steven Hoffman
Former Team Member, 2009-2012

Lamarck

Ok,thanks!

I have this in the error log:


Aplicar filtro: Mostrar sólo los mensajes de error con este mensaje
8: Undefined index: award_name
Aplicar filtro: Mostrar sólo los errores de este archivo
Archivo: /home/silvanos/public_html/Themes/default/GenericMenu.template.php (awards_members sub template - eval?)
Línea: 2970




Fustrate

Are you on version 2.1.5 or 2.1.6? That was solved in 2.1.6 if I recall correctly.
Steven Hoffman
Former Team Member, 2009-2012

Xavi-Nena

#1247
I am using 1.1.8 and got an error upload with the sources/admin file, however when trying to manually put in the code I cannot find the lines I am supposed to add to...here is my file code:

(edited to remove code block that was stretching the page :) -Fustrate)

Xavi-Nena

sorry i tired to put it in the code bbc but it wouldnt display correctly.

Fustrate

Instead of copying the code into a code block, attach the file to a post.
Steven Hoffman
Former Team Member, 2009-2012

Xavi-Nena

duh should have just did that the first time...sorry i was being lazy :) here it is.

Robin Hood

Anything i want to do, i get error 406. What i'm doing wrong?

Fustrate

NenaGb - looking now

Robin Hood - that error should never be showing up. is it just on awards-related pages, your whole forum, or your whole site?
Steven Hoffman
Former Team Member, 2009-2012

ოկtђ

Hello,
Can I translate to turkish this  modification

Robin Hood

Quote from: Fustrate on May 17, 2009, 12:33:26 PM
Robin Hood - that error should never be showing up. is it just on awards-related pages, your whole forum, or your whole site?

Just with this mod:

QuoteNot Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.63 Server at www.***.com Port 80

Fustrate

#1255
mythcomeback - it depends on which version. The 1.1.x version is being upgraded to be more like the 2.0 version, so I'd only recommend translating the 2.0 language strings.

Robin Hood - does the .htaccess file in your forum's folder have this in it?
<IfModule mod_security.c>
# Turn off mod_security filtering.  SMF is a big boy, it doesn't need its hands held.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

if not, add it. If the file isn't there, create it and put that in there.
Steven Hoffman
Former Team Member, 2009-2012

ოկtђ

I want to translating the 2.0 language strings.

Fustrate

Then yes, that would be great :)
Steven Hoffman
Former Team Member, 2009-2012

ოկtђ

So I start translation

Robin Hood

Fustrate, thank you for assisting, I added it, but same problem is happening.

I had this in that file

<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>


Maybe i should delete/change it?

And, I founded this file into packages directory. You thought of that file?

Advertisement: