News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

View Only Boards

Started by Rudolf, January 31, 2007, 10:45:10 AM

Previous topic - Next topic

searchgr

8: Undefined index: protectedFile

The line 162 is correct. The problem is that the 'protected' is undefined.

I have the mod but is slightly different than yours.

lazylivin

Quote from: searchgr on October 31, 2010, 01:39:37 AM
8: Undefined index: protectedFile

The line 162 is correct. The problem is that the 'protected' is undefined.

I have the mod but is slightly different than yours.

Do you know how I could fix that?

The Domain Shop

Any chance the author of this mod is going to update it for RC4 please?

Hj Ahmad Rasyid Hj Ismail

You can try this one for 2.0 RC4. I only did an update for 2.0 RC4. No update for bug reported by Sharks as I cannot replicate that on my test forum. For 2.0 RC3 and 1.1.x do refer to the previous version as it is not included herein.

GazOutEast

Quote from: ahrasis on November 14, 2010, 09:35:16 AM
You can try this one for 2.0 RC4. I only did an update for 2.0 RC4. No update for bug reported by Sharks as I cannot replicate that on my test forum. For 2.0 RC3 and 1.1.x do refer to the previous version as it is not included herein.

Many thanks for that - just tried it and it worked perfectly with no other mods installed.
I have 20:20 vision - I can see anything bigger than 20" x 20"

Hj Ahmad Rasyid Hj Ismail


RML

#526
Quote from: ahrasis on November 14, 2010, 09:35:16 AM
You can try this one for 2.0 RC4. I only did an update for 2.0 RC4. No update for bug reported by Sharks as I cannot replicate that on my test forum. For 2.0 RC3 and 1.1.x do refer to the previous version as it is not included herein.

I have these errors in the error log:

http://...../board/index.php?

2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

File: ......./board/Sources/Subs-BoardIndex.php
Line: 244

http://...../board/index.php?

8: Undefined index: view_only_boards

File: ...../Root/board/Sources/Subs-BoardIndex.php
Line: 244


These two errors is repeated through lots of pages.

Update
These errors are generated only for admin users, for regular members, mods and global mods are not. I do not understand why. On my RC3 forum it worked fine without these errors.  :-\ Is there a solution for this?

Hj Ahmad Rasyid Hj Ismail

#527
I am looking into it but have no solution as yet. It seems that database changes in RC4 might have caused this. I am also able to replicate the bugs reported by Sharks and am trying to remove that problem too. Whichever resolve first will be posted here.

Hj Ahmad Rasyid Hj Ismail

Quote from: sharks on August 18, 2010, 11:48:05 AM
I am still using SMF 2.0 RC3 with default theme. Here is the error that keeps showing up when my members use the unread feature:

http://forum.org/index.php?action=unread
8: Undefined index: protected
File: /home/user/sharks/Themes/default/Recent.template.php (unread sub template - eval?)
Line: 159
Sharks, (I think) I might have refixed the bug for RC3. (however, I am still finding for solutions for bugs in RC4.) I am attaching the fixed for RC3 (v3) here. Please try and see whether you can reproduced the same bugs. If not, if have been properly removed then. I just need time to understand what RC4 database changes are and how to deal with that changes for this mod.

lazylivin

Sorry, didn't fix the problem for me. Not sure if this helps but it only pops there error if there are unread messages on the forum. If the search returns no unread messages then there is no error.

Hj Ahmad Rasyid Hj Ismail

Can you provide some details lazylivin?

turtleautos

hi i got a error in rc4 to loads of them lol

Apply Filter: Only show the error messages of this URL
http://www.r1-yzf1000.co.uk/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined index: view_only_boards
Apply Filter: Only show the errors from this file
File: /homepages/16/d292974422/htdocs/forum/Sources/Subs-BoardIndex.php
Line: 254

==>254:    

   

   

   

'protected' => in_array($row_board['id_board'],$user_info['view_only_boards']), //- View Only Boards MOD-

if i knew what it meant lol

Hj Ahmad Rasyid Hj Ismail

I don't recommend this mod on RC4. Too much bugs. I only use it on RC3.

searchgr

Quote from: searchgr on May 06, 2009, 03:12:27 AM
And as i said before, this mod should be a part of smf 2.0.

By the way, where is the author? So much busy? Is this an abandoned mod? When the smf team will decide to integrate it?

Arantor

Well, the team aren't going to integrate it for 2.0. I don't know if they have any plans to do so for 2.1 or beyond either.

Mod appears to be abandoned. Author probably has better things to do with his time.

searchgr

If the author does not appear one month after the release of the final version of smf, i will give you this mod by email.

Arantor

I don't need this mod updated, thanks ;)

In any case you can't redistribute someone's work without their permission, and I don't see anywhere it says the mod can be redistributed without asking. It's rude, not to mention infringing their copyright.

searchgr

Of course i will ask the author first.

Hj Ahmad Rasyid Hj Ismail

It has been decided that this mod will not be integrated with SMF. It will stay as a mod. There is another mod similar to this. Look but not read or something. That mod is updated if I'm not mistaken. Do search.

sharks

Quote from: ahrasis on December 24, 2010, 10:42:20 PM
It has been decided that this mod will not be integrated with SMF. It will stay as a mod. There is another mod similar to this. Look but not read or something. That mod is updated if I'm not mistaken. Do search.
phpBB has this feature integrated in its core and it has proven to be extremely popular. That's actually one of the reasons why i would have shifted to phpBB if i didn't find this crucial mod among some others.

Advertisement: