Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBExternal v1.6 Details »»
vBExternal v1.6
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-12-2005 Last Update: Never Installs: 213
 
No support by the author.

Well, this doesn't modify any php, nor use a plugin, so i wasn't sure exactly where to stick it

Anyhow, this is a port of the vBExternal for vb 3.0.7, so look at this thread for more information: https://vborg.vbsupport.ru/showthrea...threadid=81943

Enjoy

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #412  
Old 03-29-2007, 06:07 AM
erinys erinys is offline
 
Join Date: Mar 2006
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ;(
Reply With Quote
  #413  
Old 03-29-2007, 10:18 AM
Zizou_SCD Zizou_SCD is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
</head>

<body>
<?php
chdir('http://soniccagedome.com/forums');
require_once('./vBExternal.php');
?>
<table bord....

....<td class="bodymiddle" style="height:408px;"><?php
output_NewestMembers(5);
?></td>....
And I am getting this error:
Code:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/soniccag/public_html/dev7/site/index.php on line 157

Warning: main(./vBExternal.php) [function.main]: failed to open stream: No such file or directory in /home/soniccag/public_html/dev7/site/index.php on line 158

Fatal error: main() [function.require]: Failed opening required './vBExternal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soniccag/public_html/dev7/site/index.php on line 158
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.
Reply With Quote
  #414  
Old 03-30-2007, 03:36 AM
jeramie78 jeramie78 is offline
 
Join Date: Feb 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
<?php
chdir
('http://soniccagedome.com/forums');
require_once(
'./vBExternal.php');
?>
to

PHP Code:
<?php
chdir
('/path/to/your/forums');
require_once(
'./vBExternal.php');
?>
change "/path/to/your/forums/" to whatever is the path to your forums not the URL to your forums
Reply With Quote
  #415  
Old 03-30-2007, 09:29 AM
Zizou_SCD Zizou_SCD is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jeramie78 View Post
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?
Reply With Quote
  #416  
Old 03-30-2007, 05:33 PM
mertron's Avatar
mertron mertron is offline
 
Join Date: Mar 2007
Location: istanbul
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zizou_SCD View Post
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']
);
Reply With Quote
  #417  
Old 03-31-2007, 12:05 AM
Lord Kirken Mor's Avatar
Lord Kirken Mor Lord Kirken Mor is offline
 
Join Date: Nov 2006
Location: Gj?vik, Norway
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I Export Forum Stats wit this?
Reply With Quote
  #418  
Old 03-31-2007, 10:07 AM
Zizou_SCD Zizou_SCD is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mertron View Post
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
Reply With Quote
  #419  
Old 04-02-2007, 07:56 PM
upnorth upnorth is offline
 
Join Date: Jul 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Quote:
Originally Posted by upnorth View Post
Anyone have any ideas how to filter out posts that need to be moderated?
Reply With Quote
  #420  
Old 04-02-2007, 10:10 PM
Lord Kirken Mor's Avatar
Lord Kirken Mor Lord Kirken Mor is offline
 
Join Date: Nov 2006
Location: Gj?vik, Norway
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was just the template i was using. but now a few includes are scrambled randomly around the page.
Reply With Quote
  #421  
Old 04-04-2007, 12:52 AM
Zizou_SCD Zizou_SCD is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04944 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete