topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday December 14, 2024, 4:43 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

Last post Author Topic: new forum feature coded - ability to inline link attachments!  (Read 174508 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #25 on: October 19, 2006, 06:38 AM »
i have now uploaded a new beta version of the inline attachment mod, with package installer here:
https://www.donation...ationCoderDotCom.zip

please UNINSTALL the previous verison before installing this one.

        //---------------------------------------------------------------------------
        // "Inline Attachments" Mod for the Simple Machines Forum (SMF)
        //  by mouser, from https://www.donationcoder.com - funded by user donations
        //  version 1.04.02, 10/18/06
        //---------------------------------------------------------------------------
        //
        //---------------------------------------------------------------------------
        // Updated 07/08/06 - better use builtin thumbnails
        // Updated 10/18/06 - smarter text for unavailable attachments
        // Updated 10/18/06 - [attach=1][/attach] now uses forum default format
        // Updated 10/18/06 - you can now skip the =# part and it will increment through attachments
        // Updated 10/18/06 - you can now use [attachmini] to show url w/o download count and size
        // Updated 10/19/06 - Added mod of Post.template.php to include attachment inline dropdown menu
        //---------------------------------------------------------------------------

Stern

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #26 on: October 19, 2006, 06:49 AM »
Thank you, mouser!

Very needed MOD for our forum!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #27 on: October 19, 2006, 07:31 AM »
no problem,
us smf'ers have to help each other out!  :Thmbsup:

Stern

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #28 on: October 19, 2006, 07:42 AM »
no problem,
us smf'ers have to help each other out!  :Thmbsup:


Thanks!
I'm like SMF too! :Thmbsup:

My users asked me how they can insert hyperlinks for images from web with thumbnails also how in attached to forum.
Are you know, how make this?

P.S. Sorry my bad english again  :(

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #29 on: October 19, 2006, 07:47 AM »
actually i think the ability to thumbnail the web image links is needed but doesn't exist; perhaps i will add it if no one else does.

Stern

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #30 on: October 19, 2006, 08:14 AM »
actually i think the ability to thumbnail the web image links is needed but doesn't exist; perhaps i will add it if no one else does.


There is no MOD that can make this option at SMF support site...

MMM

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #31 on: October 25, 2006, 06:18 AM »
I'm just testing a010.gif

Merlin44

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #32 on: October 29, 2006, 04:40 AM »
Hi !
I search for that for a long time thank you mouser !
a question, is there a way to have a differents folders in attachemnt folder, one for each user ?

Stern

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #33 on: October 29, 2006, 05:01 AM »
Hi !
I search for that for a long time thank you mouser !
a question, is there a way to have a differents folders in attachemnt folder, one for each user ?


in SMF - no

Jammo the OrganizedFellow

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
    • View Profile
    • OrganizedFellow
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #34 on: November 07, 2006, 06:29 PM »
testing my attachmentabilities.

this is me. small pic.
134x156. 2.72KB
jam-my-head.jpg

this is my tattoo.
640x480. 68.4KB
realistic-photo.jpgnew forum feature coded - ability to inline link attachments!
As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____
« Last Edit: November 07, 2006, 06:32 PM by jammo »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #35 on: November 07, 2006, 06:55 PM »
that's a pretty cool tattoo; great job of making her name into art.

Jammo the OrganizedFellow

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
    • View Profile
    • OrganizedFellow
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #36 on: November 09, 2006, 10:26 PM »
that's a pretty cool tattoo; great job of making her name into art.
:P thanks.

I used to draw LOTS when I was younger. I loved doing portraits. I had done everyone in my 7th grade class once.
but my need for perfection quickly overcame and then I came across Macromedia Fireworks and Notepad ... haven't looked back since. lol.
As an aspiring web developer/designer, it is a constant struggle to cope with my ADHD + Hypomania/Bipolar Disorder.

The slow growth of my web dev projects is eclipsed by my patience, understanding and desire to learn AS MUCH AS POSSIBLE as I slowly progress.

X_____jamjammo_____

Timo Trallala

  • Participant
  • Joined in 2007
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #37 on: January 22, 2007, 01:57 PM »
Hi,

first of all a great feature, but it won't work in my case.


http://forum.hafenvo...=337.msg1270#msg1270

Thanks
Timo Trallala

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #38 on: January 22, 2007, 01:59 PM »
Timo,

when you apply to mod, it changes the DEFAULT theme -
it may be tht you are using a non-default theme.

in this case, see the manual instructions for changes to make to your non-default theme file.

Timo Trallala

  • Participant
  • Joined in 2007
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #39 on: January 23, 2007, 04:11 AM »
 :Thmbsup:

O.K. Thanks A Lot. I switched to default theme and now it's working fine.

So I will continue width edititing my favorite theme 8)

bye
Trallala

Timo Trallala

  • Participant
  • Joined in 2007
  • *
  • Posts: 4
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #40 on: January 23, 2007, 04:55 AM »
O.K. done!

But there is a final question:

can I set a max-width  for inline-fullattach, so that none can crash my layout.

for example:
if(imgwidth>maxwidth)
   displayASInlineThumbAttachement

Thanks
Trallala

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #41 on: January 23, 2007, 05:41 AM »
can I set a max-width  for inline-fullattach, so that none can crash my layout.
That's a good idea! I think we should do the same here. Isn't that possible, mouser?

Lill-Micke

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #42 on: January 30, 2007, 01:21 AM »
Hi!

Will pictures that are added whit this mod in topics show up in MK-Portal's news?
The attachment funktion that are in SMF do not show the pictures in MK-Portal news.

//Micke

wjhsmf

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #43 on: May 09, 2007, 09:55 PM »
I just installed the mod on SMF 1.1.2 and the feature [atach=#] does not work. The image is shown on top of attachment only, please help to check. The link.
 
Thank you,
Jimmy

Test img08.jpg
« Last Edit: May 09, 2007, 10:05 PM by wjhsmf »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #44 on: May 09, 2007, 10:42 PM »
this almost always happens because the package installer only modifies the default theme; if you use another theme i think you have to make the modification manually, but it's really easy and the included readmes in the modification show you how.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #45 on: May 09, 2007, 10:45 PM »
mouser, i have a question.. if i want to post a picture already in the forum but as a thumbnail, how do i go about it?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #46 on: May 09, 2007, 11:11 PM »
lanux, can you explain a little more?
basically you just right click on the attached image, and youll see something like:
https://www.donationcoder.com/forum/index.php?action=dlattach;topic=1996.0;attach=17894;image

the forum always automatically makes a thumbnail of attached images, and that thumbnail url will be +1 of the attachment # for the fullsize pic, so:
https://www.donationcoder.com/forum/index.php?action=dlattach;topic=1996.0;attach=17895;image

so those urls are actually image urls, so if you wanted to show that picture in another post you could do:
[img]https://www.donationcoder.com/forum/index.php?action=dlattach;topic=1996.0;attach=17895;image[/img]

here it is in action:

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #47 on: May 10, 2007, 12:35 AM »
... and that thumbnail url will be +1 of the attachment # for the fullsize pic ...

thanks, mouser.. that's exactly what i was looking for.. :)

wjhsmf

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #48 on: May 10, 2007, 08:38 AM »
Mouser,

I do use default theme and now the problem is that I want the thumbnail on the attachment, i.e. without any "attach" tags, and the thumbnail is in attachment section.

Thank you,


this almost always happens because the package installer only modifies the default theme; if you use another theme i think you have to make the modification manually, but it's really easy and the included readmes in the modification show you how.

MatthewSchenker

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 24
    • View Profile
    • Festool Owners Group
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #49 on: June 12, 2007, 09:55 AM »
Hello,
I really like the work you're doing with SMF modifications.

I run a woodworking forum (www.festoolownersgroup.com).  Your inline attachment modification would be great for us.  Recently, I tried to install this, but received the following error:
1.     Execute Modification     ./Themes/default/Display.template.php     Test failed

How do I fix this to install the modification?

By the way, I'm testing the modification below, first with my avatar:
[attachthumb=#1][/attachthumb]

Next, with a tool picture:
[attachthumb=#2][/attachthumb]

Works well!

Thanks!
« Last Edit: June 12, 2007, 09:58 AM by MatthewSchenker »