Re-direct on Click/submit

Go down

In progress Re-direct on Click/submit

Post by kcryss on 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 : 39
Reputation : 2
Language : English

View user profile https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by pedxz on May 15th 2020, 4:55 pm

pedxz
pedxz
Forumember

Male Posts : 310
Reputation : 83
Language : Português
Location : Forumeiros

View user profile https://www.forumotion.com/create-forum/modernbb

Back to top Go down

In progress Re: Re-direct on Click/submit

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


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 : 39
Reputation : 2
Language : English

View user profile https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

Post by kcryss on 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 : 39
Reputation : 2
Language : English

View user profile https://soapsnlotions.forumotion.net/

Back to top Go down

In progress Re: Re-direct on Click/submit

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

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

Male Posts : 131
Reputation : 29
Language : French & English
Location : France

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

Back to top Go down

In progress Re: Re-direct on Click/submit

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

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

Yes, just like that! Smile
kcryss
kcryss
Forumember

Posts : 39
Reputation : 2
Language : English

View user profile https://soapsnlotions.forumotion.net/

Back to top Go down

Back to top


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