Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Dec 2009, 14:41
odonel odonel is offline
 
Join Date: Sep 2006
PHP widget limitations

anybody used the php widget? What can or can't we put in it? I tried it with my own php code and got some eval error....I thought we could basically put any code and it would work
Reply With Quote
  #2  
Old 13 Dec 2009, 15:08
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I've played with it a little. Without seeing your error, I can't tell you what you did wrong. I can tell you that you don't need the php tags around the code, you don't want to use echo or print (put the output into $output), and you will need to make $vbulletin global if you use it (like in a query).
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
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 11:27.

Layout Options | Width: Wide Color: