SMF Shop

SMFShop => General SMFShop Discussion => Topic started by: Kristen on April 12, 2007, 03:34:22 am

Title: anyone familiar with phpbb's shop mod?
Post by: Kristen on April 12, 2007, 03:34:22 am
If so... you know how you can view your inventory as images in posts, instead of just a "view inventory" link? How can you do that with smf's shop mod? We looked at the profile image mod and it wasn't the same thing..what we want is to be able to view all the inventory (which will be mostly little images) right there in the posts and not have to click on "view inventory" to see them kwim?
Title: Re: anyone familiar with phpbb's shop mod?
Post by: mama_sarah on April 12, 2007, 03:47:44 am
meh I hope someone knows how to do this...I am kinda missing PHPBB at the moment. :-\
Title: Re: anyone familiar with phpbb's shop mod?
Post by: David on April 12, 2007, 05:34:33 am
This feature isn't part of the shop system at the moment (unless Daniel knows otherwise or is considering it for future versions) and, frankly, I'd advise against it. Images in posts like these will make page load speeds slower and also mean more database queries per page which will also make page load speeds slower...it's the sort of thing I'd want to turn off PDQ. Having it done the current way means that there is almost no page load speed impact.

 To have those little images I would expect that it would be necessary to have GD installed on the forum's server and to thus have it make the small icons on the fly...not every server has such facilities and so you'd have some forum owners with difficulties running the mod if it were to be required...for instance look at the SMF Gallery mod that uses GD and has frequent moans and groans from people whose servers don't support it.

 My feeling would be that phpBB does it the wrong way and though it looks fancy it's side effects make it less than desireable....just my opinion.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: mama_sarah on April 12, 2007, 05:46:57 am
actually it works really well for a site Kristen is from. It is not extremely slow or anything either. Well thanks David for your help. This sucks though. Having the images in posts makes it much more fun.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Basil Beard on April 12, 2007, 10:23:05 am
My feeling would be that phpBB does it the wrong way and though it looks fancy it's side effects make it less than desireable....just my opinion.

Thats phpBB for you, isn't it? :D O0

Anyways, You could probably do it if you wanted to by looking at the stuff that displays posts. But sometimes inventories can get big. So you would want some sorta control so that pages are not streched.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: David on April 12, 2007, 10:45:19 am
Quote
Thats phpBB for you, isn't it?

 Too true...my first forums were all phpBB as that was on the Fantastico my then host provided...but...just look what I'm running most of my forums on now (still have to use ibP for one but that's a long story...).

 You just have to get a phpBB board hacked once to become a convert to the greater security we get from SMF...for me that was what made me make the move but having made it I don't regret it one little bit and don't miss phpBB at all.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Daniel15 on April 12, 2007, 02:41:43 pm
Quote
If so... you know how you can view your inventory as images in posts, instead of just a "view inventory" link? How can you do that with smf's shop mod?
I never had time to work on anything like this, unfortunately (school just takes way too much time :()
Just some questions for you:
Sorry about all the questions :P, I just want to know the best way of approaching this (if I get around to doing it ;))
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Lady Ambrosia on April 13, 2007, 03:20:56 pm
Quote
If so... you know how you can view your inventory as images in posts, instead of just a "view inventory" link? How can you do that with smf's shop mod?
I never had time to work on anything like this, unfortunately (school just takes way too much time :()
Just some questions for you:
  • Would this be all items, or just a few?
  • If just a few, which ones? Would they be for the in-built SMFShop items, or your own custom ones?
  • How large would the images be?
Sorry about all the questions :P, I just want to know the best way of approaching this (if I get around to doing it ;))
Daniel I can probably answer those questions, since I've used phpBB, if I remember correctly this is how they have it:
Yep, that's pretty much what I can remember of that shop item, it's fun and all, but can be a pain if the admin has the image listing set too high.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Daniel15 on April 14, 2007, 01:55:09 pm
Anyone have some sample images I can use?
So, something similar to the "Profile Image" item, except multiple items, and each with a different image?
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Lady Ambrosia on April 14, 2007, 03:53:23 pm
Yeppers, basically.  Um, I've seen most people use the images from this site:  http://mazeguy.net/smilies.html  He's got an AWESOME collection to use for little profile shop items.

Here's an example of what a profile looks like:
(http://www.imagecrown.com/images/AmbrosiaVenus/profileimage.gif)

Of course this example has Support Ribbons too, but you get the basic idea ;)

Although, to take the work load off of you Daniel, you can have the people who use this mod to download and use their own images ;)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: perplexed on April 15, 2007, 12:53:42 am
I've seen someone talk about this before, I think in the smf member awards mod thread on smf, because these little images, if you hold the cursor over them, actually say what it is and who it was from, so they are all customisable IIRC

that little cursor rollover thingy doesnt happen in the member awards and I think someone wanted it to

Title: Re: anyone familiar with phpbb's shop mod?
Post by: sjmarsha on April 18, 2007, 01:26:18 am
Yeppers, basically.  Um, I've seen most people use the images from this site:  http://mazeguy.net/smilies.html  He's got an AWESOME collection to use for little profile shop items.

Here's an example of what a profile looks like:
(http://www.imagecrown.com/images/AmbrosiaVenus/profileimage.gif)

Of course this example has Support Ribbons too, but you get the basic idea ;)

Although, to take the work load off of you Daniel, you can have the people who use this mod to download and use their own images ;)

I would really love to have something like this for my site, so members could send tiny little icons as gifts to each other to be displayed in their profile. Maybe like the latest 10 in the profile with a link to where you could view all of them. I may even be willing to pay for a mod like that.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Basil Beard on April 18, 2007, 02:30:08 am
So they way I would see this working would be to make some items "gallery items" which,  upon use, go into your "gallery" which is displayed by your posts. So like, once it goes in it cannot come out. It probably wouldn't be *that* hard to code.

I would accomplish this by have a new table called "shop_gallery" or something like that. It could contain a list of gallery item id's, group the gallery item belongs to, and pictures.

You would then have a new row in the members database that contains an array of all the gallery item ids which the member has.

The display code would then like sort the items by group and output the the result.

PHP does have a sort function on arrays, right? That would be the only major hook-up.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Lady Ambrosia on April 18, 2007, 06:44:47 pm
So they way I would see this working would be to make some items "gallery items" which,  upon use, go into your "gallery" which is displayed by your posts. So like, once it goes in it cannot come out. It probably wouldn't be *that* hard to code.

I would accomplish this by have a new table called "shop_gallery" or something like that. It could contain a list of gallery item id's, group the gallery item belongs to, and pictures.

You would then have a new row in the members database that contains an array of all the gallery item ids which the member has.

The display code would then like sort the items by group and output the the result.

PHP does have a sort function on arrays, right? That would be the only major hook-up.
Honestly you lost me on code talk, but I will say this much, most of the forums that I've seen that have this feature, ONLY have this feature.  They don't have all the cool stuff that the SMF Shop has, granted some forums have a lotto, jobs, and this image thingy, but they don't really have what SMFShop does, at least I don't think they do.  So, I'm pretty happy with how SMFShop is now, granted I love LOTS of the addons (specially the pet mod *wink*), but one reason I love SMFShop is that you can do more with it than others.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: perplexed on April 18, 2007, 10:34:30 pm
reply 373 in member awards on smf here (http://www.simplemachines.org/community/index.php?topic=114701.360)

this is the post I referred to above.  It links to this forum  (http://forum.forumer.com/showthread.php?t=40562) which is vbulletin, and if you look at the last two posts there, those people have the little images multiple times with different message on the mouseover, and more examples here (http://forum.forumer.com/showthread.php?t=56680).   These are gifts from the shop, but kinda the same thing you want to achieve here maybe? lol

Anyway I thought it looked kinda cool, but then they would need to be small and a display limit set.  Or maybe show the first 10,and link to the rest, or randomise the display.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: sjmarsha on April 18, 2007, 10:43:38 pm
Yeah, a lot like that! Something like this and a mod that gives credits to members who refer a new member that actually joins are the two things I'm really looking for for my site right now.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Kylemakk on June 27, 2007, 06:15:40 pm
Just wanted to bump this thread and ask if anyone has had any luck with implementing this. The gift system thats being displayed in these pictures is exactly what I'm looking for as well. I believe that most of the examples I'm seeing are on a VBulletin board system? If anyone has any info on a this it would be great. I love the shop mod for SMF! If this gift giving, along with the display on posts function gets implemented, I may have to change my pants! ;D
Title: Re: anyone familiar with phpbb's shop mod?
Post by: KnightRobby on June 29, 2007, 06:30:40 am
I would like to add to this by saying this is a MOD I am really looking forward to.  I am hoping you can work on this add-on to the shop or specify a code needed to get those items displayed and limited to a certain number (i.e., 10 shop items).  Do you think you can pull this off for us?  I would really appreciate it!

Thanks,
Robby :)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Kylemakk on June 30, 2007, 06:39:10 am
I wish I was a coder or knew much about php. I was wondering if the Custom Profile mod over at the SMF Mod site could help with this. That way, whenever a user sends someone a gift, it would paste itself in a "Gift" field on the users profile...or something like that.

The problem with simply using Daniel's Rock item is that when a user gets it, they can't display it. Its in their inventory only as if to send it to some other user or something. I may be dead wrong here, and forgive me if I am, but wouldn't something like this be easy for a coder? I've just been looking at some of the other cool items on this board and they seem like they took quite some time. But like I said, I'm a noob a don't have a clue.

Whoever decides to take this "gift" item on and does it right will probably be a lot of people's hero...if only on the internet. lol  8)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: feeble on June 30, 2007, 06:20:11 pm
So what you guys are basically asking for is that

if a certain item is in your inventory, an icon regarding this item is displayed under your avatar beside your posts?

or am I missing something?
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Kylemakk on July 02, 2007, 02:01:43 am
Thats part of it, yes. Even if they couldn't be displayed under the avatar, just a place to display the "Gifts" in their respective profiles would be awesome. At first, I thought that displaying them under the avatar would be cool (much like VBplaza) but now I think it would be much too crowded. I think that's about it.  ;)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: David on July 02, 2007, 02:20:27 am
Have you looked at Jay Bachatero's Awards Mod...perhaps that could be used...with his permission?
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Kylemakk on July 02, 2007, 03:10:51 am
True. Somehow modified to be purchased item(s) from the shop.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: feeble on July 02, 2007, 06:34:01 am
Im sorry but you guys are way to unfocused on this idea.

If you can layout it out for me in layman's terms I might be able to get something simple working for you guys.

You really need to describe for me what you want to show?
Where you want to show it?
What you require(images etc) per gift?
and what you want the gift to do on use(ie send to someone else)?
Title: Re: anyone familiar with phpbb's shop mod?
Post by: David on July 02, 2007, 06:48:50 am
My thinking was to keep to a new single image under the avatar and have that be a link to the awards mod (different directory than the awards proper)...so that the awards mod would still do as it did before but this would be a second layer to it...that would mean the awards mod would have a total of two images under the avatar...one for it's usual awards and the other for the items.

 The items would then put an image into a new items directory of the awards mod when gained and remove said image when the items were used/sold etc.

 I'm just thinking that it might be easier to piggyback this onto the awards mod than do it from scratch.

 As per the standard awards mod the profile would have a link to the awards directory (as it does now) and a new link to the member items directory.

 Doubtless everyone else will have different ideas...
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Kylemakk on July 02, 2007, 11:21:10 am
My thinking was to keep to a new single image under the avatar and have that be a link to the awards mod (different directory than the awards proper)...so that the awards mod would still do as it did before but this would be a second layer to it...that would mean the awards mod would have a total of two images under the avatar...one for it's usual awards and the other for the items.

 The items would then put an image into a new items directory of the awards mod when gained and remove said image when the items were used/sold etc.

 I'm just thinking that it might be easier to piggyback this onto the awards mod than do it from scratch.

 As per the standard awards mod the profile would have a link to the awards directory (as it does now) and a new link to the member items directory.

 Doubtless everyone else will have different ideas...

I pretty much have the same expectations. However, for those that have not seen this type of mod before, I'm going to post some screenshots of a forum I'm a member of in hopes of making this clearer. Here we go:

This forum uses Vbulletin and the VbBux/Vplaza systems. Here is a screenshot of where the Gifts are displayed on this particular theme. You'll notice that they are under the signature image and above or next to the editing option buttons.

http://s109.photobucket.com/albums/n77/Kylemakk/?action=view&current=2.jpg

Not only does this display the gifts here (it limits the amount of gifts on display on posts to keep the forums looking nice) but it also tells you the message sent by the user with that particular gift when you hover over the item on display. In this case, the Superman Gift is being hovered over. This is shown in the image below.

http://s109.photobucket.com/albums/n77/Kylemakk/?action=view&current=3.jpg

The profile of the user displays the gifts like this:

http://s109.photobucket.com/albums/n77/Kylemakk/?action=view&current=4.jpg

To be perfectly honest, it doesn't matter to me where the gifts are displayed in the profile page as long as they are there somewhere.

The gifts are images chosen by the Admin just like most of the Shop Items. Once a gift is purchased, you then "Use" the item by deciding which user gets it and what message you want to send with it. It is then displayed instantly on the receiving users account. The receiving user can then decide whether or not they want it to be "public" or "private" as you can probably see in the image above.

I hope I've been clear on this. Let me know if I made no sense or can clearify something. 8)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: feeble on July 03, 2007, 09:10:50 pm
Sounds like a good idea, I was actually pretty far off in what I thought you were talking about.

That mod doesn't seem to difficult to make.

But I don't have enough time to make it myself, since I've got my own projects that are taking up my free time.

But if someone wants to make this, but needs help, I'm more then happy to answer any questions and help where possible.

The thought of combining the awards mod is good, but I don't think its got everything you want and require and might make things more difficult in the long run.
We could be talking about different awards mods thou, so I might be wrong.
Title: Re: anyone familiar with phpbb's shop mod?
Post by: KnightRobby on July 04, 2007, 04:01:20 am
Well, what I need is really simple.  When you enter a thread (like this one) you see to the left the Username, Avatar, etc.  Beneath the avatar, I would like items bought from the shop to show up there, limited to X number, and that is all.  That simple.

It would be nice if you could do this, because this sounds pretty simple for a coder.  I wish I had the knowledge, or I would do it for ya! :)
Title: Re: anyone familiar with phpbb's shop mod?
Post by: perplexed on July 05, 2007, 10:51:48 pm
not to confuse things but I was reading this article about facebook gifts.

There are some nice little images there. Scroll down about halfway...

In February 2007, Facebook added a new gift feature to the website. Friends could send "gifts" (small icons of novelty items) to each other by selecting one from Facebook's virtual gift shop and adding a message. Gifts given to a user appear on the recipient's wall with the giver's message, unless the giver decided to give the gift privately, in which case the giver's name and message is not displayed to other users. Additionally, all gifts (including private gifts) received by a user are displayed in the recipient's "gift box" (right above their wall on their profile), marked with either the first name of the user (for public gifts) or the word "Private." An "Anonymous" option is also available, by which anyone with profile access can see the gift, but only the recipient will see the message. No one will see the giver's name, and the gift will go in the recipient's gift box but not the wall.

They also have 'official' gifts that are limited edition
Title: Re: anyone familiar with phpbb's shop mod?
Post by: KnightRobby on July 06, 2007, 03:05:14 am
That sounds awesome.  Where can I find this "Facebook's Gifts"?  I would like to try it on out.  Can you give me a link to the site that has this particular mod installed?  Also, where can I download such a mod for simplemachines. :)

Thanks!
Title: Re: anyone familiar with phpbb's shop mod?
Post by: perplexed on July 06, 2007, 03:25:53 am
Facebook is a social networking site so it is part of their software, not a mod for smf.  I was only showing how their gift system worked
Title: Re: anyone familiar with phpbb's shop mod?
Post by: KnightRobby on July 07, 2007, 03:28:07 am
I assumed that.  It was worth a shot though, wasn't it?  Hopefully someone can get a mod up and running for us soon :)  We'd be more than thankful! :D

Of course, we'd shower you with loads of money (LOL! :)).

Thanks for the help anyways,
Robby
Title: Re: anyone familiar with phpbb's shop mod?
Post by: Padre on July 10, 2007, 09:30:36 pm
Just a thought ........ I think what is being requested is being done in this mod for the arcade

http://www.ericsworld.eu/f2/index.php?topic=1194.msg2667#msg2667 (http://www.ericsworld.eu/f2/index.php?topic=1194.msg2667#msg2667)

On the lower left where it says "champion of"

In the mod it also gives the option of putting them in the signature.

Just thought this might be a good starting point