![]() |
| 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 - Looking for a line of code in forum.php |
New poll | | ![]() |
| Add to favorites | Next newer thread | Next older thread |
| User | Post | ||
timdevril50755![]() Poppy Bros. Jr Since: 11-17-05 Last post: 5917 days Last view: 5907 days |
| ||
| At least, I think it's in forum.php, I'm trying to code thread descriptions, and I can't find where to insert them to have them show up in the forum. | |||
Yoshi Dude![]() TO HELL WITH THIS Since: 11-17-05 From: Fleepa Last post: 5907 days Last view: 5907 days |
| ||
| You edit descriptions in the MySQL database, not in the code itself.
Go to "forums" in the database, browse for the forum you want to write, and there is a clearly labeled "description" section. If you meant something else, I apologize. ![]() |
|||
Elric![]() Octoballoon Since: 11-18-05 From: Melniboné Last post: 6305 days Last view: 5936 days |
| ||
| Yes, you have to add a field for Thread Descriptions to the MySQL DB, but you also need to modify forum.php for them to show up, newthread.php so you can add them, and editthread.php so staff can edit them.
I'd tell you where to make the changes, but I don't know what version you're using. I'm using v1.92, and I've heavily modified it... |
|||
DarkSlaya![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5907 days Last view: 5907 days |
| ||
Originally posted by Yoshi Dude I believe he meant thread description, not forum description. timdevril50755: It would be better to tell us which version of Acmlmboard you're using, as Elric mentioned. |
|||
timdevril50755![]() Poppy Bros. Jr Since: 11-17-05 Last post: 5917 days Last view: 5907 days |
| ||
| I'm using 1.92, to help those who can help | |||
Elric![]() Octoballoon Since: 11-18-05 From: Melniboné Last post: 6305 days Last view: 5936 days |
| ||
Here's what I did to forum.php :
description to the SELECT statment.
description to the SELECT statment.
description to the SELECT statment.
description to the SELECT statment.
$thread[description]=str_replace('<','<',$thread[description]);
$threaddesc="<
if($thread[description]) $threadstuff="$threadtitle $pagelinks $smallfont$threaddesc<
if(!$thread[description]) $threadstuff="$threadtitle $pagelinks<(edited by Elric on 11-28-05 11:36 PM) |
|||
timdevril50755![]() Poppy Bros. Jr Since: 11-17-05 Last post: 5917 days Last view: 5907 days |
| ||
| are you looking at 1.92? because on line 22, it says
die(); |
|||
Elric![]() Octoballoon Since: 11-18-05 From: Melniboné Last post: 6305 days Last view: 5936 days |
| ||
| That's where they are in my modified version of the file. I've edited my post with the line numbers, but you should have been able to figure most of it out. |
| Add to favorites | Next newer thread | Next older thread |
| Acmlm's Board - I3 Archive - Programming - Looking for a line of code in forum.php |
| ![]() |