vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I do this.... (https://vborg.vbsupport.ru/showthread.php?t=168737)

Greeksgal 01-26-2008 12:01 AM

How do I do this....
 
See the area in the red box, how do I get this kinda thing, the little "boxes" to show up?

http://i148.photobucket.com/albums/s...i12/tables.jpg

Thanks x

Greeksgal 01-28-2008 02:33 AM

Anyone?! :(

Dismounted 01-28-2008 05:44 AM

HTML Code:

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
    <td width="33%">
        <table width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" class="tborder">
        <tr>
                <td class="tcat">Title 1</td>
        </tr>
        <tr>
                <td class="alt1">Column 1</td>
        </tr>
        </table>
    </td>
    <td>&nbsp;</td>
    <td width="33%">
        <table width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" class="tborder">
        <tr>
                <td class="tcat">Title 2</td>
        </tr>
        <tr>
                <td class="alt1">Column 2</td>
        </tr>
        </table>
    </td>
    <td>&nbsp;</td>
    <td width="33%">
        <table width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" align="center" class="tborder">
        <tr>
                <td class="tcat">Title 3</td>
        </tr>
        <tr>
                <td class="alt1">Column 3</td>
        </tr>
        </table>
    </td>
</tr>
</table>


Greeksgal 01-28-2008 04:13 PM

Thank you for responding, tis much appreciated.....but...I'm not sure where to put the html code, any idea?

misuse 01-28-2008 07:02 PM

Styles & Templates > Style Manager >
Next to the style you are editing click <<>> to expand templates
Forum Display Templates > FORUMDISPLAY

Add the code after this
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar
ADD CODE HERE


Greeksgal 01-28-2008 07:09 PM

Ahh, ok, I figured out that it goes on the FORUMDISPLAY template.

EDIT: Thanks misuse, I think we posted at the same time, lol

I know I change the Title to my own, but can anyone tell me how to make the column names into working links?

I tried with the url tags but it just showed up as text including the tag and nothing was clickable.

slappy 01-28-2008 08:18 PM

Using the "view source" on the Sims 2 Community Forums:

http://forums.sims2community.com/?styleid=2

The actual code appears to be:

Code:


<!-- / NAVBAR POPUP MENUS -->

<table cellspacing="0" cellpadding="0" width="100%" align="center">
<tr>
<td width="25%" style="padding-right: 4px" valign="top">

<table class="tborder" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<thead>
        <tr>
        <td class="tcat" style="padding: 6px">Latest Featured&nbsp;Contest</td>
</thead>
<tbody style="">
<tr>
<td class="alt2" style="padding: 6px">
<strong><a href='/showthread.php?t=51383'>The Ultimate Maxis Sim Makeover - Strangetown Edition-Winner Announced</a></strong><br /><em>by TLAWBLIQUE360</em>
</td>
</tr>
</tbody>
</table>

</td>
<td width="25%" style="padding-right: 4px" valign="top">

<table class="tborder" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<thead>
        <tr>
        <td class="tcat" style="padding: 6px">Featured&nbsp;Story</td>
</thead>
<tbody style="">
<tr>
<td class="alt2" style="padding: 6px">
<strong><a href='/showthread.php?t=8337'>I love Llama</a></strong><br /><em>by Elyssa</em>
</td>
</tr>
</tbody>
</table>

</td>
<!--
<td width="25%" style="padding-right: 4px" valign="top">

<table class="tborder" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<thead>
        <tr>
        <td class="tcat" style="padding: 6px"></td>
</thead>
<tbody style="">
<tr>
<td class="alt2" style="padding: 6px">

</td>
</tr>
</tbody>
</table>

</td>
-->
<td width="25%" valign="top">

<table class="tborder" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<thead>
        <tr>
        <td class="tcat" style="padding: 6px">Featured&nbsp;Movie</td>
</thead>
<tbody style="">
<tr>
<td class="alt2" style="padding: 6px">
<strong><a href='/showthread.php?t=27741'>Sim Remake of Papa Roach's &quot;Between Angels and Insects&quot;</a></strong><br /><em>by FireAzor</em>
</td>
</tr>
</tbody>
</table>

</td>
</tr>
</table>

<br />


It would appear that they have a Mod or Plug-in which lets them designate the "Featured Contest", "Featured Story," and Featured Movie. If you click any of those Links, you will see that they have additional boxes above the designated content which say:

"This is a featured thread! It showcases the best talent on Sims 2 Community. "

The code of that addition, which appears to be in the showthread template, as seen in view source is:

Code:

<!-- / NAVBAR POPUP MENUS -->

<center>
<p align="center" style="width:75%; padding: 4px; border: 1px solid black; background:light blue; font-weight:bold; text-align:center">
This is a featured thread!  It showcases the best talent on Sims 2 Community.
</p>
</center>


I did a search here using "featured thread" and found several Threads which describe modifications to install such a capacity. I haven't taken the time to try to determine which one they might be using, or whether or not it is a private, homegrown version. They are running a fairly old version of the software. Their Homepage indicates v 3.0.7.

Looking at the code which makes the listing of each of the "Featured" items a link is an
Code:

<strong><a href='/showthread.php?t=XXXX'>Title of Thread</a></strong><br /><em>username</em>

[EDIT] Taking a quick look at the various "Featured Thread" Hacks, it might well be: "AJAX Feature / Unfeature Thread Hack", which is listed for the software version that Site is running. It puts a button in the Thread View to Feature or UnFeature a Thread. The last Post, from 1/23/08, reports it is not working in 3.6.8!

Regards,


All times are GMT. The time now is 07:09 AM.

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.01529 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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