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
Each Announcement shows as an extra thread in Forumdisplay Details »»
Each Announcement shows as an extra thread in Forumdisplay
Version: 1.00, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-02-2002 Last Update: Never Installs: 62
 
No support by the author.

Ok, this Hack shows each Announcement in forumdisplay, instead of just the newest one.
Also, if you make the Template-changes, you won't see all Announcements, if you click on just one.

Requested at vbulletin-germany.com

Should work with all vb2.2.x version, tested at 226 and 225

Show Your Support

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

Comments
  #42  
Old 04-13-2003, 07:02 PM
WEForums WEForums is offline
 
Join Date: Apr 2003
Location: Jacksonville, Florida
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strangely enough, in the edit "announcement.php" I cannot find most of the "find this" parts. I think I could only find the first one.

I am using 2.3.0...hmm...can't remember if I edited the announcement.php file or not...I don't remember doing it.
Reply With Quote
  #43  
Old 04-14-2003, 03:46 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think announcement.php has changed during the versions, for vb226 it worked.

you have to try to find similar parts in the code and apply the cahnges manually
Reply With Quote
  #44  
Old 04-30-2003, 02:23 PM
sraposa sraposa is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

exactly what i needed. my first installed hack and it took 15 minutes and worked immediately.

my only technical note is that i installed on 2.3.0 and noticed that there was a minor discrepancy in the instructions for hacking announcements.php:

the hack says to look for:
Code:

$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
  eval("standarderror(\"".gettemplate("error_nopermission")."\");");
  exit;
}
but my announcements.php showed:
Code:
$getperms=getpermissions($foruminfo[forumid]);
if (!$getperms[canview]) {
  show_nopermission();
}


looks like they cleaned up the code a little -- or maybe this has something to do with the skin i have installed? in any case, i rubbed a couple of brain cells together and simply added the new code below as instructed and it seems fine.

thanks!

-scott
Reply With Quote
  #45  
Old 04-30-2003, 07:59 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i know, it was a bugfix
at least i was the one who reported it

i'll update the instructions in the future time
Reply With Quote
  #46  
Old 05-01-2003, 05:59 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well ok, have updated the instructions today to fit vb2.3.0
Reply With Quote
  #47  
Old 05-01-2003, 06:46 PM
sraposa sraposa is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, on behalf of future hack installers, i thank you.

on a related note, i just realized today that many of the most popular hacks on this site don't officially support 2.3.0. i wonder why that is? is 2.3.0 that new? i guess it is, in the larger scheme of things. it's just odd that as a new vBulletin user, i come here and see that most of the activity seems to have somewhat died down when you get to the more recent versions of vB.

-s
Reply With Quote
  #48  
Old 05-01-2003, 06:52 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well at first, yes vb230 is really new

then second, the version number jsut means for which vb version the hack is written, but normally the also work with newer versions

you can't force every author to update every hack he releases whenever a new vb version is released
Reply With Quote
  #49  
Old 05-04-2003, 09:52 PM
OmaniMan OmaniMan is offline
 
Join Date: Nov 2002
Location: Oman
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really Wonderful ....

I was thinking about this hack since my friend wanted to add more than one annoucment as a seperate ...

wish you the best man
Reply With Quote
  #50  
Old 05-04-2003, 09:56 PM
GaleForce GaleForce is offline
 
Join Date: Sep 2002
Location: New York
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack! I was looking for something just like this
Reply With Quote
  #51  
Old 07-01-2003, 02:34 AM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect! Just what I was looking for. Much thanks.
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 12:02 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.05145 seconds
  • Memory Usage 2,302KB
  • 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
  • (2)bbcode_code
  • (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
  • (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