vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBExternal v1.6 (https://vborg.vbsupport.ru/showthread.php?t=83005)

welo 05-24-2006 06:58 AM

Quote:

Originally Posted by upnorth
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.

Thug 05-24-2006 12:14 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=116546" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=116546</a>
see this please

Thug 05-24-2006 12:22 PM

Quote:

Originally Posted by djpassion
You need to put in your forums path in the
PHP Code:

<?php
chdir
('./forum');
require_once(
'./vBExternal.php');
?>

section

create a blank php file and enter this into it

PHP Code:

<? print $PATH_TRANSLATED; ?>

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:

PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
chdir
('/<server path from path.php file goes here>/forum');
require_once(
'/<server path from path.php file goes here>/forum/vBExternal.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">

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
PHP Code:

<?php
chdir
('/<server path from path.php file goes here>/forum');
require_once(
'/<server path from path.php file goes here>/forum/vBExternal.php');
?>

and then insert this into your webpage

PHP Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<? include 'vbexternal_script.php'; ?>
<html xmlns="http://www.w3.org/1999/xhtml">

:)


i get DB error from link abuv

mdbw 05-31-2006 03:18 PM

I'm getting the same error:

PHP Code:

Warningmain(./includes/db_mysql.php): failed to open streamNo such file or directory in /home/******/public_html/mdbwforums/vBExternal.php on line 67

Fatal error
main(): Failed opening required './includes/db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/******/public_html/mdbwforums/vBExternal.php on line 67 

This is the code of my file:

PHP Code:

<?php
chdir
('./mdbwforums');
require_once(
'./vBExternal.php');
?>

<?php
output_NewestReplies
(30);
?>

So what's wrong?

[email protected] vbmenu_register("postmenu_1000209", true); 06-06-2006 03:48 PM

Does anyone had make this work with 3.54? is it any updates???

aramik 06-07-2006 11:29 AM

damn I really need this hack... anything similiar? for displaying latest members, threads, online users etc?

C.Birch 06-08-2006 04:42 PM

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

[email protected] vbmenu_register("postmenu_1002275", true); 06-08-2006 04:54 PM

Quote:

Originally Posted by C.Birch
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 06-08-2006 05:29 PM

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 06-08-2006 05:54 PM

I'm getting a database error.
http://www.gmodcentral.com/gmod/index2.php
I even tried adding

Code:

require_once('/home/gmodcent/forums.gmodcentral.com/includes/config.php');


All times are GMT. The time now is 05:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02528 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete