News:

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

Main Menu

View Topic Permissions

Started by SlammedDime, May 12, 2007, 10:22:39 PM

Previous topic - Next topic

SlammedDime

Link to Mod

This mod allows you to specify permissions for boards and usergroups on which topics a user can view.  They can view all, their own, or none.

Version Changes
1.1.0a - Admin wasn't able to search or view unread topics since last visit.
1.1.0 - Updated to prevent viewing of topics through profile search, or forum search, as well as unread topics.
1.0.1 - Updated to use text strings rather than hard coded strings
1.0.0 - Initial Version
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

teamyakuza

5.     Execute Modification     ./Sources/MessageIndex.php     Test failed

i hv this error

SlammedDime

Quote from: teamyakuza on May 13, 2007, 03:22:47 AM
5.     Execute Modification     ./Sources/MessageIndex.php     Test failed

i hv this error
Then you must already have another mod that messes with that particular piece of code.  The question is which though, since there are two changes made in MessageIndex... you'll most likely have to manually install the mod.



On a side note, I've discovered that I forgot to change code in the 'unread posts' screen, as well as the search function.  A user will be able to see these threads, but if they try to access them, they will be denied anyway.  I'll make the changes as soon as my new computer is finished being built.  In the mean time, I don't believe there are any other major bugs or issues.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

shadow82x

Seems cool I will try it! I have been looking for something like this
Colin B
Former Spammer, Customize, & Support Team Member

shadow82x

Execute Modification     ./Sources/MessageIndex.php     Test failed
Colin B
Former Spammer, Customize, & Support Team Member

babjusi

Whereas I got this error message, can u tell me please what I can do in order to fix it, cause I want to install this mod in my forum, thank u


Install Actions
Installations actions for "View Topic Permissions":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
3. Execute Modification ./Sources/ManagePermissions.php Test successful
4. Execute Modification ./Sources/Display.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test failed


SlammedDime

What other mods do both of you have installed?  Can you guys post copies of your MessageIndex.php files inside 'code' tags.

This does install on a vanilla 1.1.2 install, so there must be something else installed that is conflicting.  You guys could manually install this, but I wanna see what other mods are conflicting.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

babjusi

Quote from: Matt @ ARTcom on May 16, 2007, 07:32:38 PM
What other mods do both of you have installed?  Can you guys post copies of your MessageIndex.php files inside 'code' tags.

This does install on a vanilla 1.1.2 install, so there must be something else installed that is conflicting.  You guys could manually install this, but I wanna see what other mods are conflicting.

I have my forum heavily modded, like 36 of them. Which mod could conglicting with your mod? Thank you

SlammedDime

It would be too much of a time consuming process to go through each mod and see what modifies what to determine the conflict, but if you can post a copy of your messageindex.php file inside code tags  [.code] and [./code] (without the period), then I can take a look at it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Ok, try downloading the mod again.  I changed the install file a bit in how it searches for the things that need to be added.  No code was changed or anything, just the search strings.  If it still doesn't work, shout back at me.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

babjusi

Quote from: Matt @ ARTcom on May 16, 2007, 09:21:05 PM
Ok, try downloading the mod again.  I changed the install file a bit in how it searches for the things that need to be added.  No code was changed or anything, just the search strings.  If it still doesn't work, shout back at me.

Thank you. I will try it again, but tomorrow cause I ain''t logged in in my forum right now. I will let you know how things will go.

babjusi

Quote from: Matt @ ARTcom on May 16, 2007, 09:21:05 PM
Ok, try downloading the mod again.  I changed the install file a bit in how it searches for the things that need to be added.  No code was changed or anything, just the search strings.  If it still doesn't work, shout back at me.

Now it installed fine, without a single error. Thank you

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

shadow82x

So will this work with my error?
Colin B
Former Spammer, Customize, & Support Team Member

SlammedDime

Only one way to find out....
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

shadow82x

So how do you set the permissions?
Colin B
Former Spammer, Customize, & Support Team Member

SlammedDime

Just like any other permission in your SMF Admin panel.  You can do it via usergroups, or you can do board specific permissions.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Ok, I've updated this to version 1.1.0... The changes are outlined in the first post.  You will need to uninstall and remove the previous version before installing this.  If you have custom themes, you'll need to manually apply those changes to the themes (I tried doing this so themes weren't involved, but it wasn't possible to do easily).
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

pvisser

Oke. THe mod works perfect. But one thing. Administrator can't Search. You can't set premissions. for the Administrators. group. Please advice how to set premision for Administrator to View all in Premissions.

Greeting Patrick From Holland.. :)
Asavi Reluzz

Advertisement: