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

C4G-TK

Quote from: droganto on May 24, 2010, 07:10:17 PM
Before installing I am getting an error replacing sources\subs.php it just says replace. I checked the content of what is going to replace and it look the same. Should I worry.

This is the details

7.   Execute Modification   ./Sources/Subs.php   Test failed
      1.   Replace   ./Sources/Subs.php   Test failed


FIND:
   $context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));


REPLACE:

   $context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys', 'manage_awards'));


Before you manually edit, check to make sure that the FIND file is exactly the same.  That line sometimes has a lot of additions to it depending on what mods you have installed.  If there is anything extra in that line, add the extra info to the REPLACE line and then save the edit.


-img removed-

droganto

Oh I see. Well I tried anyways and it did crashed my site :(  lucky I backup the file, but when I uninstalled it I guess it put it back to normal so website is up and running. I dont know Now I am afraid of the Mod, is a cool mod tho :(

C4G-TK

What version of SMF are you using?
What theme?

-img removed-

droganto

Quote from: C4G-TK on May 24, 2010, 07:30:12 PM
What version of SMF are you using?
What theme?

SMF2 RC3 Default Theme, But  I have installed

1.   To-Do List   1.1   
2.   Member Color Link   3.0.8   
3.   SMF4iPhone-Mod   1.0   
4.   Aeva Media   1.1b   
5.   Treasury   2.06   
6.   E-Arcade   Beta4-SMF2rc1   
7.   SimplePortal   2.3.2

C4G-TK

#1764
1) Was that the only error you received on install?

2) Did you do the edit for Display.template.php in the previous post?

3) Did you check to make sure that the other files are in the correct directories?
Create a directory "awards" in "the root directory".
Move the included file "ManageAwards.php" to "./Sources".
Move the included file "ManageAwards.template.php" to "./Themes/default".
Move the included file "ManageAwards.english.php" to "./Themes/default/languages".
Move the included file "ManageAwards.english-utf8.php" to "./Themes/default/languages".
Move the included file "award.gif" to "./Themes/default/images".
Move the included file "awards.gif" to "./Themes/default/images/admin".
Move the included file "awards.js" to "./Themes/default/scripts".
Move the included directory "awards" to "./Themes/default/images".


If you want, I will check your edits for the install if you attach them.  (Please note:  I won't be able to do this until either later tonight (around 11pm eastern time) or tomorrow afternoon.

-img removed-

droganto

Wow C4 I think that will be too much asking for you. BTW I do appreciate the help and how fast you are responding.

1. During the install, yes that was the only error only on that file. the other ones were success or skip
2. Not after the upgrade from 1.1.11 to 2. None of the other packages gave me errors at all.
3. No I didnt check the directory I didnt know.

What you mean with edits for the installs. I dont mind doing it. Im not in a hurry, this is just a will like to have mode not  a must have. So whenever you have the time is fine

C4G-TK

When you upgrade from 1.1.11 (or anything else) to RC3, your mods are lost.  You would need to reinstall them.  In this case, there is a Mod package for the 1.1.XX series and the SMF 2.0 series.  You would need to upload the RC3 version to your site and install for the mod to work correctly.  If you are simply using the package from the 1.1.XX series, it won't work.

If you go to the Mod Site here:
Member Awards
You should download the package that says: member_awards_2-0_rc3_v2.2.zip

Also, if you then make sure the select button is chosen to the same package and use the dropdown to select the RC3 version and hit PARSE, it will show you the edits.  All those edits will be done in the package, but if you scroll to the bottom of the page you will see any additional components to complete the install.

Quote from: droganto on May 24, 2010, 07:54:12 PM
What you mean with edits for the installs. I dont mind doing it. Im not in a hurry, this is just a will like to have mode not  a must have. So whenever you have the time is fine

I have no problem checking your edits which would mean attaching the files that are listed in the PARSE of the mod.

-img removed-

droganto

Oh thats the one I downloaded for the RC3.

I guess I see if I can figure the installation and look at the coding manually then. Thanks for your help C4

Coolie

QuoteThe file you tried to save generated the following error:
Fatal error: Cannot redeclare template_awards() (previously declared in /***/***/public_html/***/board/Themes/default/tmp_ces8emh96gvbtvpe67pblags81.php:2938) in Profile.template.php on line 3078

This is what happens when I try to replace the code. :(

Mechanical Karasu

QuoteUnknown column 'aw.award_name' in 'field list'
File: /home2/roryjs5/hsnaruto/Sources/Load.php
Line: 954

My SMF version is 1.1.11. This error shows up when I click the "awards" field in the admin control panel as well as try to look at any posts on my board. Before this, I was getting an error that my database needed updating, which I did.

JBlaze

@C4G-TK, thanks for all the help you are providing and that fix while I'm away. I'll be updating the package as soon as I get my internet back :)
Jason Clemons
Former Team Member 2009 - 2012

C4G-TK

No problem, only know a little, so try to help when I can, bud.

-img removed-

Kindred

Coolie, you double installed... you will have to remove one of the installations by hand to fix the problem.

Mechanical Karasu, the database tables did not get installed.
Сл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."

enCyde

Hi I'm using SMF 1.1.11

when I try to install the mod:

1.     Execute Modification     ./Themes/default/Profile.template.php     Test successful
2.    Execute Modification    ./Themes/default/Display.template.php    Test failed

And I was looking at the author page and I could not parse for that version :(

can someone help me out please?

thanks.

C4G-TK

Make sure you have the correct version and PACKAGE of the Mod selected. 

There are two packages listed.  The top package is for SMF 1.1.XX.  The bottom package is for version SMF 2.0 RC3.  Sounds like you have the package for RC3 selected when parsing because the top package parses fine on the Mod Page for 1.1.11

-img removed-

Mechanical Karasu

Quote from: Kindred on May 25, 2010, 02:21:36 AM
Coolie, you double installed... you will have to remove one of the installations by hand to fix the problem.

Mechanical Karasu, the database tables did not get installed.

I see. What do I do to fix that? Sorry, I'm pretty dumb when it comes to all of this, so you'll have to be explicit.  :P

enCyde

yea thanks...

I get an error on my forum and it crash on Subs.php

I don't know what is wrong, it's installed and everything and i edit all the files.. but it crash on Subs.php

:(

Coolie


Kindred

Quote from: Coolie on May 26, 2010, 07:26:41 PM
I only installed it once.

Well, obviously not... since a "redeclare" error only happens when you have the same code inserted twice...

of course this file:
/***/***/public_html/***/board/Themes/default/tmp_ces8emh96gvbtvpe67pblags81.php:2938

is not a valid file... so I do not know why it is there or why the template_awards() function would be declared  in it.... or why it would be called...  so you may have been hacked and bad files have been added.
Сл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."

enCyde

Kindred, do you have a idea what can be wrong with my my issue ?

Advertisement: