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

Closed Thread
 
Thread Tools
[ITech] vBExternal Lite Details »»
[ITech] vBExternal Lite
Version: 1.00, by Inferno Tech Inferno Tech is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 05-15-2007 Last Update: Never Installs: 141
Additional Files  
No support by the author.

PLEASE REFER TO THE FOLLOWING THREAD FOR HELP/SUPPORT: https://vborg.vbsupport.ru/showthread.php?t=166791

----------------------------------
[ITech] vBExternal Lite
Created By Inferno Technologies (http://www.infernotechnologies.net)
Copyright 2004-2007
All rights reserved
Project Development Team: Zero Tolerance, Acid Burn
Project Lead: Iain "Decado" Kidd
----------------------------------

Ported from vBExternal 1.6 created by Zero Tolerance to work with vBulletin 3.6.x

Features:
  • Easy integration with your existing php scripts
  • No coding experiance needed to make it work
  • Full parsing for bbtags and emoticons/smilies + auto URL correction (no red-x's)
  • Lets you put forum information on your homepage/webpage
  • Users online
  • Latest Threads w/preview
  • More Information *Here*

Installation Information:
  • Template modifications: 0
  • Database changes: 0
  • Files added: 5
  • Files modified: 1 (website page)
  • Installation difficulty: 2/5
Installation Instructions:
1) Unzip the folder and upload the contents of UPLOAD into your root directory
2) Read Useage instructions.txt and then you are done

Version History:
None so far.

Frequently Asked Questions:
Q: So does this able you to put like phrases and stuff in external sites?
A: At the moment it allows you to Display Newest Members, Top Posters, Newest Threads, Newest Replies, News and Users Online onto a page outside of your vbulletin directory.

Q: I have a problem. My page is located at root/cms and my forum at root/forum. It's isn't possible for me to locate the forum in a subfolder of /cms.
Is there any solution for this problem?

A:Yes there is a solution try this piece of code instead of the one that the instructions says to use:
Code:
<?php
chdir('../VB');
require_once('vBExternal.php');
?>
Q: How would i do this if theres 2 different domains involved
A: If the two domains are on both the same server and the same domain account then call you need to do is chdir out of your current account folder (www/public_html/testsite/) to the other domain folder (www/public_html/site2/)

Screenshot:
https://vborg.vbsupport.ru/attachmen...4&d=1118677511
(Thanks to C.Birch)


Acid Burn - Inferno Technologies Developer

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
lange

Comments
  #112  
Old 12-01-2007, 03:55 PM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for a great mod! I'd really like to show the number of guest users along with the registered members online too, though. Has no one figured out how to do this?

I'd also appreciate it if someone could post how we can list only the forums we want to EXCLUDE from the newest threads and newest replies... with a few dozen forums listing all of them but 2 or 3 isn't really practical.
  #113  
Old 12-09-2007, 03:27 PM
Archaic Sage Archaic Sage is offline
 
Join Date: Nov 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know the solution to the problem with images?

When I add an image via HTML or through IMG tag it always adds my forums url before the image again. So it ends up being http://www.domain.ext/http://www.dom.../filename.file.

The news page is:
PHP Code:
<?php
chdir
('./forums');
require_once(
'./vBExternal.php');
?>
  #114  
Old 12-15-2007, 01:38 PM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Comment out this line:

$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
  #115  
Old 12-16-2007, 08:29 PM
Charmedfan Charmedfan is offline
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,
it is an awesome addon! I love it but I have one question:
Is it possible to add more then one forumID to the news section? Because I have more than one news forum. I really need it!

Thanks and greetings!

Charmedfan
  #116  
Old 12-16-2007, 10:25 PM
gotfreebies gotfreebies is offline
 
Join Date: Nov 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I believe someone had asked this question already but did not get any answers.
I have my vBulletin Forum on a subdomain, but want to run this on my main directory.
How do I do it?
Calvin
  #117  
Old 12-19-2007, 06:52 PM
Charmedfan Charmedfan is offline
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,
I have another problem. I use this string for the date:

PHP Code:
'date'     => date("F j, Y, g:i a",$News['dateline']), 
I wrote it in this code part:

PHP Code:
 // ---------------------------------------------------
 // FUNCTION: output_NewestThreads
 // DETAIL:   Outputs X newest threads ordered by
        //           start date descending. $a
 //           specifies amount to show (Default 5)
        //           and $f can specify certain forums
 //           to grab from (1,3,4), by default it pulls
        //           from all forums.
 // ---------------------------------------------------
 
function output_NewestThreads($a 5,$f ""){
 global 
$db$Data$vbulletin;
 
// Define amount to show
 
$Amount = ($a)? intval($a) : 5;
 
// Define Forum(s) To Pull From
 
 
 
$Forums = ($f)? $f'';
 
$SQL    '';
  if(
$Forums){
  
$SQL " where forumid in({$Forums})";
  }
 
// Load Template
 
$Template LoadTemplate("newest_threads.html");
 
 
// Collect Data
 
$NewestThreads $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount");
  while(
$Thread $db->fetch_array($NewestThreads)){
  
$Data .= ParseTemplate($Template,
       array(
        
'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'],
                                
'date'     => date("j. F Y, H:i",$News['dateline']),
       )
   );
  }

 
doOutput();
 } 
But the result only shows: 1. January 1970, 01:00 Not the actual date!?

Why?

Thanks for help!
  #118  
Old 12-20-2007, 09:13 AM
Archaic Sage Archaic Sage is offline
 
Join Date: Nov 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gladius2007 View Post
Comment out this line:

$Data = str_replace('images/',"{$vbulletin->options[bburl]}/images/",$Data);
Worked a treat, thanks
  #119  
Old 12-22-2007, 08:46 PM
!!!cyr0n_k0r !!!cyr0n_k0r is offline
 
Join Date: Apr 2002
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to use vbexternal to pull data from a post, but all my code is stored inside a template. How can I call the news from within a vb template?

If I just add the output_News(5,4); straight to the PHP file it is displayed at the top of the page with no formatting.

Here is my php code that calls for the template where all the html is stored.

PHP Code:
eval('print_output("' fetch_template('Index') . '");'); 
How can I get the news to be called from the template "index" ??
  #120  
Old 12-31-2007, 04:13 PM
Gladius2007 Gladius2007 is offline
 
Join Date: Nov 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone figured out how to make it respect no conversion of text into smilies? It doesn't respect the post setting and converts text into smilies anyway...
  #121  
Old 01-04-2008, 05:19 PM
odonel odonel is offline
 
Join Date: Sep 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the main difference between the pro and the lite version? will we be able to include capture images from the forums ?
Closed Thread


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 06:08 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.05115 seconds
  • Memory Usage 2,332KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_php
  • (1)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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