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

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

Category: Integration with vBulletin - Version: 3.6.8 Rating:
Released: 01-02-2008 Last Update: Never Installs: 57
DB Changes Uses Plugins
Additional Files  
No support by the author.

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

Project Description

This product is designed to take data from your forum, and easily export it in a HTML format onto any type of website you have (note, the website must be on the same server as the forum). For instructions and features, read on.

Note
we can't provide screenshots of this in use as it would be completely unique to your website, but we have included the acp stuff

Features

Data Feeding
-----------------------
Inferno External's main purpose is to provide you with the power to easily display data from your forum, to your website, without any knowledge of programming!

Module Blocks
-----------------------
Creating a data feed has never been as easy, you can simply create a block by choosing what type of data you want to extract, customise it with options, and save, all through an Admin CP interface.

Previewing / Templates
-----------------------
As with most development processes, before taking anything live on a website you want to preview how it will look. Inferno External gives you a snapshot of how the block will look exactly on your website, with exception to your websites style/css.Customising blocks is no problem at all, either if it's a setting, or how it's displayed. Inferno External employs ITS ("Independant Template System") that allows you modify templates for a block without effecting any other block!

Module: No. Users Online
-----------------------
This compact version of users online simply displays the numbers of members, guests and hidden users online. You can configure this to only show members/guests or just hidden if you wish, and again hide certain usergroups!

Module: Threads
-----------------------
This module block can give you a listing of threads from x, y and z forums, kinda like creating your own forum display page! It has all kinds of configuration to handle data exactly how you want: * Max Threads To Display
* Maintain Permissions (So users only see threads they're supposed to!)
* Forums To Scrape (Which forums to fetch threads from)
* Filter Results (Enter custom search terms to customise which threads are shown!)
* Ordering (How you want the threads to be ordered, such as date, poster name, thread title)
* Display Threads From (Ranging from Today to This Month to This Year and more!)
* Titles/Username Cutting (So a long thread title doesn't bombard your style)

Module: Thread Posts
-----------------------
This is similar to the threads module, only instead of displaying a similar forum display look, it displays the first post of the threads! This could be used simply to show latest threads, custom blogs, or news! Also has extended configuration to meet your demands: * Max Posts To Display
* Maintain Permissions (So users only see posts they're supposed to!)
* Forums To Scrape (Which forums to fetch posts from)
* Filter Results (Enter custom search terms to customise which posts are shown!)
* Parse BBCode (The system cleverly makes sure images such as smilies and links work!)
* Ordering (How you want the posts to be ordered, such as date, poster name, thread title)
* Display Posts From (Ranging from Today to This Month to This Year and more!)
* Titles/Username/Post Cutting (So a long post doesn't bombard your style)

Tutorial On Usage

Quote:
Inferno External as you know, provides you with the power to export certain data in a visual format to any part of your website. Ideally this is developed around the idea that you the user, wants to display data/information from your forum, onto your main website.

Where do you begin?
The first step is really to set up a new "block", the term block will refer to a set up you've configured in your ACP to export X data, in this example we're going to walk through how you'd set up an External Users Online. The users online has is a very simple interface, for users and guests.

To begin, go to your Admin CP, then 'Inferno External', and on this page you want to click 'Create New Block'. First you will see a drop down menu to choose what kind of block you want to create, select 'Users Online' here then hit 'Proceed'.

The next page takes you to the block configuration, now this block has a few custom options, you can decide what types of online data you wish to display (members, guests and hidden), additionally you can hide UGs from being counted here. There is also the default configuration which you get with all blocks:

Block ID
The block ID is an alphanumeric reference to the block you are creating, it can contain characters a-z, 0-9 and underscores (_). For this example, simply input 'my_users_online', which is a fairly useful ID to give this block.

Viewing Permissions
The viewing permissions is a global setting for all blocks, allowing you to create blocks that can be viewed by certain usergroups, or every usergroup. Don't touch this setting, for our example we want all usergroups to see our new block.

That's it for configuration, you'll find other blocks will have more settings depending on what they are, allowing you to customise them, remember aswell that you can create several blocks of the same type!

Hit 'Save Module Block' and this block will then be saved, and you'll be sent back to the main Inferno External admin page. Here, you should see your newly created block, and we can take a peak too, so click on 'Preview' for your newly created block.

The preview page will give you two things, one is the code you'd need to display this block on any page on your website, and secondly how the block will look. Note that how the block looks will differ, as it depends really on your websites style/css. In the preview here you'll be able to see the users online, all simple.

Hit 'Go Back' to return to the main admin page again, this time click 'Block Templates'. Inferno External employs an ITS ("Independant Template System"). This allows you to create a block, customise the templates for that block, and not have it affect any other block, even of the same types. So for example, if you have two user online blocks, and changed the templates on one of them, it would not effect the other!

If you want to in the future, you can come back to this page and change the templates as you see fit, if you ever make a mistake, simply leave the template blank and it will return to default.

Cool, I have my block, how can I put it on my website?
This is the main part of the system, putting blocks on your website. Firstly, you're website will need to be in php (don't panic!).

What if my site isn't PHP, but HTML?
Not to worry, let's say you have your main site file as 'index.htm' or 'index.html', simply rename the file to 'index.php' and your server will treat this file as php, and still parse your html!

Cool, it's php now, where do I begin?
You need to begin by 'loading' Inferno External into your website, to do this, open say index.php, or any other file on your website that's php and which you want to test (you could even create a test.php if you wish). At the very top of the file insert the following code:

Code:
<?php
require_once('./MYFORUM/infernoexternal.php');
?>
Please Note! You will need to alter this slightly, notice the 'MYFORUM' part, this needs changing to your forums directory, and assumes the file you're editing is one level above your forum directory. If that made little sense, not to worry!

Let's say your website is: mysite.com, and your forum is: mysite.com/forums/, and you're editing 'mysite.com/index.php', you'd use the following code:
Code:
<?php
require_once('./forums/infernoexternal.php');
?>
Another note, once this has been included in your PHP file once, you do not need to insert the code again, while it won't do any harm, it won't do anything either, this only needs to be at the top of your php files.

Okay, that's done, how do I display my cool new block?
You'll need to enter another peice of code to actually display the block, and that code is the one you saw when you previewed the block earlier in the acp, so run back there and copy that code. Now where-ever you want the block to display, place the code:

Code:
<?php echo $infernoexternal->display_block('my_users_online'); ?>
Two things to note here, one is the code I just showed has 'echo ', which the code in the preview doesn't, this command tells php to spit out whatever comes next to the page. If you know a bit about PHP, then you'll be able to tell this function returns the HTML rather than forcefully spitting out when called, so you can use it in other ways rather than just echo. Additionally there are the PHP tags, which are needed so the system parses this as PHP and not HTML/plain-text.

The second thing to note, is the 'my_users_online', and if you're asking yourself "I remember that from somewhere", then yes you do, it's the Block ID you gave to your block. So this is telling the system which block you want displaying.

Now that's done, save your file, upload, and you should see the block nicely sitting on your website where you told it to be, that easy!. You can now manage your block in your admin cp without having to come back to the code and modify it. I should point out that if you delete the block and you don't update the code on your website, your website will return an error message, so if you ever want rid of a block, it's better practice to update your files and strip the code which displays the block, before actually deleting it from the Inferno External admin cp.

Nice, my own block, that was easy!
Very much so!

If you have questions, issues, problems, or anything related, feel free to post and we'll take a look!
Enjoy everyone!

- Zero Tolerance

Show Your Support

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

Comments
  #22  
Old 01-28-2008, 09:38 PM
kevinpowertv kevinpowertv is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I have my forum on a different domain, such as forum.website.com, and my website is at mywebsite.com, how do I use this script? It seems to come up with a blank page when ever I put:

PHP Code:
<?php
require_once('http://forum.website.com/infernoexternal.php');
?>

Thanks!!
Reply With Quote
  #23  
Old 01-29-2008, 08:00 AM
Inferno Tech's Avatar
Inferno Tech Inferno Tech is offline
 
Join Date: May 2007
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

popmyzit, support for the pro (paid) version is done at our own forums, not in here, please post your problems in there, thanks.
Reply With Quote
  #24  
Old 01-30-2008, 08:39 AM
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the following error when i try to access the admin:

Fatal error: Cannot instantiate non-existent class: infernoexternal_acp in /infernoexternal/engine/inferno_acp.php on line 12

What can i do against it?

Thanks!
Reply With Quote
  #25  
Old 01-30-2008, 03:28 PM
Lombardo Lombardo is offline
 
Join Date: Dec 2007
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm a bit confused by the last part of your instructions

Quote:
Now where-ever you want the block to display, place the code:
where abouts do you mean? in the php file i just edited? or in a template in my acp?
Reply With Quote
  #26  
Old 01-31-2008, 02:25 AM
Strafe Strafe is offline
 
Join Date: Sep 2006
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was hoping there would be more blocks for this release. Like the ability to export a poll possibly.
Reply With Quote
  #27  
Old 01-31-2008, 11:18 PM
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is awesome. Thanks! Does it work with 3.7 betas yet? Are there plans to update this as soon as 3.7 is gold or RC?
Reply With Quote
  #28  
Old 02-01-2008, 10:42 AM
Inferno Tech's Avatar
Inferno Tech Inferno Tech is offline
 
Join Date: May 2007
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We usually start updating our products when VB reaches the RC stage. sometimes it takes a while, and some don't get out until gold though
Reply With Quote
  #29  
Old 02-04-2008, 03:55 PM
devilsmania devilsmania is offline
 
Join Date: Nov 2001
Location: Rome, Italy
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wonderful job Inferno Tech

installed
Reply With Quote
  #30  
Old 02-04-2008, 04:28 PM
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DrKNickel View Post
I get the following error when i try to access the admin:

Fatal error: Cannot instantiate non-existent class: infernoexternal_acp in /infernoexternal/engine/inferno_acp.php on line 12

What can i do against it?

Thanks!
Anyone? Inferno
Reply With Quote
  #31  
Old 02-09-2008, 03:55 PM
Fraik Fraik is offline
 
Join Date: Feb 2007
Location: the Netherlands
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having an issue... trying to create a news block but when I type in the number of posts to display and save it resets again, so its displaying all the posts!

Edit: When just displaying threads the number limit works just fine, it just doesn't work for thread posts
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 03:29 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.14202 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (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