Changeset 1524 in ExiteCMS for trunk/forum/post.php


Ignore:
Timestamp:
07/05/08 12:58:33 (4 years ago)
Author:
hverton
Message:

added code coloring for [code] bbcode sections, and an option to download the code
fixed a bug with pm read timestamps
registration now sends a pm to the webmaster when new user activation is set to admin-approval
user activation has been extended to work with both manual approvals and with email verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/post.php

    r1477 r1524  
    415415                $preview['post_message'] = $locale['421']; 
    416416            } 
    417             $preview['post_message'] = parsemessage($preview['post_message'], $preview['post_smileys']); 
     417            $preview['post_message'] = parsemessage($preview); 
    418418            $preview['post_reply_id'] = $reply_id; 
    419419            if ($reply_id != 0) { 
     
    447447            // add information about the current user 
    448448            $preview = array_merge($preview, $userdata); 
    449             $preview['user_sig'] = parsemessage($preview['user_sig'], $preview['post_smileys']); 
     449            $_x = $preview['user_message']; 
     450            $preview['user_message'] = $preview['user_sig']; 
     451            $preview['user_sig'] = parsemessage($preview); 
     452            $preview['user_message'] = $_x; 
    450453            // process attachments 
    451454            if ($settings['attachments'] == "1" && $fdata['forum_attach'] == "1") { 
Note: See TracChangeset for help on using the changeset viewer.