vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 07-09-2004, 02:05 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Question How do I make the new page visible to ALL members?

Hi

I downloaded the CMPS hack yesterday and I was wondering if someone could help me please. At the moment, my board is set so only registered members can view it. Unregistered/Not Logged in cannot view anything apart from the sign in/register page.

What I'd like to be able to do is to have the new page visible to everyone regardless if they're a member or not but I don't want them to be able to "read more" until they've joined the board and I don't know how to do this.

I've be grateful for any help you can give me?

Thanks,

Joy
  #2  
Old 07-09-2004, 02:14 AM
Jason McConnell's Avatar
Jason McConnell Jason McConnell is offline
Senior Member
 
Join Date: Jun 2004
Location: Syracuse, NY
Posts: 170
Default Re: How do I make the new page visible to ALL members?

I don't know.. I just tried replicating the forum permissions that get displayed on the front page and then logging out to see what happens, but I got a database error message :\
  #3  
Old 07-09-2004, 09:41 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Thanks for your help Jason and I hope someone can shed some light on this for me soon
  #4  
Old 07-09-2004, 09:44 AM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: How do I make the new page visible to ALL members?

if you are talking about your VB being visible to visitors and unregistered people, you have to change the forum permissions in admincp
  #5  
Old 07-09-2004, 10:01 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Hi

The page I have is the same as this one http://www.vbadvanced.com/? and I would like it so anyone that clicks on the link to my board see's my homepage. I also don't want them to be able to "read more" until they've joined the board.

Any help would be appreciated
  #6  
Old 07-09-2004, 11:42 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

Please see this thread.
  #7  
Old 07-09-2004, 12:21 PM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Hi Brian,

Thanks for your reply Unfortunately, when I add this code my "homepage" comes up with a mySQL error


---------------------------------------------
Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT

thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid, iconpath AS threadiconpath



FROM thread as thread
LEFT JOIN icon USING (iconid)


LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')

WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN(1,46,47,67,58,50,20,7,27,39,9,5,10,11,12,30,21,4,28,22,23,70,24,42,44,26,40,4 3,68) Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array AND deletionlog.primaryid IS NULL
ORDER BY lastpost

mysql error number: 1064
-------------------------------------------

Is the line 'adv_index' referring to a script of that name? I can't see any files called 'adv_index' on my server anywhere.
  #8  
Old 07-09-2004, 12:53 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

I still need to figure out exactly how that's happening as you're the second person now to report that. Here's a simple fix though...

Open your forum/modules/latesttopics.php file and look for:
PHP Code:
        if ($inforums)
        {
            
$inforums 'AND thread.forumid IN (' $inforums ')';
        } 
Replace that with:

PHP Code:
        if ($inforums)
        {
            
$inforums 'AND thread.forumid IN (' $inforums ')';
        }
        else
        {
            
$inforums '';
        } 
And that should fix the problem.
  #9  
Old 07-09-2004, 02:13 PM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Hi Brian,

Thanks very much, that has made a big difference...non-logged in people can now see the home page

My only problem now is the content. While they can see my statistics, "news" threads, calendar etc; the Latest Forum Topics show nothing. There is a title there, but the threads aren't showing underneath. Logged in members can see everything. Any ideas on what could be causing this?

Thanks very much
  #10  
Old 07-09-2004, 02:34 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

That's because that user does not have permission to view any threads on your forum... You could always disable this module for guests though.
  #11  
Old 07-09-2004, 08:15 PM
Merjawy Merjawy is offline
Member
 
Join Date: Apr 2004
Posts: 80
Default Re: How do I make the new page visible to ALL members?

When I first installed CMPS I had a news forum thats not visiable to anyone but admin..
but the news will show in CMPS

what happend is that guests see the news blocks and the contents in them.. but when they click Read More or click on the attachment (link) they get faced with my forum's permission and they have to log in

if I remember correctly the way I had was noone can post/reply in the news forum other than Admin.. and the forum is accesable but guests can't view threads

I hope that give you an idea how things would work in forum vs CMPS


PS:guest won't see the actual attachments, but the see a link to it
  #12  
Old 07-10-2004, 01:02 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Thanks to both of you for your help and advice, it's much apprecciated
  #13  
Old 06-11-2005, 06:04 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Hi

I have posted recently in this thread ( http://www.vbadvanced.com/forum/showthread.php?t=8405 ) saying that I can not get CMPS v 2 to work correctly at my "test forum". I have just tried downloading CMPS v 2 at my "main forum" ( http://www.jeromeflynn.co.uk/vb/forums.php ) and I have the same problem now as I did when I first downloaded CMPS v 1. (see my above posts)

Brian kindly gave me a fix for this (see Brian's post above) but the fix does not work this time round. At the moment, my board is set so only registered members can view posts etc. Unregistered/Not Logged members can only view the homepage as I don't want them to be able to "read more" until they've joined the board, which is how it was before I downloaded CMPS v 2.

Any help would be much appreciated
  #14  
Old 06-11-2005, 12:14 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

So you've tried the code posted in this thread?
http://www.vbadvanced.com/forum/show...9&postcount=10
  #15  
Old 06-11-2005, 06:46 PM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Yes Brian, but there wasn't any change.
  #16  
Old 06-18-2005, 02:48 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

I'd be very grateful for any help you can give me on this as I'd like to use CMPS v2.0 on my main site if possible
  #17  
Old 06-18-2005, 01:58 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

As far as I know there's not any reason you should still be getting the no permissions page if you've applied that hack and made sure that all usergroups have permission to view that page.
  #18  
Old 06-19-2005, 09:20 AM
JoyB JoyB is offline
Member
 
Join Date: Jul 2004
Location: UK
Posts: 52
Default Re: How do I make the new page visible to ALL members?

Brian, I would just like to thank you for your help and patience while sorting this problem out, it's very much appreciated

I have now solved the problem and it was something simple afterall and I want to post it here incase anyone else is using CMPS v1.0 and has it set so "Guests" can ONLY view the Portal and NOT the main forum.

The Usergroup settings > Can View Forum > have always been set to "No" when I was using v 1.0 so after checking all the forum permission settings and the quick permissions editor everything seemed as it should be. I then changed > Usergroup settings > Can View Forum > to "Yes" and it works perfectly. I didn't enable this to begin with because it was never enabled when I was using v 1.0 but it works now and I'm very pleased.

Thanks again Brian for your help
  #19  
Old 06-19-2005, 10:19 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: How do I make the new page visible to ALL members?

Glad you got everything worked out.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[2.3.x] vb powerd page ashly Chit Chat 8 02-28-2005 02:57 PM


All times are GMT -4. The time now is 07:33 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.