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.

almost there the new likesystem for phpbb2

3 posters

Go down

Solved almost there the new likesystem for phpbb2

Post by Michael_vx April 4th 2014, 8:15 pm

we all read about
https://help.forumotion.com/t108561-a-new-like-dislike-system-phpbb3-and-invision
and most know there is only code for phpbb3 and invision but if you own punbb
just change the part
Code:
var like_version = 'invision';
to
Code:
var like_version = 'punbb';
and the still wont work for phpbb2
i find out the main code is on that link
http://www.avacweb.net/like
so i toke a copy of it and make in
http://micsoft.xp3.biz/like
you will see i made little change
first
Code:
var like_version = 'phpbb2';
and in the link script
$('.lglike', vote.parentNode).html( total_button ) : null;
to
$('.postbody div', vote.parentNode).html( total_button ) : null;
it worked but the problem is the like take over the post like this one
http://micsoft-test.allgoo.net/t1-your-first-subject
if any one have idea to try please do it
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx April 5th 2014, 8:13 am

i guess i`m not good in explain things
is there any one have tried to some thing like that before
because i think we can do something good
we might be able to make work for phpbb2
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by SLGray April 5th 2014, 10:28 am

I believe that information you saw deals with the like system on Avacweb which is not available now.  The founder who created the code said that the code will not work because of an external server issue.

If you had read the whole page, you would have notice this:

Use of this script is allowed only through reference (via src, or HTTP Request) of avacweb.net/like URL.


almost there the new likesystem for phpbb2 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 : 51576
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx April 5th 2014, 2:05 pm

SLGray wrote:I believe that information you saw deals with the like system on Avacweb which is not available now.  The founder who created the code said that the code will not work because of an external server issue.

If you had read the whole page, you would have notice this:

Use of this script is allowed only through reference (via src, or HTTP Request) of avacweb.net/like URL.
will i dont think i understand every thing
but the Script via http://micsoft.xp3.biz/like is works as i see
the only problem still on phpbb2 i still can not make work good
right now its take over the posts as you see in the test forum
i tried tr.post and te.post .postbody they didnt work also signtrue didn`t work
i wander about the rest of places of the topic tools i could use to add the like system in phpbb2 i hope ange try find some tips that could be used
 Idea
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx April 8th 2014, 2:22 pm

for bump
thanks
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by SLGray April 9th 2014, 5:16 am

LGForum wrote:Use of this script is allowed only through reference (via src, or HTTP Request) of avacweb.net/like URL.
This means that it is the system used by Avacweb. I used it on one of my forums before there was an issue with the external server. LGForum said that he has not have time to fix it.


almost there the new likesystem for phpbb2 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 : 51576
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx April 9th 2014, 8:42 am

SLGray wrote:
LGForum wrote:Use of this script is allowed only through reference (via src, or HTTP Request) of avacweb.net/like URL.
This means that it is the system used by Avacweb.  I used it on one of my forums before there was an issue with the external server.  LGForum said that he has not have time to fix it.
and I believe in my own way if they wont fix it why dont we try better
and i have good news for all the 1st time i tried to edit i was have problem that the like System was take over the topic and hide what in topic or replay
now i made to make topic or replay not be hiding but still repeats like this
almost there the new likesystem for phpbb2 Image
now the only thing left to me is how to make it never repeat and be once peer topic and reply i still need tips
 Hello
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Ange Tuteur April 9th 2014, 9:31 am

Writing :
Code:
$('.vote', vote.parentNode).next().after( total_button ) : null;

Should suffice.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx April 9th 2014, 9:45 am

Ange Tuteur wrote:Writing :
Code:
$('.vote', vote.parentNode).next().after( total_button ) : null;

Should suffice.
now we are talking about it
 Laughing
solved
almost there the new likesystem for phpbb2 Image
you super cool Ange
and i like your style
Solved now we have full like system for all boards
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Ange Tuteur April 9th 2014, 11:23 am

You're welcome :rose:

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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