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.

almost there the new likesystem for phpbb2

View previous topic View next topic Go down

Solved almost there the new likesystem for phpbb2

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

we all read about
http://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
Forumember

Male Posts : 655
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 on 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
Forumember

Male Posts : 655
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 on 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.


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx on 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
Forumember

Male Posts : 655
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 on April 8th 2014, 2:22 pm

for bump
thanks

Michael_vx
Forumember

Male Posts : 655
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 on 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.


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx on 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

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
Forumember

Male Posts : 655
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 on April 9th 2014, 9:31 am

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

Should suffice.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: almost there the new likesystem for phpbb2

Post by Michael_vx on 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

you super cool Ange
and i like your style
Solved now we have full like system for all boards

Michael_vx
Forumember

Male Posts : 655
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 on April 9th 2014, 11:23 am

You're welcome :rose:

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.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