vBulletin Modifications

Load php results in vbulletin

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 07-06-2006, 07:47 AM   #1
vB Lover
Join Date: Jul 2005
Real Name: El Loco
Location: Belgium
world32 is on a distinguished road

Default Load php results in vbulletin

I'm currently using iframe src for a result from my .php file I load,
but I want to show that result next to the threadview it shows up lot's bigger than it has to, I tried using width and height, but then still, I have to set it quiet big too let it show up, and then it screws up my tables.

So I was wondering, is there another way?
Thx in advance!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-06-2006, 09:43 AM   #2
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Have you tried simply including it with the include() function?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 10:20 AM   #3
vB Lover
Join Date: Jul 2005
Real Name: El Loco
Location: Belgium
world32 is on a distinguished road

Default

right, I tried but it didn't show up

I think it's because you can't integrate php like that in vbulletin,
I don't know why but it didn't work.

<?php include "http://*.php?*";?>

removed some personal[*] stats

Last edited by world32; 07-06-2006 at 10:30 AM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 01:30 PM   #4
vB Lover
Join Date: Jul 2005
Real Name: El Loco
Location: Belgium
world32 is on a distinguished road

Default

anyone else??




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-2006, 04:11 PM   #5
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Can you attach your php file a sec. Is it an actual vBulletin PHP File that you made or is it not a vbulletin php file but uses normal php parameters?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-10-2006, 06:26 PM   #6
vB Newbie
MThornback's Avatar
Join Date: Nov 2005
MThornback is on a distinguished road

Default

two comments...I dunno wether they'll fix your problem or not....

You must first be a registered member to view any code.
would not be right

You must first be a registered member to view any code.
would be what you need to do (assuming its not a typo for the sake of it :p)

Also, have you tried using the full path to the file? Ie:

/local/home/html/link to your file.php

cause sometimes that fixes include issues




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2006, 02:38 AM   #7
Coder
Idan's Avatar
Join Date: Feb 2005
Real Name: Idan
Location: Israel
Idan is on a distinguished road

Default

note that remote file open with include using php version prior to PHP 4.3.0 won't work:
look @ http://us2.php.net/include/
Quote:
Windows versions of PHP prior to PHP 4.3.0 do not support accessing remote files via this function, even if allow_url_fopen is enabled.
so better check your version to be sure you're not doing all this work on something that isn't working due to version mis-match.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2006, 03:27 AM   #8
Coder
Code Monkey's Avatar
Join Date: May 2006
Code Monkey is on a distinguished road

Default

Quote:
Originally Posted by MThornback
two comments...I dunno wether they'll fix your problem or not....

You must first be a registered member to view any code.
would not be right

You must first be a registered member to view any code.
would be what you need to do (assuming its not a typo for the sake of it :p)
That's not correct. include, include_once, require, and require_once are statements not functions and do not need the () when they are used. So include 'file.php'; is the same as include('file.php');

Last edited by Code Monkey; 07-11-2006 at 03:30 AM..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2006, 10:03 AM   #9
vB Newbie
MThornback's Avatar
Join Date: Nov 2005
MThornback is on a distinguished road

Default

Really? I always got an error the other way....maybe I had just forgotten something else....thanks for correcting me!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2006, 11:52 AM   #10
Coder
Code Monkey's Avatar
Join Date: May 2006
Code Monkey is on a distinguished road

Default

Quote:
Originally Posted by MThornback
Really? I always got an error the other way....maybe I had just forgotten something else....thanks for correcting me!
It's the same as echo echo(). Just another goofy thing with an otherwise outstanding php manual. If you notice in the page on these statements they list the name as statement() with the brackets. However, their examples have none. I think this confuses people and I wish they would change that.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin 3.6 Beta 3 Released Ken Iovino Announcements 9 06-24-2006 06:58 PM
vbulletin v3.0.7 to php?????? roulis General vBulletin Support 1 12-24-2005 01:17 AM
PHP Vulnerabilities in <= 4.3.9 and <= 5.0.2 Junior Announcements 0 05-11-2005 06:19 AM
[JOB OPENINGS] Web, Logo and Banner Designer, vBulletin skiners and PHP Coder needed! rockwilder Off Topic 1 02-21-2005 12:17 AM
vBulletin 3.0.2 Released Ryan Ashbrook Announcements 8 07-06-2004 01:51 PM


All times are GMT -3. The time now is 06:44 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)