[Release]Full working webmall

10/31/2013 18:57 sominus#106
Quote:
Originally Posted by .Curious. View Post
Thanks but not working for me.Changing it does not make any difference.
I've just tested and that's the code that manages the amount of items displayed on a single line.
If I put a '4' I get the same display error as your picture. Since is trying to show 4 items but they won't fit in the current space, so it shows 3 and the next is displayed on the next line.

Keep in mind that the code
Code:
if ($m % 3 === 0)
Is repeated two times, on for single items and one for pack items. Be sure to change both.

Note: I'm talking about the 'user module', since I've removed all the 'admin' stuff, 'cause I find it better to edit the items directly on the DB.
10/31/2013 20:04 .Curious.#107
Quote:
Originally Posted by sominus View Post
I've just tested and that's the code that manages the amount of items displayed on a single line.
If I put a '4' I get the same display error as your picture. Since is trying to show 4 items but they won't fit in the current space, so it shows 3 and the next is displayed on the next line.

Keep in mind that the code
Code:
if ($m % 3 === 0)
Is repeated two times, on for single items and one for pack items. Be sure to change both.

Note: I'm talking about the 'user module', since I've removed all the 'admin' stuff, 'cause I find it better to edit the items directly on the DB.
It worked .Thank you for your help.:handsdown:
11/04/2013 14:27 shadowdarklove#108
need help, now I have a problem with Webmall there is no item & Images es someone could help me to solve the problem

here are the two links:

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

Nickname: Nasuka, Pwd: kanako1202

Admin link:

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

Nickname: shirokenlove, Pwd: lovekim
04/26/2014 16:16 xSunSet#109
Hey I have an error when I try to connect on index.php


( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Call to undefined function mssql_connect() in C:\wamp\www\webmall\core.php on line 17
Call Stack
# Time Memory Function Location
1 0.0005 694056 {main}( ) ..\index.php:0
2 0.0009 731296 require_once( 'C:\wamp\www\webmall\core.php' ) ..\index.php:1
06/20/2014 22:24 [Admin]REV#110
core.php on line 17 HELP ME !!!
06/21/2014 08:27 kollegga#111
Your connection details are wrong.

Username, password or IP are wrong.

Default username: Shaiya

Default password: Shaiya123

IP: localhost or 127.0.0.1 (if your MSSQL server is on same host as server files)
06/21/2014 15:22 Blober#112
Quote:
Originally Posted by [Admin]REV View Post
core.php on line 17 HELP ME !!!

@kollegga: You should not answer him.

@[Admin]REV: You should read this: [Only registered and activated users can see links. Click Here To Register...]
06/29/2014 11:59 beetols#113
Quote:
core.php on line 17
You must use a older version from php 5.3 or convert all mysql code to PDO.

@Bloder: this is a free forum where people feel free to help other. This is a old tread and there are new updates that cause some errors, sure he could search the error by himself, and sure before or later no one want to respond his questions, but people must feel free if help or not, you can't stop it posting your thread everywhere, because always they post their [HELP] without read it.
08/11/2014 22:12 Cansas59#114
to working the shop mall, i must create a iframe to my website to login?
10/12/2014 22:03 ilie321#115
hey can you help me a bit pls?
<form action='localhost/webmall/admin.php?validate=login' method='post'>
.....
when i press login button it say page dont exist

localhost/webmall/admin.php?validate=login is calculated by script
what is wrong im first time in php

thank you
10/14/2014 01:13 beetols#116
For cansas: if you want to see the webmall page in a different web site, yes, you must use a iframe.

Quote:
Originally Posted by ilie321 View Post
hey can you help me a bit pls?
<form action='localhost/webmall/admin.php?validate=login' method='post'>
.....
when i press login button it say page dont exist

localhost/webmall/admin.php?validate=login is calculated by script
what is wrong im first time in php

thank you
you must add the src from the position not the url..

if your page that call the action is already in ./webmall/ then it must be:
PHP Code:
action='./admin.php?validate=login' 
10/14/2014 03:53 castor4878#117
Quote:
Originally Posted by beetols View Post
you must add the src from the position not the url..
hmm, the "source from the position", yet another html concept ... or just an attempt to mislead a plausible explanation ?

as per [Only registered and activated users can see links. Click Here To Register...], the action attribute is an URL. (and absolute URL are as valid as relative ones, even w/o protocol specifier).

and as a very first step in his flat learning curve, ilie shall spend 5mn trying to understand what "page dont exist" (sic) alert means.
10/14/2014 13:26 sominus#118
Quote:
Originally Posted by ilie321 View Post
when i press login button it say page dont exist
Did you properly set up the 'home_url' var in config.php ?

e.g.
Code:
'home_url' => 'http://localhost/webmall',
10/14/2014 19:15 beetols#119
Quote:
hmm, the "source from the position", yet another html concept ... or just an attempt to mislead a plausible explanation ?
Just a quick reply in the night, the word could be wrong but it should work.. for src I wanted to say the relative URL and sorry for mistake.
10/15/2014 00:10 sominus#120
The webmall use a global variable to define the host.
The original code for the admin login is:
Code:
<form action='<?php echo $config['home_url']; ?>/admin.php?validate=login' method='post'>
So as long as the $config['home_url'] is correctly defined, the page should work.

Now, my sugestion is:
-Remove all the 'admin' stuff, leave only the player section.
-To add items to the shop, you could just use Navicat, or make a custom basic php page to add the items (it's not hard, just a very few forms with some insert/update/delete sql queries). Of course, keep that page away from normal players.

If you wanna add functionality, you could also add the jquery ttip script to the webmall.
So when the player put the mouse over an item, a popup will show the item details.
To see how ttip works, you could check abrasive's pvp rank script.