![]() |
Installation | Setting The Options | Updates | Upgrading | F.A.Q. | Help & Support |
vBadvanced Homepage version 1.1 |
Introduction |
vBadvanced Homepage is an advanced homepage / portal that will allow you to include different options from your vBulletin message board on your site's homepage. It also allows you to easily create and manage new pages which are completely powered by vBulletin and vBadvanced. In fact, this page right here and our homepage are both powered by vBadvanced Homepage. Everything is template based so it is very easy to customize and change everything through your Admin CP. |
Features: |
|
Scalebility & Queries |
A nice feature of vBadvanced Homepage is that it is optimized and designed for large web sites. vBadvanced Homepage performs only 5 queries with all the options turned off. Some options will cause the script to perform extra queries, but even with all the options turned on it still performs only 17 queries at max.
Here is a list of each extra function that will cause extra queries:
|
Help & Support |
Before asking for support, Please read the F.A.Q below! If you have any problems or questions that are not covered in the F.A.Q. please post them at vBadvanced.com, or on vbulletin.org in the vBadvanced Homepage thread. I will be more than happy to help in any way I can if the request for help is made there. Anyone trying to contact me via email, private message, or any other means will be ignored. |
Copyright |
This script is © 2003 - 2004 vBadvanced.com and PlurPlanet, LLC. This hack is NOT to be re-distributed in any way or placed on a website for download without permission. All copyright notes in the script itself must remain unchanged. |
Installation Instructions |
Step 1 - Admin CP Modifications |
First log into your Admin CP and create a new forum called News and another called Polls (or whatever you would like for them to be called).
Setting you News & Polls forum's options:
|
Next go to your Style Manager under "Styles & Templates" in your Admin CP. Choose to modify All Style Options. On this page, you will see a section for "Image Paths". Here you must change the path for each image directory (Title Image, Button Images Folder, Miscellaneous Images Folder, etc) to the full path (ex - /forum/images or http://yoursite.com/forum/images). You must do this for each of your styles, otherwise your images will not show up! |
Step 2 - Template Modifications |
Open the templates.txt file which was included in the zip file. Make the changes to each template as specified there. |
Step 3 - File Modifications |
In your includes/adminfunctions_template.php file: |
Make the following change to your includes/functions_calendar.php: |
Make the following change to your includes/functions.php: |
Now open your adv_index.php file in this folder and find: chdir('/home/yoursite/public_html/forum'); Replace this with the full path to your forum on your server. Example: chdir('/home/yoursite/public_html/forum'); |
Step 4 - Upload Files |
Upload the new vBadvanced Homepage files and your modified vBulletin files to the directories listed below.
root folder - adv_index.php (you will probably rename this file to index.php once everything is set up) |
Step 5 - Run the Install Script |
Now you're almost done! It's time to add the vBadvanced Homepage settings and templates. Run the install script from your browser by going to http://yoursite.com/forum/admincp/advindex_install.php. This script will make all necessary changes to your database and install the templates for you. Set the options as you wish and you're done! |
Setting the Options |
News Forum ID - Here enter the ID number of your news forum. To figure out what this number is, go to your forums index page and put the mouse arrow over the link to your News forum. In your browsers status bar you will see a link with "http://yoursite.com/forum/forumdisplay.php?f=XX" where "XX" is the ID number of your forum.
Adds 1 Query |
News Posts Maximum - As the description says, this is the maximum number of news posts you would like displayed on your homepage. If you wish to show all news posts, set this to 0. |
News Maximum Characters - The maximum number of characters you would like to be displayed before the rest of the text is replaced by the [read more] link. If you wish to display the entire post no matter how long it is, set this to 0. |
Allow News Comments? - If you would like show the number of comments and a link to make a comment about your news posts, set this to yes. If you do not want to display the comments links set this to no. |
Show News Avatar? - Set this to yes if you would like to display the poster's avatar with the news post. |
Show News Icon? - Set this to yes if you would like to display the selected icon with your news posts. |
Show News Ratings? - Set this to yes if you would like to display the rating (stars images) of your news post. |
Enable News Attachments? - When set to yes, this will display the first attachment associated with a news post. |
Enable Printable Version? - When set to yes, this will display the small "printer" icon and allow your users to quickly show a printable version of the news post. |
Enable Send to Friend? - When set to yes, this will display the small "send to friend" icon and allow your users to quickly send an email to a friend with a link to the news post. |
Enable HMTL for News? - This will allow you to use HTML code in your news posts. Please note that this will only effect the way it is displayed on your homepage and not the actual thread itself. |
Enable vBcode for News? - This will allow you to use vBcode tags in news news. Please note that this will only effect the way the text is displayed on your homepage and not the actual thread itself. |
Enable vB image code for News? - This will allow you to use the [img] tag to post images with your news. If set to 'no' it will only display a link to the image. Please note that this will only effect the way it is displayed on your homepage and not the actual thread itself. |
Allow News Smilies? - Switch this off to disable smilies in news posts. Please note that this will only effect the way it is displayed on your homepage and not the actual thread itself. |
Polls Forum ID - This is the ID number of your polls forum. To figure out what this number is, go to your forums index page and hold the mouse arrow over the link to the forum. In your browsers status bar you will see a link with "http://yoursite.com/forum/forumdisplay.php?s=&forumid=XX" where "XX" is the ID number of your forum. You may also enter the word "RAND" in this field to pull a random poll from any forum a user has permission to access.
Adds 1 Query |
Allow Poll Discussion? - Set this to yes if you would like to display the "Discuss This Poll" link and allow users to make comments about the poll. Be sure your forums permissions are set accordingly if you plan to use this. |
Show Poll Smilies? - Switch this to "off" to disable smilie code in your polls question and options. |
Latest Threads Maximum - This is the latest number of Latest Threads you would like to display on your homepage. You may set this to 0 to disable this option. Adds 1 Query |
Latest Threads Maximum Characters - The maximum number of characters in the posts title you would like to display before the rest is replaced by "...". |
Show Latest Threads Date & Time? - Show the date and time the post was made in the Latest Threads section. |
Show Latest Threads Icon? - Show the icon that was selected for the post in the Latest Threads section. |
Latest Threads & Polls Excluded Forums - Here you may enter a list of forums that you wish to exclude from the latest threads section. Please not this also affects random fourms. |
Calendar ID - Here you may specify a calendar id that you would like to display events from on your homepage. To figure out what this number is, go to your Calendar Manager in the Admin CP. Hold the mouse arrow over the name of the calendar. In your browsers status bar you will see a link with "http://yoursite.com/forum/admincp/admincalendar.php?do=edit&calendarid=XX" where "XX" is the ID number of your forum. You may also enter "-1" in this field to only display a simple calendar with no links to events which also requires no queries. Adds 3 Queries (0 when "-1" is enterted and the simple calendar is displayed) |
Block Bullet - This is the » symbol that is displayed next to each block's title. You may enter any HTML code here that you would like to be displayed by each title. |
Show Users Avatar? - This option will display the users avatar on the homepage in the Welcome / Login block. Adds 1 Query |
Show New Posts? - When selected, this option will show a user the number of new posts since their last visit, along with a link to search for these new posts. Adds 1 Query |
Show Private Messages? - This option will display the number of new private messages a user has, along with a link to open their private message box. This will also enable the PM popup script on your homepage. |
Show Search Box? - This option will display a simple search box on your homepage to allow your users to easily search your forums. |
Show Users Buddylist? - This option will display the users buddylist on the homepage if they have any users in their buddy list. This option adds 1 query unless the Online Users block is also displayed, in which case the same query pulls both. |
Show Online Users? - This option will display a box of users that are currently online, along with the maximum number of users that were ever online at one time. This option adds 1 query unless the Buddy list is also displayed, in which case the same query pulls both. |
Show Stats? - This option will display stats such as the total number of members, posts, threads, your newest user, top poster, and today's birthdays. Adds 2 queries |
Show Welcome Box? - This option will display a box which allows users to log into your forums, or if the user is already logged in, it will display their avatar, new posts (if the options above are selected), and etc. With vBulletin 3's new navbar, some of this information is redundant, so there is now an option to turn this off. |
Show Navbar? - This option will display the vBulletin navigation bar across the top of your homepage. |
Creating More vBadvanced Pages |
We have made it very easy for you to create new pages for your site using vBadvanced Homepage. It's as simple as creating a new template, and then linking to a specific URL. If the link contains the name of a new page, the content for this new template will replace the center news section on your homepage. Here's a quick tutorial on how this works:
|
Updates from v1.01 to v1.1 |
The new features include:
Most every template has changed as well, so it may be necessary to revert your templates and re-apply any chnages you have made. |
Updates from v1.0 to v1.01 |
|
Updates from v1.0 RC3 to v1.0 |
|
Updates from v1.0 RC2 to v1.0 RC3 |
|
Updates from v1.0 RC1 to v1.0 RC2 |
|
Upgrading From 1.0, 1.01, RC2, or RC3 |
To upgrade from v1.01, v1.0, RC2, or RC3 to v1.1 please follow these steps:
|
Upgrading From RC1 |
To upgrade from RC1 it is recomended that you uninstall the script and re-install this version. |
Frequently Asked Questions |
Q. I get an error like this when I first try to install the script: Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/yoursite/html/adv_index.php on line 8
A.The path to your forums directory is set wrong. Create a file called info.php with the following content: |
Q. Now that I've installed this script I can't log out! A. Try clearing your cookies. If you're still having problems afterwards, edit your Cookie Domain (Under Cookies and HTTP Header Options in your vBulletin options section) and change that to ".yoursite.com" (note the two dots!). |
Q. How can I use my forum's normal header and footer instead of the index_header and index_footer? A. Edit your index template and replace $index_header and $index_footer with $header and $footer. Then you will need to edit your header template and change every link there to point to the full url to your forums (or you can just add $vboptions[bburl]/ in front of each one). |
Help & Support |
Before asking for support Please read the F.A.Q above! If you have any problems or questions that are not covered in the F.A.Q. please post them at vbadvanced.com or vbulletin.org in the vBadvanced Homepage thread. I will be more than happy to help in any way I can if the request for help is made there. Anyone trying to contact me via email, private message, or any other means will be ignored. |