Author Topic: SMFPets Version 0.2  (Read 161474 times)

Offline Celdric

Re: SMFPets Version 0.2
« Reply #60 on: May 20, 2007, 03:24:21 am »
No. I installed .2. And I just found this in my Shop-Pets.php

Code: [Select]
<th><a href="[b]http://sandbox.nomicville.com/index.php[/b]?action=profile;u='.$row['ownerid'].';sa=showPets">'.$row['name'].'</a><br />the<br />'.$pet->breed.'</th>
<th><img border="0" width="80" height="80" src="'.$boardurl.'/Sources/shop/pet_images/'.$pet->breed_img.'" alt="'.$pet->breed.'" title="'.$pet->breed_desc.'" /></th>
<th>'.$row_2['memberName'].'</th>
<th>'.sprintf($txt['pets_days'], $row['age']).'</th>
<th>'.$row['level'].'</th></tr>';
}
else {
$context['shop_buy_message'] .= '<tr>
<th><a href="[b]http://sandbox.nomicville.com/index.php[/b]?action=profile;u='.$row['ownerid'].';sa=showPets">'.$row['name'].'</a><br />the<br />'.$pet->breed.'</th>

Some hard coded links which are not mine. I don't think that they belong there.
Code: [Select]
sandbox.nomicville.com/index.

Offline David

Re: SMFPets Version 0.2
« Reply #61 on: May 20, 2007, 03:29:30 am »
Yep...that is covered in page 3 of this topic...Basil B. accidentally copied into the file a bit of code from his site with that hard-coded link in it. I presume that he will issue a new file as a replacement or a new version with that and other fixes etc.

Offline Celdric

Re: SMFPets Version 0.2
« Reply #62 on: May 20, 2007, 04:07:36 am »
Thanks alot for the hint.  :) Any idea where I can edit the Pet Central template? I find everything, but not that. Sorry, don't want to be pest.  ;D

Offline David

Re: SMFPets Version 0.2
« Reply #63 on: May 20, 2007, 04:35:43 am »
Actually answering questions makes me learn as I go too so it's no bad thing all round.

 There's no distinct, separate, Pet Central template...remember this software piggybacks on the shop...the hatchery and the Pet Central details etc are part in Shop-Pets.php and also use the shop inventory.

Offline Celdric

Re: SMFPets Version 0.2
« Reply #64 on: May 20, 2007, 04:54:03 am »
I was affraid that you would say that. Actually I have one of these ugly problems where everything looks okay in Firefox, but in IE it's oversized. It's only the Pet Central. The other tables are okay in both browsers. Okay, I will continue searching. Thank you anyway. 

Offline David

Re: SMFPets Version 0.2
« Reply #65 on: May 20, 2007, 05:05:07 am »
[whispers quietly] Anything that puts people off of using I.E. is probably best called a feature not a bug.[/whispers quietly]

Offline Basil Beard

Re: SMFPets Version 0.2
« Reply #66 on: May 20, 2007, 01:14:27 pm »
[whispers quietly] Anything that puts people off of using I.E. is probably best called a feature not a bug.[/whispers quietly]

Some people don't like to annoy their users by making them switch browsers. Some people are just stubborn and don't want to change--and would probably be annoyed if their admin forced the change upon them by making the site unusable in IE. =P
Arrrrr!

Offline Celdric

Re: SMFPets Version 0.2
« Reply #67 on: May 20, 2007, 09:30:31 pm »
I agree to Basil. Not to mention the fact that still 90 % of the visitors are using IE. Btw, I could fix all problems. Perhaps a tip for people who are using SMF+Joomla bridge.  Just take a look in Shop.english.php. The backlink is coded there in a textstring. You need to replace it with the link that's generated by Joomla. That should work.  :)

Offline David

Re: SMFPets Version 0.2
« Reply #68 on: May 21, 2007, 07:56:15 am »
 My findings are very different from yours...my SMF forum is the smallest in terms of user numbers of the forums I run and on it just under 5% of the users still use I.E. despite all the services there working with I.E. This percentage keeps on dropping as members are persuaded to try better browsers by the rest of the membership. Perhaps the membership does tend to be a little more browser saavy than the average Internet user.

 I don't deliberately break things as regards their working with I.E. (as some admins do) but nor would I go out of my way to make additional services work with it if they worked with other browsers and were standards compliant...thus I regard myself as agnostic rather than being an I.E. supporter as I would regard myself as being were I to put in extra effort to support a browser that is not standards compliant.

 I agree with quite a few of the people who have posted on browser development forums and who say that those who hide the fact that I.E. doesn't comply with the normal standards to which other browsers are coded and to which they do comply are doing a disservice not only to standards compliance but to users who would switch from I.E. were it to show as being broken by design more often.

Offline Celdric

Re: SMFPets Version 0.2
« Reply #69 on: May 22, 2007, 01:26:00 am »
Well, I think that probably different from site to site. Currently 80 % of the around 3,000 unique visites I have this month are using IE. Around 10 % are using Firefox.

Offline Celdric

Re: SMFPets Version 0.2
« Reply #70 on: May 22, 2007, 04:34:57 am »
Instead to delete pets manually in the database or to kill them, can't they just disapear when they reach a certain age? I mean actually the mod is telling how old pets are, but this info is practically useless. But when you know at the age of 30, 40 or whatever your pet disappears - lets say leaves the town to seek a new owner or it's  lost brother (lol) - then the age becomes importance.

In a way it sounds easy to code. But what do I know, php rookie that I am.  ;D

Offline feildmaster

Re: SMFPets Version 0.2
« Reply #71 on: May 23, 2007, 09:05:39 am »
Hey umm... How would I go about downloading the mod? I can't ever access the download.

Any help would be appreciated. =)

Offline David

Re: SMFPets Version 0.2
« Reply #72 on: May 23, 2007, 09:16:03 am »
 Daniel powers this forum using development versions of SMF so some problems may be due to that...in a way by using this forum we're testing it too...I seem to recall that he might be having some DNS issues too. Be patient and these will all be resolved.
« Last Edit: May 23, 2007, 09:32:16 am by David »

Offline feildmaster

Re: SMFPets Version 0.2
« Reply #73 on: May 23, 2007, 09:51:38 am »
ok! Thx for the fast reply!

Offline Celdric

Re: SMFPets Version 0.2
« Reply #74 on: May 23, 2007, 10:09:38 am »
I get tons of

Code: [Select]
Undefined index: showPets
File: /home/......../public_html/forums/Sources/Profile.php
Line: 328

Looks like it's already reported. Is there meanwhile a solution?