vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=238945

bananalive 03 Mar 2015 21:58

Quote:

Originally Posted by MistViper (Post 2538769)
I get this error when someone invites another person to join their team. If the person clicks on the link in their inbox this error appears. Any suggestions?

This only seems to cause an issue in Lite version, but this should hopefully fix it:

Edit teams.php

Find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


squidsk 04 Mar 2015 16:47

That's a bandaid fix and doesn't really address the underlying problem. I would guess that the it really means there's an error in the link being generated in the PM. Fix the link and you don't need to change any code.

Fields 14 Mar 2015 16:26

When I reject a challenge, my opponent doesn't get a notification, shouldn't he get a PM?

bananalive 19 Mar 2015 14:05

Quote:

Originally Posted by Fields (Post 2540418)
When I reject a challenge, my opponent doesn't get a notification, shouldn't he get a PM?

vBulletin Options -> Ladder/League Settings -> PM after player is challenged -> Yes

Fields 19 Mar 2015 15:09

Quote:

Originally Posted by bananalive (Post 2540896)
vBulletin Options -> Ladder/League Settings -> PM after player is challenged -> Yes

Unfortunately, this option is already set to Yes :(

bananalive 29 Mar 2015 17:31

Quote:

Originally Posted by Fields (Post 2540901)
Unfortunately, this option is already set to Yes :(

Apologises, I misread your message. If you reject a challenge, then your opponent won't receive a PM.

Fields 30 Mar 2015 16:41

Quote:

Originally Posted by bananalive (Post 2541836)
Apologises, I misread your message. If you reject a challenge, then your opponent won't receive a PM.

Too bad, is it possible to set it up? :)

squidsk 16 Apr 2015 22:31

A bug in your code that prevents access to the member profile pages.

In the file includes/functions_tal.php you have the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If the tournament mod isn't active then memberinfo.php is not accessible to non-admins. The code should be changed by having the second if statement nested inside the first, so the tournament mod active check only executes on tournament mod specific pages.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This way if you are on a tournament specific page and the tournament mod is disabled you won't be able to access it unless you are an admin. This also makes sure that the member profile page (since includes/functions_tal.php is included in the User Profile Tab (member_complete hook) plugin is accessible even if the tournament mod is inactive.

killerford 19 Apr 2015 19:02

It's not letting me add the files onto our server, any reason why?

Colossal31 04 May 2015 01:40

Ok I got these messages:

Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112

I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated

EasyEazy 04 May 2015 09:36

Quote:

Originally Posted by Colossal31 (Post 2544791)
Ok I got these messages:

Strict Standards: Only variables should be assigned by reference in /public_html/forums/teams.php on line 88
Strict Standards: Only variables should be assigned by reference in /public_html/forums/tournaments.php on line 112

I am aware of the php 5.4/5.5 changes and already have these hidden with the aforementioned hiding code in the inlcude/config.php file. However these errors are still showing any help will be appreciated

Not sure on the second error but the first one is fixed by this:

Try changing line 88 in /teams.php

$actiontemplates['none'] =& array_merge($actiontemplates['teams'], $actiontemplates['viewteam']);

To

$actiontemplates['none'] = array_merge($actiontemplates['teams'], $actiontemplates['viewteam']);

iraqiboy90 04 May 2015 22:44

"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.

Plugin disabled until this is fixed....

squidsk 06 May 2015 22:08

Quote:

Originally Posted by iraqiboy90 (Post 2544886)
"Can view Tournaments" option on the usergroup, if set to "No" will lock the usergroup out from accessing any member.php (member profile) page including theirs.

Plugin disabled until this is fixed....

You can try the fix I posted a few posts above yours (http://www.vbulletin.org/forum/showp...postcount=2243) and see if that solves your problem for you.

iJosh 11 Jun 2015 08:59

Hello,

Can anyone help me?

When ever I view a tournament I get the following error:

Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/functions_tal.php on line 1168

php ver: 5.59

any help?

squidsk 15 Jun 2015 17:04

Quote:

Originally Posted by iJosh (Post 2547579)
Hello,

Can anyone help me?

When ever I view a tournament I get the following error:

Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/functions_tal.php on line 1168

php ver: 5.59

any help?

Change line 1168 as follows:

Original:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

New Version:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 13:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.