Advertisement:

Author Topic: View Only Boards  (Read 231234 times)

Offline searchgr

  • Sophist Member
  • *****
  • Posts: 1,247
Re: View Only Boards
« Reply #520 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.

Offline lazylivin

  • Semi-Newbie
  • *
  • Posts: 73
Re: View Only Boards
« Reply #521 on: November 07, 2010, 10:55:58 PM »
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?

Offline The Domain Shop

  • Jr. Member
  • **
  • Posts: 368
  • Gender: Male
    • thedomaindotshop on Facebook
    • The Domain Shop
Re: View Only Boards
« Reply #522 on: November 09, 2010, 05:53:24 PM »
Any chance the author of this mod is going to update it for RC4 please?

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #523 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.

Offline GazOutEast

  • Jr. Member
  • **
  • Posts: 309
  • Gender: Male
  • If it's fixed - I can break it
Re: View Only Boards
« Reply #524 on: November 22, 2010, 06:41:53 PM »
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"

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #525 on: November 23, 2010, 07:51:57 AM »
Glad it works for you.

Offline RML

  • Semi-Newbie
  • *
  • Posts: 77
Re: View Only Boards
« Reply #526 on: November 26, 2010, 12:34:33 PM »
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:

Code: [Select]
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?
« Last Edit: November 26, 2010, 02:01:07 PM by RML »

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #527 on: November 26, 2010, 03:05:08 PM »
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.
« Last Edit: November 26, 2010, 03:14:55 PM by ahrasis »

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #528 on: November 26, 2010, 03:13:58 PM »
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.

Offline lazylivin

  • Semi-Newbie
  • *
  • Posts: 73
Re: View Only Boards
« Reply #529 on: December 13, 2010, 12:26:07 AM »
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.

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #530 on: December 13, 2010, 06:20:18 AM »
Can you provide some details lazylivin?

Offline turtleautos

  • Semi-Newbie
  • *
  • Posts: 46
Re: View Only Boards
« Reply #531 on: December 20, 2010, 02:06:47 PM »
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

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #532 on: December 23, 2010, 02:37:40 PM »
I don't recommend this mod on RC4. Too much bugs. I only use it on RC3.

Offline searchgr

  • Sophist Member
  • *****
  • Posts: 1,247
Re: View Only Boards
« Reply #533 on: December 23, 2010, 03:17:08 PM »
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?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View Only Boards
« Reply #534 on: December 23, 2010, 06:27:22 PM »
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline searchgr

  • Sophist Member
  • *****
  • Posts: 1,247
Re: View Only Boards
« Reply #535 on: December 23, 2010, 06:35:24 PM »
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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: View Only Boards
« Reply #536 on: December 23, 2010, 06:39:44 PM »
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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline searchgr

  • Sophist Member
  • *****
  • Posts: 1,247
Re: View Only Boards
« Reply #537 on: December 23, 2010, 06:44:21 PM »
Of course i will ask the author first.

Offline Hj Ahmad Rasyid Hj Ismail

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: View Only Boards
« Reply #538 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.

Offline sharks

  • Sr. Member
  • ****
  • Posts: 891
  • Gender: Male
  • There's always a way.
Re: View Only Boards
« Reply #539 on: December 25, 2010, 03:06:55 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.
SMF 2.0 Theme Color Editor
http://www.colorizeit.com/browse/24/smf-20-themes.html

SMF Package Parser to view all edits made by any modification package:
http://resourcez.biz/PackageParser/

Firefox is the best browser for SMF!
http://www.mozilla.com/en-US/firefox/fx/