Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

kiddkhaos

Sorry to become anyone's burden but.. I keep getting this message error on my logs.

File: ...../default/languages/ManageAwards.english.php (awards_list sub template - eval?)
Line: 3214

Any ideas how I can resolve it? Much thanks!

Kindred

#2561
Kidd,   That is not the whole error...  However, turn off eval first.

Sharks,
It is not the responsibility of a mod author to make his mod fit with any other mods...  especially once there could be twenty dozen mods that affect the same areas of code.
Your uninstall errors are likely due to the same thing.... Other mods.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kiddkhaos

That is the only error I get on the logs? And what is Evla? :( Sorry I'm such a noob.

Kindred

kidd....   stupid auto correct  "turn off eval" (look it up in the wiki for instructions)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kiddkhaos

OKay man, got it. I turned it off.. now what? :/

Kindred

Now, the next time the error happens, tell us the FULL error message
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

DonBruno

Noob question...

...what must be changed,in order to make it work even in sites with mod_security ?

Spuds

anywhere that the mod puts an ;id= in the url it must be changed to something else like ;awardid=
then throughout the code, wherever a $_GET that grabbed 'id' it must be changed to 'awardid' but left as $id in the code processing unless  you want to also update most of the query's.

zushiba

So I've read the thread a little and I appear to be having the same problem many others are with the awards not showing up on thread views.  Is there a fix for this?

Kindred

Yes... Make the edits to your theme's display.template.ohp
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tragidy

Is there a method to display a page showing all awards, like a page inside a portal for smf for example; tinyportal, simpleportal, portamx in the form of an external php script even?

Thanks
Open source Matters, the GNU GPL License is one of the most valuable text ever created by mankind.
Support all open source projects when possible as their concepts are paving the future. ~ tragidy

Spuds

If you mean a show all available awards, there is a menu selection under profile -> show awards that shows whats available .... if you want that in a portal block you could adapt that code as a starting point.

admirable

I'm doing manually this mod...
can someone tell me where may i upload install.php ????
My Website| JA Technologies
-----------------------------------------------------------------------
Do hard work, one day you will be awarded for that!
-----------------------------------------------------------------------

Draffi

This file comes to your root-directory from your forum (where your index.php is located) and then you need to call the file manually: type in your browser:

www. name-of-myforum . com/install.php

Kreator

#2574

Quote from: Spuds on October 15, 2011, 03:03:16 PM
Quote from: bharatforum on October 15, 2011, 01:21:23 PM
Somehow I can only type the name of the member and not choose it from the drop down list. There is only one option Select Members: and then you can type the name over there. Can I change something manually so that it works normally?
Do you see the drop down list?

Has this been solved? as I have the same problem I have an awards dropdown list, but no members, just a single box

EDIT:
I read that you should type below the input box but that does not work either!

see screenshot

hcfwesker

Only way it works for me is typing about half the members name, then, the drop box will appear just below, and click the name that appears (sometime multi-names appear, so pick the one you want.)

The names dont just appear without typing anything, and wont appear if you type the full name.




I'm just giving an example of how it works for me, type the name in the orange arrowed box, type half the name , and wait for the name to appear below the input  box with the green arrow ... and click the name to insert it.


Joe_

I get some errors when trying to install this mod:
Quote
1.    Adapt Database    install.php    
*    2.    Execute Modification    ./Sources/Admin.php    Test successful
*    3.    Execute Modification    ./Sources/Load.php    Test failed
      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 failed
*    4.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
*    5.    Execute Modification    ./Sources/Profile-View.php    Test successful
*    6.    Execute Modification    ./Sources/Profile.php    Test successful
*    7.    Execute Modification    ./Sources/Subs.php    Test failed
      1.    Replace    ./Sources/Subs.php    Test failed
*    8.    Execute Modification    ./Sources/Who.php    Test successful
*    9.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
*    10.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
   11.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
*    12.    Execute Modification    ./Themes/default/Display.template.php    Test successful
   13.    Create Tree    ./awards    
   14.    Extract File    ./Sources/ManageAwards.php    
   15.    Extract File    ./Themes/default/ManageAwards.template.php    
   16.    Extract File    ./Themes/default/languages/ManageAwards.english.php    
   17.    Extract File    ./Themes/default/languages/ManageAwards.english-utf8.php    
   18.    Extract File    ./Themes/default/images/award.gif    
   19.    Extract File    ./Themes/default/images/admin/awards.gif    
   20.    Extract File    ./Themes/default/scripts/awards.js    
   21.    Extract Tree    ./Themes/default/images/awards

I'm using 2.0.1

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Spuds

QuoteOnly way it works for me is typing about half the members name, then, the drop box will appear just below, and click the name that appears (sometime multi-names appear, so pick the one you want.)
That is correct ... its pretty much the same as when you send a PM, you need to begin to enter the name and as hcfwesker stated, you must select the name from that list, even if only one name comes up.

cloksin

I had this same problem when I first installed the mod, when typing a member name in the box it DID NOT auto fill with the member's name.  It turned out to be a javascript error (I was having the same problem with PMs, the to and bcc fields would not auto complete)  I'm not sure of a specific fix for this, I ended up rebuilding my forum from scratch to fix other problems, and that subsequently fixed the javascript errors.

Just trying to point out what the cause of the error is, sorry I don't have a specific solution for you.
SMF 2.0.1
SimplePortal 2.3.3

Advertisement: