Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Sql'ize the Version history stuff | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1649/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 09-24-05 05:23 AM Link | Quote
ive been thinking, right now its taken out of a dat file...anyone think its a good idea to sqlize it? well ill do it anyway, so ill post it here when its done, whether you want it or not
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 4131/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 09-24-05 05:25 AM Link | Quote
Dunno, if someone wanna post my version history (I made it before the first version with it was released).

It wasn't exactly finished, but it worked (but you had to do it from PMA)
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 606/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 09-24-05 08:56 AM Link | Quote
Frankly, I tink everything should be SQL-ized... Post Icons, Smilies, FAQ, and Version History. There\'s no real reason for them not to be.
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1650/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 09-24-05 08:35 PM Link | Quote
that is true....ill see what I can sqlize, and if it all works correctly, ill release em all, starting with version history though, since then I can add that to the admin panel easily, and if I cant get smilies sqlized, ill still add an option to the admin panel, since all that would need to be done is add a file, and then write the appropriate thing to the dat file.

edit: well, im done sqling the version history...but theres one thing, it doesnt format properly, so all formatting would have to be done manually, for example, you would have to put break tag between each change you added, so like Change 1< br > Change 2 < br > etc....anyone have any ideas how I could do that automatically, not to mention keep it a list.


(edited by Dcahrakos on 09-24-05 05:39 PM)
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 607/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 09-25-05 07:49 AM Link | Quote
So you're saying that the output adds extra <br> tags to everything? If that's the case, just follow the example of editprofile.php for user bios: When it's getting all the info that can be edited, there's a line that says sbr(1,$loguser[bio]);. Then, when a user clicks the button to edit their profile, before the bio field is input back into the DB, there's a line that says sbr(0,$bio);.

Also, in the mysql_query to update the DB, instead of just having it do UPDATE changelog SET change=$change, you should use UPDATE changelog SET change='".addslashes($change)."'.

I think that between them, the sbr and addslashes() should fix the problem...
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1655/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 09-25-05 06:56 PM Link | Quote
no, actually what I meant is that when adding to the version history, you have to manually put in the html codes yourself, so if you wanted a list, you would use the list tag, like

< li > item < /li >

and so on...
ExKeeper

Bullet Bill
Level: 31

Posts: 497/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 10-09-05 02:04 AM Link | Quote
I made a versions.php that uses mysql tables and that doesn't require you to enter any html when you add them, it has admin controls built in. I tested it, it has no glitches that I know of, it even can auto update the version it shows at the bottom. I wanna download it now if you wanna see mine, it is here: http://edit.ed.funpic.org/versions.php.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Sql'ize the Version history stuff | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.017 seconds.