Skip to Content Skip to Menu

add username

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
15 years 3 weeks ago #112356 by chrissy6930
add username was created by chrissy6930
hi there,

I'd like to adjust the quoted messages in uddeim-replyquote / uddeim-writeform so that a quoted message would include the poster's username and look like this:

[code:1]Originally posted by someusername
some message [/code:1]

would you mind helping me figure what I would need to edit please?

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 weeks ago #112374 by slabbi
Replied by slabbi on topic Re:add username
You have to change the code in uddeim.php (saveMessage).

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
15 years 3 weeks ago #112382 by chrissy6930
Replied by chrissy6930 on topic Re:add username
thanks for getting back to me.

please find attached a photoshopped image of what I have in mind.

would you mind being a bit more precise please?

Post edited by: chrissy6930, at: 2009/09/27 14:00
Attachments:

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
15 years 3 weeks ago #112383 by chrissy6930
Replied by chrissy6930 on topic Re:add username
plus an image with enlarged details
Attachments:

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 3 weeks ago #112387 by slabbi
Replied by slabbi on topic Re:add username
The parser currently does not allow nested quotes. So you cannot style the output as suggested.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • chrissy6930
  • chrissy6930
  • OFFLINE
  • Posts: 27
  • Thanks: 0
  • Karma: 1
  • Add-ons
15 years 3 weeks ago #112390 by chrissy6930
Replied by chrissy6930 on topic Re:add username
how about the basic of my idea? adding
'originally posted by $username'?

could you pls explain what in function saveMessage I would need to edit?

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum