vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2005, 07:57 PM
jenciso jenciso is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Default Edit button on News module always visible

I just downloaded and installed CMPS V2.0.0 last night (and purchased vBa gallery also ), and everything with CMPS is working fine except for one thing.

I can't get rid of the edit buttons on the News Module on the index page. They don't show up when I'm in my forum. The only fix I came up with is editing the modules/news.php source code, but this disables editing for everyone including myself.
Code:
$show['editbutton'] = false;

	if ((($newsforumperms["$news[forumid]"] & $vbulletin->bf_ugp_forumpermissions['caneditpost']) AND $vbulletin->userinfo['userid'] == $news['userid']) OR can_moderate($news['forumid'], 'caneditposts'))
	{
		$show['editbutton'] = true;
	}
Did I bork my permissions or something?
Reply With Quote
  #2  
Old 11-05-2005, 01:45 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Edit button on News module always visible

Which version of vBulletin are you running? Does the edit button show up for guests and other groups that don't have permission to edit posts?
Reply With Quote
  #3  
Old 11-05-2005, 09:02 PM
jenciso jenciso is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Default Re: Edit button on News module always visible

VB: Version 3.5.0
CMPS v2.0.0 (vB 3.5)

I did a little more digging. When I'm logged in as another user, I don't see the edit button which is fine because one user should not have permission to edit another user's thread (unless they're admins of course).

But, when I'm not logged in, I do see the edit button. When I click the edit button, I then get prompted to log in. Do I need to change my "unregistered users" permissions or something?
Reply With Quote
  #4  
Old 11-06-2005, 01:19 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Edit button on News module always visible

Strange... Yes, double check your unregistered usergroup and make sure they don't have permissions to edit threads.
Reply With Quote
Reply


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
vBa CMPS edit news threads in news options SNW Troubleshooting & Problems 4 11-03-2005 05:27 PM
Custom Field visible/edit to specific group only libertate "How Do I..." Questions 1 07-04-2005 11:16 AM
Edit button removal? jrcart Bugs From 2.0 RC1 13 06-29-2005 09:51 PM
Lost Edit button :( Merjawy Bugs & Other Issues 5 07-09-2004 07:50 PM


All times are GMT -4. The time now is 02:38 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.