vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Tri-Box (https://vborg.vbsupport.ru/showthread.php?t=120616)

King Kovifor 07-07-2006 10:00 PM

Tri-Box
 
This is the most versatile Tri-Box there is out there...

Install

Upload attached product. Modify the the vbulletin navbar template and add the following code at the very bottom:

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat" colspan="3" align="center">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('tribox')"><img id="collapseimg_tribox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_tribox].gif" alt="" border="0" /></a>
$vboptions[tribox_title]
        </td>
</tr>
<tbody id="collapseobj_tribox" style="$vbcollapse[collapseobj_tribox]">
  <tr align="center">
    <td width="28%" class="thead">$vboptions[tribox_col1_title]</td>
    <td width="44%" class="thead">$vboptions[tribox_col2_title]</td>
    <td width="28%" class="thead">$vboptions[tribox_col3_title]</td>
  </tr>
  <tr>
    <td width="28%" class="alt1">$vboptions[tribox_col1_content]</td>
    <td width="44%" class="alt2">$vboptions[tribox_col2_content]</td>
    <td width="28%" class="alt1">$vboptions[tribox_col3_content]</td>
  </tr>
</tbody>
</table>
<br />

Than all you have to do is edit the vBOptions category and you've got yourself a tri-use box! Screenshots below...

King Kovifor 07-08-2006 12:05 AM

Change Log
v1.0.0 - Initial Release

Murty 07-08-2006 01:26 AM

Can we have some more info to what a Tri-Box is please. Cos i have no idea, and i cant tell from the picture.

R-n-R 07-08-2006 03:58 AM

Maybe a suggestion on how to use it or a link to where it is being used, that would be great.

GrCh_Jeff 07-08-2006 04:38 AM

It is a three column box used to put info such as links, text, etc.I have installed and have had no problems.I use 3.5.3

Here is a preview of the admincp and a preview of It in use:

King Kovifor 07-08-2006 03:49 PM

Yep... What GRCH_jeff said. But you can view it in action at http://www.vbpatrons.com

noj75 07-08-2006 04:42 PM

Quote:

Originally Posted by King Kovifor
Yep... What GRCH_jeff said. But you can view it in action at http://www.vbpatrons.com

Hi,

I am interested in doing what you have done there. Could you show me how you did that. i.e what variables etc you used to pull that info.

Also what code would I have to use to put the last 5 posts into the center box.

Kindest regards.

Jon

King Kovifor 07-08-2006 04:53 PM

Quote:

Originally Posted by noj75
Hi,

I am interested in doing what you have done there. Could you show me how you did that. i.e what variables etc you used to pull that info.

Also what code would I have to use to put the last 5 posts into the center box.

Kindest regards.

Jon

Jon,

What do you mean you'd like to do something like this. As for latest posts, I'm not too sure...

noj75 07-08-2006 04:57 PM

Quote:

Originally Posted by King Kovifor
Jon,

What do you mean you'd like to do something like this. As for latest posts, I'm not too sure...

The way that you have pulled latest announcements etc into your TriBox.

King Kovifor 07-08-2006 04:59 PM

Quote:

Originally Posted by noj75
The way that you have pulled latest announcements etc into your TriBox.

Oh since the site doesn't post announcements a lot, I've hand typed that in. Through the ACP options...

Mythotical 07-09-2006 12:09 AM

I would the be one that will add the feature of pulling the latest 5 posts.

King Kovifor 07-09-2006 02:28 PM

Quote:

Originally Posted by Steve M
I would the be one that will add the feature of pulling the latest 5 posts.

It's yours to take a crack at...

Mythotical 07-09-2006 09:15 PM

Been doing that already, so far I got the code, but haven't tested yet, plan to do that once I finish this style.

King Kovifor 07-09-2006 10:08 PM

Quote:

Originally Posted by Steve M
Been doing that already, so far I got the code, but haven't tested yet, plan to do that once I finish this style.

Glad your already working on.

bashy 07-31-2006 05:40 PM

Hi m8

In the 3rd box (partners) any ideas on how to add a rotating banner in there?
Is this at all poossible, would you be able to integrate another hack to do this,
perhaps with options in the admincp to add the said banners...

Perhaps go 1 better, maybe there could be a link in that box that when click iit
takes the advertiser to another pager where they can automatically pay and add there image?

How doe this sound? Far fetched? or plauseable?

King Kovifor 07-31-2006 05:42 PM

far fetched for me.... but if you find a random banner rotator, you can use their code their.

bigdog829 07-31-2006 10:16 PM

Quote:

Originally Posted by King Kovifor
far fetched for me.... but if you find a random banner rotator, you can use their code their.


What could I change in the code to add a 4th box I have already have created the 4th box & changed all to 25% but I dont know what to change in the product to have an editable box in the acp.

If its not to much.

Thanks

bashy 08-01-2006 05:03 AM

Ok m8..was worth a try, I will have a look around..thanks anyway :)

Quote:

Originally Posted by King Kovifor
far fetched for me.... but if you find a random banner rotator, you can use their code their.


imnojunecleaver 08-01-2006 08:51 PM

Installed and working great! Thanks :)

King Kovifor 08-01-2006 09:22 PM

Quote:

Originally Posted by bigdog829
What could I change in the code to add a 4th box I have already have created the 4th box & changed all to 25% but I dont know what to change in the product to have an editable box in the acp.

If its not to much.

Thanks

Soon, I'm going upload you a product. All you'll have to do is edit your templates where your content/title is and add the following code;

FOR THE TITLE:

$vboptions[tribox_4_col]

FOR THE CONTENT:

$vboptions[tribox_4_col_content]

bigdog829 08-02-2006 06:22 PM

Quote:

Originally Posted by King Kovifor
Soon, I'm going upload you a product. All you'll have to do is edit your templates where your content/title is and add the following code;

FOR THE TITLE:

$vboptions[tribox_4_col]

FOR THE CONTENT:

$vboptions[tribox_4_col_content]

Thanks & sorry about the P.M.

King Kovifor 08-02-2006 11:55 PM

I never got to the product... hopefully by the end of the week.

Mythotical 08-06-2006 07:42 AM

I am attempting to add Latest 5 Threads pulled from the DB and an optional banner rotation system.

TechLack 08-07-2006 11:31 PM

installed and working smooth thanks :)

TotalTorque.net 04-26-2007 09:17 PM

Installed.

King Kovifor 04-27-2007 02:47 PM

Quote:

Originally Posted by TotalTorque.net (Post 1236090)
Installed.

Then mark it as installed. :)

TotalTorque.net 04-27-2007 08:38 PM

Oops! Done. :up:

Excellent little mod - thanks. :)

King Kovifor 04-29-2007 04:57 PM

I might update this for vB 3.6.5 and have cool features (Like latest threads)!


All times are GMT. The time now is 04:53 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
  • Page Generation 0.01162 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete