Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Acmlmboard support?. |
Acmlm's Board - I2 Archive - Acmlmboard support? - Affiliatebox using mysql (1.A2 Hack) | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
PmHacks Newcomer Level: 4 Posts: 5/6 EXP: 270 For next: 9 Since: 11-28-04 Since last post: 157 days Last activity: 3 days |
| ||
Well a few days ago i thought it would be nice if the affiliate box got its data from a mysql database, which makes it much easyier and quickier to add new affiliates yes well ive got the affiliatebox loading data from a mysql db but i cant seem to get my admin panel file working by that i mean the the file that adds affiliates and such to the database heres my current code i cant see why it isnt working. source is here http://www.normmatt.mihopa.com/aff.txt | |||
Xeolord - B l u e s - Power Metal > All Level: 81 Posts: 1957/3418 EXP: 4884196 For next: 108653 Since: 03-15-04 From: Yeah Since last post: 15 hours Last activity: 15 hours |
| ||
Not sure what you mean here... Are you getting a MySQL error? I copied your code and uploaded it unto my server, and it didn't even work. Lines 2-5 aren't needed, since they're already in dbinfo.php, and you're calling that. Then change line 7 to: require '../lib/function.php'; I'm not sure if that's the answer you're looking for, but this file is in my admin directory and now links correctly, but the file itself doesn't fully work (tables are messed up, does't call the current affiliates, then again I'd need the table for that. ) Of course, you should really should add an if($isadmin) at the beginning of your code. (edited by Darth Xeodious on 05-28-05 12:00 PM) (edited by Darth Xeodious on 05-28-05 12:01 PM) (edited by Darth Xeodious on 05-28-05 12:08 PM) |
|||
PmHacks Newcomer Level: 4 Posts: 6/6 EXP: 270 For next: 9 Since: 11-28-04 Since last post: 157 days Last activity: 3 days |
| ||
Ok well i just decided it would be much easyier to just edit the ipbans.php file in the admin folder and i have and its working right now except for my edit screen which i still need to work on once thats working i will make a release of it. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Acmlmboard support? - Affiliatebox using mysql (1.A2 Hack) | | | |