Uncaught TypeError: Cannot read property 'left' of undefined

Go down

Solved Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 6th 2018, 7:01 pm

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : All members
Forum link : http://rotavn.forumotion.com/forum

Description of problem

Hello guys

I'm facing two problems but don't really know how to fix by myself, so hopefully someone else can enlighten me or lead me to light side of the Force Very Happy

First one, the main script works perfect meanwhile the merged one (included main script inside) return an error in console.
Link to the main script | Link to the merged one

Second, disalllowing guest to use private message is a good idea. Don't you think your users may send massive pm to spam us by this? I did search around and found nothing.

Though this can by limit certain number post but i'm still not feel safe. So i'm requesting a simple script do check and compare current permission (even a group they belong) of a user before he/she can use it link to private message. In this case, I suggest massive pm is only allow Admin and a/many certain group, not common users.

Condition :
Code:

Should show if : Admin, Super Moderators and Moderators or a certain group.
Hidden if : Guest, common members.
For more information:
Username : Calypso
Password : qaz!@#456
Thank you for reading!

Have a nice day.
avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SLGray on July 6th 2018, 9:08 pm

You can take away the ability to send PM's from certain members from their profiles in the AP.



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

Male Posts : 44476
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 8th 2018, 2:35 pm

Thank you for reminding me, Sir Very Happy

For example I have a forum with 10,000 members and 100 of them are trying to spam massive PMs every single day. I have to manually take away their ability from ACP.
avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 10th 2018, 10:39 am

Have a nice day, guys!


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 13th 2018, 6:22 am

Bump Very Happy


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 15th 2018, 5:07 am

Have a nice weekend, everyone


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SLGray on July 15th 2018, 5:57 am

Is that special characters in the merged one?



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

Male Posts : 44476
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by SarkZKalie on July 16th 2018, 9:54 am

Honestly I don't know, Sir but after I deleted this last one, my browser didn't return any errors of Uncaught TypeError.
Code:
jQuery(document).ready(function($) {
   $('*').click(function() {
      $('body').scrollTo($(this).attr('direction'), 600);
      return false;
   });
});

For the second, I almost forget I did set permission to send private messages in bulk from ACP -> Users & Groups -> Group administration. And yes, Group Moderator and Admin can only use massive PM feature.
So my all problem may consider to be solved now.

Thank you Very Happy
avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 956
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Uncaught TypeError: Cannot read property 'left' of undefined

Post by Draxion on July 16th 2018, 6:42 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2224
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Back to top


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