(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-20-24 04:19 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - status.php problem New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-20-06 04:30 PM Link | Quote
Ok im trying to make status.php to work in 1.a2 I asked prince kassad about this problem:
edit:link to site edited because problem is solved and site is still not ready for public.

he told me that there is alot of stuff that need to be fixed in that file to make it work so I ask,has anybody installed it succesfully and how?


(edited by the_man on 08-20-06 03:39 PM)
(edited by the_man on 08-20-06 04:43 PM)
Prince Kassad

320
As you wish.








Since: 06-30-06
From: nowhere

Last post: 6301 days
Last view: 6301 days
Posted on 08-20-06 05:15 PM Link | Quote
What happens if you insert the line:
$c = array();

in status.php, after the two 'require' lines?
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-20-06 05:40 PM Link | Quote
......

It works. I just added that and it works.
Thank you soo much!

Mods,close this thread.

Another little problem,for that to work I have to add a table in the users_rpg thing in phpmyadmin.

Is there a way that everytime a user registers a new table with his id gets created there?


(edited by the_man on 08-20-06 04:50 PM)
The Roger

Red Goomba
Go away, Roger.








Since: 07-08-06
From: Eagle Pass, TX

Last post: 6397 days
Last view: 6313 days
Posted on 08-20-06 08:19 PM Link | Quote
Yeah, put this in function.php. Not sure if there's a better way.


$_users = mysql_query("SELECT * FROM `users`");
while($_u = mysql_fetch_array($_users))
{
$chk_user = mysql_fetch_array(mysql_query("SELECT * FROM `users_rpg` WHERE `uid` = '".$u['id']."'"));
if(!$chk_user)
{
mysql_query("INSERT INTO `users_rpg` SET `uid` = '".$u['id']."'");
}
}


(edited by X on 08-20-06 07:20 PM)
(edited by X on 08-20-06 07:23 PM)
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-20-06 09:01 PM Link | Quote
It doesnt works. Where am I supposed to put it? It really doesnt do anything.

Is there an itemshop for 1.A2?


(edited by the_man on 08-20-06 08:02 PM)
(edited by the_man on 08-20-06 08:23 PM)
The Roger

Red Goomba
Go away, Roger.








Since: 07-08-06
From: Eagle Pass, TX

Last post: 6397 days
Last view: 6313 days
Posted on 08-20-06 11:14 PM Link | Quote
Did you get any errors, or did it just not work... I sorta pulled that outa my ass and didn't even try to check if it works.
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-21-06 08:25 AM Link | Quote
No I get no errors it simply doesnt works.
The Roger

Red Goomba
Go away, Roger.








Since: 07-08-06
From: Eagle Pass, TX

Last post: 6397 days
Last view: 6313 days
Posted on 08-21-06 11:05 PM Link | Quote
Oh dear, god. My mistake I mistyped something .
$_users = mysql_query("SELECT * FROM `users`");
while($_u = mysql_fetch_array($_users))
{
$chk_user = @mysql_fetch_array(mysql_query("SELECT * FROM `users_rpg` WHERE `uid` = '".$_u['id']."'"));
if(!$chk_user)
{
mysql_query("INSERT INTO `users_rpg` SET `uid` = '".$_u['id']."'");
}
}
Hopefully that fixes it. :/
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-21-06 11:27 PM Link | Quote
That worked perfectly!
Now how do I make the status appear in every users profiles?
The Roger

Red Goomba
Go away, Roger.








Since: 07-08-06
From: Eagle Pass, TX

Last post: 6397 days
Last view: 6313 days
Posted on 08-21-06 11:58 PM Link | Quote
A simple image tag like this <img src='status.php?u=".$user['id']."' /> will work.


(edited by X on 08-21-06 10:59 PM)
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-22-06 09:17 AM Link | Quote
thanks a bunch for all the help,now I have the stats working perfectly .
By any chance could there be an itemshop that works in 1.A2?
Prince Kassad

320
As you wish.








Since: 06-30-06
From: nowhere

Last post: 6301 days
Last view: 6301 days
Posted on 08-22-06 09:37 AM Link | Quote
There is no item shop I know of that works with 1.A2, but you could probably modify the item shop for 1.92 to work with the newer AcmlmBoard.
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6301 days
Posted on 08-22-06 09:43 AM Link | Quote
I dont know even where to start. I dont know php like to do that.I dont even know what itemshop works in 1.92.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - status.php problem |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.010 seconds; used 398.33 kB (max 497.88 kB)