Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Seperate Announcments & Stickies from regular threads Details »»
Seperate Announcments & Stickies from regular threads
Version: 1.00, by assassingod assassingod is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-30-2003 Last Update: Never Installs: 84
 
No support by the author.

[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:
(Author bitg)
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="">
How to change the divider to a random image
Quote:
(Author bitg)

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

[high]Note:[/high] 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:

PHP Code:
$dividerimagenumber=rand(1,6);
$dividerimage="/divider/$dividerimagenumber.gif"
[high]Note:[/high] Modify the "divider" to be the name of the directory you created under {imagesfolder}.

[high]Note:[/high] 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>
[high]Note:[/high] 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.

If you use this hack please click the INSTALL button - thank you!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 10-07-2003, 05:33 PM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok
Reply With Quote
  #123  
Old 10-07-2003, 05:48 PM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm that was wierd it works now
Reply With Quote
  #124  
Old 10-07-2003, 05:51 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blakkboy
hmm that was wierd it works now
Good to hear
Reply With Quote
  #125  
Old 10-09-2003, 04:15 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to install this hack for my forums. However, i'd to hear about the following :

1. Is the bug with Moved threads fixed ?
2. In the divider space, can i have an standard banner 468x60 size. well, it will be the js invocation code from phpadsnew. Will that work ??
3. Does this conflict with Logician's Hack- Dynamic announcements...meaning, will they work fine seperately ??

Thanks much
Cheers
Reply With Quote
  #126  
Old 10-09-2003, 04:31 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no he can't fix the moved thread issue..
Reply With Quote
  #127  
Old 10-09-2003, 01:25 PM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Opie - He might just take some time.
I'll wait for the bug fix though.

Thanks for any replies to my above post !

Cheers
Reply With Quote
  #128  
Old 10-10-2003, 02:36 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PurpleCow:
(1)As of yet, no
(2)There is a guide for this somewhere in the thread
(3)They should both work fine together
Reply With Quote
  #129  
Old 10-11-2003, 03:12 PM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
(2)There is a guide for this somewhere in the thread
I read the whole thread, but i didn't find any mention about placing an advert ( standard banner ). I particularly would like to know, if i can place a Javascript invocation code ( phpadsnew ) ??

Thank you
Reply With Quote
  #130  
Old 10-11-2003, 04:35 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showpost.php?p=414560&postcount=1" target="_blank">https://vborg.vbsupport.ru/showp...60&postcount=1</a>

Check the add-ons
Reply With Quote
  #131  
Old 02-01-2004, 10:44 AM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on this hack?

:ermm:
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 03:20 AM.


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.04969 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete