Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Restore working vbCMS Comments on vB 4.0.4
fogjuice
Join Date: May 2009
Posts: 56

Toronto, Canada
by fogjuice fogjuice is offline 19 Jun 2010
Rating: (2 votes - 5.00 average)

Many of you may have realized that with the release of vBulletin 4.0.4, vbCMS Comments has been disabled and will give permission errors to everyone that tries to view the vbCMS comments page. I have created a fix for this until vbulletin creates an on/off switch.

You only need to do this if you are using vBulletin 4.0.4.

This is based off of what Mystics suggested at vbulletin.com.

How to fix (install):

Step 1:
Comment out line 317 to 320 in showthread.php.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Step 2:

Open forumdisplay.php, scroll down to line 138.

Replace the following

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finished!

You will have to do this if you upgrade your forum again or when ever you replace the showthread.php and forumdisplay.php files. Hopefully next release vbulletin team creates an on/off switch for this.

Last edited by fogjuice; 19 Jun 2010 at 23:20..
Views: 2813
Reply With Quote
Comments
  #2  
Old 19 Jun 2010, 22:20
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Thanks and this does work! Wouldn't this fit better in the articles or template mod edits?
Reply With Quote
  #3  
Old 19 Jun 2010, 22:36
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Moved to vb4 articles.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 19 Jun 2010, 23:21
fogjuice fogjuice is offline
 
Join Date: May 2009
Thanks for putting it in the correct section.
__________________
Atheist Discussion Forum - http://atheistdiscussion.com. A friendly forum for atheists, humanists, and secularists to meet and chat with one another. Now using vB 4.0.4.
Reply With Quote
  #5  
Old 20 Jun 2010, 01:26
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Good thing is I have a built in editor on my cpanel so it was easy to get to where I needed. This edit will make those folks happy. I know mine are.
Reply With Quote
  #6  
Old 20 Jun 2010, 20:38
sulasno sulasno is offline
 
Join Date: Feb 2010
where are

showthread.php and forumdisplay.php

located ?

should I edit the files before uploading them for the upgrade ?
Reply With Quote
  #7  
Old 20 Jun 2010, 20:50
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
They're in the root folder of the download package (zip file).

You can do the upgrade first and then edit the two files and re-upload them - this will avoid any version checks done by the installer.
Reply With Quote
  #8  
Old 20 Jun 2010, 20:52
fogjuice fogjuice is offline
 
Join Date: May 2009
Originally Posted by sulasno View Post
where are

showthread.php and forumdisplay.php

located ?

should I edit the files before uploading them for the upgrade ?
You can probably edit them before you upload htem for the upgrade, however, I did it after I upgraded. I just used adobe dreamweaver to edit the files live but you can just use notepad and edit the files then replace the old showthread.php and forumdisplay.php files.
__________________
Atheist Discussion Forum - http://atheistdiscussion.com. A friendly forum for atheists, humanists, and secularists to meet and chat with one another. Now using vB 4.0.4.
Reply With Quote
  #9  
Old 16 Jul 2010, 10:08
thisgeek thisgeek is offline
 
Join Date: Dec 2005
This is STILL broken in 4.0.5.
Reply With Quote
  #10  
Old 16 Jul 2010, 10:14
sulasno sulasno is offline
 
Join Date: Feb 2010
did you do a comparison of the upgraded and the existing files ?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:48.

Layout Options | Width: Wide Color: