vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Notices Q (https://vborg.vbsupport.ru/showthread.php?t=221650)

Daisyboo 08-24-2009 01:29 PM

Notices Q
 
Is it possible or is there a mod where you can have a notice that pulls the first 100 (for example) letters from a post or thread?

Lynne 08-24-2009 01:53 PM

I have not seen a notice mod that does that.

Daisyboo 08-24-2009 01:54 PM

Thanks Lynn, is there anything at all that would be similar? Wouldn't have to be a notice.

Lynne 08-24-2009 02:40 PM

There may be a mod to grab the latest post/thread and post it at the top of a forum. I'm not really sure though. Try a search on "latest*" or "post" or "thread" in "all mods" "titles only" and you may find something.

Daisyboo 08-24-2009 03:03 PM

Hmmm nothing that I can find.
I'm using a notice and will manually add the text, is there a way of having it show permantly to everyone unless they dismiss it?
I want it to show to all usergroups and guests but don't want to have to add todays date everyday.

James Birkett 08-24-2009 03:09 PM

"Display this notice if user does not belong to usergroup Banned Users" will show to everyone except banned users (who won't really log in if they're banned anyway).
When a notice is shown, 2 hooks are also called:
notices_check_start
notices_noticebit

You could probably use them hooks to create a plug-in that displays that notice every day.

Lynne 08-24-2009 03:10 PM

Just show it to all users with a post count between 0 and 1000000 (or something like that). Or all users who don't belong to usergroup Banned or Not Logged In.

Daisyboo 08-24-2009 05:19 PM

Thanks both :)

I've no idea how to create plug ins - Lynn is that possible to do?

Lynne 08-24-2009 05:47 PM

A plugin to do what? I thought your last post was asking how to leave a notice up and I think I answered that - no plugin required.

James Birkett 08-24-2009 06:05 PM

If you set a notice to "Dismissable" it is up permanently until the user dismisses it anyway.


All times are GMT. The time now is 12:31 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.00955 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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