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.

Uncaught TypeError: Cannot read property 'left' of undefined

3 posters

Go down

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

Post by SarkZKalie 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.
PunBB - Uncaught TypeError: Cannot read property 'left' of undefined U0BxOHH
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.

PunBB - Uncaught TypeError: Cannot read property 'left' of undefined QGHnl9K
Condition :
Code:

Should show if : Admin, Super Moderators and Moderators or a certain group.
Hidden if : Guest, common members.
For more information:
Thank you for reading!

Have a nice day.
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

Post by SLGray 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.


PunBB - Uncaught TypeError: Cannot read property 'left' of undefined 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

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

Post by SarkZKalie 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.
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

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

Have a nice day, guys!


PunBB - Uncaught TypeError: Cannot read property 'left' of undefined Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

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

Bump Very Happy


PunBB - Uncaught TypeError: Cannot read property 'left' of undefined Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

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

Have a nice weekend, everyone


PunBB - Uncaught TypeError: Cannot read property 'left' of undefined Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

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

Is that special characters in the merged one?


PunBB - Uncaught TypeError: Cannot read property 'left' of undefined 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 : 51463
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

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

Post by SarkZKalie 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.
PunBB - Uncaught TypeError: Cannot read property 'left' of undefined Untitl10
So my all problem may consider to be solved now.

Thank you Very Happy
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1407
Reputation : 218
Language : English

https://rotavn.forumotion.com/

Back to top Go down

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

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

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

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Back to top


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