The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Fatal error: Call to a member function on a non-object
I have a query that used to work before I installed 3.5 Now I get this error message whenever I load the page
Quote:
PHP Code:
Also I would like to get it so the links are formatted like this Code:
<a href="javascript:widget.openURL('http://www.xblteams.com/forums/showthread.php?t=put thread id here')"></a> PHP Code:
Thanks in advance. |
#2
|
||||
|
||||
Quote:
And you should use query_read/query_write instead of just query depending if you are reading from or writing to the database. PHP Code:
The htmlspecialchars_uni() is necesarry, otherwise you create an XSS vulnerbilitie. |
#3
|
|||
|
|||
Hmmm that fixed the error and appears to be formatting the link correctly. What I am trying to do is create a widget for mac os 10.4 so far the only way I have found to get a widget to open up a link in safari is javascript:widget.openURL
From what I can tell the php file is doing it's job perfectly. Here's an example of a link that it's pumping out. Code:
<a href="javascript:widget.openURL('http://www.xblteams.com/forums/showthread.php?t=4257')">Call of Duty screenshots</a> Code:
<a href="javascript:widget.openURL('http://www.xblteams.com/')">Xblteams.com</a> here's the body of the widget Code:
<body background="Default.png"> <table cellpadding="20"> <tr><td> <IFRAME SRC="http://www.xblteams.com/widget.php" WIDTH=180 HEIGHT=240> </IFRAME> </td></tr></table> </body> Code:
<a href="javascript:widget.openURL('http://www.xblteams.com/')">Xblteams.com</a> Is there a better way to load the links in? widgets support javascript, and html. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|