Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2008, 12:01 AM
Greeksgal Greeksgal is offline
 
Join Date: Jul 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?



Thanks x
Reply With Quote
  #2  
Old 01-28-2008, 02:33 AM
Greeksgal Greeksgal is offline
 
Join Date: Jul 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?!
Reply With Quote
  #3  
Old 01-28-2008, 05:44 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #4  
Old 01-28-2008, 04:13 PM
Greeksgal Greeksgal is offline
 
Join Date: Jul 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for responding, tis much appreciated.....but...I'm not sure where to put the html code, any idea?
Reply With Quote
  #5  
Old 01-28-2008, 07:02 PM
misuse misuse is offline
 
Join Date: Apr 2003
Location: San Diego, CA USA
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 01-28-2008, 07:09 PM
Greeksgal Greeksgal is offline
 
Join Date: Jul 2006
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 01-28-2008, 08:18 PM
slappy slappy is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:35 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.03592 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete