![]() |
Seperate Announcments & Stickies from regular threads
[HIGH]Seperate Announcments & Stickies from regular threads[/HIGH]
Author: assassingod Description: This will seperate all announcments and stickies in all forums from regular threads. Screenshots: https://vborg.vbsupport.ru/attachmen...&postid=414561 [IMG]images/attach/txt.gif[/IMG]Download: https://vborg.vbsupport.ru/attachmen...&postid=425778 Tested on vB version: 2.3.0 [HIGH]Update 13/08/2003[/HIGH] Fixed most bugs - Check download link [hr=red][/hr] Add-ons - How to add images to the divider Quote:
Quote:
If you use this hack please click the INSTALL button - thank you! |
Screenshot:
|
I don't suppose there's a way to make the announcements go back above the sticky topics is there? Don't worry if not, it's not often I post announcements anyway.. ;)
|
There is a way, and I had it figured out earlier, IIRC its just messing around with the arrangment of the variables. I'll have another attempt at it later:)
|
nice hack!
/me installs |
Thank you:)
|
This rules. :rambo:
If you manage to find out how to get announcements above (for us slightly n00bie PHP/VB-ers). That would be top :D [high]* shorty hits install button[/high] |
This mod also seems to be seperating any new threads that are moved and have the "Moved: " prefix.. :ermm:
Screenshot attached. Note: I haven't moved the $announcement variable to forumdisplay_sepsai yet since I wanted the announcement to stay on top of my stickies.. Though this doesn't make a difference to this problem anyway. |
Ah right, I thought something like this might happen, never looked into it though.
I'll have a play with it later and see if i can fix it:) |
Thanks Assassin ;)
What variable did you move? Im lost :confused: |
shorty;
I will take a look at moving announcements to the top later on tonight, if that's alright with you:) |
Fine with me ;) Im just curious as Im in the n00b phase with PHP. Hacks I can install and generally nudge around if they aren't quite right but when it gets to this.. Im teh n00bness :alien:
|
awesome hack, saw this on someones board the other day and wanted it.. a few days later it apears! thx!!!
I modified mine a little bit because the seperator line colour was a bit too harsh. For those who want this change but don't know how to do it: Here's how to make it match your table header BG colour: Quote:
|
Quote:
cut: PHP Code:
PHP Code:
|
Quote:
Also, AXH, that wont work. Ive tried it and got a parse error (since you didnt mention you need a '}' after PHP Code:
And after I sorted that it stopped my hack from working. |
Any luck on annoucements above mate *hint hint* :laugh:
|
Quote:
Any chance it's conflicting with this hack by Xenon? https://vborg.vbsupport.ru/showthrea...threadid=40604 |
shorty;
Still working on it;) Oblivion Knight; Yes, I know, I installed my hack then moved a thread and it didnt move it to the top, strange:confused: Xenon's hack may be conflicting with mine, I havent used his but I will test it out later tonight. |
shorty;
To make announcements appear at the top, open up template 'forumdisplay_sepsai' and remove Quote:
Quote:
Quote:
I'll be adding this to the instructions:) |
Quote:
|
Everything seems to be working fine for me.. The annoucements are placed at the top and so forth.. My only problem is that it only separate the stuff from other topics if I have an Annoucement and a FIXED(sticky) thread together. If I only have an Annoucement it does not separate the annoucement alone.
Here is the annoucement on top w/ stickys'..: http://www.shroomsinbrazil.org/forum...php?forumid=11 Here is just the annoucement: http://www.shroomsinbrazil.org/forum...php?forumid=12 Great little hack by the way. |
AXH;
Well I got a parse error... gldtn; Hmmm, I just tested this locally, and my announcement disappeared. Very strange. I'll sort this out, among other problems later tonight. Thanks for bringing this to my attention:) |
Quote:
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:
Quote:
assassingod No problem.. |
Thanks gltdn, I thought I changed that because I was using {imagesfolder} but vB converted it to vB.orgs images folder & clear.gif.
I will work on the problems tomorrow night. |
i'm using my own verson of his hack, and it's working a charm :)
|
Good work assassingod !! :-d
|
Thanks Assassin!!
Very cool hack. Installed without any Problems on my 2.3.0!! [high]* Kars10 licks install! :) [/high] Kars |
Quote:
Hope you can track the final parts :) |
Thanks all:) I'll be sorting out the other problems later tonight
|
Looking forward to this hack being sorted out. :) Ready to install when ready on AVSFORUM.COM .
|
and I as well.
D |
Cool hack Assasingod!
Let's hope you can make the announcement threads to go with it aswell! |
Hi,
have you fixed the moved threads issue? Because i have the same problem now, and it looks horrible... http://forum.scooterforum.net/vbport...?s=&forumid=34 |
I've had a look into it, but I can't find any obvious reason why it's doing that. I am sure a little more hackin' is required so I will have another go later.
|
Any word? Nice hack, but at this point not 100% as it needs to be. :)
|
Quote:
Im also having this problem.. Stickies move up, and as long as they are there, announcements are up too. But when they arnt, announcements go back to being regular |
hey, its not working for me
|
is now, template problem :P
|
Why does this need file edits? Wouldn't it just require a template edit?
|
How so Hostc? In vB3 it can be done via template edits, not vB2 though.
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|