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)

ff8_bomb 07-19-2003 03:27 PM

Quote:

07-13-03 at 02:16 AM assassingod said this in Post #40
How so Hostc? In vB3 it can be done via template edits, not vB2 though.
Please for the love of god answer my question above.

ImportPassion 07-24-2003 08:26 PM

anything yet?

assassingod 07-28-2003 10:51 PM

My sincere apologies for not sorting out any problems that any of you have using this. I will try to sort them out soon.

albibak 07-29-2003 07:02 AM

Thank for this hack

Nebby 07-29-2003 09:56 PM

this only appears to work on forums with the "more" links at the bottom =/

assassingod 07-29-2003 10:08 PM

What do you mean?

Akex 07-31-2003 08:56 PM

Great hack, it's seems it's working for me :)

assassingod 07-31-2003 09:06 PM

Thanks - Glad to hear it.:)

jwoodall.2 08-05-2003 01:07 AM

Ack, for some reason I dont have the first bit of code you recommend adding below:
Quote:

if ($thread[sticky] == 1) {
$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix];
}
What's my next step?

Closest thing I have is:
Quote:

if ($stickyids != '') {
$threadids .= $stickyids;

assassingod 08-05-2003 07:21 AM

What vB are you using? Have you tried search for 1 line in the code?

jwoodall.2 08-05-2003 01:01 PM

2.3.0, and yeah, I did -- but I can certainly try again.

assassingod 08-05-2003 02:01 PM

It worked fine on my 2.3.0, try again and tell me what happens

jwoodall.2 08-05-2003 02:11 PM

Well, as one of the hacks I've recently installed (only got 3 simple ones)... broke my admin functions (move/copy/lock, etc...)

And Steve recommended I back out the hacks, then reupload the php files if that didnt work.

Now my forum's down completely. :(

So, looks like I'm gonna have to wait on this one. :(

Mr. Brian 08-09-2003 11:32 PM

Dose this work with forum that have image added on the background? Or begin affected?

ImportPassion 08-10-2003 02:18 AM

Have the issues been sorted out? I really would like to add this to my forums.

assassingod 08-10-2003 06:57 AM

Quote:

Today at 04:18 AM 7thgenCivic.Com said this in Post #55
Have the issues been sorted out? I really would like to add this to my forums.
No, but when I tested I didn't find any problems. Tell me your problems and i'll try my best to sort them out.


Quote:

Today at 01:32 AM Matthew Lam said this in Post #54
Dose this work with forum that have image added on the background? Or begin affected?
I can guess there would be no problems.

Opie 08-11-2003 07:48 AM

Quote:

Yesterday at 02:57 AM assassingod said this in Post #56
No, but when I tested I didn't find any problems. Tell me your problems and i'll try my best to sort them out.
Yeah the whole thing about when you move a thread using the prefix "Moved:" it goes up by the stickies.

Oblivion Knight 08-11-2003 09:49 AM

Quote:

Yesterday at 08:57 AM assassingod said this in Post #56
No, but when I tested I didn't find any problems. Tell me your problems and i'll try my best to sort them out.
Did you ever find a fix for the seperate to work in forums without sticky threads, but with announcements?

assassingod 08-11-2003 10:50 AM

Not yet, but its not hard at all. I'll start a fix for it later.

assassingod 08-13-2003 06:32 PM

I've fixed why if there is no sticky, announcements don't show. So that is sorted.

I have to sort out why Moved threads appear above the line.

I will post the fix in a minute

assassingod 08-13-2003 06:38 PM

Here is the updated file, it contains most fixes for peoples problems. I am still currently doing the moved thread issue

shorty 08-13-2003 06:43 PM

Looking good mate! :D

Soon as you have that final bug fixed.. this is gonna be awesome!

Cheers for sticking at it ;)

Ps.. that MOTD you did for me is working like a charmer!

assassingod 08-13-2003 06:44 PM

Thanks. I've got quite a few hacks to finish fixing bugs for, haven't got round to it til now :cheeky:

(No problem;))

Oblivion Knight 08-13-2003 10:52 PM

It still doesn't appear to seperate announcements from threads if there are no sticky threads in a forum.. No other announcement modifications have been installed (I didn't re-add the mod in my 2.3.2 upgrade that I installed earlier by Xenon).

Demo:
http://www.umbrellaonline.co.uk/foru...php?&forumid=8

assassingod 08-14-2003 05:53 AM

Well I can defintly confirm that it works on my localboard. Are you sure you downloaded lastest install file and installed I correctly?

Oblivion Knight 08-14-2003 07:43 AM

Yes, the latest file added 2 extra steps to root/forumdisplay.php.

assassingod 08-14-2003 08:19 AM

There should be 3.
PHP Code:

#Find:
forumhome_moderator

#Replace with:
forumhome_moderator,forumdisplay_sepsai

#Find:
  
eval("\$announcement = \"".gettemplate('forumdisplay_announcement')."\";");

#Under, add:
         
eval("\$sepsai = \"".gettemplate('forumdisplay_sepsai')."\";"); 

#Find:
      
if ($thread[sticky] == 1) {
         
$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix];
      }


#Under, add:
      
if(!$addedRow and $stickyids and $thread[sticky] == and $addedRow true){ 
         eval(
"\$sepsai = \"".gettemplate('forumdisplay_sepsai')."\";"); 
      } else { 
         
$sepsai ''
      } 

Edit: Think I found the problem (curious how it worked on my localboard) working on a new fix now.

Oblivion Knight 08-14-2003 08:26 AM

Hence why i used the word "extra".. ;)

This step was done in the previous instructions:
PHP Code:

#Find: 
      
if ($thread[sticky] == 1) { 
         
$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix]; 
      } 


#Under, add: 
      
if(!$addedRow and $stickyids and $thread[sticky] == and $addedRow true){ 
         eval(
"\$sepsai = \"".gettemplate('forumdisplay_sepsai')."\";"); 
      } else { 
         
$sepsai ''
      } 


assassingod 08-14-2003 08:28 AM

Quote:

Today at 10:26 AM Oblivion Knight said this in Post #68
Hence why i used the word "extra".. ;)

This step was done in the previous instructions:
PHP Code:

#Find: 
      
if ($thread[sticky] == 1) { 
         
$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix]; 
      } 


#Under, add: 
      
if(!$addedRow and $stickyids and $thread[sticky] == and $addedRow true){ 
         eval(
"\$sepsai = \"".gettemplate('forumdisplay_sepsai')."\";"); 
      } else { 
         
$sepsai ''
      } 


I think I found the problem, working in a fix now

DeadGaze 08-20-2003 05:50 AM

nice organazational hack here man....thx for this

David Bott 08-20-2003 11:58 AM

Still looking to use this when fixed. ;)

assassingod 08-20-2003 12:01 PM

The latest download availible contains 1 bug, which is moved threads will appear over the line as well. Havent looked into it for a bit, will do soon:)

David Bott 08-20-2003 12:04 PM

Thanks....will wait. ;) AVS Forum has a lot of thread moves. ;)

assassingod 08-20-2003 12:06 PM

Ah right, well I will work on this ASAP

The Wise One 08-25-2003 03:56 AM

Quote:

07-03-03 at 09:51 PM gldtn said this in Post #23
Just to help those that didn't quite understand what they had to do with that code in oder to get it to mach your vB board..

On step 2 onto installing your SEPSAI hack change the following line:



quote:
<img src="https://vborg.vbsupport.ru/vbimages/clear.gif" alt="" width="1" height="1">



To:
quote:
<img src="/images/clear.gif" alt="" width="1" height="1">



..and that should use the clear.gif image in your's forum image dir . :banana:

assassingod

No problem..

greetings :)

ive tried the above fix but it didnt work. vb version 2.3.2

i still get the default color. i have installed this hack based on the updated file posted on page 5 of this thread. any ideas?

thanks in advance :)

assassingod 08-25-2003 05:13 AM

The vB style default colour?

The Wise One 08-25-2003 08:54 AM

Quote:

Today at 07:13 AM assassingod said this in Post #76
The vB style default colour?
sorry...still kinda new to this. here is a screenshot.

assassingod 08-25-2003 09:11 AM

Try this:

Code:

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

Replace 'hex' with your colour.

lasto 08-25-2003 11:52 AM

that bar in the middle that seperates em is ugly - can a space or a break not be added there instead ?

assassingod 08-25-2003 12:00 PM

You can really put anything you want. A <br> or <hr> tag.


All times are GMT. The time now is 04:19 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.01322 seconds
  • Memory Usage 1,831KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (10)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