vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - [ITech] vBExternal Lite (https://vborg.vbsupport.ru/showthread.php?t=147344)

Inferno Tech 05-15-2007 10:00 PM

[ITech] vBExternal Lite
 
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

Nudda 05-15-2007 11:27 PM

awesome...ill check this out and get back once ive tested it out.

Shazz 05-15-2007 11:47 PM

Looks Good Zero :)

Murty 05-16-2007 05:09 AM

so does this able you to put like phrases and stuff in external sites?

rayw 05-16-2007 08:43 AM

Thanks a lot. Working good with 3.6.5. This may come in very handy.

Wulfnoth 05-16-2007 08:45 AM

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?

Inferno Tech 05-16-2007 10:28 AM

Quote:

Originally Posted by Murty (Post 1248520)
so does this able you to put like phrases and stuff in external sites?

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.

Quote:

Originally Posted by Wulfnoth (Post 1248618)
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?

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');
?>

remembering to change VB to your forum's folder name

Acid Burn - Inferno Technologies Developer

projectego 05-16-2007 11:56 AM

[high]* projectego clicks install :)[/high]

devilsmania 05-16-2007 05:19 PM

i have to upgrade to this version, i'd like to see something else added like 'show polls'

:S
thanks

Inferno Tech 05-16-2007 06:32 PM

I am thinking of adding one or two more features into this (so keep an eye out for an update). But we are also going to be releasing a full version which shouldn't cost much that will have many more features available.

Acid Burn - Inferno Technologies Developer

devilsmania 05-16-2007 07:21 PM

this sounds great :)

Hornstar 05-17-2007 05:49 AM

hey could someone list the possibilities of using this, or provide a demo link of this in action, or a screen shot ^^ I think i know what i want to use this for, but just not certain. thanks.

Inferno Tech 05-17-2007 06:42 AM

It is all listed within the first post by be, for the information if you click the link back to the original then you can get the info from there

Acid Burn - Inferno Technologies Developer

devilsmania 05-17-2007 10:15 AM

like www.devilsmania.com it takes latest forum threads and some news(dedicated areas)
(still building/editing)

Exzee 05-17-2007 06:46 PM

Is there a way to also include the date of the post that's exported to the news page?

FReeSTER 05-17-2007 06:58 PM

Thank you, installed :)

Hornstar 05-18-2007 09:16 AM

Is it easy or fairly easy to get it to look good in the non vb page (like get it to match in with the colours etc.)

and how long away is the pro version, and what features will it have?

MobileBros 05-18-2007 02:25 PM

i have one questions

what happnes if i dont have a /forum and for example my forum are at mysite.com/ not mysite.com/forum and i would like to make my custom page have this info how would i edit my config?

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

Inferno Tech 05-18-2007 02:30 PM

<?php
require_once('vBExternal.php');
?>

that should do it for you.

Acid Burn - Inferno Technologies Developer

FiRe_MaStER 05-18-2007 02:33 PM

Thanks a lot working

Inferno Tech 05-18-2007 02:38 PM

Quote:

Originally Posted by hornstar1337 (Post 1250071)
Is it easy or fairly easy to get it to look good in the non vb page (like get it to match in with the colours etc.)

and how long away is the pro version, and what features will it have?

Yes for that all you will need to do is change the templates in the vBExternal folder. the pro version release date is still to be confirmed and just some of the features available include:
  • Top stats for RPG Inferno (if installed)
  • Show Polls
  • Latest Members
  • Top Posters

Acid Burn - Inferno Technologies Developer

snaku 05-19-2007 11:25 AM

Is there any way to make pictures in the post appear on the website when you use the "Displaying News"?

bashy 05-20-2007 03:30 PM

Hi

How would i do this if theres 2 different domains involved.#
forum: www.bashys-place.com/forums

i would like info to show
site: www.bashys-hosting.com

Is there out special i need to do for this or some setting i need please?
or is it just:

Code:

chdir('http://www.bashys-place.com/forums');
require_once('http://www.bashys-place.com/forums/vBExternal.php');

EDIT: Actually i tried the above and nothing showed at all!

Inferno Tech 05-21-2007 06:40 PM

Question: Are the two domains on the same server and/or same hosting account?

Acid Burn - Inferno Technologies Developer

bashy 05-21-2007 07:05 PM

Hi m8

There on the same server but different account.

Inferno Tech 05-21-2007 07:25 PM

unfortunatly due to security reasons on yourserver you wouldnt be able to use it cross site due to php security

Acid Burn - Inferno Technologies Developer

bashy 05-21-2007 08:29 PM

typical lol, ok m8 cheers anyway, all the best :)

Diana Notacat 05-22-2007 08:50 PM

I currently have an IF command that shows a set of links to admins but not to normal members, but on the same page I want to display the latest news using vbexternal. I am unable to include global.php on the same page as vbexternal.php without it giving me this error;
Fatal error: Cannot redeclare class vbulletinhook in /home2/spacek/public_html/moonwings/includes/class_hook.php on line 29

And there doesn't seem to be a function (that I saw) to show admin/mod/usergroup only content...

carwash 05-24-2007 01:07 AM

I am getting the same error:

Fatal error: Cannot redeclare class vbulletinhook in /home/user/public_html/forum/vBExternal.php on line 121

Someone else had this problem with 1.6 and said they fixed it by resolving some conflict. What conflict would be causing this?

toonysnn 05-24-2007 04:43 PM

Awesome! I used this to make a new homepage for my website, very easy. Are we able to use <if condition="$..."> and stuff like that?
/me clicks install

Inferno Tech 05-25-2007 09:44 AM

Quote:

Originally Posted by toonysnn (Post 1253927)
Awesome! I used this to make a new homepage for my website, very easy. Are we able to use <if condition="$..."> and stuff like that?
[high]* toonysnn clicks install[/high]

Yes you can

Quote:

Originally Posted by carwash (Post 1253586)
I am getting the same error:

Fatal error: Cannot redeclare class vbulletinhook in /home/user/public_html/forum/vBExternal.php on line 121

Someone else had this problem with 1.6 and said they fixed it by resolving some conflict. What conflict would be causing this?

Give me a day or so to do a lil research into the problems from the old product andf i will get back to you

Acid Burn - Inferno Technologies Developer

harry_5 05-26-2007 08:24 PM

Great Hack!

One question: I want to display just a certain number of characters from the post on my news page... how?

Apfelfrucht 05-28-2007 09:27 PM

To Inferno Tech,

Installed ;) and could you integrate the Search Form too ? like this one :
Code:

<form action="forum/search.php" method="post">
        <input type="hidden" name="forumchoice[]" value="23" />
        <input type="hidden" name="do" value="process" />
        <input type="hidden" name="showposts" value="0" />
        <input type="hidden" name="quicksearch" value="1" />
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="text" class="bginput" name="query" size="20"/>&nbsp;$gobutton<br />
</form>

* <input type="hidden" name="forumchoice[]" value="23" /> = Forum ID.

Inferno Tech 05-29-2007 09:16 AM

I will look at doing this for the pro version or maybe the lite, it depends on a few things.

@Harry 5: within vBExternal.php it is referenced all over in each function.

Acid Burn - Inferno Technologies Developer

harry_5 05-29-2007 08:52 PM

Quote:

Originally Posted by Inferno Tech (Post 1256748)

@Harry 5: within vBExternal.php it is referenced all over in each function.

Sorry, can?t find it...

Apfelfrucht 05-30-2007 04:52 PM

Quote:

Originally Posted by Inferno Tech (Post 1256748)
I will look at doing this for the pro version or maybe the lite, it depends on a few things.

@Harry 5: within vBExternal.php it is referenced all over in each function.

Acid Burn - Inferno Technologies Developer

Thanks in advance :rolleyes:

Hornstar 06-01-2007 07:37 AM

Thinking about buying pro version, just hope there will be a discount for people who have rpg and shoutbox and for it to be a bargain ^^

however, im having problems using it right now.

this is the error that is coming up on my homepage which im trying to put the users online on.

Code:

Parse error: syntax error, unexpected '<' in /home/*******/public_html/right.php on line 176
on line 176 i have this
<?php
output_UsersOnline();
?>


I have included

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

at the top of the php file as well.

Any ideas what is wrong?



Edit again: i removed the users online, and checked to see if the code at the top was working, it was not,
I changed the code at the top of the page to:
Code:

<?php
require_once('http://www.gamerzneeds.net/forums/vBExternal.php');
?>

, now that works.

then put the code back in for online users to show up, and get this error

Code:

Fatal error: Call to undefined function: output_usersonline() in /home/******/public_html/right.php on line 174
line 174 is: output_UsersOnline();

Any ideas whats wrong?



Edit again:

decided to keep trying to modify it, to see if i could get it working, and came up with a different error this time

Code:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/***********/public_html/right.php on line 2

Warning: main(./vBExternal.php) [function.main]: failed to open stream: No such file or directory in /home/*****/public_html/right.php on line 3

Fatal error: main() [function.require]: Failed opening required './vBExternal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/public_html/right.php on line 3

I changed the code at the top of the page to:
Code:

<?php
chdir('http://www.gamerzneeds.net/forums');
require_once('./vBExternal.php');
?>

Edit again:
Changed the top to:
Code:

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

and im now getting this error:
Code:

There was an error while processing vBExternal:
System was unable to find the template 'vBExternal/users_online.html'

I edited vbexternal.php and changed where the template is found to:
$template = "http://www.gamerzneeds.net/forums/vBExternal/{$template}";

I then get this error:
Code:

There was an error while processing vBExternal:
System was unable to find the template 'http://www.gamerzneeds.net/forums/vBExternal/users_online.html'

I then go to http://www.gamerzneeds.net/forums/vB...rs_online.html to check it is a page, and it is, so whats wrong, it should be able to find it.

I have tried everything i can think of, will have to put back my old code, until you can help me solve this.

Thanks.




Final Edit:

I finally had the idea to do this and change the code to:

Code:

<?php
chdir('./forums');
output_UsersOnline();
chdir('../');
?>

and now everything works.

I just now need to work out how to display it, so it looks nicer, more integrated into my homepage, and more like a vbulletin way of displaying it, if anyone could help, id like to display it in my footer here www.gamerzneeds.net

I would also like to have the links vbseo links otherwise i will have duplicate content.

Thanks.

Hornstar 06-01-2007 10:57 AM

Ive also got it working on a different domain, but now ive been trying to get it to use vbseo url's ive included

Code:

## VBSEO SETTINGS  #####################################################
include_once "forums/includes/functions_vbseo.php"; // change this path to reflect where your forum is
vbseo_startup(); // if you have a vbSEO version under 3, comment this line and uncomment the next three
// vbseo_get_options();
// vbseo_prepare_seo_replace();
// get_forum_info();

not sure which files it should be included in, but i tried them all.

I then tried editing the threadid part, and got lost again lol.

anyway, i know its simple, and ill most likely get it when im not so tired.

I just now need to learn how to make it look good and fit the layout better, because i appear to be hopeless at design. any tips would be appreciated.

thanks.

gforce75 06-02-2007 12:23 AM

Great idea. I've been looking for something like this. I'll give it a crack.

Inferno Tech 06-04-2007 07:51 AM

vBEXternal was never intended to be used with vbSEO but i may and try to add it in for the Pro release, but there are no promises.

Acid Burn - Inferno Technologies Developer


All times are GMT. The time now is 04:05 AM.

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.01595 seconds
  • Memory Usage 1,840KB
  • 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
  • (14)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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