Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-29-2002, 03:07 AM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Break up categories and posts?

I wanted to add images to my categories and posts. But first I have to separate the categories and posts.

I did that and have a problem I was wondering if someone would know how to fix this. The categories came out fine but the post didn't. You can see I have a header and footer with rounded corners. But this wasn't a problem on the main page breaking up the categories.

The posts after I separate them have green behind them instead of white. Here are the sreenshots.

Thanks
Attached Images
File Type: gif screenshotcat.gif (17.8 KB, 0 views)
Reply With Quote
  #2  
Old 09-29-2002, 10:07 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

install this template mod to break up your posts (by me as well lol):
Attached Files
File Type: txt install3.txt (747 Bytes, 25 views)
Reply With Quote
  #3  
Old 09-29-2002, 10:20 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

let me know if it works ok

Regards

- miSt
Reply With Quote
  #4  
Old 09-29-2002, 12:14 PM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work! Here is the screenshot I noticed you had an image called mainbg.gif . I don't think I have that image!



Postbit Below
==============================================

<table bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="750" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont> <a href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]"><img src="images/findnew.gif" border="0"></a><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]<br>
$post[donation]<br>$onlinestatus</smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" height="100%" valign="top">
<table width="100%" border="0" cellpadding="0" align="left" height="100%">
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top"><p><normalfont>$post[message]</normalfont></p></td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" >$post[signature]</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" align="left" valign="top" height="8">$post[editedby]</td>
<td bgcolor="$post[backcolor]" align="right" valign="top" height="8"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="#000000">$post[posttime]</font></smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>
$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="images/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Reply w/Quote"></a>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>

<!--added-->
<table align="center">

<td bgcolor=""#FFFFFF" background="images/mainbg.gif"" width="100" height="10" align="center"></td>

</table>
<!--/added-->
Attached Images
File Type: gif screengrn2.gif (31.6 KB, 0 views)
Reply With Quote
  #5  
Old 09-29-2002, 05:04 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm weird...

*investigates*

- miSt
Reply With Quote
  #6  
Old 09-29-2002, 06:25 PM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

investigates ??????????? are you investigating


Nice logo
Reply With Quote
  #7  
Old 09-30-2002, 11:36 AM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #8  
Old 09-30-2002, 04:10 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in your DEFAULT looking postbit find this:

PHP Code:
<!-- spacer --></td><td width="10"><img width="10" height="1" src="{ imagesfolder}/space.gif" alt=""></td></tr></table
Note: { imagedfolder{ wont have the gap...

then under it add this:

PHP Code:
<!--added--> 
<
table align="center"

<
td bgcolor="{ pagebgcolor}" width="100" height="10" align="center"></td

</
table>
<!--/
added--> 
__________

Note: { imagedfolder} and { pagebgcolor} wont have the gaps...
__________

I dont know where you got the mainbg.gif from unless u have a image as your page background???

- miSt
Reply With Quote
  #9  
Old 10-01-2002, 12:19 AM
Dan Flynn's Avatar
Dan Flynn Dan Flynn is offline
 
Join Date: Nov 2001
Location: Crown Point, IN
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mist,

Here's what happened. The last thing you posted didn't work. It break the posts but doesn't fix the problem.

The post with the hack in it by Xipoid says to put the following in the footer and header. That worked but messed up my rounded corners on the bottom.

===========================================
Tweak!
There were threads where users complained about the breaking showing up the page bground color instead of the main table background color. I fixed this on my new style by putting eveything in the header & footer in 1 new main table. Please keep in mind that if you have other designs etc, this might screw it up, but it works here.. so enjoy
header - at the top add :
<center>
<table bgcolor="#FFFFFF" width="100%" cellpadding="10" cellspacing="0" border="0"><tr><td>
footer - at the bottom add :
</td></tr></table></center>
Maybe it helps you too.
==============================================

So I played around and put Xipoid code and put it at the top of postbit and at the bottom of postbit and it works

I hope that helps someone.

I do have a new and probably simpler problem. I posted a screen shot of it.

How do I resized the dark green table smaller or make the whole postbit are larger to even up. Also at the bottom my quick reply box/table and similar threads tables are the same as the dark green table at the bottom of the page.

I need to go smaller with them or larger with the postbit area.

Thanks for you help
Attached Images
File Type: gif screen.gif (13.0 KB, 0 views)
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05469 seconds
  • Memory Usage 2,282KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete