Website Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • August 30, 2015, 11:47:50 PM
  • Proudly celebrating 10 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 72813 times)

mouser

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

please UNINSTALL the previous verison before installing this one.

Code: [Select]
        //---------------------------------------------------------------------------
        // "Inline Attachments" Mod for the Simple Machines Forum (SMF)
        //  by mouser, from http://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
  • *
  • gravatar avatar
  • Posts: 5
    • View Profile
    • Fotoforum "Vneformat"
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #26 on: October 19, 2006, 06:49:26 AM »
Thank you, mouser!

Very needed MOD for our forum!

mouser

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

Stern

  • Participant
  • Joined in 2006
  • *
  • gravatar avatar
  • Posts: 5
    • View Profile
    • Fotoforum "Vneformat"
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #28 on: October 19, 2006, 07:42:16 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: 34,933
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #29 on: October 19, 2006, 07:47:00 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
  • *
  • gravatar avatar
  • Posts: 5
    • View Profile
    • Fotoforum "Vneformat"
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #30 on: October 19, 2006, 08:14: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
  • *
  • gravatar 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:08 AM »
I'm just testing a010.gif

Merlin44

  • Participant
  • Joined in 2006
  • *
  • gravatar 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:08 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
  • *
  • gravatar avatar
  • Posts: 5
    • View Profile
    • Fotoforum "Vneformat"
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #33 on: October 29, 2006, 05:01:04 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:46 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:14 PM by jammo »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,933
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #35 on: November 07, 2006, 06:55:43 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:32 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:29 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: 34,933
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #38 on: January 22, 2007, 01:59:27 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:57 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:50 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:
Code: [Select]
if(imgwidth>maxwidth)
   displayASInlineThumbAttachement

Thanks
Trallala

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #41 on: January 23, 2007, 05:41:46 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
  • *
  • gravatar 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:00 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
  • *
  • gravatar 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:41 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:33 PM by wjhsmf »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,933
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #44 on: May 09, 2007, 10:42: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,217
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #45 on: May 09, 2007, 10:45:15 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: 34,933
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #46 on: May 09, 2007, 11:11:55 PM »
lanux, can you explain a little more?
basically you just right click on the attached image, and youll see something like:
Code: [Select]
http://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:
Code: [Select]
http://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:
Code: [Select]
[img]http://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,217
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: new forum feature coded - ability to inline link attachments!
« Reply #47 on: May 10, 2007, 12:35:46 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
  • *
  • gravatar 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: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
  • *
  • gravatar 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:21 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:08 AM by MatthewSchenker »