View Full Version : Members, Posts & Threads on a non-vb page
Black Vivi
04-28-2003, 10:00 PM
Flup was originally going to make this, but then he asked me to (he was getting parse errors)
I know this works on 2.2.8+, as I have tested it on both.
The file WILL probably need editing, and you will have to read the file.
Don't forget to click install ;):D
Screenshot in next post.
Black Vivi
04-29-2003, 03:45 PM
Screenshot:
This hack can be done in several different ways, but I think this is a long winded way of doing it, the way I'd do it is in your non-vb dir, create a config.php, and just simply connect to your forum's DB. Then in your file you want to include the data, require config.php, and then run the 3 queries.
Nice hack nonetheless, as it gets the job done :), everyone has their own way of doing this.
Thx for releasing this Black Vivi :)
* flup hits install
Logik
04-29-2003, 09:16 PM
Pretty nice hack..Useful :)
sounds graet :)
can i add it to html file ?
Black Vivi
04-30-2003, 02:44 PM
no, it wud have to be php
Well, msu.
You could just design your page with html.
after that rename to .php
After that, on top of your page typ this:
<?php include("mpt.php"); ?>
and in the table or where ever your want the latests stuff typ:
<?php echo($mpt); ?>
And black vivi >>> Update u'r sig ;)
Black Vivi
04-30-2003, 07:52 PM
o yea...
lol
Yesterday at 07:47 PM flup said this in Post #8 (https://vborg.vbsupport.ru/showthread.php?postid=389413#post389413)
Well, msu.
You could just design your page with html.
after that rename to .php
ty for replay but i dont want to use renamed .php file !
i just want to aDD this include to index.html :ermm:
sorry for bothering but i will be glad if u helped me :paranoid:
Highlander
05-01-2003, 07:32 AM
rename your file in index.php so it is the same like index.htm(l) ..
ffevo
05-03-2003, 01:35 AM
Yea..Thats What Im thinking about doing..Looks Interesnting..:-D
Black Vivi
05-03-2003, 04:47 AM
05-01-03 at 02:38 AM msu said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=389745#post389745)
ty for replay but i dont want to use renamed .php file !
i just want to aDD this include to index.html :ermm:
sorry for bothering but i will be glad if u helped me :paranoid:
you could try using this:
<script language="php">
include("mpt.php");
</script>
then where you want it to appear:
<script language="php">
echo($mpt);
</script>
dunno if it'll work...
and i don't see why u cant use it in index.php
msimplay
05-06-2003, 09:42 PM
i am getting this error
Fatal error: Call to a member function on a non-object in /home/wambam/public_html/mpt.php on line 56
Vbulletin 2.30
msimplay
05-07-2003, 12:06 AM
ok sorted
gtithesexy
06-04-2003, 05:53 PM
I'm getting too :(
what's the problem?
vb 2.30
CardMSG
08-28-2003, 03:21 PM
I worked just fine when I set it up, now I'm getting the same "Fatal error: Call to a member function on a non-object" message.
It's only been about 10 minutes since it last worked and I haven't changed anything...
Any ideas? Is it 2.3x causing the prob?
GTA3_Mafia
03-16-2004, 04:21 AM
getting the same problem.
mikeycuk
04-06-2004, 12:37 AM
I had the same problem and changed the
\************************** End Instal **************************/
/**************************** Config ****************************/
$bburl = "forum"; no slash to whatever your forum url is
/************************** End Config **************************/
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.