Not Solved changing how quotes are displayed
#1
Not Solved
hi everyone, 
I would like to change the way quotes are displayed in the threads. 
I like them to say "<usertitle> Wrote...." instead of the current way where the username is used in the quotes. 

Thank you for your help!

H
Reply
#2
Not Solved
You can do this by modification of blockquote_cite and blockquote in global.css of your theme.
Also you can restructure your quote structure in inc/class_parser.php (Search for blockquote.)

Regards
WallBB
Reply
#3
Not Solved
hi there, 
Thanks for the reply. 
I visited the class_parser.php and it looks like the function that sets up the call back are these two: 

 function mycode_parse_post_quotes_callback1($matches)
 {
    return $this->mycode_parse_post_quotes($matches[4],$matches[2].$matches[3]);
 }

function mycode_parse_post_quotes_callback2($matches)
 {
     return $this->mycode_parse_post_quotes($matches[4],$matches[2].$matches[3], true);
 }

where the second argument, seems to be the username passed to the function: 

 function mycode_parse_post_quotes($message, $username, $text_only=false)

I am not sure how to change the argument that gets passed to it to the usertitle. (also, why is the function argument that is the username concatenated from two variables? that is odd)
I dumped out the datastructure of $matches, there is no usertitle information in there. 

Thank you

H
Reply
#4
Not Solved
anybody?... Sad
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)