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.

Re-direct on Click/submit

3 posters

Go down

In progress Re-direct on Click/submit

Post by kcryss May 15th 2020, 3:36 pm

Technical Details


Forum version : #ModernBB
Position : Administrator
Concerned browser(s) : Mozilla Firefox, Google Chrome
Who the problem concerns : All members
When the problem appeared : Has always been this way.
Forum link : https://soapsnlotions.forumotion.net/

Description of problem

When clicking a button (for example, thumbs up) the page redirects and you have to click again to get back to the topic you were on, and then you have to scroll down/next page to get back to the last visited location on the thread.

How can I prevent the redirect using either javascript or css? I am not the founder so do not have access to the html.
kcryss
kcryss
Forumember

Posts : 40
Reputation : 2
Language : English

https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by tikky May 15th 2020, 4:55 pm

tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by kcryss May 15th 2020, 5:24 pm

pedxz wrote:Hey @kcryss,

Read this tutorial: https://help.forumotion.com/t142870-topic

Thanks!! Reading now. Smile

@pedxz

I've added both the css and javascript based on that tutorial. Was able to easily disable the vote bar and the thumbs down. Thank you so much for your help! I've been trying to get this to work correctly for several weeks now! Smile Once again, you're a rock star! Smile

One more question though. Is it possible to get the number of votes to display on the icon (I have a like button for the image). If you hover over the button, it tells how many votes for that person, but there is also a number to the right of the button. I would like to either eliminate the number or move the number to the top of the Like button if possible. Do you know if that is possible?
kcryss
kcryss
Forumember

Posts : 40
Reputation : 2
Language : English

https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by kcryss May 16th 2020, 11:35 pm

I have it working now with the exception of the number ... can't seem to get rid of the number or get it to show up on top of the like button.
kcryss
kcryss
Forumember

Posts : 40
Reputation : 2
Language : English

https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by mSyx May 17th 2020, 3:29 am

Something like this?
ModernBB - Re-direct on Click/submit Screenshot-33
mSyx
mSyx
Forumember

Male Posts : 155
Reputation : 47
Language : French & English
Location : France

https://help.forumotion.com/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by kcryss May 19th 2020, 3:02 pm

mSyx wrote:Something like this?
ModernBB - Re-direct on Click/submit Screenshot-33

Yes, just like that! Smile
kcryss
kcryss
Forumember

Posts : 40
Reputation : 2
Language : English

https://soapsnlotions.forumotion.net/

Back to top Go down

Back to top

- Similar topics

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