collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 386
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: show attachment images  (Read 18077 times)

0 Members and 1 Guest are viewing this topic.

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
show attachment images
« on: May 04, 2009, 01:42:00 PM »
hello,

image attachment blocks show only list of attachments, can you make it directly show images (optional it will be to set the image's width)?

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #1 on: May 04, 2009, 01:45:32 PM »
Are you sure that you are using the Recent Image Attachments block and not Recent Attachments block?
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #2 on: May 04, 2009, 04:34:09 PM »
yes, i am very sure. look:
Code: [Select]
Recent Image Attachments

Displays a list of recently attached images.

it says very clearly it displays a list of images instead of images themselves.

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #3 on: May 05, 2009, 11:26:15 AM »
Are you sure that you are using the Recent Image Attachments block and not Recent Attachments block?

You are right. The attachments didn't show because my forum files have errors. Now after repairing it is already OK. Best portal. Great job!

thank you!

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #4 on: May 05, 2009, 11:34:03 AM »
You're welcome. Glad that you could get it sorted out! ;)
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #5 on: May 05, 2009, 11:56:39 AM »
You're welcome. Glad that you could get it sorted out! ;)

I tried tp and ezportal, and i should say, simple portal is really the best.

please have a look at veryeurope.com, the attachment images show very nice, but i have 4 questions:

1. where can i edit "posted by" to simply "by"?
2. where can i change the width of the images to "150px"?
3. right now both the name of the images and the images link to the real size images, would be better, or can you make an option to let the image link to the posts?

4. this is about the recent posts block, please advise me how to make change so only the messages' body are displayed.

5. how to display the attachment images block only at forum index.php page?

thank you very much in advance, can not help but praising your job.
« Last Edit: May 05, 2009, 01:00:40 PM by neverhurry »

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #6 on: May 05, 2009, 11:59:37 AM »
simpleportal.net is very good design, but the default size of text is just too small. since I love simple portal, i am sure i will come back often, but can you change the text size a little bit larger.

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #7 on: May 07, 2009, 06:41:58 AM »
Hello, SiNaN, would you please have a look at my questions? Thank you!

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #8 on: May 07, 2009, 12:44:22 PM »
Nobody?

Offline Blue

  • Customizer
  • *
  • Posts: 379
  • Gender: Male
  • Block Maker? =P
Re: show attachment images
« Reply #9 on: May 07, 2009, 05:23:02 PM »
You're welcome. Glad that you could get it sorted out! ;)

I tried tp and ezportal, and i should say, simple portal is really the best.

please have a look at veryeurope.com, the attachment images show very nice, but i have 4 questions:

1. where can i edit "posted by" to simply "by"?
2. where can i change the width of the images to "150px"?
3. right now both the name of the images and the images link to the real size images, would be better, or can you make an option to let the image link to the posts?

4. this is about the recent posts block, please advise me how to make change so only the messages' body are displayed.

5. how to display the attachment images block only at forum index.php page?

thank you very much in advance, can not help but praising your job.

1. You can edit that going to your SPortal.php

Code: (find) [Select]
', $txt['posted_by'], '
Code: (replace to) [Select]
by
2. You can change the width going to SSI.php, i think since the block requires ssi_recentattachments

3. You can edit that in Sportal.php too

4. For that, you would have to change all the block. It would be like a new one.

5. Go to Admin>Simple Portal>Edit the block>And put it only to show in Fórum. ;)
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #10 on: May 08, 2009, 02:51:21 AM »
Please do not bump your topics unless 24 hours passed from the last reply to the topic. We are all volunteers here.

What is your SMF version?
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #11 on: May 08, 2009, 02:52:25 AM »

1. You can edit that going to your SPortal.php

Code: (find) [Select]
', $txt['posted_by'], '
Code: (replace to) [Select]
by
2. You can change the width going to SSI.php, i think since the block requires ssi_recentattachments

3. You can edit that in Sportal.php too

4. For that, you would have to change all the block. It would be like a new one.

5. Go to Admin>Simple Portal>Edit the block>And put it only to show in Fórum. ;)

Blue, THANK YOU!

the last one, i did adjust that like what you said, but it then shows in every page of the forums, what i want is to show the block only in the forums index.php (first) page. how can i archive that? Thank you. I appreciate very much your help.

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #12 on: May 08, 2009, 02:59:12 AM »
Please do not bump your topics unless 24 hours passed from the last reply to the topic. We are all volunteers here.

What is your SMF version?

Sorry if I looked like very impatient, but i asked my questions on May 05, 2009 which is far more than 24 hours from the last reply. I appreciate very much your time here. I use SMF 1.1.8. Thank you.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #13 on: May 08, 2009, 03:03:53 AM »
I'm not saying about your first bump, the other two:

Yesterday at 13:41
Yesterday at 19:44
Yesterday at 20:15

If you don't get a response, just bump once and wait until 24 hours passes.

For your question; on the edit block page, in Display Options; check the "Advanced Options" checkbox, then expand "Select Actions". Lastly, just check the checkbox besides "Forum" and click on "Edit Block".
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #14 on: May 08, 2009, 04:24:37 AM »
OK, i see what's my problem. I am sorry.
Thank you for your help.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #15 on: May 08, 2009, 04:26:59 AM »
No problems, as long as we are clear on the rules. ;)

Could you get the issue solved?
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #16 on: May 08, 2009, 04:52:39 AM »

For your question; on the edit block page, in Display Options; check the "Advanced Options" checkbox, then expand "Select Actions". Lastly, just check the checkbox besides "Forum" and click on "Edit Block".

I did that, but is doesn't work. One needs to click any "+" (expand) to see that block.

I set in the general settings the "integration" . Thank you for your kindness.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #17 on: May 08, 2009, 06:39:30 AM »
May I see the issue myself?
And slowly, you come to realize... It's all as it should be...

Offline neverhurry

  • Semi Newbie
  • *
  • Posts: 20
  • Looking for spring....
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: show attachment images
« Reply #18 on: May 08, 2009, 07:54:41 AM »
May I see the issue myself?

yes, it is here: cinask.com

if you click any "+" (expand) (except the stats +) then it appears, click the logo pic then it disappears.

thank you!

user: test
password: test
« Last Edit: May 08, 2009, 08:08:24 AM by neverhurry »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: show attachment images
« Reply #19 on: May 08, 2009, 08:05:48 AM »
I can't see any blocks on that page.
And slowly, you come to realize... It's all as it should be...