[Release]Full working webmall

09/12/2013 09:18 .Curious.#91
Hello ,

[Only registered and activated users can see links. Click Here To Register...]

I want to remove those commas which are put between item names when item is more than one (Item Pack). How can I remove those commas and make it only one name as it is in single item add.

Like this :

[Only registered and activated users can see links. Click Here To Register...]
09/18/2013 02:04 sominus#92
It's been a long time since I've used it so I dont remember exactly, but I sugest to add a column to the DB, to use it as a "pack name", then below the name, add items name, plus a br tag (html), something like this:

Code:
$ex_item_name = explode(',', $row['item_name']);
			$ex_item_count = explode(',', $row['item_count']);
			$count = count($ex_item_name)-1;
			$in_pack = '';
			for($i=0;$i<=$count;$i++)
				$in_pack .= "{$ex_item_name[$i]} <span class='texto3'>({$ex_item_count[$i]})</span><br>,"; //this line prints the items name, each on a separate line.
The result is something like this:

"Craft Lapis Pack"

[pack icon here ]

Includes:
Craft Lapis Lvl5 (3)
Craft Lapis Lvl6 (3)
Craft Lapis Lvl7 (3)

Price: 0000DP

The above code is just to use as a hint, don't copy/paste it "as is" or you'll mess up your webmall.

Finally, you could add a jquery tooltip (jqueryui dot com tooltip) (wich uses Ajax) so you only put the pack name, the icon, and the price.
Then, when the player overs the mouse, a little window popups, with the pack content.
You could check about the tooltip, reading the code in the PvP Rank script by abrasive.

Sorry not being more helpful, but been a long time since I've used this mall.
Just a hint: check the 'pack' code 'cause it may lead to cheating by players buying them.

Finally, check this line:

Code:
$in_pack = str_replace(',', ', ', $in_pack);
and make it
Code:
$in_pack = str_replace(',', '', $in_pack);
That will replace the comas, with empty spaces.
09/18/2013 16:01 Apero#93
Hello I turn to you today
Because I just tested your shop
Here is the error it gives me
[Only registered and activated users can see links. Click Here To Register...]
Could you informed me or it may come from?

Regards
09/23/2013 07:07 [Admin]Slice#94
Regular users cant login? Are they supposed to login with their in game account? because its not working..

Like I can log into the admin webmall but not the regular one for users
09/23/2013 16:11 zokylove#95
Quote:
Originally Posted by [Admin]Slice View Post
Regular users cant login? Are they supposed to login with their in game account? because its not working..

Like I can log into the admin webmall but not the regular one for users
Thet's couse ur mising rowid column in Users_Master.

Use this to fix it.


[Only registered and activated users can see links. Click Here To Register...]
09/24/2013 03:06 [Admin]Slice#96
does anyone know how to change some of the category names?
09/24/2013 13:03 zokylove#97
sure go in config.php and change in this line

Code:
$items_cats = array(1 => 'Weapons', 'Armors', 'Pack', 'Lapis', 'Random' , 'Mounts' , 'New Items' ,'New Weapons' );
09/24/2013 22:50 [Admin]Slice#98
Quote:
Originally Posted by zokylove View Post
sure go in config.php and change in this line

Code:
$items_cats = array(1 => 'Weapons', 'Armors', 'Pack', 'Lapis', 'Random' , 'Mounts' , 'New Items' ,'New Weapons' );
my bad, couldn't find it.. but thanks :p
09/25/2013 15:33 adm_anos#99
i don't recomande this script for people to use it, i got SQL injection from someone a few day's ago ...
10/01/2013 23:19 Apero#100
Hello I turn to you today
Because I just tested your shop
Here is the error it gives me
[Only registered and activated users can see links. Click Here To Register...]
Could you informed me or it may come from?

Regards
10/20/2013 09:33 adm_anos#101
Script is working 100% using an special version of xampp... but i dont suggest someone to use webmall because i got myself sql injection by this script, is hardly to find injection on it but i got it... is just an opinion ... i don't foce someone to use it or not...
10/30/2013 20:16 .Curious.#102
Hello,

[Only registered and activated users can see links. Click Here To Register...]

I want each line to have 3 items but it has 3 for first line and 1 for the other as it is seen in screenshot.

How can I change it to make 3 items for each line?

Thanks.
10/30/2013 21:24 sominus#103
Don't remember now, but check:
system\modules\user\main\main.php

Search for a line like this:
Code:
if ($m % 3 === 0) echo "<div class='clear'></div>";
I think that number (3 in the example), was the amount of items per line.
10/30/2013 23:17 .Curious.#104
Quote:
Originally Posted by sominus View Post
Don't remember now, but check:
system\modules\user\main\main.php

Search for a line like this:
Code:
if ($m % 3 === 0) echo "<div class='clear'></div>";
I think that number (3 in the example), was the amount of items per line.
Thanks but not working for me.Changing it does not make any difference.
10/31/2013 16:10 shadowdarklove#105
need help
I have a small problem in image display items in Webmall es anyone have a solution to this, or I made a error somewhere.

here is a screen
[Only registered and activated users can see links. Click Here To Register...]

thank you in advance for your response!