News:

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

Main Menu

Advanced XFire Field v2.0

Started by Violat3r, April 19, 2008, 07:23:35 PM

Previous topic - Next topic

ruckstande

I'm generating a bunch of errors here.
The Guest is getting this one:

8: Undefined index: gamertag
File: /home/content/r/u/c/ruckstande/html/Themes/default/Display.template.php (eval?)
Line: 371

8: Undefined index: options
File: /home/content/r/u/c/ruckstande/html/Themes/default/Display.template.php (eval?)
Line: 371

And I'm getting these

2: unlink(/home/content/r/u/c/ruckstande/html/Themes/default/images/xfire.gif): No such file or directory
File: /home/content/r/u/c/ruckstande/html/Sources/Subs-Package.php
Line: 1047

8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/Themes/default/languages/Who.english.php (eval?)
Line: 225


Violat3r

Quote from: CrazyHorse80 on June 11, 2008, 04:58:47 PM
I got this error in forum log:

Quote8: Undefined index: xfire
File: D:\xx\xx\forum\Themes\default\languages\Who.italian.php (eval?)
Riga: 225

I looked into the mod file and it seems it desn't modify who.english.php so I don't expect to make any change in my who.italian.php: what's wrong?
Bye,
PS


Well, as ive said before im not very good with this kinda stuff, but ill try. Are you trying to use an italian forum? it seems that maybe that may be the issue, its trying to read what the xfire term means by i THINK grabbing it from a Modification.italian.php...which i dont have a translation for so it cant read it.....but i really dont know, you might wanna wait for ccbtimewiz lol. If you are using an italian forum, try opening your Modification.italian.php and adding these lines:

$txt['xfire'] = 'XFire';
$txt['xfire_username'] = 'Your XFire Username';
$txt['xfire_add'] = 'Add as Friend?';

Then remove the english and make the italian translation (probably need to keep the first one just XFire lol) Then save and upload and see if it makes a difference.


Quote from: ruckstande on June 11, 2008, 05:18:41 PM
I'm generating a bunch of errors here.
The Guest is getting this one:

8: Undefined index: gamertag
File: /home/content/r/u/c/ruckstande/html/Themes/default/Display.template.php (eval?)
Line: 371

8: Undefined index: options
File: /home/content/r/u/c/ruckstande/html/Themes/default/Display.template.php (eval?)
Line: 371

And I'm getting these

2: unlink(/home/content/r/u/c/ruckstande/html/Themes/default/images/xfire.gif): No such file or directory
File: /home/content/r/u/c/ruckstande/html/Sources/Subs-Package.php
Line: 1047

8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/Themes/default/languages/Who.english.php (eval?)
Line: 225



I dont think the first 2 have anything to do with my mod, since "gamertag" doesnt exist in it, and the "options" error.....i haven't the SLIGHTEST clue. For the errors your personally getting, make sure that the xfire.gif is in the default themes' image directory, if not just grab it from the zip and put it in manually. For the 2nd error......not sure, but it sounds similar to the previous guys problem, make sure the proper string is in the Modification.english.php. If all is well......then i have no idea.....it works fine for me so  ::) Good Luck ~ Vio

ruckstande

Nope, I'm still messed up. I don't understand why it is telling me I have an error at line 225 when it only goes to 96.

CrazyHorse80

Quote from: Violat3r on June 12, 2008, 07:05:08 PM
Quote from: CrazyHorse80 on June 11, 2008, 04:58:47 PM
I got this error in forum log:

Quote8: Undefined index: xfire
File: D:\xx\xx\forum\Themes\default\languages\Who.italian.php (eval?)
Riga: 225

I looked into the mod file and it seems it desn't modify who.english.php so I don't expect to make any change in my who.italian.php: what's wrong?
Bye,
PS


Well, as ive said before im not very good with this kinda stuff, but ill try. Are you trying to use an italian forum? it seems that maybe that may be the issue, its trying to read what the xfire term means by i THINK grabbing it from a Modification.italian.php...which i dont have a translation for so it cant read it.....but i really dont know, you might wanna wait for ccbtimewiz lol. If you are using an italian forum, try opening your Modification.italian.php and adding these lines:

$txt['xfire'] = 'XFire';
$txt['xfire_username'] = 'Your XFire Username';
$txt['xfire_add'] = 'Add as Friend?';

Then remove the english and make the italian translation (probably need to keep the first one just XFire lol) Then save and upload and see if it makes a difference.



I've already done this...  But it doesn't work!

malfunkshun

having the same problem. But it is not an error I can reliably recreate. It appears to be fairly random from my end but is more prevalent when viewing a profile that has not added xfire info.

Violat3r

Thats....well really strange. I do know that if no xfire info has been placed it will still show the XFire area and the "Add as Friend?" thing, which i have fixed in the version im working on now. But once again....i really dont know enough as i have never had any of these errors on my end at all and im not a nearly enough experience coder in any way. As i said before i think that maybe we'll just have to wait for ccbtimewiz or someone who knows what there doing LOL to help. So yea....sorry :/

ccbtimewiz

The ones whom are having problems...

Please attach the templates that this modification edits (or the templates in your custom theme if it applies), and please give me a list of all the modifications you currently have installed and what version of SMF you're running.

CrazyHorse80

#27
Here they are:

profile.template.php
who.template.php
display.template.php (custom theme - Metallic Abyss)
modification.italian.php (I'm using it)
modification.english.php

All they are attached to this post.


I've installed those mods in my forum (SMF 1.1.5):
1.     Advanced XFire Field             1.2
2.    Attachment File Renamer    1.1.2
3.    Auto Embed Video Clips            1.0
4.    Banlist                                    1.0
5.    Double Post Stopper            1.0.1
6.    Auto Email Inactive Users    1.7
7.    Googlebot & Spiders Mod    2.0.3
8.    Google Member Map            0.1
9.    Hide SMF Version                    1.0
10.    MCLegendII                            1.1
11.    nCode Image Resizer            1.0
12.    ReasonForEditing Mod         1.14
14.    Rename Topic                             1.0.2
15.    Save PM as HTML                    1.0.5
16.    Separated Bd from Events    1.0
17.    Add Sitepreview's                    1.0
18.    SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1
19.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0
20.    Spiders Don't Increase Topic Views    1.1
21.    Who Voted What?                    1.1.4


Thanks,
PS

ccbtimewiz

Okie, I managed to fix it, but in two ways.

One of the ways might not work for you, so if one doesn't work, try the other. =]

CrazyHorse80

#29
I'm gonna try... But, only for satisfy my curiosity, what exactly did you modify?
Thanks,
PS

EDIT: I need the modifications because I've installed another mod after that and I've modded some of those files you fixed...

ruckstande

Quote from: ccbtimewiz on June 13, 2008, 05:03:37 PM
The ones whom are having problems...

Please attach the templates that this modification edits (or the templates in your custom theme if it applies), and please give me a list of all the modifications you currently have installed and what version of SMF you're running.

Here is mine.

   Mod Name     Version     
1.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
2.    YouTube BBC Tag (XHTML Compliant)    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Links    1.6.5    [ Uninstall ] [ List Files ] [ Delete ]
4.    Xbox Live Gamer Tag    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    FontandSizeDropdown_1.2    1.2    [ Uninstall ] [ List Files ] [ Delete ]
6.    Spoiler Tag - unofficial version for SMF 1.1.3    0.3.3    [ List Files ] [ Delete ]
7.    Auto Embed Video/Audio Clips    3.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    express 2 smiley set    2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Advanced XFire Field    1.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
11.    Increase/Decrease Postbox Size    1.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    nCode Image Resizer    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    Username Tag    1.2    [ Uninstall ] [ List Files ] [ Delete ]
15.    Order by Length(code) fix    1.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    Automatic_Karma    1.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Pretty URLs - Base    0.8.3    [ Uninstall ] [ List Files ] [ Delete ]
18.    URL Popup    1.0    [ Uninstall ] [ List Files ] [ Delete ]
19.    clickableImagebbcode    1.0


Violat3r

#31
Sorry Ruck, ive been really busy. Ill take a look at these when i can but i do want to say before-hand that that one error saying "gamertag" that your getting im pretty sure is coming from your "Xbox Live Gamer Tag" mod (hence the "Gamer Tag" part LOL!!!) But yea, ya never maybe my mod is screwing up both :/ Dunno but ill take a look at these soon.

EDIT: Which version of the XBox Live Gamer Tag are you using? Cause if its the one i think it is then it is VERY outdated!!! I would suggest going with a newer one, such as
ziycon's or UTM-MaKaVeLi's I dont know at this point, but it MIGHT be a problem with that for that one at least.

EDIT AGAIN: Ok well, i personally cant really find any problems, but once again im not really a coder and i barely know anything so w/e. Anyway, there was only 1 issue i could find and i highly doubt it could cause all your problems but hey, ya never know. Try uploading this Modifications.english.php of which i made only a slight adjustment to the nCode Image Resizer information. I hope this helps...but its just a shot in the dark :/ Good Luck Sir! =D

ruckstande

Quote from: Violat3r on June 18, 2008, 12:18:10 AM
Sorry Ruck, ive been really busy. Ill take a look at these when i can but i do want to say before-hand that that one error saying "gamertag" that your getting im pretty sure is coming from your "Xbox Live Gamer Tag" mod (hence the "Gamer Tag" part LOL!!!) But yea, ya never maybe my mod is screwing up both :/ Dunno but ill take a look at these soon.

EDIT: Which version of the XBox Live Gamer Tag are you using? Cause if its the one i think it is then it is VERY outdated!!! I would suggest going with a newer one, such as
ziycon's or UTM-MaKaVeLi's I dont know at this point, but it MIGHT be a problem with that for that one at least.

EDIT AGAIN: Ok well, i personally cant really find any problems, but once again im not really a coder and i barely know anything so w/e. Anyway, there was only 1 issue i could find and i highly doubt it could cause all your problems but hey, ya never know. Try uploading this Modifications.english.php of which i made only a slight adjustment to the nCode Image Resizer information. I hope this helps...but its just a shot in the dark :/ Good Luck Sir! =D

Thanks for your help. I wouldn't kill yourself over it. I'm reinstalling the site anyway because the Simple Portal mod f'd me up royally. I will take that file though. Thank you.

ruckstande

Okay, I reinstalled everything but I'm still getting the same errors as before. It's just strange.

ccbtimewiz

Quote from: ruckstande on June 22, 2008, 08:00:47 PM
Okay, I reinstalled everything but I'm still getting the same errors as before. It's just strange.

Very strange. Mind letting me see for myself?

ruckstande

Quote from: ccbtimewiz on June 22, 2008, 08:35:46 PM
Quote from: ruckstande on June 22, 2008, 08:00:47 PM
Okay, I reinstalled everything but I'm still getting the same errors as before. It's just strange.

Very strange. Mind letting me see for myself?
Do you just want the errors?

QuoteApply Filter: Only show the error messages of this member  Guest       June 22, 2008, 01:52:27 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/Profile.template.php (eval?)
Line: 225
   
Apply Filter: Only show the error messages of this member [OnA]Beeman99    June 21, 2008, 11:12:21 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/languages/Who.english.php (eval?)
Line: 225
   
Apply Filter: Only show the error messages of this member Garyisajoke    June 21, 2008, 10:02:29 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/languages/Who.english.php (eval?)
Line: 225
   
Apply Filter: Only show the error messages of this member Bill Lehecka    June 21, 2008, 08:48:38 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/languages/Who.english.php (eval?)
Line: 225

   
Apply Filter: Only show the error messages of this member Guest    June 21, 2008, 06:58:40 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/Profile.template.php (eval?)
Line: 225
   
Apply Filter: Only show the error messages of this member [OnA] Rollin    June 21, 2008, 06:37:04 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/languages/Who.english.php (eval?)
Line: 225
   
Apply Filter: Only show the error messages of this member Aero 1    June 21, 2008, 03:20:47 PM
8: Undefined index: xfire
File: /home/content/r/u/c/ruckstande/html/pbl2/Themes/default/languages/Who.english.php (eval?)
Line: 225
   


ccbtimewiz

Attach your profile.template.php and modifications.english.php file.

ruckstande


ccbtimewiz


ruckstande


Advertisement: