Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jen

Pages: [1] 2
1
General SMFShop Discussion / Re: Pet Central Images Not Showing Up
« on: April 19, 2007, 07:37:22 pm »
Did you try this one? This worked for me.
http://www.daniel15.com/forum/index.php/topic,642.msg3780.html#msg3780

I didn't see the fix in your code.

3
General SMFShop Discussion / Upload Arcade Game Item
« on: April 15, 2007, 10:45:55 am »
Is it possible to have or is there an item that will allow users to buy an Upload Arcade Game?


4
Items / Re: Cards - Random Item
« on: April 14, 2007, 11:29:31 pm »
Yeah, not sure, I just did a fresh install of everything and all is well now.

5
Items / Re: Arcade Pass Item and SMF Arcade Integration
« on: April 14, 2007, 11:28:24 pm »
Yep, Got it. Thanks, not sure what happened. Weird..

6
General SMFShop Discussion / Re: Want to make a shop item
« on: April 14, 2007, 11:17:04 pm »
LOL, Im getting there...I will test out some things and see if I can't get them to work.

Thanks PP for your help.

7
Items / Re: Arcade Pass Item and SMF Arcade Integration
« on: April 14, 2007, 10:10:23 pm »
Could someone possibly help me with this little bug..Not sure how to fix it



The text is missing, LOL

8
General SMFShop Discussion / Re: Want to make a shop item
« on: April 14, 2007, 09:20:01 pm »
They normally do hatch after so many days, but I would like them to hatch when they are used.

How would I set them up as a display message?
Because once I add the image to the display message, how would I get it to hatch?

9
Items / Re: Cards - Random Item
« on: April 14, 2007, 07:11:21 am »
Oops, thought I posted that..It was the

Users Online Today Mod 1.4.0

10
General SMFShop Discussion / Want to make a shop item
« on: April 14, 2007, 06:51:02 am »
I may not be able to because I have no clue how to code, lol

But I want to make a shop item.

I make pixel eggs

Are a few examples.

I want users to be able to buy the eggs, then when they go use the eggs, they are awarded a hatchling. The hatchling maybe a little creature or just anything (I make these)..examples


I don't know how to code and I think it would be a neat idea to add to the shop.

Does anyone have any suggestions?

Thanks

11
General SMFShop Discussion / Re: SMFPets is Finally Here (0.1 out)
« on: April 14, 2007, 04:24:27 am »
OK, here's the skinny:

in Load.php find:
Code: [Select]
$row['options'] = array();
$user_profile[$row['ID_MEMBER']] = $row;
}
mysql_free_result($request);
add below that:
Code: [Select]
//Load the pet data
$request2 = db_query("
SELECT COUNT(*) AS pets, ownerid
FROM {$db_prefix}shop_pets
WHERE ownerid IN ('" . implode("', '", $loaded_ids) . "')
GROUP BY ownerid", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request2))
$user_profile[$row['ownerid']]['pets'] = $row['pets'];
mysql_free_result($request2);

then find:
Code: [Select]
'post_group' => $profile['post_group'],
add below:
Code: [Select]
//another pets modification
'pets' => &$profile['pets'],

then in the display template.php find the code you suggested and add this below instead:
Code: [Select]
//finally a pets button
if ($message['member']['can_view_profile']){
if($message['member']['pets'] > 0){
echo '
<a href="', $message['member']['href'], ';sa=showPets">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/pets.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
}
}

this will only show the link to the members pets in profile on two conditions:
     1. person can view profiles
     2. member actually has a pet

there you go...ENJOY!

Perfect. One question, how can we set it to where when hovered over the paw image, it says View Pets instead of View Profile?

12
General SMFShop Discussion / Re: SMFPets is Finally Here (0.1 out)
« on: April 14, 2007, 02:07:12 am »
Hello.

I just installed this today and I want to make sure I have everything and understand.

Install was fine, however, I don't have anything in the shop in admin control about adding pets. BUT there is a Pet Hatchery in the shop itself. Is this correct?

I don't see a Pet Central? Should I have that?

Thanks again.


EDIT: Got it, but when I went to use a skill, the image isnt showing up. Here is the property for the image

http://mysite.com/home/content/t/h/e/thegame212/html/board/Sources/shop/pet_images/Bird01.gif

It's like it added the server direc along with the actual site.


Edit #2

Fixed it, I had to edit the directories my images are in.

All is good now :) Cheers for this awesome addon.

13
Items / Re: Cards - Random Item
« on: April 13, 2007, 10:34:58 pm »
It was an interferring mod. I didn't need that mod anyways as it was just a test so I uninstalled it.

14
Coding / Re: Help With Points For Boards
« on: April 13, 2007, 12:22:13 pm »
This worked perfectly with my shop 3.0. However, I did get the comma error. Weird because I highlighted the code and it seemed to drop that comma.

For other users, be sure you check that comma before asking...that's what my problem was.

:)

Thanks for the hard work with all these goodies.

15
Items / Re: Cards - Random Item
« on: April 13, 2007, 05:24:52 am »
This installed fine but when I went to use my item, I got this

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_MEMBER = 1' at line 1
File: /home/content/t/h/e/thegame212/html/board/Sources/shop/items/Cards.php
Line: 109



Here is the code on that line

                                       $result = db_query("UPDATE {$db_prefix}members SET totalTimeLoggedIn = totalTimeLoggedIn - {$value1} WHERE ID_MEMBER = {$ID_MEMBER}", __FILE__, __LINE__);



EDIT: Sorry, I figured it out. :)

Pages: [1] 2