Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
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 |
| ||
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 |
| ||
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 |
| ||
......
It works. I just added that and it works. Thank you soo much! 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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
A simple image tag like this < (edited by X on 08-21-06 10:59 PM) |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6301 days |
| ||
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 |
| ||
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 |
| ||
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 | | |