Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 May 2010, 17:19
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Function works in Forum but undefined in CMS

I am using a customization to pull the title of the latest entry in an external blog. See http://www.vbulletin.org/forum/showthread.php?t=234254 for details

This works fine and generates no errors in the Forum.

However, I've now enabled the CMS and when I do that and try to leave a comment I get this error:


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

I assume this means something is not declared properly for the CMS.

The function in question is called in a plugin using the postbit_display_start hook:


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

What do I need to add/change to get CMS to "see" and process this?

(Reposted from http://www.vbulletin.com/forum/showt...defined-in-CMS as Lynne suggested)

--------------- Added 02 May 2010 at 17:58 ---------------

I've discovered that I can avoid error messages if I use the global_start hook instead of the postbit_display_start hook and add a line like this:


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

However, I'm not sure this is an efficient way to do this.

--------------- Added 03 May 2010 at 03:38 ---------------

Added: No. That disables the errors on the home page of the CMS but as soon as you click through to one of the articles there are errors again.

Last edited by djbaxter; 03 May 2010 at 03:38. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



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

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 22:52.

Layout Options | Width: Wide Color: