![]() |
On this forum I saw much more scripts, which show on non vb pages information about vb. But all of these marketed as additive to vb, use their own configuration files and consequently need for additional adjustment. Want to offer script, which all data takes from vb, including style, template, can move necessary template and function from vb and show other (non vb) of the page through vb interface
|
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 :D ), 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:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Example : < table >code include here < / table > 5. If you want to see forum jump select box you write PHP Code:
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:
PHP Code:
PHP Code:
PHP Code:
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:
PHP Code:
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:
PHP Code:
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:
PHP Code:
Note: not probe include pages from other sites!! your_dir is directory on YOUR server!!! Quote:
P.S Forgive for my english, my native language is php :confused: |
Quote:
|
Kengan, don't quote big messages. It's not very readable.
|
Nice hack I'll try it.[QUOTE]P.S Forgive for my english, my native language is php
|
See this script in action on arabic page ;).
|
Quote:
|
Sounds great and usefull. It's a great idea and esay to use. Will try it at home later.
Thx |
great
|
Looks good, can you put the documentation in the zip and include an example php page and also how to make it work in a HTML page with SSI please?
|
the hack is not working with me, i am trying to use the header in non vB pages, when i upload open.php and add the line, nothing seems to change in the page.
any idea? |
Quote:
2. Write in nonVb page this string (w/o backspaces). PHP Code:
In other files (as SSI) in make in this time (full help instructions). |
Great, what we need are some working sample HTML and PHP pages in the zip file.
Does your code disconnect from the database afterwards, I have seen some hacks that leave the connection hanging which seems a bad idea to me? |
Thanks Devels, but i don't think it is working with 2.0.3
|
Any news on the documentation for this?
I tried it and found that it gave really odd results on a non-VB page - UNLESS the user had a cookie stored with VB login information. So a new user coming along and displaying this non-VB page with SSI - would generate the VB login prompt instead of the required SSI information. This hack does not work properly unless you are already logged in (or cookied). My site requires login for all access - can this hack be changed so it can used on a home page where the user may not even have registered yet (let alone logged in!)? |
Any news on this?
I'm having a play with it and I don't see to be able to get it to work .. so a zip file with some help/example pages would be good .. :) |
Hi there,
I have some problems with the stats on my page. I made a template with the following stuff in it: PHP Code:
it doesn't seem to work, anybody know what's wrong with it? Thanks, Sebasian |
Any way to make the path to VB ABSOLUTE?
vbpath =="/forums" This because if the include is called OUTSIDE the VB directory some functions wont work. |
Quote:
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|