[ABD] Shop Mod (0.4.1)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Wed Jul 02, 2008 1:48 pm

robdec wrote:Do tell!! How did you do it?
The code is REALLY crappy right now, and you can't add a download via ACP. You must enter it manually into the database. Once this is all sorted out I'll be sure to drop Phantom a PM.
Sorry for my bad Engrish !
gleason|design

Image

kingstun
Registered User
Posts: 8
Joined: Sat Jun 28, 2008 11:36 pm

Re: [ALPHA] Shop Mod (0.4.0b)

Post by kingstun » Wed Jul 02, 2008 2:16 pm

can please tell us the code

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Wed Jul 02, 2008 2:32 pm

I'm not gonna tell you the code...

Because if you didn't have the knowledge to code this yourself, when it changes I'll be hounded with support problems.

But in the mean time, I added another little hack to the shop (this time a language file is being edited too! Woo!)

The result is a link in shop.php that links users to their UCP to manage their items. No screenshot, so you either have to register to my website or take my word that it's good and install it.

Open: language/en/mods/shop.php

Find:

Code: Select all

	'SHOP_YOU_HAVE'				=> 'You have: ',
After, Add:

Code: Select all

	'SHOP_MANAGE_ITEMS'			=> 'Manage your items',
Open: styles/your_style/template/mods/shop.html

Find:

Code: Select all

{L_SHOP_YOU_HAVE}{USER_MONEY}
Replace with:

Code: Select all

<div style="float:left">{L_SHOP_YOU_HAVE}{USER_MONEY}</div><div style="float:right"><a href="ucp.php?i=shop&mode=inventory">{L_SHOP_MANAGE_ITEMS}</a></div>
And now you should have that nifty link. :) So now users will stop asking you "KZ I BOT ITEM NOW HOW I R 2 DO TING WIT IT PLZ TEL ME I NID SUPORT"
Sorry for my bad Engrish !
gleason|design

Image

User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Phantom784 » Thu Jul 03, 2008 11:30 pm

Hey, sorry I haven't been on much, I just started college and there's so much to do around here.
BlAcKDoZzEr666 wrote:i have a problem:
at run the installer shop_mod_install.php, display this:
Error General
Language file shop.php couldn't be opened.

where is the problem??
I've translate the files of language to spanish, can that be?
Are you sure you have all the languages files setup for both the english and spanish language packs?
rabee2006 wrote:pleaz help us?!


see this pic

shop.jpg - 0.24MB

plaze help me
What type of install are you trying to do?
Gleasonator wrote:I'm not gonna tell you the code...

Because if you didn't have the knowledge to code this yourself, when it changes I'll be hounded with support problems.
Can you pm it to me so I can take a look and see how you did it? It'll probably lead to it being officially incorporated sooner.
Want to contact me? Find out how at http://francisfisher.com/contact.php

User avatar
Draygon
Registered User
Posts: 34
Joined: Fri Nov 23, 2007 1:30 am

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Draygon » Tue Jul 08, 2008 1:24 pm

Hey Phantom... Question for ya!

What are the odds of getting "Categories" and "Pagination" for the next release?

I only ask because I have a lot of items that these two features would help with... a lot!

Thanks for the Mod! :)
Image

User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Phantom784 » Tue Jul 08, 2008 10:15 pm

is there a difference between what you mean by categories and pagination? they sound like pretty much the same thing to me.
Want to contact me? Find out how at http://francisfisher.com/contact.php

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Tue Jul 08, 2008 10:44 pm

Phantom784 wrote:is there a difference between what you mean by categories and pagination? they sound like pretty much the same thing to me.
Pagination is splitting the page into separate pages like phpBB does automatically for a thread... therefore reducing loading time if you have many items per category.

Categories are a way of organizing the items.

Is that what you were asking? :?
Sorry for my bad Engrish !
gleason|design

Image

User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Phantom784 » Tue Jul 08, 2008 11:35 pm

yep, i get it now! :P
now to code it...
Want to contact me? Find out how at http://francisfisher.com/contact.php

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Tue Jul 08, 2008 11:43 pm

Phantom784 wrote:yep, i get it now! :P
now to code it...
You rock. :D

By the way, here's a suggestion on how to handle categories. I think PatrickStar hit zen with the layout for his arcade mod.

See it here on my site: http://gleasonator.com/forums/arcade.php

There's a categories sidebar on the left, listing the name of the category (then the number of games in parenthesis).

Something similar could be done, with the number of items in the category listed in parenthesis.

EDIT: In fact, if you have a test server or have PHP installed on your local machine, you might want to install that mod (pretty fast and easy install) so you can take a look at it. In my opinion, the ACP module is perfect for handling categories. Here's a download link: http://www.waqu.net/0.6.9.zip

Maybe looking at somebody else's code will make your life easier.
Sorry for my bad Engrish !
gleason|design

Image

User avatar
Phantom784
Registered User
Posts: 290
Joined: Wed Aug 08, 2007 3:09 am
Location: State College, PA
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Phantom784 » Wed Jul 09, 2008 1:47 am

Good idea, and yay for the GPL!!!

Unfortunately, I recently stated college and the homework load is bigger than I expected, so I probably won't get to work on this to much.
Want to contact me? Find out how at http://francisfisher.com/contact.php

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Wed Jul 09, 2008 2:03 am

Phantom784 wrote:Good idea, and yay for the GPL!!!

Unfortunately, I recently stated college and the homework load is bigger than I expected, so I probably won't get to work on this to much.
I'd like to help in some way... it's Summer vacation for me, so I've got nothing but time on my hands.

If you happen to have anything related to this mod you think I can handle, send me a PM. I'm not great with PHP, but can likely figure something out if you need help due to time restraints.

But I'm very good with graphics. :) Been working with Photoshop since I was ten, so by now it's been about four years.
Sorry for my bad Engrish !
gleason|design

Image

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [ALPHA] Shop Mod (0.4.0b)

Post by Gleasonator » Wed Jul 09, 2008 9:57 pm

Here's a nice prosilver "Buy Item" button I put together just now.

Image

Download
Sorry for my bad Engrish !
gleason|design

Image

rabee2006
I've Been Banned!
Posts: 8
Joined: Mon Jun 30, 2008 12:44 pm

Re: [ALPHA] Shop Mod (0.4.0b)

Post by rabee2006 » Thu Jul 10, 2008 11:00 am

hi every body

her is the answer

[link removed]

but we must rigester to doanlaod it

thanks
Last edited by RMcGirr83 on Sat Aug 02, 2008 9:45 pm, edited 1 time in total.
Reason: removed link to external site

robdec
Registered User
Posts: 65
Joined: Thu Jan 18, 2007 3:00 am

Re: [ALPHA] Shop Mod (0.4.0b)

Post by robdec » Thu Jul 10, 2008 12:13 pm

The answer to what? I cant read anything on that site.

rabee2006
I've Been Banned!
Posts: 8
Joined: Mon Jun 30, 2008 12:44 pm

Re: [ALPHA] Shop Mod (0.4.0b)

Post by rabee2006 » Thu Jul 10, 2008 12:44 pm

hhhhhhhhhhhhh

take the sql


hhhhhhhhhhhhhhhhhhhh

you cant read arabic
hhhhhhhhhhhhhhh
i can read in both lang

you are so مسكييين

see i can write arabic too

bye bye
my love

Locked

Return to “[3.0.x] Abandoned MODs”