The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Removing the refresh on the like button

View previous topic View next topic Go down

Solved Removing the refresh on the like button

Post by APE on March 18th 2013, 4:19 am

Hi all i have sort of been gave a code to speed the refresh page up when you post to remove the info page when you make a post or thread.

Now i would like to remove the page info from the like button like here on FM
I don't want any refresh at all if i can help it

Can some one help me out Wink

Thanks so much for any help gave Wink

Ape


Last edited by APE on March 21st 2013, 12:21 am; edited 1 time in total

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by Sir Chivas™ on March 18th 2013, 4:25 am




Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 18th 2013, 5:01 am

Sir Chivas™ wrote:Hey Buddy,

I think that it'll work the same way as the voting cast..
http://help.forumotion.com/t120586-remove-change-your-vote-has-been-cast-page-phpbb2?highlight=remove+your+vote+has+cast
No them codes are no good for me as I'm not using [phpBB2] I'm on phpBB3 (prosilver) forums

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by SLGray on March 18th 2013, 5:04 am



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


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 18th 2013, 5:08 am

i had that one way back but i had problems with it SLGray i spoke to LG about it on he's forum thats why i moved back to the one like on FM i liked it better.
Don't get me wrong i love all the work LG is doing but just found it to mess up on my forum on the 2nd and 3rd page and some times did not work how i liked.

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by SLGray on March 18th 2013, 5:13 am

Ok. The code that is used on the support forum can not be given out.


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


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 18th 2013, 5:24 am

@SLGray wrote:Ok. The code that is used on the support forum can not be given out.
Sad oh well i will see if any one has the same thing please keep this thread open
Thanks anyway Sad

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by SLGray on March 18th 2013, 5:26 am

It will be left open until you say it is solved.


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


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 18th 2013, 5:28 am

Thank you Wink




APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by LGforum on March 18th 2013, 10:52 am

Im on my phone so this may not work but try this:
Code:
$(function() {
    $('.vote a').click(function(e) {
        e.preventDefault();
        $.get(this.href, function() { window.location.refresh(); });
    });
});

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by Macca_96 on March 18th 2013, 11:00 am

To the OP. Are you referring to the page that returns for a few seconds after a post is submitted? Then returns to the thread? I would also like to do away with that.

While in the subject of refreshing, how can I make it not refresh when we click on back in the browser, so it will just go back a page without refreshing?

Macca_96
Forumember

Posts : 232
Reputation : 0
Language : English

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 18th 2013, 11:20 pm

@LGforum wrote:Im on my phone so this may not work but try this:
Code:
$(function() {
    $('.vote a').click(function(e) {
        e.preventDefault();
        $.get(this.href, function() { window.location.refresh(); });
    });
});
Hi lg buddy No that code did not work Sad i know you have no internet right now so thats cool
@ Macca_96 yes this will remove that information screen well just stop it from coming up but the code my buddy LG has not worked but im sure he will get it to work in time Wink

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by zenzo on March 18th 2013, 11:34 pm

use dion thank system

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 19th 2013, 1:55 am

@zenzo wrote:use dion thank system
I am using it but it's not removing the page refresh and now i don't have he's link to the old forum where the codes are,

Ape

all i need is the code to remove the info page the rest of the thanks system works fine

APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by zenzo on March 19th 2013, 2:46 am

@APE wrote:
@zenzo wrote:use dion thank system
I am using it but it's not removing the page refresh and now i don't have he's link to the old forum where the codes are,

Ape

all i need is the code to remove the info page the rest of the thanks system works fine

so you want thank system like avacweb thanks

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 20th 2013, 1:41 am

No i had that one.

I have the one a little like the one on this forum but i just want the code it's self that stops the refresh page coming up when you make a thanks and like ..like on here on the support forum.....Sad if i wanted LG's one i would have asked for it ..sorry if that sounds rude its not meant that way i know the links to all them sites and the link here for that system Thank you i want the one i have now just need one simple code that lots of sites use right now
And thats the refresh page removed or blanked out ..

Ape




APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by zenzo on March 20th 2013, 4:31 am

"your vote has been cast" this one you want to remove?

Code:
if (/&p_vote=\d+/.test(window.location)) history.back()

try this one

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 20th 2013, 5:27 am

That sort of works but it gives me a white screen for about 3 sec's Sad




APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by LGforum on March 20th 2013, 9:46 pm

I assumed you were using the default system. The code I provided should remove the page for the default vote system. There is no code that can be given to remove that page then. The only way to remove it would be to make the necessary edits to the existing code you're using.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by zenzo on March 20th 2013, 11:59 pm

@APE wrote:That sort of works but it gives me a white screen for about 3 sec's Sad

you were referring a vbulletin thank system,. cause it does not refreshing
think it can like LGForum thanks system,. that code i give can help but need a little improvement,.

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by APE on March 21st 2013, 12:20 am

it's ok i have sorted it thanks Wink




APE
Manager
Manager

Male Posts : 8618
Reputation : 752
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Removing the refresh on the like button

Post by SLGray on March 21st 2013, 12:44 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36673
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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