SimplePortal

Development => Feature Requests => Topic started by: neverhurry on May 04, 2009, 01:42:00 PM

Title: show attachment images
Post by: neverhurry 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)?
Title: Re: show attachment images
Post by: [SiNaN] 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?
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: neverhurry 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!
Title: Re: show attachment images
Post by: [SiNaN] on May 05, 2009, 11:34:03 AM
You're welcome. Glad that you could get it sorted out! ;)
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: neverhurry on May 07, 2009, 06:41:58 AM
Hello, SiNaN, would you please have a look at my questions? Thank you!
Title: Re: show attachment images
Post by: neverhurry on May 07, 2009, 12:44:22 PM
Nobody?
Title: Re: show attachment images
Post by: Blue 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. ;)
Title: Re: show attachment images
Post by: [SiNaN] 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?
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: [SiNaN] 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".
Title: Re: show attachment images
Post by: neverhurry on May 08, 2009, 04:24:37 AM
OK, i see what's my problem. I am sorry.
Thank you for your help.
Title: Re: show attachment images
Post by: [SiNaN] 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?
Title: Re: show attachment images
Post by: neverhurry 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.
Title: Re: show attachment images
Post by: [SiNaN] on May 08, 2009, 06:39:30 AM
May I see the issue myself?
Title: Re: show attachment images
Post by: neverhurry 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
Title: Re: show attachment images
Post by: [SiNaN] on May 08, 2009, 08:05:48 AM
I can't see any blocks on that page.
Title: Re: show attachment images
Post by: neverhurry on May 09, 2009, 12:57:55 AM
After log in, click any "+" (except for the stats) and you will see that block at the top with attachment images.
user: test
password: test
thanks!
Title: Re: show attachment images
Post by: ???1031 on May 09, 2009, 03:36:49 AM
I can click on them without problems and they open fine...
Title: Re: show attachment images
Post by: neverhurry on May 09, 2009, 07:42:46 AM
I can click on them without problems and they open fine...

after log in, the attachment image block will not show until you click a "+" (expand). And once after it shows, and you click the logo photo which links the forum home page (/index.php), and the block disappears. that is the problem.
Title: Re: show attachment images
Post by: ???1031 on May 09, 2009, 01:43:46 PM
I can click on them without problems and they open fine...

after log in, the attachment image block will not show until you click a "+" (expand). And once after it shows, and you click the logo photo which links the forum home page (/index.php), and the block disappears. that is the problem.
Only for [SiNaN]: http://www.cinask.com/index.php?action=collapse;c=2;sa=expand#2 than you can see the block oO. It take me some time until i see that there is block...

Everthing is collapse when you open the page is there any special reason for this?
Because we use a similar function to collapse Blocks.

Something is strange, because i can not see an code of an block on the page if the page is loaded. My second question is in which mod does your portal currently work?
Title: Re: show attachment images
Post by: neverhurry on May 09, 2009, 04:01:44 PM
I can click on them without problems and they open fine...

after log in, the attachment image block will not show until you click a "+" (expand). And once after it shows, and you click the logo photo which links the forum home page (/index.php), and the block disappears. that is the problem.
Only for [SiNaN]: http://www.cinask.com/index.php?action=collapse;c=2;sa=expand#2 than you can see the block oO. It take me some time until i see that there is block...

Everthing is collapse when you open the page is there any special reason for this?
Because we use a similar function to collapse Blocks.

Something is strange, because i can not see an code of an block on the page if the page is loaded. My second question is in which mod does your portal currently work?
Hello, sorry i've been away for whole day.
I don't experience anything like what you said "Everthing is collapse when you open the page". If I understand the word "collapse" correctly, it means "to fold". When i log in, everything is unfolded.

My portal works now in "Integration" mode.
Title: Re: show attachment images
Post by: [SiNaN] on May 10, 2009, 06:24:00 AM
I see. Here I said, just "Forum".

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".

Would you also check the "Portal" option?
Title: Re: show attachment images
Post by: neverhurry on May 10, 2009, 03:32:19 PM
I see. Here I said, just "Forum".

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".

Would you also check the "Portal" option?

Yes, I checkeh the "Portal" option in the "Select Actions", but the problem is still there.
Title: Re: show attachment images
Post by: [SiNaN] on May 11, 2009, 05:03:47 AM
Would you provide me a temporary admin account via pm?
Title: Re: show attachment images
Post by: neverhurry on May 11, 2009, 10:07:31 AM
yes, please check PM.
SimplePortal 2.3.8 © 2008-2024, SimplePortal