Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 06-29-2003, 08:53 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack works well if you have some stickies on your forum (as shown in the attachment on my forum) but if you don't have any, it don't work (i.e. you have an announcement that you want seperated off.)

I did see another template edit on this forum to give the announcements there own feel, i might do this, but would prefer to keep it as it where, but with the line showing up

(i hope you understood all that?)
Attached Images
File Type: jpg theice.jpg (247.0 KB, 0 views)
Reply With Quote
  #12  
Old 06-29-2003, 08:55 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

attached is an image of a forum with an announcement but no stickies

(PS, what do you think of the colours? i know it looks very vB.org, but i've not finished yet)
Attached Images
File Type: jpg theice2.jpg (209.9 KB, 0 views)
Reply With Quote
  #13  
Old 06-29-2003, 09:01 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Daniel;
Yeah, just noticed this. There is a simple way around it but I wont be able to do it 'til tomorrow, since I have to go to bed in a minute

Btw, colour look cool
Reply With Quote
  #14  
Old 06-29-2003, 09:12 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking foward to it, no hurry, the sites not being released for another week or so
Reply With Quote
  #15  
Old 06-30-2003, 04:13 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, i've done it. Only problem is, the announcment sticks to the bottom if you have both an announcment and sticky. I can either give you the instructions for that or give me some time later to sort it out. Can't do it now since im goin' out with a girl in a minute
Reply With Quote
  #16  
Old 06-30-2003, 04:33 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's OK, i think i'll edit the announcements templates to make them look diffrent from the rest of the page (like here is a good one) and then use this to seperate the stickies from the rest of the page.

if i'm correct this will look for stickes -> display them -> show the line -> then display the rest of the page - right? it's not like dependant on the announcements or anything?

it might be good to see your code anyway, but i think i'll stick to what I've got above.

Quote:
Today at 06:13 PM assassingod said this in Post #15
Can't do it now since im goin' out with a girl in a minute
woah? a girl, ive not had one of them for near 3 years now
Reply With Quote
  #17  
Old 06-30-2003, 04:36 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool. Yes that is how the code works

I gotta go now
Reply With Quote
  #18  
Old 07-01-2003, 07:48 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates assassingod?
I've JUST installed a mod by Xenon showing each announcement in it's own thread, but this rendered the template mod useless since it added a line after EVERY accouncement (doing it my way editing forumdisplay_announcement).

So I've now switched to your forumdisplay.php mod and any help having the line in a forum with no stickies but does have announcements would be useful..
Reply With Quote
  #19  
Old 07-01-2003, 08:02 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oblivion Knight
Obviouly i can't answer for assassin, but i think the latest code hack looked for stickies, displayed them, displayed the line, then displayed the rest of the page.

While announcements was meant to be part of the formula, it didn't quite work :knockedout: So i bypassed this bit and decided to use the seperator for stickies/normal posts and change the view of announcements insted (see pic attached).

Personally i'm not a huge fan of the way announcements works which i think is why i'm not too fussed about the code not working quite as it should, but if you use them a lot then you might want to see his alternative code hack (if he comes back and posts it).

assassingod
I highly recomend that you release this as a hack, it's not much, but it's enough to make a big diffrence to someones forum.

good on ya fella
Reply With Quote
  #20  
Old 07-01-2003, 02:09 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oblivion Knight;
Ninth Dimension is correct for what he said

Ninth Dimension;
The new code is simply editing the forumdisplay_sepsai template, and adding
Quote:
$announcment
to the top of it, then removing
Quote:
$announcment
from forumdisplay_threadslist

As for releasing it, I might as well
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:39 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
  • Page Generation 0.04431 seconds
  • Memory Usage 2,277KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete