News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

ST Shop

Started by Diego Andrés, June 13, 2009, 06:06:35 AM

Previous topic - Next topic

eyo

should i be worried of this default/display/template.php during install?
im not gonna use custom themes fwiw

hcfwesker

The default/display/template.php  is what gets your money/items to show in member's posts, or signatures.  I would make sure it installs.  then, if you have custom themes with that file, you'll have to make the same edits to those.

SA™

0.4.9 realsed

added permission to admin the shop
fixed item display order in shop veiw
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

hcfwesker

Quote from: SA™ on December 13, 2010, 12:59:58 AM
0.4.9 realsed

added permission to admin the shop
fixed item display order in shop veiw

Great Updates, SA!

SA™

0.5 realsed

added send gift/cash to post profile
added send gift/cash to profile
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

chinaren

Hey there! 


I'm a little confused.  (Nothing unusual there).  I'm on RC2.4, and after upgrading (from .3) I had to reinstall the shop.  I reinstalled SMFShop, 'cos that's what I had before, but whilst that works okay, pretty much all the items for it are out of date and won't install/work on SMFRC2.4.


Is this version of the shop the same?  I note the source was taken from Daniel's, and SMFShop also was done by him before.


Does this version have more up to date items etc, and if I unistall SMFShop and install this one, will my members keep their 'money'?


Can I install both mods and run them side by side?


Sorry to ask so many questions!  Thanks in advance for your help, and keep up the good work!
The Opus Path - The Next Generation of the Written Word

SA™

the items are pretty much the same i did update the lottery and pets mods but they still need more work there is also a few other i updated at my dev site

you can keep the money if you want to doa manulal edit to you database r i can write a script todo this if you prefere

no you cant use them both at the same time
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

chinaren

#227
Quote from: SA™ on December 26, 2010, 10:43:12 AM
the items are pretty much the same i did update the lottery and pets mods but they still need more work there is also a few other i updated at my dev site


Ooh,  I see!  And I have a few of your mods installed as well I think (probably going to reinstall Battle as well shortly). Nice.


Quote from: SA™ on December 26, 2010, 10:43:12 AM
you can keep the money if you want to doa manulal edit to you database r i can write a script todo this if you prefere


I have no idea how to do a manual edit, though if you tell me what to do I may be able to manage it. 


I think I'm going to uninstall SMFShop and try yours!  Thanks again for  your work on this.






The Opus Path - The Next Generation of the Written Word

chinaren

I just did a test run for installation, and in the load.php it tries to find:


// What a monstrous array...


...but can't find that line.  So where do I put...


[/size]//Set variable for LIMIT amount $row = 0; $max = $modSettings['ShopIpDisMax']; //Begin database query $request3 = $smcFunc['db_query']('', ' SELECT it.description, it.image, it.catid, inv.itemid FROM {db_prefix}shop_property AS inv INNER JOIN {db_prefix}shop_item AS it ON (inv.itemid = it.itemid) WHERE inv.userid = {int:id} LIMIT {int:max}', array( 'id' => $profile['id_member'], 'max'=> $max )); //Start with an empty array $profile['shopitems']['shopitems'] = array(); //Loop through all items while ($row = $smcFunc['db_fetch_assoc']($request3)) { // Add item to the array $profile['shopitems']['shopitems'][] = array( 'image' => $row['image'], 'desc' => $row['description'], ); } $smcFunc['db_free_result']($request3);
The Opus Path - The Next Generation of the Written Word

SA™

that line should be there try serching for

$avatar_width = '';
$avatar_height = '';
}


and add what needs to be added after it
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

NanoSector

There was a 0.5 version on the mod page?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

NanoSector

Quote from: SA™ on December 27, 2010, 05:26:22 PM
there still is
Yeah but the topic here says 0.4.7 as latest....
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

joey791

Do we have to uninstall .4.8 to install .5?

chinaren


That did it. Thanks!

Quote from: SA™ on December 27, 2010, 01:45:03 PM
that line should be there try serching for

$avatar_width = '';
      $avatar_height = '';
   }


and add what needs to be added after it
The Opus Path - The Next Generation of the Written Word

chinaren

Ah, me again.  All didn't go quite as well as I'd hoped.

I have two problems.  (That I've noticed so far)...

One is that the button isn't showing on the main menu.  There's an invisible 'space' you can click on, but it doesn't say 'shop' or the like!

I'm getting lots of error messages in the log that may be related:

Quote
.../smf/index.php?action=enotify8:
Undefined index: shop_menu_button
File: .../smf/Sources/Subs.php
Line: 4524


The second problem is that if I try and send someone some cash, it goes through the motions okay, but doesn't actually send anything!

Any ideas?
The Opus Path - The Next Generation of the Written Word

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

joey791

I'm getting a few errors related to this mod
SMF RC4 Shop.4.8

http://dadshideout.com/index.php?action=shop;sa=inventory;next2=nightstorm568: Undefined index: name_postedFile: /home/dadshide/public_html/Sources/shop2/Shop_db.php
Line: 681

==>681:
$context['page_index'] = constructPageIndex($scripturl . '?action=shop;sa=inventory;next2='.$_SESSION['name_posted'].';sort=' . $_REQUEST['start'] . (isset($_REQUEST['desc']) ? ';desc' : ''), $_REQUEST['start'], $puppys, 10);
682:
$context['start'] = $_REQUEST['start'];
683:
$_SESSION['just_posted_name'] = false;
684:
}
685:
else{


And anytime a mod moves a topic

http://dadshideout.com/index.php?action=movetopic2;topic=1294.08: Undefined index: messageFile: /home/dadshide/public_html/Sources/Subs-Post.php
Line: 1858

1856:


// Bonus
1857:


// no, BBCCode won't count
==>1858:


$plaintext = preg_replace('[\[(.*?)\]]', ' ', $_POST['message']);
1859:


// convert newlines to spaces
1860:


$plaintext = str_replace(array('<br />', "\r", "\n"), ' ', $plaintext);
1861:


// convert multiple spaces into one
1862:


$plaintext = preg_replace('/\s+/', ' ', $plaintext);
1863:





and last but not least, one of our members with about 5 days worth of forum time purchased 2 increase time online 12 hours. After using the object it knocked his online time down to 12 hours total.

SA™

i will look into these errors in the next update

you are using the latest version 0.5 right?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: