topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 8:36 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hohar [ switch to compact view ]

Pages: [1]
1
I was just referred to your mod from SMF.  i'm really interested in getting this inline attachment thing working.  i seemed to have to have it working somewhat, but i feel i did something wrong during the modification of the php file you suggest.

first of all, does this mod work with SMF 1.1 RC3?

in your install, you say to look for a certain code in the display.template.php file.  i'm assuming this is in the themes/default folder and there should be a copy in the folder for the specific theme you are using.  is this right?

also, you state where you should start inserting the code you have written.  i'm confused by your instructions.  you say to look for the code starting with "// What about splitting it off the rest of the topic?"

then you list 2 more blocks of code.  then you say your code should replace the code inbetween those 2 blocks of code.....but didn't you list 3 blocks?  i'm not really up to snuff on php, so i don't really know.

i'm just trying to figure out exactly where to start inserting your code and what of the original code i should delete.

i tried inserting your code after the block of code following "// Show a checkbox for quick moderation?" and before "// Show "« Last Edit: Time by Person »" if this post was edited.".  with this code in place in a display.template.php file copied to the theme folder i was using in my forum, the inline attachments seemed to work.  however, i didn't see any drop down menus like in the screen capture above when i was posting the topic.  also, once posted, the image was inline and the formating was off below it.  specifically, the "report to moderator" and "show ip address" fields were locate way out of the area defined for the topic.

do you have any idea as to what i'm doing wrong? 

thanks,

ryan

Pages: [1]