News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Member Color Link

Started by Nibogo, April 02, 2005, 06:32:51 AM

Previous topic - Next topic

gizmo28

#660
The problem goes away after I uninstall the mod, dunno why, works fine on my test board, but on upgraded forum it gives me this error. Attached file for you to look at.

Actually there are 2 errors, didnt notice the 2  errors on 2 lines since the log was full of these 2 repeated over/


gizmo   Today at 06:01:37 AM 
71.169.4.62     3f8eb1670fef317bd00f6092fa9eee3f 
   Type of error: General 
http://*********/index.php? 
2: mysql_free_result(): 35 is not a valid MySQL result resource
File: /home/8******/public_html/Sources/Subs-Calendar.php
Line: 175 

   gizmo   Today at 06:01:37 AM 
71.169.4.62     3f8eb1670fef317bd00f6092fa9eee3f 
   Type of error: General 
http://**********/index.php? 
2: mysql_fetch_assoc(): 35 is not a valid MySQL result resource
File: /home/*******/public_html/Sources/Subs-Calendar.php
Line: 156 



ディン1031

#661
Okay you found a mistake that i make in packages... Download the new Version and this will be fixed

Version 3.0.5a (26.09.08):
! Fix a not reomved line on (SMF 2.0.x) (This Bugfix will only work on smf 2.0.x).
- Removed the SMF 2.0 Beta 3.1 Public Compatible
- Upgrade for SMF 2.0 Beta 4 included, SMF 1.1.x will need to be updated to this version!

Only user with SMF 2.0 Beta 4 need this update! User with SMF 1.1.x need no updates, because it's a mistake done by me... only in SMF 2.0 Version ;)

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

gizmo28

Thanks for the fix, seems to be working, no errors in the log yet.

FireDitto

Quote from: ディン1031 on September 25, 2008, 07:48:58 AM
Change in Filename: $sourcedir/BoardIndex.php

Yeah... but WHERE is that?

Sorry, but I really don't know!
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

ディン1031

Quote from: FireDitto on September 30, 2008, 03:00:09 AM
Quote from: ディン1031 on September 25, 2008, 07:48:58 AM
Change in Filename: $sourcedir/BoardIndex.php

Yeah... but WHERE is that?

Sorry, but I really don't know!
Normal: $sourcedir => /your_pathto_forum_dir/Sources

Bye
DIN1031

Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

matasanos

i have this installed
all fine
excepts an error in log error...

8: Undefined index: MemberColorLinkHeadline
File: /web/htdocs/www.lords-beer.net/home/foro/Sources/ModSettings.php
Line: 163

i cant find a solution

ディン1031

Which Version did you install and for which SMF Version?

Do you use a different language than English?

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

matasanos

Quote from: ディン1031 on October 02, 2008, 10:16:21 AM
Which Version did you install and for which SMF Version?

Do you use a different language than English?

Bye
DIN1031

yes i use a different language than english, but i have in all my modifications file languagues all strings

and version smf 1.1.6
   member color link 3.0.5

i have done a search about this problem..and more people have this problem

a trick/solution could be this?

http://www.smfhacks.com/index.php/topic,46.msg8167.html#msg8167

ディン1031

Quote from: matasanos on October 02, 2008, 12:18:13 PM
Quote from: ディン1031 on October 02, 2008, 10:16:21 AM
Which Version did you install and for which SMF Version?

Do you use a different language than English?

Bye
DIN1031

yes i use a different language than english, but i have in all my modifications file languagues all strings

and version smf 1.1.6
   member color link 3.0.5

i have done a search about this problem..and more people have this problem

a trick/solution could be this?

http://www.smfhacks.com/index.php/topic,46.msg8167.html#msg8167
Oo i don't see any Solution in it..., and i'm 100% sure this have nothing to do with that ;).

Hmmm normal i would say a text string is missing, because this is the text string...


$txt['MemberColorLinkHeadline'] = 'Member Color Link';


This is the code for it in the Modifications.XXXXXXX.php in you language dir.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

Quote from: narata on October 15, 2008, 09:16:47 PM
Show Member Color Link to Name



thank you
This can be done with follow change on the $sourcedir/Load.php:
Search for

else
$context['user']['name'] = &$user_info['name'];

replace with

elseif(!empty($ID_MEMBER)) {
$coloredData = load_onlineColors($ID_MEMBER, true, true);
$context['user']['name'] = $coloredData['colored_name'];
}
else
$context['user']['name'] = &$user_info['name'];


This will work only with and installed Member Color Link V3.

(I could not test it, but i think it will work :X).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

TheDisturbedOne

For some reason it fails my Display.php
Can someone tell me what's wrong with it?

tk2012

#671
Hey there -

I installed and the BoardIndex.template.php file failed.  I tried to locate the edit to perform it manually, but can't find the string anywhere.  Tried searching with different parts of the line, but here is no string that has "action=profile;u='" that I can find.

I am using the default them.
I am using v2.0 b4.0
I am using the 3.0.5a version of the mod.

I've attached the file that is failing if you could help me complete this mod.  I'm not sure why I can't find what I need here.

erlend_sh

Tried to install v3.0.5a of your mod on my freshly updated forum with no other mods installed, and I was quite surprised to see the amount of errors displayed, all on the SMF default theme. I also have the latest Black Rain installed, but there were no errors involved with this one.


Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test failed
4. Replace ./Sources/Load.php Test successful
5. Replace ./Sources/Load.php Test successful
6. Replace ./Sources/Load.php Test successful
7. Replace ./Sources/Load.php Test successful
8. Replace ./Sources/Load.php Test successful
9. Replace ./Sources/Load.php Test successful
10. Replace ./Sources/Load.php Test failed
11. Replace ./Sources/Load.php Test successful

5. Execute Modification ./Sources/Subs-BoardIndex.php Test failed
1. Replace ./Sources/Subs-BoardIndex.php Test successful
2. Replace ./Sources/Subs-BoardIndex.php Test failed
3. Add Before ./Sources/Subs-BoardIndex.php Test successful

6. Execute Modification ./Sources/MessageIndex.php Test failed
1. Add Before ./Sources/MessageIndex.php Test successful
2. Replace ./Sources/MessageIndex.php Test failed
3. Replace ./Sources/MessageIndex.php Test failed
4. Replace ./Sources/MessageIndex.php Test successful
5. Replace ./Sources/MessageIndex.php Test failed
6. Replace ./Sources/MessageIndex.php Test failed
7. Replace ./Sources/MessageIndex.php Test successful

7. Execute Modification ./Sources/BoardIndex.php Test successful
8. Execute Modification ./Sources/Subs-Calendar.php Test successful
9. Execute Modification ./Sources/Display.php Test failed
1. Replace ./Sources/Display.php Test failed
2. Replace ./Sources/Display.php Test failed
3. Replace ./Sources/Display.php Test failed

10. Execute Modification ./Sources/Recent.php Test failed
1. Replace ./Sources/Recent.php Test failed
2. Replace ./Sources/Recent.php Test failed
3. Add After ./Sources/Recent.php Test successful
4. Replace ./Sources/Recent.php Test failed
5. Add After ./Sources/Recent.php Test successful
6. Replace ./Sources/Recent.php Test failed
7. Replace ./Sources/Recent.php Test failed
8. Replace ./Sources/Recent.php Test successful

11. Execute Modification ./Sources/Subs-Recent.php Test failed
1. Add After ./Sources/Subs-Recent.php Test successful
2. Replace ./Sources/Subs-Recent.php Test failed
3. Replace ./Sources/Subs-Recent.php Test failed

12. Execute Modification ./Sources/PersonalMessage.php Test successful
13. Execute Modification ./Sources/Stats.php Test successful
14. Execute Modification ./Sources/Subs.php Test successful
15. Execute Modification ./Sources/Profile-Actions.php Test successful
16. Execute Modification ./Sources/Groups.php Test successful
17. Execute Modification ./Sources/ModerationCenter.php Test failed
1. Replace ./Sources/ModerationCenter.php Test successful
2. Replace ./Sources/ModerationCenter.php Test failed
3. Replace ./Sources/ModerationCenter.php Test successful
4. Replace ./Sources/ModerationCenter.php Test failed
5. Replace ./Sources/ModerationCenter.php Test successful
6. Replace ./Sources/ModerationCenter.php Test successful
7. Replace ./Sources/ModerationCenter.php Test successful
8. Replace ./Sources/ModerationCenter.php Test failed
9. Replace ./Sources/ModerationCenter.php Test successful
10. Replace ./Sources/ModerationCenter.php Test failed
11. Replace ./Sources/ModerationCenter.php Test successful
12. Replace ./Sources/ModerationCenter.php Test successful
13. Replace ./Sources/ModerationCenter.php Test successful
14. Replace ./Sources/ModerationCenter.php Test successful
15. Replace ./Sources/ModerationCenter.php Test successful
16. Replace ./Sources/ModerationCenter.php Test successful
17. Replace ./Sources/ModerationCenter.php Test successful
18. Replace ./Sources/ModerationCenter.php Test successful
19. Replace ./Sources/ModerationCenter.php Test successful
20. Replace ./Sources/ModerationCenter.php Test successful
21. Replace ./Sources/ModerationCenter.php Test successful

18. Execute Modification ./Sources/Search.php Test failed
1. Replace ./Sources/Search.php Test failed
2. Replace ./Sources/Search.php Test successful
3. Replace ./Sources/Search.php Test failed
4. Replace ./Sources/Search.php Test failed

19. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Replace ./Themes/default/BoardIndex.template.php Test failed

20. Execute Modification ./Themes/default/Calendar.template.php Test failed
1. Replace ./Themes/default/Calendar.template.php Test failed
2. Replace ./Themes/default/Calendar.template.php Test failed

21. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Replace ./Themes/default/Profile.template.php Test failed

I'm guessing the problem must be on my end seeing as this mod wouldn't have been approved if it was causing major issues with even the default theme alone, but I've no idea how our forum could be messed up now that we've just applied a fresh install from beta 3.1 to 4... Did also try to install a different mod afterwords, no problems there.


ディン1031

Quote from: Sadr on October 19, 2008, 10:35:47 AM
Tried to install v3.0.5a of your mod on my freshly updated forum with no other mods installed, and I was quite surprised to see the amount of errors displayed, all on the SMF default theme. I also have the latest Black Rain installed, but there were no errors involved with this one.


Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test failed
4. Replace ./Sources/Load.php Test successful
5. Replace ./Sources/Load.php Test successful
6. Replace ./Sources/Load.php Test successful
7. Replace ./Sources/Load.php Test successful
8. Replace ./Sources/Load.php Test successful
9. Replace ./Sources/Load.php Test successful
10. Replace ./Sources/Load.php Test failed
11. Replace ./Sources/Load.php Test successful

5. Execute Modification ./Sources/Subs-BoardIndex.php Test failed
1. Replace ./Sources/Subs-BoardIndex.php Test successful
2. Replace ./Sources/Subs-BoardIndex.php Test failed
3. Add Before ./Sources/Subs-BoardIndex.php Test successful

6. Execute Modification ./Sources/MessageIndex.php Test failed
1. Add Before ./Sources/MessageIndex.php Test successful
2. Replace ./Sources/MessageIndex.php Test failed
3. Replace ./Sources/MessageIndex.php Test failed
4. Replace ./Sources/MessageIndex.php Test successful
5. Replace ./Sources/MessageIndex.php Test failed
6. Replace ./Sources/MessageIndex.php Test failed
7. Replace ./Sources/MessageIndex.php Test successful

7. Execute Modification ./Sources/BoardIndex.php Test successful
8. Execute Modification ./Sources/Subs-Calendar.php Test successful
9. Execute Modification ./Sources/Display.php Test failed
1. Replace ./Sources/Display.php Test failed
2. Replace ./Sources/Display.php Test failed
3. Replace ./Sources/Display.php Test failed

10. Execute Modification ./Sources/Recent.php Test failed
1. Replace ./Sources/Recent.php Test failed
2. Replace ./Sources/Recent.php Test failed
3. Add After ./Sources/Recent.php Test successful
4. Replace ./Sources/Recent.php Test failed
5. Add After ./Sources/Recent.php Test successful
6. Replace ./Sources/Recent.php Test failed
7. Replace ./Sources/Recent.php Test failed
8. Replace ./Sources/Recent.php Test successful

11. Execute Modification ./Sources/Subs-Recent.php Test failed
1. Add After ./Sources/Subs-Recent.php Test successful
2. Replace ./Sources/Subs-Recent.php Test failed
3. Replace ./Sources/Subs-Recent.php Test failed

12. Execute Modification ./Sources/PersonalMessage.php Test successful
13. Execute Modification ./Sources/Stats.php Test successful
14. Execute Modification ./Sources/Subs.php Test successful
15. Execute Modification ./Sources/Profile-Actions.php Test successful
16. Execute Modification ./Sources/Groups.php Test successful
17. Execute Modification ./Sources/ModerationCenter.php Test failed
1. Replace ./Sources/ModerationCenter.php Test successful
2. Replace ./Sources/ModerationCenter.php Test failed
3. Replace ./Sources/ModerationCenter.php Test successful
4. Replace ./Sources/ModerationCenter.php Test failed
5. Replace ./Sources/ModerationCenter.php Test successful
6. Replace ./Sources/ModerationCenter.php Test successful
7. Replace ./Sources/ModerationCenter.php Test successful
8. Replace ./Sources/ModerationCenter.php Test failed
9. Replace ./Sources/ModerationCenter.php Test successful
10. Replace ./Sources/ModerationCenter.php Test failed
11. Replace ./Sources/ModerationCenter.php Test successful
12. Replace ./Sources/ModerationCenter.php Test successful
13. Replace ./Sources/ModerationCenter.php Test successful
14. Replace ./Sources/ModerationCenter.php Test successful
15. Replace ./Sources/ModerationCenter.php Test successful
16. Replace ./Sources/ModerationCenter.php Test successful
17. Replace ./Sources/ModerationCenter.php Test successful
18. Replace ./Sources/ModerationCenter.php Test successful
19. Replace ./Sources/ModerationCenter.php Test successful
20. Replace ./Sources/ModerationCenter.php Test successful
21. Replace ./Sources/ModerationCenter.php Test successful

18. Execute Modification ./Sources/Search.php Test failed
1. Replace ./Sources/Search.php Test failed
2. Replace ./Sources/Search.php Test successful
3. Replace ./Sources/Search.php Test failed
4. Replace ./Sources/Search.php Test failed

19. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
1. Replace ./Themes/default/BoardIndex.template.php Test failed

20. Execute Modification ./Themes/default/Calendar.template.php Test failed
1. Replace ./Themes/default/Calendar.template.php Test failed
2. Replace ./Themes/default/Calendar.template.php Test failed

21. Execute Modification ./Themes/default/Profile.template.php Test failed
1. Replace ./Themes/default/Profile.template.php Test failed

I'm guessing the problem must be on my end seeing as this mod wouldn't have been approved if it was causing major issues with even the default theme alone, but I've no idea how our forum could be messed up now that we've just applied a fresh install from beta 3.1 to 4... Did also try to install a different mod afterwords, no problems there.
First i test my mods only on fresh installed forums, and not on upgraded forums. (Upgraded forums can evertime produce errors, that i can not avoid).

And i did a test yesterday on my upgraded 1.1.5 and it work fine, i think your files are not clean fresh files...

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

DHC

Installed version 3.0.0 with SMF 1.1.6. Am getting "undefined index" error and trying to upgrade. I cannot upgrade to 3.0.5 due to an error when trying to install the modification, as follows:

Quote1.     Execute Modification     ./Sources/Load.php     Test failed
2.    Execute Modification    ./Sources/Search.php    Test successful
3.    Execute Modification    ./Sources/MessageIndex.php    Test successful
4.    Execute Modification    ./Sources/BoardIndex.php    Test successful
5.    Execute Modification    ./Sources/Recent.php    Test successful
6.    Execute Modification    ./Sources/Stats.php    Test successful
7.    Execute Modification    ./Themes/default/Calendar.template.php    Test successful
8.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful

Next, I tried to "Uninstall" the 3.0.0 version, but received a message that there is "no uninstaller. Contact the mod author".

What to do now?

ディン1031

Quote from: DHC on October 23, 2008, 07:28:02 AM
Installed version 3.0.0 with SMF 1.1.6. Am getting "undefined index" error and trying to upgrade. I cannot upgrade to 3.0.5 due to an error when trying to install the modification, as follows:

Quote1.     Execute Modification     ./Sources/Load.php     Test failed
2.    Execute Modification    ./Sources/Search.php    Test successful
3.    Execute Modification    ./Sources/MessageIndex.php    Test successful
4.    Execute Modification    ./Sources/BoardIndex.php    Test successful
5.    Execute Modification    ./Sources/Recent.php    Test successful
6.    Execute Modification    ./Sources/Stats.php    Test successful
7.    Execute Modification    ./Themes/default/Calendar.template.php    Test successful
8.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful

Next, I tried to "Uninstall" the 3.0.0 version, but received a message that there is "no uninstaller. Contact the mod author".

What to do now?
Wait a second you could install the Verson 3.0.0 on an SMF 1.1.6?
Or did you install it before and than you upgrade your forum to 1.1.6?
Because this is confusing ???

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

DHC

Quote from: ディン1031 on October 23, 2008, 08:46:10 AM
Quote from: DHC on October 23, 2008, 07:28:02 AM
Installed version 3.0.0 with SMF 1.1.6. Am getting "undefined index" error and trying to upgrade. I cannot upgrade to 3.0.5 due to an error when trying to install the modification, as follows:

Quote1.     Execute Modification     ./Sources/Load.php     Test failed
2.    Execute Modification    ./Sources/Search.php    Test successful
3.    Execute Modification    ./Sources/MessageIndex.php    Test successful
4.    Execute Modification    ./Sources/BoardIndex.php    Test successful
5.    Execute Modification    ./Sources/Recent.php    Test successful
6.    Execute Modification    ./Sources/Stats.php    Test successful
7.    Execute Modification    ./Themes/default/Calendar.template.php    Test successful
8.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful

Next, I tried to "Uninstall" the 3.0.0 version, but received a message that there is "no uninstaller. Contact the mod author".

What to do now?
Wait a second you could install the Verson 3.0.0 on an SMF 1.1.6?
Or did you install it before and than you upgrade your forum to 1.1.6?
Because this is confusing ???

Bye
DIN1031

I installed 3.0.0 in June 2008. I *think* I later upgraded to SMF 1.1.6, but am not certain.

Anyway - what do I do now?

BillyBob31

#678
- Fixed -

tk2012

Quote from: tk2012 on October 18, 2008, 02:03:41 PM
Hey there -

I installed and the BoardIndex.template.php file failed.  I tried to locate the edit to perform it manually, but can't find the string anywhere.  Tried searching with different parts of the line, but here is no string that has "action=profile;u='" that I can find.

I am using the default them.
I am using v2.0 b4.0
I am using the 3.0.5a version of the mod.

I've attached the file that is failing if you could help me complete this mod.  I'm not sure why I can't find what I need here.

I still can't find how to do this edit.  My BoardIndex.template is attached

Advertisement: