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.

Polls Before Posts

3 posters

Go down

Solved Polls Before Posts

Post by The Last Outlaw May 15th 2020, 8:50 pm

https://www.betheasbyte.com

Hello. Is there a way to display polls after the initial post instead of before the post?


Last edited by The Last Outlaw on May 15th 2020, 9:36 pm; edited 1 time in total
The Last Outlaw
The Last Outlaw
Forumember

Male Posts : 429
Reputation : 11
Language : English (US)
Location : Salem, Oregon, USA

View user profile https://www.betheasbyte.com/

Back to top Go down

Solved Re: Polls Before Posts

Post by SLGray May 15th 2020, 9:24 pm

I believe you could modify the templates.


Polls Before Posts 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 : 50441
Reputation : 3478
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Polls Before Posts

Post by TheCrow May 15th 2020, 9:29 pm

Hello @The Last Outlaw,

Yes, @SLGray is right.

You go in your viewtopic_body template and find
Code:
{POLL_DISPLAY}
. When you do simply change it to
Code:
<div id="wherePoll">{POLL_DISPLAY}</div>
and then add this Javascript placed In the topics.
Code:
$(function(){
  $('#wherePoll').insertAfter('.post:first');
});

It should fix your problem,
Regards,
TC.


Last edited by TheCrow on May 15th 2020, 9:34 pm; edited 1 time in total
TheCrow
TheCrow
Manager
Manager

Male Posts : 6787
Reputation : 788
Language : Greek, English

View user profile https://forumote.forumotion.com

Back to top Go down

Solved Re: Polls Before Posts

Post by SLGray May 15th 2020, 9:31 pm

Thanks @TheCrow.


Polls Before Posts 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 : 50441
Reputation : 3478
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Polls Before Posts

Post by The Last Outlaw May 15th 2020, 9:36 pm

Mr. @SLGray, I thank you. Mr. @TheCrow I thank you!

This one is solved!
The Last Outlaw
The Last Outlaw
Forumember

Male Posts : 429
Reputation : 11
Language : English (US)
Location : Salem, Oregon, USA

View user profile https://www.betheasbyte.com/

Back to top Go down

Solved Re: Polls Before Posts

Post by TheCrow May 15th 2020, 9:37 pm

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

Male Posts : 6787
Reputation : 788
Language : Greek, English

View user profile https://forumote.forumotion.com

Back to top Go down

Back to top

- Similar topics

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