[RC2] phpBB Ajax Like

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
lexicondevil
Registered User
Posts: 13
Joined: Sun Apr 14, 2013 3:02 pm

Re: [RC2] phpBB Ajax Like

Post by lexicondevil » Fri Apr 19, 2013 7:50 pm

removed,installed all manually again over blank default prosilver templates & not working at all now.
will display like text in post,previous likes,likes in profile,likes received but still no functionality with
still the same '#' issue ?

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] phpBB Ajax Like

Post by emosbat » Sat Apr 20, 2013 7:44 am

I see no jQuery Pack for phpBB code in theme. apply it.

lexicondevil
Registered User
Posts: 13
Joined: Sun Apr 14, 2013 3:02 pm

Re: [RC2] phpBB Ajax Like

Post by lexicondevil » Sat Apr 20, 2013 10:21 am

seems to be working correctly after i re-installed jquery

2 small questions:
1.is it possible to make the 'like' button right justified in the post view?
2.can it be placed above the signature line?

User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] phpBB Ajax Like

Post by emosbat » Sat Apr 20, 2013 10:49 am

you can change text align in `theme/ajaxlike.css` and change place of likes in `viewtopic_body.html` to show somewhere else. (need a little html/css knowledge or could get help from a designer to do it for you).

lexicondevil
Registered User
Posts: 13
Joined: Sun Apr 14, 2013 3:02 pm

Re: [RC2] phpBB Ajax Like

Post by lexicondevil » Sat Apr 20, 2013 4:25 pm

thanks for the tip
i deleted the background changed font colour,recoloured the images & aligned it right suits the dark theme fine as it is now.

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Thu Apr 25, 2013 9:11 pm

i love this function but after i install it something was missing:
the link of number of new likes received is not display (should display next to the 'view your posts')
i still can like or unlike post, everything else works fine
Image
help needed :?:

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] phpBB Ajax Like

Post by Jessica » Thu Apr 25, 2013 11:18 pm

You're probably missing an edit
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Fri Apr 26, 2013 1:34 am

Jessica wrote:You're probably missing an edit
Which file should I looking for since all other functions working fine(I have re-do more than 5 times)

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC2] phpBB Ajax Like

Post by Jessica » Fri Apr 26, 2013 1:42 am

overall_header.html
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Fri Apr 26, 2013 7:40 am

Jessica wrote:overall_header.html
no i don't think so. i checked again the overall_header.html it is exact changed as required

any other possibility??? :?:

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Sat Apr 27, 2013 7:37 pm

Code: Select all

                    <!-- Ajax like notification -->
                    <!-- IF AJAXLIKE_ENABLE -->
                    &bull;
					<a href="#" onclick="ajaxlike_liked_listbox('{AJAXLIKE_NOTIFY_CALLBACK}'); return false;"><span id="ajaxlike_not_new"><strong>{AL_NEW_LIKE}</strong>{L_AL_LIKE_NEW}</span></a>
					<!-- ENDIF -->
                    <!-- Ajax like notification -->
if i take off

Code: Select all

<!-- IF AJAXLIKE_ENABLE -->
it will show 'new like(s) received'
so it means the ajaxlike is not enabled.
how to enable it???
why in the post the like function is working fine but not in the header??

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC2] phpBB Ajax Like

Post by MrC » Sat Apr 27, 2013 7:57 pm

The place to enable it is in ACP under the .MODS tab

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Sat Apr 27, 2013 8:32 pm

i knew but i saw it has already been enabled.
you can see the pic that everything works fine in the post(i can like and unlike) but in the header its not enabled.
what could possible go wrong?? i have it worked before and i add the advertisment function and 'solve' function then it disappeared(only in header not body).
i try to make it back but i can't find a way even i re-install it on the local network and just use the jquery and ajax like function, it still missing the header part enable.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [RC2] phpBB Ajax Like

Post by MrC » Sat Apr 27, 2013 9:08 pm

Undo the changes in overall_header of the mods installed after Ajax like one by one. See if you van find conficting code.

spike_woo
Registered User
Posts: 18
Joined: Thu Apr 25, 2013 9:05 pm

Re: [RC2] phpBB Ajax Like

Post by spike_woo » Sat Apr 27, 2013 9:29 pm

can you please post the overall_header.html code so i can compare mine to see what's the extra?
i really don't think its the code in overall_header.html as i have installed a new phpbb and just installed the ajax-like function ALONE and still not showing hearder 'xxx like(s) received" as the header ajax-like is not enabled. and i checked the ACP ajax mod then found everything is fine.

really confused what should i do to fix it though its nothing wrong i still can 'like' or 'unlike' a post but missing the notification part

Locked

Return to “[3.0.x] MODs in Development”