Some mods for VB-3.7

pmt

New Member
1st mod!!! All Albums - vBulletin.org Forum


2nd mod: Site Life Status - vBulletin.org Forum

Site Life Status for vB3.7
Version 1.0.3
(By Boofo)

What does this product do?
This product will add a Site Life Status info area, including Site Startup Date, Site Age and a Pagehits counter to your forumhome What's Going On box.

Version Information:
Version 1.0.1 --Initial release for vB3.7
Version 1.0.2 --Fixed changed variable in the template manual edit code.
Version 1.0.3 --Added phrases for counter. Now fully phrased.

NOTE: You will need to uninstall any previous version and do a clean install of 1.0.3 to upgrade.

Credits:
A big thank you goes out to Shawn Dean for supplying the javascript code for the Site Age counter.

Installation overview:
Products to install: (1)
Templates to edit: (1) - Optional
Files to Upload: (2)
Images to upload (1)

Installation Instructions:
1. Upload the forumhome_pagehits.txt file to your domain root directory.

2. Upload life_status.gif to the images/misc folder on your site.

3. Upload site_life.js to the clientscript folder on your site.

4. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-site_lifestatus.xml file on your computer

5. Go to your Admin CP
Step 3: Go to your Admin CP -> vBulletin Options -> Help Site Life Status and set the following options:
--Site Life Status Enable: Enable/Disable the Site Life Status.
--Site Life Status Startup Date: Enter your site startup date.
--Site Life Status Automatic Template Replace: Click yes to have the template automatically edited.
--Site Life Status Pagehits File Path: Enter the DOCUMENT_ROOT path for the forumhome_pagehits.txt file.

If you don't know what your DOCUMENT_ROOT path is, go to the Admin CP and in the left column look for:

'Maintenance -> View PHP Info -> Apache Environment -> DOCUMENT_ROOT' and you should see something like this:

/home/boofo/public_html

So the line you would enter for this setting would be:

/home/boofo/public_html/forumhome_pagehits.txt

Substituting the path you found for your site.

NOTE: You must chmod 777 the forumhome_pagehits.txt file so it can be written to when updating the pagehits.

NOTE: You are done unless you opted to do the manual template install. If you chose Site Life Status Automatic Template Replace, there is no need to do the manual template edit in the install file.

and 3rd mod: Banner Rotator - vBulletin.org Forum



Thanks
 

Hoxxy

New Member
http://www.vbteam.info/vb-3-7-x-addons-template-modifications/5013-all-albums-2-2-a.html

http://www.vbteam.info/vb-3-7-x-addons-template-modifications/4682-site-life-status.html

BANNER ROTATER:
How can i install? (Time to install: 1 minute if you are fast enough )
- Unzip the package and upload the content of the "upload" folder to your forum directory.
- Install product-brotator.xml
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:

PHP:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

replace it to:
PHP:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

Refresh your admincp index and Banner Rotator menu should appear!
 
Top