View Single Post
  #2  
Old 07-22-2001, 10:49 PM
Devels
Guest
 
Posts: n/a
Default

Installation:
1. Download attached file(statistics.zip).
2. Unzip file (finish as open.php file)
3. Put this file on your vbulletin directory
4. Sit back and relax, while Win... (Oh, it is not good ), ok, next..

Included functions or "As I can use it?"
1. If you want to see any template on your page write in non vb page (must is *.php page)
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? tpl=needed_template"; ?>
  • full.server.address = server address, where you install this script.
  • vbdirectory = directory, where you install vb on this server
  • needed_template = name template what you want see.
2. If you want to see header with included style and meta (all header) vb you must write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=header"; ?>
optional you can write title on this page as
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=header&vbtitle=your_title"; ?>
  • your_title = words, what you want view on title
3. If you want to see footer on non vb pages you must write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=footer"; ?>
4. If you want to see logincode, you must write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=login"; ?>
Note: This output not included in < table > tag (have view as < tr >..... < / tr >) you must include it itself
Example : < table >code include here < / table >
5. If you want to see forum jump select box you write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=forumjump"; ?>
Note: you must create in directory, where you want include this function new directory "images" (or other name, as name vb forum images directory) and copy from vb images directory file "go.gif" in this new created directory.
6. If you want to see code buttons, smilies or icons for use this code on other pages (example guestbook and other), you must write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=code"; ?>
<? include "http://full.server.address/vbdirectory/open.php? ac=smilies"; ?>
<? include "http://full.server.address/vbdirectory/open.php? ac=icons"; ?>
7. If you want to see sample style for include it on non vb pages, you must write
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=style"; ?>
8. If you want to see last posted messages on your non vb page, write plz
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=lastpost"; ?>
Note: Default numper last messages is 5, for change it number write:
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=lastpost&limit=your_number"; ?>
  • your_number = number messages to view on this include
Note: Default width table is 100%, plz insert this include in other table which assign necessary parameters.
All view as table: [poster name(as link to this post)][post data]
9. If you want to see last active threads on your non vb page, write plz
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=lastthread"; ?>
Note: Default numper last messages is 5, for change it number write:
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=lastthread&limit=your_number"; ?>
  • your_number = number threads to view on this include
Note: Default width table is 100%, plz insert this include in other table which assign necessary parameters
All view as table: [title thread(as link to this thread)][post data, name poster, image to last post]
Note: you must create in directory, where you want include this function new directory "images" (or other name, as name vb forum images directory) and copy from vb images directory file "lastpost.gif" in this new created directory.
10. If you want to see the most active writers on your non vb page, write plz
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=maxactive"; ?>
Note: Default numper last messages is 5, for change it number write:
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? ac=maxactive&limit=your_number"; ?>
  • your_number = number writers to view on this include
Note: Default width table is 100%, plz insert this include in other table which assign necessary parameters.
All view as table: [poster name(as link to him info)][number sended post, him activity]
11. If you want to see other, non vb page in full vb style(header, footer, style), write plz
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? in=your_page"; ?>
  • your_page = name your page
Note: You can include sub directories as:
PHP Code:
<? include "http://full.server.address/vbdirectory/open.php? in=your_dir/your_page"; ?>
  • your_page = name your page
  • your_dir = name your directory
Note: not include as your_dir/your_file.php, script make ".php" itself!!!
Note: not probe include pages from other sites!! your_dir is directory on YOUR server!!!
Quote:
Want good luck.
P.S Forgive for my english, my native language is php
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01218 seconds
  • Memory Usage 1,805KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (16)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete