View Full Version : vBExternal v1.6
EDFMedia
14 Mar 2006, 06:58
Is there a way to display one of the user profile fields with the newest_members.html? I have an extra field I added (field 5) that is required and I would like to show it on my non vb page using vbexternal in the newest_members
Thanks in advance
hellekim
14 Mar 2006, 20:44
I must be doing something wrong, but I don't know what so I hope you can help me out. I'm trying to get great a file called newest.php which is located in the root of my forum folder. The newest.php looks like this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I also tried it And when I try to call it, it gives me this:
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
The idea is that I can call newest.php from a page which is located in external page.
Is there a way to display one of the user profile fields with the newest_members.html? I have an extra field I added (field 5) that is required and I would like to show it on my non vb page using vbexternal in the newest_members
Thanks in advance
Exactly what I'm trying to do... Thanks in advance...
hitmanuk2k
17 Mar 2006, 11:09
Anyone else not able to get BB code working on News?
blacklancer
17 Mar 2006, 19:32
I am gettin the following error:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
what am i doing wrong??? :confused:
BaBa2002
18 Mar 2006, 16:09
hi can i get it work for the calendar events
djjeffa
18 Mar 2006, 20:43
is there anyway for me to add this to a difrent website i run?
i have 2 domain names and i want to ad stuff to the other domain.
Webs007
22 Mar 2006, 16:19
Is this compatible with 3.5.4 ?:banana:
I commented out
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Like I was instructed, and added the Master and Slave port calls, but I got a NEW error
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Any ideas on how I might resolve this ( hopfuly my last ) error with this script. I moved from 3.0.7 to 3.5.4 and this scripts been a huge pain lol, but its the perfect one!
Wow..somehow, while I was working on the script half of it was eaten...possibly an error caused by my laptops faulting onboard mouse...anyhow..redownloaded the FULL script, modded it, and now it works perfectly!
Is this compatible with 3.5.4 ?:banana:
Yes it is, i'm running 3.5.4 and it works fine.
Webs007
23 Mar 2006, 10:34
Can you tell me the mods to get it to work please? I followed the instructions and I get this error.
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
The database is fine, so i'm unsure....
I undertsnad this is a modified version of VbExternal for 3.0.7 - but on both mod pages - the zip file is called 1.6.zip ?? I'm certain i'm downloading the wrong version, but i'm getting it from this thread..? Who knows.... how do I get the version that works with 3.5.4 ?
Any assistance - as little as it may be may be a big help to me.
cheers
Webs:banana:
Webs007
23 Mar 2006, 11:13
Ok.....
I'v got it now to work! WAhoooooo !!:banana: "Banana Dance"
This may not be a bit complicated - but someone super smart may know this...
How would i make it show the thread itself i.e the text (news story) - and have it truncated (cut off) after 200 words?
So we would have:
Title
Story (only show 200 words)
Posted by
Can anyone help me out here?
Webs
djpassion
24 Mar 2006, 09:09
I tried using it on my homepage but got the error
Warning: chdir(): No such file or directory (errno 2) in /home/fhlinux190/c/christopher-powell.co.uk/user/htdocs/index.php on line 2
Warning: main(./home/fhlinux190/c/christopher-powell.co.uk/user/htdocs/forum/vBExternal.php): failed to open stream: No such file or directory in /home/fhlinux190/c/christopher-powell.co.uk/user/htdocs/index.php on line 3
Fatal error: main(): Failed opening required './home/fhlinux190/c/christopher-powell.co.uk/user/htdocs/forum/vBExternal.php' (include_path='.:/usr/share/pear') in /home/fhlinux190/c/christopher-powell.co.uk/user/htdocs/index.php on line 3
Ive gone through this whole thread, is there something i missed? their uploaded?? im using 3.5.4 :confused:
Webs007
24 Mar 2006, 15:44
This works well if the external file - is on the same server as the forum...
What if I wanted to pull the news onto another website - not located on the vb server?
i.e i have www.vbinstallion.org/forum/ and I actually want to pull the headlines so they appear on www.news-site.org ? (these forums are examples not my actual fsites) - how does this work with vBExternal? - is it even possible?
Webs
I've got this to work via many mods and changes posted throughout the 18pages. So good work team! keep it up!
I've got a new sugesstion though. Is is posible to have forum stats? Such as 'total posts, total members, total threads' Maybe in the following format?
Total Threads :: 1638
Total Posts :: 35643
Total Members :: 647
Newest Member :: Ashbeard
Any luck?
boduzapho
26 Mar 2006, 18:15
running vb 3.5.4
Installed ok..
following error message:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in C:\xxxxxxxxxxx\forum\vBExternal.php on line 67
Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='.;c:\php4\pear') in C:\xxxxxxxxxx\forum\vBExternal.php on line 67
--------------------------------------------------------------------
it seems the file '/includes/db_mysql.php' is not even in the install of vb 3.5.4 , any suggestions?
**** Note was informed by Jel this hack needs to be upgraded for use with 3.5.4
running vb 3.5.4
Installed ok..
following error message:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in C:\xxxxxxxxxxx\forum\vBExternal.php on line 67
Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='.;c:\php4\pear') in C:\xxxxxxxxxx\forum\vBExternal.php on line 67
--------------------------------------------------------------------
it seems the file '/includes/db_mysql.php' is not even in the install of vb 3.5.4 , any suggestions?
**** Note was informed by Jel this hack needs to be upgraded for use with 3.5.4
I'm running 3.5.4 and it's fine! Also it vbexternal doesn't even requrie this! Either you've modded it or I would try re-downoading.
boduzapho
26 Mar 2006, 22:26
I'm running 3.5.4 and it's fine! Also it vbexternal doesn't even requrie this! Either you've modded it or I would try re-downoading.
really? Ok can you point me to the appropiate Download link?
In the download in this thread the vbexternal.php file containes this:
----------------------------------------------------------------------------------------
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBExternal v1.6 By Zero Tolerance [http://gzevolution.net] ||
|| # This file may not be redistributed, copied in whole or part ||
|| # without written permission. ||
|| # Copyright (C) 2005 Inferno Technologies. ||
|| #################################################################### ||
\*======================================================================*/
// ---------------------------------------------------
// Start Set PHP Environment
// ---------------------------------------------------
error_reporting(E_ALL & ~E_NOTICE);
// ---------------------------------------------------
// End Set PHP Environment
// ---------------------------------------------------
// ---------------------------------------------------
// Start Define Important Constants
// ---------------------------------------------------
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'vBExternal');
// ---------------------------------------------------
// End Define Important Constants
// ---------------------------------------------------
// ---------------------------------------------------
// Start Cache Of Any Needed Templates/Phrase's
// ---------------------------------------------------
$phrasegroups = array();
$specialtemplates = array(
'options',
);
$actiontemplates = array();
$globaltemplates = array();
// ---------------------------------------------------
// End Cache Of Any Needed Templates/Phrase's
// ---------------------------------------------------
// ---------------------------------------------------
// Start Call DB & Establish Connection
// ---------------------------------------------------
if(!file_exists('./includes/config.php')){
echo "includes/config.php does not exist. Cannot continue.";
exit;
}
require('./includes/config.php');
define('TABLE_PREFIX', $tableprefix);
define('COOKIE_PREFIX', (empty($cookieprefix)) ? 'bb' : $cookieprefix);
define('DEBUG', 0);
define('DB_EXPLAIN', false);
define('DB_QUERIES', false);
require_once('./includes/db_mysql.php'); <----------- there it is...
----------------------------------------------------------------------------------------
So maybe i need another download link?
Re-download that I think was 3.0 I just downloaded from this thread and it does not contain that I would try CTRL-F5
boduzapho
26 Mar 2006, 23:03
Re-download that I think was 3.0
I did, that was from the link on this page...
do you know another link?
I just updated my post try it if it doesn't work I'll PM you the code I have.
boduzapho
26 Mar 2006, 23:39
I just updated my post try it if it doesn't work I'll PM you the code I have.
Ok i got it to work sort of, found the new code, installed on a FRESH copy of VB 3.5.4, now seeing this:
------------------------------------------------------------------------
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
------------------------------------------------------------------------
weird... it is a fresh clean install, weird..
boduzapho
27 Mar 2006, 22:49
Ok i got it to work sort of, found the new code, installed on a FRESH copy of VB 3.5.4, now seeing this:
------------------------------------------------------------------------
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
------------------------------------------------------------------------
weird... it is a fresh clean install, weird..
Ok its working, sort of...
<?php
chdir('./forums');
require_once('./vBExternal.php');
?>
<fieldset>
<legend>News Article: <a href='{url}/showthread.php?t={threadid}'>{threadname}</a></legend>
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
<tr>
<td width='100%'>{post}</td>
</tr>
<tr>
<td width='100%' style='white-space:nowrap'><span style='float:right'>[Comments: {comments}]</span>
<b>Posted By:</b> <a href='{url}/member.php?u={postuserid}'>{postusername}</a></td>
</tr>
</table>
</fieldset>
this is the page I am using, but it is not producing any data....
The site is running off of an active forum, there are users, new posts ect...
any suggestions?
boduzapho
27 Mar 2006, 23:55
Never mind, re did the hack in ASP, works good for me
djpassion
28 Mar 2006, 00:05
Ok its working, sort of...
this is the page I am using, but it is not producing any data....
all I get is this
http://63.209.191.131/info.php
The site is running off of an active forum, there are users, new posts ect...
any suggestions?
Firstly create a blank php file and copy this into it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
name this path.php, upload it to your webservers root and point your browser at it and this will tell you your servers path.
Now enter that path into chdir and require once also naming the location of your servers root and forum folder
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
this needs the full path
enter this inbetween
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
the other code you have there has to be in a external .html file within your vbexternal folder
also make sure your vbexternal folder is the same lettercase as your path eg. if its vbexternal name your path that otherwise if its vBexternal (note the capital B, name it like that)
hope that helps :)
blacklancer
01 Apr 2006, 00:32
ok...i finally got rid of errors, but now, nothing is showing up. my normal html is showing up fine, but none of the php info. i'm completly lost right now.........
i attached my index.php, and my website is www.sclc.net.
someone please help!! http://www.sclc.net/forum/images/smilies/lol.gif http://www.sclc.net/forum/images/smilies/lol.gif
Paul_Hollibone
02 Apr 2006, 08:38
Question.
I am running a site which uses vb 3.5.4, and it is also using this script as a login script.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Which also uses this.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Now I have tried many times to implement a few of these enhancments onto my website, however I am greeted with the Vbulletin DB error page. Any help?
Sean James
07 Apr 2006, 13:55
i have tried almost everything and for some reason i cant get a stylesheet to work with this, internal or external.
Charmedfan
08 Apr 2006, 17:33
Is there any solution to show HTML on the external page?
djjeffa
08 Apr 2006, 19:26
still wonderin if anyone got this to work on a diffrent domain?
is there anyway to make the news output keep stickied threads at the top of the output?
C.Birch
17 Apr 2006, 22:20
this no longer works with 3.5.4:
just get a page that says:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and when you view its code it as:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
C.Birch
17 Apr 2006, 22:33
ok i fixed it, needed to add:
$config['MasterServer']['port'],
under
$config['MasterServer']['servername'],
in the vBExternal.php file
Can anyone explain to me how I can get this to work with 3.5.4? I want to display newest replies underneath my navbar.
I put this underneath my $navbar in forumhome after uploading all the files but it didn't do anything at all. What am I doing wrong?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Can someone explain how i can get this to work with the external login deluxe system?
<?php
chdir("./forums");
require_once('./vBExternal.php');
require('./global.php');
chdir("../");
there seems to be problems when index.php requires both files. im sure someone must know
?>
Dave-ahfb
24 Apr 2006, 04:00
Can someone explain how i can get this to work with the external login deluxe system?
<?php
chdir("./forums");
require_once('./vBExternal.php');
require('./global.php');
chdir("../");
there seems to be problems when index.php requires both files. im sure someone must know
?>
I cannot for the life of me figure this out.
its got my head done right in!
Zachery
24 Apr 2006, 18:57
Can someone explain how i can get this to work with the external login deluxe system?
<?php
chdir("./forums");
require_once('./vBExternal.php');
require('./global.php');
chdir("../");
there seems to be problems when index.php requires both files. im sure someone must know
?>
What happens when you require both? I mean errors, nothing? what?
What happens when you require both? I mean errors, nothing? what?
Fatal error: Cannot redeclare runerror() in /home/donkedne/public_html/forums/vBExternal.php on line 169
thats the error i have, i have also attached my index page
Zachery
24 Apr 2006, 19:22
Look and see if and where runerror is declared.
heres the vBExternal.php file, i dont know what to look for, im not good with pohp you see
Zachery
24 Apr 2006, 19:39
Try reversing the include, not sure if that will help.
tried that and get a totally different error
Fatal error: Cannot instantiate non-existent class: vb_registry in /home/donkedne/public_html/forums/vBExternal.php on line 66
chrisjp88
24 Apr 2006, 20:29
Useful hack, but I've got a big problem. It isn't showing stuff with QUOTE tags. I would like to know how to fix this please :)
Thanks
Spinball
27 Apr 2006, 20:58
Couple of pre-install questions to those guys on this thread (since Zero Tolerance hasn't been around for 3 months). First, I need to display the contents of one specific thread (via the thread id) as an 'include' type function on a different website on the same server. And possibly on a different website on a different server.
Will vBexternal do this? If not is there a hack which can?
The reason I ask is because I want to integrate my forum into a new website (or two) and use it for discussing specific reviews. So those specific threads are displayed on a page below the review.
And secondly since Zero Tolerance isn't around any more, is it 'safe' to install this hack if it, indeed is appropriate for my needs?
Thanks
SupremeWeapon
30 Apr 2006, 05:51
There seems to have been a problem with the database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
I get that anytime i add the includes and chdir to the php pages.
I get that anytime i add the includes and chdir to the php pages.
same problem :(
Dave-ahfb
02 May 2006, 22:26
I am going to take another look at the include issue tonight, I will let you all know if I come up with anything. I did manage to solve the issue of date and time on threads and replies incase there is any interest.
Dave
Dave-ahfb
04 May 2006, 18:48
I had a couple of things I wanted to try so that global.php would include properly, none of my ideas worked.
In regards to date and time
find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
find
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This obviously is for the new thread section. For newest replies it looks (but untested) like the first edit is the same and the second just add the date and time lines to the correct section.
Dave
Dave-ahfb
04 May 2006, 19:08
I forgot to add that you must open the template and include
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
GamerJunk.net
06 May 2006, 21:42
Is there any way to have this pull code that displays random profiles or possibly random profile fields?
What I want to do is have it pull one profile field, and it be random for whatever user has it filled out.
skip870
14 May 2006, 10:01
vbexternal problems:
hi! i've installed this mod but it don't work well.. this is my problem:
after i've followed the instrution file (the install.txt and usage.txt) appear:
Warning: chdir(): No such file or directory (errno 2) in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 2
Warning: main(./vBExternal.php): failed to open stream: No such file or directory in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 3
Fatal error: main(): Failed opening required './vBExternal.php' (include_path='./:/usr/local/web/php/lib/pear') in /home/mhd-01/www.nomesito.com/htdocs/sito/test.php on line 3
i've upped in my space all files, changed the php code ./formus with ./vb and after i put this code in the really top of my indexpage.
after that i've used once of the code present in the file usage.txt:
(# Displaying Top Posters )
Codice PHP:
<?php
output_TopPosters(5);
?>
but it dont work....
after i try to connect to the page vBExternal.php: http://www.nomesito.com/vb/vBExternal.php
and appear this:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in /home/mhd-01/www.nomesito.com/htdocs/vb/vBExternal.php on line 67
Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='./:/usr/local/web/php/lib/pear') in /home/mhd-01/www.nomesito.com/htdocs/vb/vBExternal.php on line 67
and this is the screen of the files structure on my space:
root:
http://img160.imageshack.us/img160/1462/screen18ti.th.jpg (http://img160.imageshack.us/my.php?image=screen18ti.jpg)
./vb:
http://img80.imageshack.us/img80/6339/screen4jn.th.jpg (http://img80.imageshack.us/my.php?image=screen4jn.jpg)
the file VBexternal.php is on the bottom of the page.
.vb/VBexternal:
http://img160.imageshack.us/img160/9865/screen38du.th.jpg (http://img160.imageshack.us/my.php?image=screen38du.jpg)
someone can help me?
Is there a way to display the logged-in user, os show a login form when there's no one logged in?
Grtz,
Hidjra
Whats the actual source code needed to put the info on your hompeage
cant get it to work what do i need to do?
heres my code and it just doesnt work what am i doing wrong
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
on this all iget is
http://www.globalvibez.com/test.html
code is
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
upnorth
23 May 2006, 18:54
For Newest Threads the default pulls from all forums if left blank. Is there a easy way to pull from all forums accept for select ones.
i.e. I want all Newest Threads from all forums accept for number 1 and 5
Any ideas on how to make this happen?
djpassion
24 May 2006, 01:22
on this all iget is
http://www.globalvibez.com/test.html
code is
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
You need to put in your forums path in the
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
section
create a blank php file and enter this into it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
name it path.php and upload it to the root of your server
now browse to your path.php file in your web broswer and you will see your servers path, this is what needs to be entered into that section eg:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Some servers can be case sentive so make sure the file name on the server is in exactly the same lettercase as the code above. also your page needs to have the .php extension, not .html :)
another way is to create a blank php for it - save the file with any name eg: vbexternal_script.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and then insert this into your webpage
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
:)
djpassion
24 May 2006, 01:27
vbexternal problems:
hi! i've installed this mod but it don't work well.. this is my problem:
after i've followed the instrution file (the install.txt and usage.txt) appear:
i've upped in my space all files, changed the php code ./formus with ./vb and after i put this code in the really top of my indexpage.
after that i've used once of the code present in the file usage.txt:
(# Displaying Top Posters )
Codice PHP:
<?php
output_TopPosters(5);
?>
but it dont work....
after i try to connect to the page vBExternal.php: http://www.nomesito.com/vb/vBExternal.php
and appear this:
and this is the screen of the files structure on my space:
root:
http://img160.imageshack.us/img160/1462/screen18ti.th.jpg (http://img160.imageshack.us/my.php?image=screen18ti.jpg)
./vb:
http://img80.imageshack.us/img80/6339/screen4jn.th.jpg (http://img80.imageshack.us/my.php?image=screen4jn.jpg)
the file VBexternal.php is on the bottom of the page.
.vb/VBexternal:
http://img160.imageshack.us/img160/9865/screen38du.th.jpg (http://img160.imageshack.us/my.php?image=screen38du.jpg)
someone can help me?
check your servers path is correct in the method i explained in my last post :)
For Newest Threads the default pulls from all forums if left blank. Is there a easy way to pull from all forums accept for select ones.
i.e. I want all Newest Threads from all forums accept for number 1 and 5
Any ideas on how to make this happen?
Try this (http://www.vbulletin.org/forum/showpost.php?p=756742&postcount=28).
http://www.vbulletin.org/forum/showthread.php?t=116546
see this please
You need to put in your forums path in the
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
section
create a blank php file and enter this into it
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
name it path.php and upload it to the root of your server
now browse to your path.php file in your web broswer and you will see your servers path, this is what needs to be entered into that section eg:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Some servers can be case sentive so make sure the file name on the server is in exactly the same lettercase as the code above. also your page needs to have the .php extension, not .html :)
another way is to create a blank php for it - save the file with any name eg: vbexternal_script.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and then insert this into your webpage
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
:)
i get DB error from link abuv
I'm getting the same error:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This is the code of my file:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
So what's wrong?
smoke@inicom.ne
06 Jun 2006, 17:48
Does anyone had make this work with 3.54? is it any updates???
damn I really need this hack... anything similiar? for displaying latest members, threads, online users etc?
C.Birch
08 Jun 2006, 18:42
got a error when running on 3.6
any ideas?
Fatal error: Call to undefined function: query_read_slave() in /home/forumls/public_html/includes/class_bbcode.php on line 198
smoke@inicom.ne
08 Jun 2006, 18:54
got a error when running on 3.6
any ideas?
Fatal error: Call to undefined function: query_read_slave() in /home/forumls/public_html/includes/class_bbcode.php on line 198
was it working on 3.54? if so, can you post what you did or your fixed release?
C.Birch
08 Jun 2006, 19:29
it was working on 3.5.4 for me and i did not have to edit anything, i only got a prob when updating to 3.6
Jesus05uk
08 Jun 2006, 19:54
I'm getting a database error.
http://www.gmodcentral.com/gmod/index2.php
I even tried adding
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
smoke@inicom.ne
08 Jun 2006, 22:34
Ok, i where able to make it work, however, the problem is pretty strange.
Whenever I try to use the script from withing a PHP function it fails....
example.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
That does not work and it returns
Fatal error: Call to a member function query() on a non-object in F:\Webz Inicom\Web iniCom\forum\vBExternal.php on line 392
if i run it from a non function, ie on a root of a file it just work fine
anyone can explain why or if there is any workaround?
C.Birch
09 Jun 2006, 14:12
I dont think its designed to work within other php code
C.Birch
09 Jun 2006, 19:42
Temp Fix for using with vb 3.6 beta1
In vBExternal.php
Find:
require_once('./includes/class_bbcode.php');
Replace with:
require_once('./includes/class_bbcode2.php');
Next you need to get the file class_bbcode.php from the vb3.5.4 and rename it class_bbcode2.php and then upload to includes folder.
Basicy it just makes this hack read the old bbcode file so that it works.
If on 3.5.4 you get a database error that gives you no idea what the problem is check this
Search for:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
You just need the port added and it should work or I should say it worked for me.
I recently made a modification so you can run multiple forums off of one user table (http://www.vbulletin.org/forum/showthread.php?t=118473). I have now modified the code for vBExternal so that I can have a site that shows recent posts from each site. You can check it out here (http://www.everythingnetwork.com). The site is still kind of rough and I am still working on getting everything the way I want it but you get the idea.
ElliottB
21 Jun 2006, 08:08
Is there any chance for news grabbing attachments and having them at the end?
aceofspades
30 Jun 2006, 20:12
can you tell me how to show how many members AND guests there are only. So far i have got the members online working but it would also be nice to show the number of guests.
something like :
Users online: 5
Members: James, Bob
Guests: 3
I made a file called portal.php in my public_html folder which I'm gonna use to set it up and then put it as my main page. I did everything it said on installation instructions and I copied all of the usage instructions codes onto the page with lots of gaps between them
I must have done something wrong, because I get this message when I go on www.lolage.co.uk/portal.php:
Database error
The database has encountered a problem.
--------------------------------------------------------------------------------
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.lolage.co.uk home page, then try to open another page.
Click the Back button to try another link.
The www.lolage.co.uk forum technical staff have been notified of the error, though you may contact them if the problem persists.
We apologise for any inconvenience.
I have no clue about php, so could someone help me?
Thanks :)
Tannerman
03 Jul 2006, 18:47
I was wondering if anyone has been successful in pulling information from MORE THAN ONE forum when using the News include. The instructions state:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Just curious if anyone has been able to modify vBExternal so that more than 1 forum ID can be included here.
If on 3.5.4 you get a database error that gives you no idea what the problem is check this
Search for:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Replace with:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
You just need the port added and it should work or I should say it worked for me.
Thanks a lot! that solved my database error :banana:
firstly, thanks e2s for noticing the fix :)
I was wondering if anyone has been successful in pulling information from MORE THAN ONE forum when using the News include. The instructions state:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Just curious if anyone has been able to modify vBExternal so that more than 1 forum ID can be included here.
use the show threads option... it's the same thing however just able to do what you want which is pulling the newest 5 items from the array of forum ids
output_NewestThreads(X,"ID1,ID2,ID3,...");
X = number of items
IDx = the forum ids to which you want showing up :)
NeilFawcett
14 Jul 2006, 13:09
This is a VERY useful plugin. I'm particularly interested in the NEWS feature.
However, I've noticed if the threads have quotes (or code) defined in them, this text does make it out to the NEWS.
Ie: If you post a thread and within it do a quote of some text. When this thread is displayed as a news article, all the text is displayed apart from the quote :(
Any clues?
Tannerman
14 Jul 2006, 16:31
Use the show threads option... it's the same thing however just able to do what you want which is pulling the newest 5 items from the array of forum ids
output_NewestThreads(X,"ID1,ID2,ID3,...");
X = number of items
IDx = the forum ids to which you want showing up :)Thanks for the suggestion. I'd like to pull data from multiple forums like this, however I'd also like to have the entire post show (like the "News" option), rather than just the thread title (which the "Newest Threads") option uses.
Any suggestion on how to jimmyrig this to pull that off? :)
lightwave
14 Jul 2006, 18:00
what code do i ened to do if the file is in a different subdomain?
ZombieAndy
14 Jul 2006, 20:49
i know this has been asked several times and not answered, but it really is quite a problem. quotes, img's and codes dont work. does anyone know how to fix this?
A17roolz
16 Jul 2006, 11:51
With the correct modifications, this works a treat! Though I'm having trouble with emoticons not appearing...
EDIT: Nevermind, I found that I could get them working by changing the path of the smilies via the ACP from images/smilies/smiley.gif to http://www.domainname.com/bbs/images/smilies/smiley.gif
A17roolz
16 Jul 2006, 23:02
Sorry to double post, but does anyone know how to restrict the maximum number of characters in the title to 33? If it can leave a trailing ... that'd be a bonus.
chrisjp88
17 Jul 2006, 01:00
This is a VERY useful plugin. I'm particularly interested in the NEWS feature.
However, I've noticed if the threads have quotes (or code) defined in them, this text does make it out to the NEWS.
Ie: If you post a thread and within it do a quote of some text. When this thread is displayed as a news article, all the text is displayed apart from the quote :(
Any clues?
I need the fix for this too if anybody knows.
NeilFawcett
17 Jul 2006, 13:17
I need the fix for this too if anybody knows.
So it's not just me then :)
Anyone please? Seems a bit of a problem that you can't put use QUOTE or CODE in any article to be published as news :(
What confuses me is the text in these tags seemingly doesn't even come out of the PHP script in any shape or form? It's just missing... Is it being lost on the way out of the SQL request? I suspect not... So where is it being lost :(
euangel
23 Jul 2006, 09:02
This mod is exactly what I need, but it's not working correctly for me. :( I'm trying to show the newest replies in the sidebar of a wordpress blog -- a php template. Unfortunately, I'm getting this error:
Fatal error: Call to a member function query() on a non-object in C:\Domains\broncosfreak.com\wwwroot\forum\vBExternal.php on line 347
Any ideas?
HappyPike
24 Jul 2006, 04:32
Yes, this still works in 3.5.4.
By the way, a really, really nice additional module for this mod would plop a POLL on any external page (similar to the vBAdvanced poll module). Doable?
That would be wonderful!
HappyPike
24 Jul 2006, 07:04
Just found a problem... For some reason it doesn't parse vB codes:
I have a custom vB code for IMG tag with align option and it couldn't parse it in the news post.
image url
:(
On the forum the tag works fine.
It also doesn't include stuff inside the [quote] tag.
Is there a fix for this?
chrisjp88
25 Jul 2006, 18:01
BTW. The maker of this mod hasn't posted since January, 7 months ago. I'm guessing he doesn't have an interest in vb anymore.
:(
I've been spending ages looking at all the files it uses, and can't find anywhere where it says to NOT use QUOTE tags.
The thing is it's such a HUGE flaw. So many news articles contain quotes, it's a must have. Does anybody know of a smilar script without such a flaw?
Tannerman
25 Jul 2006, 23:05
I've been using HTML blockquote tags combined with a horizontal rule to get around the issue, but then again, you need to have HTML enabled in the forum to make this work.
HappyPike
25 Jul 2006, 23:15
Yeah, that's the problem. I don't want to enable HTML in a forum where I want members to be able to post comments to the news items. if you don't allow comments, then enabling HTML is not a problem.
This hack is very easy to use but unfortunately it's not supported at all anymore. :(
rollo tamasi
25 Jul 2006, 23:47
hi, does this work with 3.5.4 at all? i installed this one and the other release and when i create a page feature the php code you gave i get "there is a problem with the db......" error messages
got haggis?
27 Jul 2006, 02:28
i have the same problem..also using 3.5.4
edit: duh, one page back (23) there is the answer that solved this.
Now, where can i modify <fieldset> so it doesn't span across the entire page.
NeilFawcett
27 Jul 2006, 19:06
BTW. The maker of this mod hasn't posted since January, 7 months ago. I'm guessing he doesn't have an interest in vb anymore.
:(
I've been spending ages looking at all the files it uses, and can't find anywhere where it says to NOT use QUOTE tags.
The thing is it's such a HUGE flaw. So many news articles contain quotes, it's a must have. Does anybody know of a smilar script without such a flaw?
i have the same problem..also using 3.5.4
edit: duh, one page back (23) there is the answer that solved this.
Now, where can i modify <fieldset> so it doesn't span across the entire page.
Well, the problem is basically that the standard code that calls the BBCode parser and this will handle all the standard tags, but not some of the ones that require a template definitions for a forum. These include QUOTE and CODE.
To be honest this makes sense, as the template you probably use on your forum probably will not match the one you will use on your news page.
What I did was to simply process QUOTE tages (I'm not interested in CODE) ones prior to the BBCode parser call. Viola!
Here's my modified code (Due to BBCodes on these forums cocking stuff up I've changed the stuff below so QUOTE=ETOUQ)
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This isn't all my code - I've also put in stuff so I can ignore a thread, and also put a "more break" in so you could post a 10 page story, but put in a "more break" about 12 lines in, so the news page only displays upto that point. I'm also doing an "all news stories" thing as well...
For all my posting no one really helped me, so I hope this helps you!
ps: If you don't want to allow HTML conversion, then I guess you could disable that in the do_parse call, and instead replace the QUOTE tags with something else prior to the do_parse call, and then replace them again back to the HTML format afterwards... Just as long as you don't leave the QUOTE tags in there in their standard BBCode form before the do_parse call you'll be fine :)
I will upload my modified one which parses BBCode on every post no matter what...it even integrates with SEO.
NeilFawcett
27 Jul 2006, 22:08
I will upload my modified one which parses BBCode on every post no matter what...it even integrates with SEO.
Even Quote & Code tags? How does know which template to use?
chrisjp88
29 Jul 2006, 02:22
Neil, thanks a lot. Had I spent more time playing with vB rather than IPB I probably could have figured that out, but I didn't. :p
Thanks for sorting that out though, my friend is now happy with the news script.. and I don't have to find an alternative or write my own now :)
NeilFawcett
29 Jul 2006, 15:40
Neil, thanks a lot. Had I spent more time playing with vB rather than IPB I probably could have figured that out, but I didn't. :p
Thanks for sorting that out though, my friend is now happy with the news script.. and I don't have to find an alternative or write my own now :)
That did the trick for you did it? Excellent...
HappyPike
29 Jul 2006, 17:25
Can you make it parse more than one BBCode? For example, I have an image tag with align option tag that also doesn't get parsed.
NeilFawcett
30 Jul 2006, 18:41
Must admit never tried an alignment... Got an example of what's not working? Does it work without the align?
HappyPike
30 Jul 2006, 19:08
Yeah, the regular img tag works. But when align option is provided, the script doesn't parse the code.
image_url
XtremeCrash
01 Aug 2006, 13:16
HI I get this error when add the codes:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 104
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 227
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 271
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 308
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/crash74/public_html/xtremecrash/right.php on line 360
Ive been tring for the last few days to get it to and I have searched the forums top to bottom tring to figure this out. Any help will.
NeilFawcett
01 Aug 2006, 18:15
Yeah, the regular img tag works. But when align option is provided, the script doesn't parse the code.
image_url
That's invalid syntax isn't it?
The closest you can get is?
image_url
Isn't it?
HappyPike
01 Aug 2006, 21:02
No, I made a custom img tag with align option. See this thread:
http://www.vbulletin.org/forum/showthread.php?t=122660
This way you can align images left or right w/o turning on HTML. :)
NeilFawcett
01 Aug 2006, 22:31
No, I made a custom img tag with align option. See this thread:
http://www.vbulletin.org/forum/showthread.php?t=122660
This way you can align images left or right w/o turning on HTML. :)
Well, all I can suggest you do it find occurences of and replace that yourself prior to the BBCode call. Obviously where you find an occurence, you'll have to find the next tag to get the URL etc.
Would only take a dozen lines of code or so...
That or don't allow that tag in your news items...
By the way, I've found my home groan "More break marker" very handy... I'll PM you about that!
HappyPike
02 Aug 2006, 08:10
Thanks again for sharing the find, Neil. :up: Following your example I should be able to parse any BB code the script is not able to.
blankoboy
02 Aug 2006, 10:04
edit
Xoxideforums
04 Aug 2006, 15:29
I'm using vBExternal and I've finally got it to the point in which it will pull the data into vbDrupal. When I'm in preview mode it displays the page perfectly. But when I go to submit the page looses the enitire formating.
While viewing source I have noticed it is not pulling the proper header.
It is leaving out my custom theme's CSS file but it is picking up the misc/drupal.css. My logic told me, since i'm using only 1 theme is to copy all my bluemarine CSS into the misc/drupal.css file. This did not work.
So i checked to see that the divs are being labeled with the proper id and class titles. They are.
Here's my setup:
vB 3.5.4
PHP 5
MySQL v??
vbDrupal 4.6.8
vBExternal 1.6
I would give you the link to the page in question but it is a company site and only the employees can view our forum. Any help would be great. Thank You!
Since you can't login, I am willing to supply you with any HTML or CSS markup if you feel that would help. Thanks
Marsupilami
05 Aug 2006, 23:37
Whatever said, this definately does not work on vb 3.5.4.
Tried it.. Rejected it..
anyone know how to make it work for 3.6 or know a similar script?
Tannerman
08 Aug 2006, 15:22
Whatever said, this definately does not work on vb 3.5.4.
Tried it.. Rejected it..Other installations differ with that opinion, but with the lack of support for this hack, I don't blame you for giving up.
Eagle Creek
09 Aug 2006, 17:03
Nice! Very nice!
Anyone get this to work in 3.6 ?
please
irishblacknight
15 Aug 2006, 07:48
We have it working on one (http://www.irishisptest.com/) of our sites without having to make any extra changes after the upgrade to the latest version of vbulletin
Hmmmmm how ?
I get a database error ?
I wish i could get this to work....
no matter
I managed to get this working :)
helps if i actualy put it in the root of forum !!! ;)
workRelated
17 Aug 2006, 18:21
Had problems with this hack for 3.6
the problem was with $db->connect the variables are out of order.
the replace the $db-connect with the following:
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['usepconnect'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['usepconnect'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['Mysqli']['ini_file']
);
DarioVinci
18 Aug 2006, 01:20
hi, everybody....this add-on is fantastic..i'm running it on a 3.5 version of vbulletin...can u tell me how can i show the number of the registered users?
ty very much
bye
Aunt Clara
01 Sep 2006, 05:42
Alright, I've read almost the whole thread and didn't find an answer to what I need: If I want to install this in forumdisplay (using the left-side bar)
Where do I add this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Header or Forumdisplay template?
And second, since it is on the same folder as the page where I'll add it, what should I change the path to (chdir('./forums'); to what?)?
Thanks a lot.
lmongello
05 Sep 2006, 20:34
Trying to run this on 3.6 and get either database error, or if I make values " '/forums and/vBexternal', I get
Warning: chdir(): No such file or directory (errno 2) in /home/virtual/site1/fst/var/www/html/2.php on line 2
Warning: main(/vBExternal.php): failed to open stream: No such file or directory in /home/virtual/site1/fst/var/www/html/2.php on line 3
Fatal error: main(): Failed opening required '/vBExternal.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site1/fst/var/www/html/2.php on line 3
Xtrm2Matt
05 Sep 2006, 20:50
Hi,
Running fine on my 3.6.0 as seen here; www.OpticalGaming.com
Regards,
Matt
lmongello
05 Sep 2006, 20:54
Any idea what I'm doing wrong? (bangs head.. knows it must be something simple)
azn_romeo_4u
22 Sep 2006, 07:20
can't figure it out either...
azn_romeo_4u
22 Sep 2006, 08:42
Change this line:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
To this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Just tested this and it doesn't work.
Tannerman
03 Oct 2006, 18:43
For those of you who have had this hack working on 3.5 and then upgraded to 3.6, how did the transition go? Did you need to change anything in your configuration?
Xtrm2Matt
03 Oct 2006, 19:20
I've been running the same version since early 3.5.0. I've had no problems all through the 3.5.x series, and currently no problems on 3.6.1.
Tannerman
03 Oct 2006, 19:21
Thanks for the feedback, Xtrm2Matt. Anyone else?
SupremeWeapon
09 Oct 2006, 19:40
erm yea.
this needs revamped.
Database errors.
set to only be able to read newb directory structures
not coded to work with mysql over 3.23
coding errors in the php file.
Clicking uninstall untill the author fixes this.
Just a small question, is it possible to reverse the newest member list so the newest members are down the list and the oldest are on top??
JamesX4334
03 Nov 2006, 12:40
Running fine on 3.6.2
Could someone pos the attachment. This is what I am looking for.
NeilFawcett: a couple pages back you mention a copy of vbexternal that parses more code and adds a cool [more] tag. I would love to check that out. Could I take a look?
Does anyone know how to make Vbexternal parse IMG tags properly?
Running fine in 3.6.3.
Just replaced:
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['MasterServer']['usepconnect'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['SlaveServer']['usepconnect'],
$config['Mysqli']['ini_file']
);
with
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['usepconnect'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['usepconnect'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['Mysqli']['ini_file']
);
Thanks WorkRelated!
Akronica
28 Nov 2006, 18:05
I am trying to use both vbExternal and UserLogin on non vb pages in the same test.php page.
Both work great separately but when I inlude the following in the test.php page for both then I get an error
<?php
require_once('./vBExternal.php'); // needed by vbExternal
require_once('./global.php'); // needed by logon
?>
error I get
Fatal error: Cannot redeclare class vbulletinhook in /homepages/39/d101533575/htdocs/QDeals/forum/includes/init.php on line 312
can soome help
thanks a lot
Akronica
30 Nov 2006, 18:27
any help?
mathias
04 Dec 2006, 08:26
any help?
have a look here
http://www.vbulletin.org/forum/showthread.php?t=132996
Well people have been asking this question for the last 18 months with no replies so I doubt I'll fare any better but hey, it's worth a go :)
Does anyone know how to modify this so that it will display the number of logged in users and the number of guests in the output_UsersOnline().
Cheers
Frugal
Hello!
My vBlluetin site is ABC.com, and the site which I want to show the infomation of this mods in ABC.org.
Both site using same server.
Can I use this module?
If so, please advice where I should rewrite.
Thank you.
Hornstar
03 Jan 2007, 00:08
The error im getting is this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
anyone else had this problem, and know a fix for it?
kungfumaster
05 Jan 2007, 17:33
Gto this working in 5 mins, follow instructions in USAGE file then amend the DB details (as mhamdi said) in the VBExternal.php.
I'm running a clean install of 3.6.4
Hi! vbexternal says this error:
Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory vBExternal.php on line 67
Fatal error: main(): Failed opening required './includes/db_mysql.php'
Whats wrong?
thanks!
I use 3.6.4
Running fine in 3.6.3.
Just replaced:
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['MasterServer']['usepconnect'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['SlaveServer']['usepconnect'],
$config['Mysqli']['ini_file']
);
with
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['usepconnect'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['usepconnect'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['Mysqli']['ini_file']
);
Thanks WorkRelated!
In what files modified this?
thanks
My problem was fixed using 2 important items:
1) Download this version http://www.vbulletin.org/forum/attachment.php?attachmentid=27032
The others versions does not work in 3.6.4
2) Use fix from WorkRelated
Regards!
Is vbExternal.php available anywhere to include the HTML Markup tags for like the Admins, Super Mods, and Mods? Or does anyone the select statement to do this??? Thanks!
Mysticales
18 Feb 2007, 04:27
Hey cool! FYI, I just spent the past hour trying to get this and the Deluxe (Or Simple) external login support working together.
http://www.vbulletin.org/forum/showthread.php?t=108026
Well it was said that the login access and the vbexternal would not work together and that no luck figuring it out.
http://www.vbulletin.org/forum/showpost.php?p=1131318&postcount=11
Well.. I just did. Least i dont know if its been posted or not. This is tested on the 3.5.x forums. However, I would believe it should work on 3.6 as well since its including the main files that 3.6 uses.
The modification is this.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
What you just did was get rid of the conflict between the login from the user access login and the standalone vbexternal. Now these will work together 100% and "should" be 3.6 safe.
The proof and demo is http://forums.qj.net/portal/
Im still working on alot more atm on that page.. but you can see that its working. Someone tell me if this makes sense the fix or if it works on 3.6 or if I need to explain more. =)
upnorth
20 Feb 2007, 19:30
I have this running on 3.6.4 but have one question.
I have a forum that all threads are moderated. I'm using vBExternal to show the posts on my home page. Problem is, is that when someone posts to this forum, vBExternal currently shows the thread even though the moderator hasn't approved it yet? How can I get the display of this thread to only occur after the threads have been approved?
futuredood
22 Feb 2007, 10:36
ah, this would be wonderful but can't get it to work in my Joomla CMS.
upnorth
22 Feb 2007, 21:20
Anyone have any ideas how to filter out posts that need to be moderated?
I have this running on 3.6.4 but have one question.
I have a forum that all threads are moderated. I'm using vBExternal to show the posts on my home page. Problem is, is that when someone posts to this forum, vBExternal currently shows the thread even though the moderator hasn't approved it yet? How can I get the display of this thread to only occur after the threads have been approved?
I got this working on the latest ver (after using the solution found here regarding the order of the variables).
Question: Can I display the actual TEXT of the post as opposed to just the thread name?
I see the variables he defied (which he then calls in the template), but I dont see one for the actual TEXT of the post... using the samples below, what would the the variable?
'post' => $News[???????????????????????????????????],
These are some of the ones defined:
'threadid' => $Thread['threadid'],
'threadname' => $Thread['title'],
'postuserid' => $Thread['postuserid'],
'postusername' => $Thread['postusername'],
'replies' => vb_number_format($Thread['replycount']),
'views' => vb_number_format($Thread['views']),
'lastposter' => $Thread['lastposter'],
TheSh@rk
11 Mar 2007, 13:15
Wow Zero. TNX!
jags2ooo
18 Mar 2007, 16:25
How would i make it so the users avatar shows up also
How would i make it so the users avatar shows up also
You only need to ask it once...
/me notes* its not supported
jags2ooo
18 Mar 2007, 17:13
Has anyone modified the script so that it can pull users avatars in the new posts? And also Pull the date of when the post was posted
jeramie78
24 Mar 2007, 23:49
anyone figure out how to truncate the output of newthread??
jeramie78
24 Mar 2007, 23:55
Can anyone explain how to get this to work? I need my page to truncate the thread titles, but I've tried loadsa ways and I just can't do it :(
change all instaces of
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
change the 20 to whatever you want.
ro_manuel
28 Mar 2007, 08:20
Ok, that Usage file. Its the worst instructions ever, how do i use it!? Where do i go to? And
what and where file do i edit!? Hmm, this isnt that great
I cant get this to work at all, not with filling out the dbase instructions or whatever
I'ts either a blank page or a dbase error, not going to bother anymore ;(
Zizou_SCD
29 Mar 2007, 12:18
I just can't get this to work.
I have uploaded the folder and the file in my forums root.
Then on the web page I want to use these templates I have this code:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And I am getting this error:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
This error can be seen @:
http://www.soniccagedome.com/dev7/site/
Can anyone tell me where I am going wrong?
BTW I am using vB Version 3.6.4.
jeramie78
30 Mar 2007, 05:36
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
to
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
change "/path/to/your/forums/" to whatever is the path to your forums not the URL to your forums
Zizou_SCD
30 Mar 2007, 11:29
change "/path/to/your/forums/" to whatever is the path to your forums not the URL to your forums
This seems to have worked, however, there is a new problem:
http://www.soniccagedome.com/dev7/site/
It just says 'Database Error', doesn't tell me what it is. Do you think it is because of the forums version difference?
mertron
30 Mar 2007, 19:33
This seems to have worked, however, there is a new problem:
http://www.soniccagedome.com/dev7/site/
It just says 'Database Error', doesn't tell me what it is. Do you think it is because of the forums version difference?
Running fine in 3.6.5
Open vBExternal.php
find line 96
Just replaced:
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['MasterServer']['usepconnect'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['SlaveServer']['usepconnect'],
$config['Mysqli']['ini_file']
);
with
$db->connect(
$config['Database']['dbname'],
$config['MasterServer']['servername'],
$config['MasterServer']['usepconnect'],
$config['MasterServer']['username'],
$config['MasterServer']['password'],
$config['SlaveServer']['servername'],
$config['SlaveServer']['usepconnect'],
$config['SlaveServer']['username'],
$config['SlaveServer']['password'],
$config['Mysqli']['ini_file']
);
Lord Kirken Mor
31 Mar 2007, 02:05
Can I Export Forum Stats wit this?
Zizou_SCD
31 Mar 2007, 12:07
Running fine in 3.6.5
Open vBExternal.php
find line 96
Just replaced:
Nice one. Works a dream!
Now, I want to limit a thread title to a certain amount of characters. Can anyone help me out with this?
Also, how about adding the total users online stat and amount of guests online stat to the users online function
upnorth
02 Apr 2007, 21:56
Anyone able to help me with this. Seems like it would be an easy fix....just can't get my head around what I need to do to make this happen though. :(
Anyone have any ideas how to filter out posts that need to be moderated?
Lord Kirken Mor
03 Apr 2007, 00:10
It was just the template i was using. but now a few includes are scrambled randomly around the page.
Zizou_SCD
04 Apr 2007, 02:52
Has anyone written a piece of code that will limit the length of a result? E.G. Cut the length of a topic title from 50 to 20 characters:
HOT NEWS COMI....
Like that.
jluerken
10 Apr 2007, 23:11
I am currently fetching the latest 5 threads from my board. This is working fine but I need a small change. How can I chop the thread title to X chars.
It kills the page design if a thread title has a lot of chars.
Is there a way to limit this?
Gryphon
11 Apr 2007, 19:28
jluerken, scroll up a few posts.
jluerken
12 Apr 2007, 12:00
jluerken, scroll up a few posts.
Many thanks, this worked directly!
upnorth
13 Apr 2007, 19:21
I have this running on 3.6.4 but have one question.
I have a forum that all threads are moderated. I'm using vBExternal to show the posts on my home page. Problem is, is that when someone posts to this forum, vBExternal currently shows the thread even though the moderator hasn't approved it yet? How can I get the display of this thread to only occur after the threads have been approved?
WetWired helped me find a solution to this. You can find it in the following post.
http://www.vbulletin.org/forum/showthread.php?p=1226893#post1226893
Chicago_VLNU_4s
08 May 2007, 00:30
I'm getting the following errors
Warning: file_get_contents(./includes/database_error_message.html) [function.file-get-contents (http://www.offthaave.com/new1/function.file-get-contents)]: failed to open stream: No such file or directory in /home/.mojo/*****/******/forums/includes/class_core.php on line 919
Warning: file_get_contents(./includes/database_error_page.html) [function.file-get-contents (http://www.offthaave.com/new1/function.file-get-contents)]: failed to open stream: No such file or directory in /home/.mojo/*****/******/forums/includes/class_core.php on line 943
any ideas?
Inferno Tech
16 May 2007, 01:40
To those looking for an updated version:
http://www.vbulletin.org/forum/showthread.php?p=1248382
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.