Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Problem with the Like System



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
  • Description:
Well, I think the code that I have missing parts because the problem is as follows:




  • Information:
Forum:http://musicinstant.host-es.com/forumVersion:PUNBB
Type:Errors in codeTags:Problem,System

Powered by PunBB
Currently 0 users have thanked Srz for this post:

2
Offline

  Michael_vx

avatar
Punbb Junior
Punbb Junior
hello
you mind the code you are using or the link to provided code so i can see what i can do
i also with the help of Ange we made this
http://help.forumotion.com/t132064-almost-there-the-new-likesystem-for-phpbb2

Powered by PunBB
Currently 0 users have thanked Michael_vx for this post:

3
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Oh brother, this code so I spend a Friend, which is not the original, is that the code is missing some things but not much about javascript. Might you help me solve this problem?

Powered by PunBB
Currently 0 users have thanked Srz for this post:

4
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Hello @Srz,
Which parts are missing? Do you want to change the like button's position?

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

5
Offline

  Shadow

avatar
Administrator
Administrator
@Dark-Avenger the problem is because he's getting an [ic]NaN[/ic] error instead of like numbers.

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

6
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Probably he hasn't the field for like in his JavaScript or the field is not on his profiles. @Srz can you post your JavaScript which you are using for the like? Which name is for your like field?

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

7
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Dark my code is the next

Code:
var bestskins_like={dom_ready:false,vote_singular:'Like!',vote_plural:'Likes!',callback:function(vote,btn){$('.postfoot',vote.parentNode.parentNode.parentNode.parentNode).before(btn)}};$(function(){bestskins_like.dom_ready=true});$.getScript('https://music-databas.googlecode.com/svn/trunk/js/LIKEIPB.js');

Powered by PunBB
Currently 0 users have thanked Srz for this post:

8
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Try to change the profile field name Likes to Likes! your javascript makes a call to external javascript.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

9
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Already Renames Like to Like! But it did not work and the problem still persists NaN

Powered by PunBB
Currently 0 users have thanked Srz for this post:

10
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
No, have you change the word Likes to Likes! in the name of profile field from your ACP? As I check it wright now it still said Likes without the exclamation mark http://prntscr.com/5pq35v

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

11
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Rename the field as you said and remove the "!" Js , but still remains the problem.

Powered by PunBB
Currently 0 users have thanked Srz for this post:

12
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
Hello,
Have you try to contact to the author of the javascript? Because it make calls to external server and calls an external javascript.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

13
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Dark Hello , The problem is that this code what happened to me a partner, so who is not the author, however , to start the javascript says

bestskins , so I guess it was the ESA community to think so ...

Is there Any Way to Solve the Problem? or is necessary to contact BestSkins

Powered by PunBB
Currently 0 users have thanked Srz for this post:

14
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
I think you must contact them if you want to use the javascript maybe can help you if they owned/writen the code.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

15
Offline

  Van-Helsing

avatar
★Moderator★
★Moderator★
I think you must contact them if you want to use the javascript maybe can help you if they owned/writen the code.

Powered by PunBB
Currently 0 users have thanked Van-Helsing for this post:

16
Offline

  Srz

avatar
Punbb Rookie
Punbb Rookie
Bro, just decided it's time to change the theme that I have on my forum , so I start again with my project.

You can close the topic , thank you very much .

You're a great web master

Powered by PunBB
Currently 0 users have thanked Srz for this post:

17
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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