vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Seperate Announcments & Stickies from regular threads (https://vborg.vbsupport.ru/showthread.php?t=54930)

The Wise One 08-25-2003 08:53 PM

is there a way to make it transparent?

i added your bgcolor code and got the color to change to what ever i want it to be...but i was hoping to make that little section transparent so the background image would show thru.

i tried lasto's thought of a simple break or space...but im not exactly sure what the code should look like in the file. is it just a simple <br> tag that replaces what is in the custom template?

sorry...but im new to all of this stuff...

i do appreciate the help :)

assassingod 08-25-2003 08:55 PM

Yes, I am almost certain a <br> tag will work in the custom template. However I cannot test this due to some problems with my localhost (im running ancient PHP/Apache versions hehe)

The Wise One 08-25-2003 09:11 PM

Quote:

Today at 10:55 PM assassingod said this in Post #82
Yes, I am almost certain a <br> tag will work in the custom template. However I cannot test this due to some problems with my localhost (im running ancient PHP/Apache versions hehe)

ok do i insert the break tag in place of the code you have listed? or does it go somewhere inside of the code you have?

assassingod 08-25-2003 09:13 PM

Thinking about it, it may not work. But try it, open the template forumdisplay_sepsai and replace contents with <br>

(Dont think it will work due to the tables)

The Wise One 08-25-2003 11:32 PM

Quote:

Yesterday at 11:13 PM assassingod said this in Post #84
Thinking about it, it may not work. But try it, open the template forumdisplay_sepsai and replace contents with <br>


(Dont think it will work due to the tables)


you are correct. it doesnt work. but thanks :)

any other ideas? i really like how this looks and would like to get this worked out.

assassingod 08-26-2003 07:15 AM

I'll have a go at this later today:)

Mr. Brian 08-27-2003 08:48 PM

Thanks for the reply

Well, what i got was a Black colored background instead of the actual green.

Quote:

[i]08-10-03 at 04:57 PM assassingod

I can guess there would be no problems. [/B]

assassingod 08-27-2003 08:49 PM

What's your code?

Mr. Brian 08-27-2003 11:04 PM

You mean my forumdisplaybit?

Well,

Code:

$sepsai
<tr align="center">
        <td bgcolor="{firstaltcolor}"><img src="{imagesfolder}/$thread[newoldhot].gif" border="0" alt=""></td>
        <td bgcolor="{secondaltcolor}">$thread[icon]</td>
        <td bgcolor="{firstaltcolor}" align="left" width="70%"><normalfont>$thread[gotonew] $paperclip$thread[movedprefix]$thread[typeprefix]<a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]">$thread[title]</a></normalfont> <smallfont>$thread[pagenav]</smallfont></td>
and so on....


assassingod 08-28-2003 04:19 PM

Sorry, I meant for foumdisplay_sepsai template

Mr. Brian 08-28-2003 07:15 PM

Code:

<tr valign="top">
 <td colspan="10"><img src="{imagesfolder}/clear.gif" alt="" width="1" height="1" /></td>
</tr>

That should be it. :speechless:

Thanks in advance..

Mr. Brian 08-28-2003 08:34 PM

Well, I think I've got the answer... my table border color.. and that's the one!

How stupid am I as it took me weeks to clear this doubt..

thanks for your time anyway... :)

assassingod 08-29-2003 06:16 AM

Well glad you got it:)

Opie 08-29-2003 06:43 AM

Any fix for the Moved: issuse yet? I would really like to add this hack.

assassingod 08-29-2003 06:49 AM

Sadly I still haven't found an obvioud fix fort he moved issue, although I have some ideas, I will work on a fix soon:) (Today probably)

AmericanWoman 08-29-2003 07:06 PM

Anxiously awaiting both the moved threads and the announcements without stickies fixes, as this is a very nice hack to have for a board with at least 2 or 3 stickies in each forum!

Mr. Brian 09-03-2003 05:30 AM

Oops.. almost forgotten to click install. :speechless:

Quote:

08-29-03 at 04:16 PM assassingod said this in Post #93
Well glad you got it:)

Matthew *Click install*

David Bott 09-03-2003 11:00 AM

YEs...Still looking forward to this hack.

PixelFx 09-08-2003 08:48 PM

great hack,

I know someone prob did this, but I was updating my forum with vb 2.3.2. and made this small template change if anyone is interested :) works great :) good job!

Edit: Template "forumdisplay_sepsai" change contents to:

Code:


<tr valign="top">
 <td colspan="10" bgcolor="{tableheadbgcolor}"><img src="{imagesfolder}/clear.gif" alt="" width="1" height="1" /></td>
</tr>

basically I just added {tableheadbgcolor} with a bgcolor change, to make it fit any style :) again I didn't read the whole post so not sure if someone did this or not, but hope it helps.

Holidazed 09-08-2003 09:18 PM

assassingod, thanks for a wonderous and simple hack.

Somebody said earlier that the divider was a bit harsh and they offered a suggestion. what i ended up doing was using an image as my divider. This can be done by making the following change to your 'forumdisplay_sepsai' template.

Code:

$announcement
<tr valign="top">
 <td colspan="10"><img src="{imagesfolder}/clear.gif" alt="" width="1" height="1" /></td>
</tr>

Just change the "clear.gif" reference to the image you want to use. You must change the height and width settings to the height and width of the new image though. If you do not know what that is, just remove it. You would then use a line simular to the following:

Code:

<img src="{imagesfolder}/InsertYourFileNameHere.gif" alt="">
I took mine a step further. It pulls a random image out of a directory and displays it in the divider spot.

See the image I have provided for an example of how mine looks or you can goto http://www.dungeonkeepersdomain.com and look in any of the forums for a working example. Reload the page and see if the image changes.

If you want to know how to do this, follow these instructions.

Note: Do this only after you have successfully installed this hack.

Make a directory under your {imagesfolder} directory called "divider" or whatever you want to call it and put all your images that you wish to pull from in there. Name them "1.gif", "2.gif", etc...

Edit your "phpinclude" template and add the following to the bottom of it:

Code:

$dividerimagenumber=rand(1,6);
$dividerimage="/divider/$dividerimagenumber.gif";

Note: Modify the "divider" to be the name of the directory you created under {imagesfolder}.

Note: Change the (1,6) to 1,the number of images in your "divider" directory). If you 25 images in your divider directory, it would says (1,25);

Save the "phpinclude" template.

edit your "forumdisplay_sepsai" template.

Replace the default values from the hack in this template with the following:

Code:

$announcement
<tr valign="top">
 <td colspan="10" bgcolor="#000000" align="center"><img src="{imagesfolder}/$dividerimage" alt=""></td>
</tr>

Note: Change the bgcolor="#000000" to any color you like. You can type in a 6-digit hex code (if you know it) or just replace the "#000000" with "black" or "red" or whatever.

That is pretty much it. Now when you load up a page where this hack is necessary, it will pull a random image from the "divider" folder and display it.

David Bott 09-08-2003 09:20 PM

I am still waiting for it to work as needed. (or intended) :)

PixelFx 09-08-2003 09:50 PM

bitg nice idea,

I soppose if people wanted to they could add or banner script to that as well. Which would be easy as well :)

Holidazed 09-09-2003 01:07 AM

That was my plan for down the line on my site.

assassingod 09-09-2003 06:17 AM

bitg, very nice. If you don't mind i'll add this to the first post for people who want what you did:)

Opie 09-09-2003 06:41 AM

I think this should go into beta until it works correctly..

Holidazed 09-09-2003 12:27 PM

assassingod, I do not mind at all.

assassingod 09-09-2003 01:57 PM

Quote:

Today at 08:41 AM Opie said this in Post #105
I think this should go into beta until it works correctly..
It actually does work properly, but as with most hacks there are some bugs. I have only encountered 2, and 1 has been fixed

bitg, Thanks much!

assassingod 09-09-2003 03:25 PM

I've updated the first post. Thanks again bitg

gldtn 09-15-2003 06:01 AM

Assassingod,

The download link of the hack is broken.. can you fix it?

assassingod 09-15-2003 06:06 AM

How is it broken?

gldtn 09-15-2003 05:51 PM

I tryed downloading last night and I got an bronken link.. but now it went through ok... :)

assassingod 09-15-2003 06:02 PM

Good to hear.

blakkboy 10-07-2003 05:10 PM

i cant get this mod to work for me........ i edited the file exactly and i made the new template and edited the forum_dispaybit template, but yet it doesnt show a divider.....

assassingod 10-07-2003 05:12 PM

Quote:

Originally Posted by blakkboy
i cant get this mod to work for me........ i edited the file exactly and i made the new template and edited the forum_dispaybit template, but yet it doesnt show a divider.....

Haven't heard of this problem yet.

Are you sure you installed everything correctly?

blakkboy 10-07-2003 05:14 PM

im positive..... would you like me to post my forumdisplay.php and the edited template file???

assassingod 10-07-2003 05:18 PM

No, you can't post full vB files.

What other hacks have you installed that required editing forumdisplay.php?

Opie 10-07-2003 05:21 PM

Any lick on the "moved" issue?

assassingod 10-07-2003 05:24 PM

Quote:

Originally Posted by Opie
Any lick on the "moved" issue?

Nope. But IIRC I did try to fix it but never saw any obvious way to stop it. Sorry

blakkboy 10-07-2003 05:24 PM

ive done the:

avatar hack:subforums
lesane's storehack
template backup
no redirects
quick reply box

assassingod 10-07-2003 05:33 PM

Quote:

Originally Posted by blakkboy
ive done the:

avatar hack:subforums
lesane's storehack
template backup
no redirects
quick reply box

I can't see how any of those hacks will effect mine.

Try uninstalling the hack, then reinstalling it


All times are GMT. The time now is 07:40 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.01557 seconds
  • Memory Usage 1,826KB
  • 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
  • (7)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete