|
Display Latest Threads Respecting Permissions?
|
|
12-14-2011, 10:26 PM
(This post was last modified: 12-14-2011 10:28 PM by rossco.)
Post: #1
|
|||
|
|||
|
Display Latest Threads Respecting Permissions?
Hello,
I'm trying to display the latest 10 threads on the home page of my site which is running on a CMS. I have tried using MyBBIntegrator but for some reason it does not work that well. I signed up to phpdave but like many, he appears to not bother activating people's accounts. I have several boards that I do not wish to be public but at the same time I would like threads in these boards to be visible to a user who has permissions to view them. I already am using the latest posts plugin on the forum which works well but how to either use this plugin or MyBBIntegrator to display permission based posts? I have already integrated the forum/cms login system using MyBBIntegrator and it works well but I can't seem to get permission based threads to appear. Has anyone got some experience with this at all? I did try getLatestActiveThreads but it doesn't seem to work how it should and without being able to post on phpdave then I'm kinda stuck. Is it possible to run plugins out with the forum using the global.php? If anyone can give me an idea that would be great. |
|||
|
12-15-2011, 08:14 AM
Post: #2
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
OFF TOPIC :
may be you have to hire a coder unless an expert comes forward to volunteer to help with the code ... |
|||
|
12-15-2011, 02:23 PM
Post: #3
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
I can code this myself as I'm a developer... I just wondered if there's a quick solution that is already available to overcome the same issues I have with the permissions.
Thanks |
|||
|
12-15-2011, 02:36 PM
Post: #4
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
What I do in my webpage, plain php, is include_once a copy of the portal.php, edited to use only the necessary code to show the latests threads box without trowing errors.
Support PM's will be ignored. Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread My Profile |
|||
|
12-15-2011, 03:12 PM
Post: #5
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
^ oh ! that appears to be a smart method
no need of hard coding ..
|
|||
|
12-16-2011, 10:31 PM
Post: #6
|
|||
|
|||
RE: Display Latest Threads Respecting Permissions?
(12-15-2011 02:36 PM)Omar G. Wrote: What I do in my webpage, plain php, is include_once a copy of the portal.php, edited to use only the necessary code to show the latests threads box without trowing errors. Hi Omar, thanks for the reply. I have had a look at the portal.php file and tried to find how this is actually included on my site. My forum is in /bb directory and I changed the $forumdir to "./bb"; and the $change_dir to "./bb"; but I get `$forumdir is invalid!`. Any idea? Thanks! |
|||
|
12-16-2011, 11:52 PM
Post: #7
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
Then forumdir is invalid.
I use this at the beggining of my file: PHP Code: $forumdir = './foros';My forum is located here: htdocs+ -file.php --foros Support PM's will be ignored. Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread My Profile |
|||
|
12-18-2011, 05:20 AM
Post: #8
|
|||
|
|||
|
RE: Display Latest Threads Respecting Permissions?
@ Omar G.
Do you speak Arabic ? if you speak arabic , please view this topic ( http://community.mybb.com/thread-109973.html ) & help me منحة معهد تكنولوجيا المعلومات 100 % مجانا
ITIEg.com --> Home | Forum Information Technology Institute |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help





no need of hard coding ..