PDA

View Full Version : install scripts


[CLS]_Airborne328
March 31st, 2005, 00:37
I have installed without errors the attachment mod v2.

however nothing shows, when clicking new topic. so i am double checking things, and uploads.

can some one confirm what "closing brackets" are

is it ....);
or....}

I normally would read this this add after the }, but when it states after the closing brackets, it threw me off...

so wish to check with soemone who actually knows what they are doing.. :chain:

#-----[ FIND ]---------------------------------------------
# around line 570
update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}

#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
$attachment_mod['posting']->insert_attachment($post_id);

this is what I have

update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
}
$attachment_mod['posting']->insert_attachment($post_id);



just trying everything, stumped as to why nothing shows at all.

[CLS]_Airborne328
March 31st, 2005, 02:34
well the mod works, for you can add attachments in PM's not so in topics though,, HMM

in advanced permissions the 2 new perm's are there but NO drop box for them under :?:

-=DoW=- JBDiamonds
March 31st, 2005, 05:20
Aren't these brackets? [ ]