The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Show Image Post in Sub-forum

3 posters

Go down

Solved Show Image Post in Sub-forum

Post by Herry Sudrajat September 5th 2016, 10:06 pm

Hello Hello

I want to show image post of the topic in sub-forum, i need this feature so that the forum members can post their artwork. but, i have some problem with this...

design plan will look like this:
Show Image Post in Sub-forum Screen12

my results:

Show Image Post in Sub-forum Screen13

i'm trying code:

Code:
$(function(){
          var isPunbb = '';
          if ($('.pun').length) var isPunbb = 'class="pun"';
          $('h2.topic-title a').after('&nbsp;<span id="imgtopicshow"></span>');

          $('span#imgtopicshow').show(function() {
            $('.tlbstats').prepend('<div id="topicimg-container" '+isPunbb+'><div id="imgtopicbox"></div></div>');

            $('#imgtopicbox').load($(this).siblings('h2.topic-title a').attr('href')+' .entry-content img:not(img[src*="/smiles/"]):eq(0)');
          });
        });

anybody help me, please? bye
@Ange Tuteur


Last edited by Herry Sudrajat on September 6th 2016, 8:03 pm; edited 1 time in total
Herry Sudrajat
Herry Sudrajat
Forumember

Male Posts : 57
Reputation : 48
Language : Indonesian, English
Location : ID

http://www.dkvdaily.com/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by SLGray September 5th 2016, 10:14 pm

Show Image Post in Sub-forum Untitl10


Show Image Post in Sub-forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by TheCrow September 5th 2016, 10:15 pm

Hello @Herry Sudrajat,

So you want the image to be grabbed out of the topics? Because there is a ready tutorial if you want to use the descriptions. How to do it is posted here: http://www.punbb.biz/t336-javascript-using-description-to-work-like-image-in-topiclist-punbb-phpbb2
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by Herry Sudrajat September 5th 2016, 10:22 pm

SLGray wrote:Show Image Post in Sub-forum Untitl10

Luffy wrote:Hello @Herry Sudrajat,

So you want the image to be grabbed out of the topics? Because there is a ready tutorial if you want to use the descriptions. How to do it is posted here: http://www.punbb.biz/t336-javascript-using-description-to-work-like-image-in-topiclist-punbb-phpbb2

no no no, i don't want to use the topic description. i want to load image from topic and placing in sub forum Smile
Herry Sudrajat
Herry Sudrajat
Forumember

Male Posts : 57
Reputation : 48
Language : Indonesian, English
Location : ID

http://www.dkvdaily.com/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by SLGray September 5th 2016, 10:46 pm

What do you mean by sub-forum?


Show Image Post in Sub-forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by Herry Sudrajat September 6th 2016, 5:12 am

SLGray wrote:What do you mean by sub-forum?

Topic list box what i mean Very Happy
Herry Sudrajat
Herry Sudrajat
Forumember

Male Posts : 57
Reputation : 48
Language : Indonesian, English
Location : ID

http://www.dkvdaily.com/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by SLGray September 6th 2016, 6:50 am

That is not call a sub-forum.

So you want images in your topics to appear here:
Show Image Post in Sub-forum Untitl10

https://help.forumotion.com/t141644-application-topic-thumbnail


Show Image Post in Sub-forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by Herry Sudrajat September 6th 2016, 8:02 pm

SLGray wrote:That is not call a sub-forum.

So you want images in your topics to appear here:
Show Image Post in Sub-forum Untitl10

https://help.forumotion.com/t141644-application-topic-thumbnail

great! thanks @SLGray salut
- topic solved -
Herry Sudrajat
Herry Sudrajat
Forumember

Male Posts : 57
Reputation : 48
Language : Indonesian, English
Location : ID

http://www.dkvdaily.com/

Back to top Go down

Solved Re: Show Image Post in Sub-forum

Post by SLGray September 6th 2016, 10:08 pm

You're welcome.

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


Show Image Post in Sub-forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51482
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum