vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=97073)

K!nG 08-30-2011 07:50 PM

I know very well this mod isn't at all for vb 4 .... i am really looking for something like this for my 4.1.5 vb and i thought to give it a try to see if it works ... but after doing everything i get this error on my forumhome... If anyone can figure out or the coder himself wants to help in this one . i will really appreciate that. Thanks
This is the error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: dfh_announcement in [path]/includes/functions.php on line 4183
$dfh_announcement_headercode $dfh_announcement_popup $header $navbar $dfh_announcement

Logician 09-04-2011 06:58 AM

Quote:

Originally Posted by K!nG (Post 2240119)
I know very well this mod isn't at all for vb 4

Main reason this hack was never ported to vb4 is vb4 comes with notice management which is VERY similiar to this hack. So doesn't vb4's notice system work for you?

borsafoni 09-10-2011 10:47 AM

does it work with 4.1.5?

Logician 09-11-2011 08:06 AM

Quote:

Originally Posted by borsafoni (Post 2244219)
does it work with 4.1.5?

Read post above you.

Geek Specialtie 03-15-2012 10:16 PM

I wan to show a message for Registered users (usergroup 2) but not if they have the additional usergroup 9.

This is what I have but it's not working. It's showing for all in usergroup 2 if they also have usergroup 9 or not.

[[($bbuserinfo[usergroupid]==2 AND $bbuserinfo[usergroupid]!=9)]]

Logician 03-16-2012 07:17 AM

Quote:

Originally Posted by Geek Specialtie (Post 2309880)
I wan to show a message for Registered users (usergroup 2) but not if they have the additional usergroup 9.

This is what I have but it's not working. It's showing for all in usergroup 2 if they also have usergroup 9 or not.


[[($bbuserinfo[usergroupid]==2 AND $bbuserinfo[usergroupid]!=9)]]

Not tested but I believe this should work:

[[($bbuserinfo[usergroupid]==2 AND !is_member_of($bbuserinfo, 9))]]

Geek Specialtie 03-16-2012 07:44 PM

Quote:

Originally Posted by Logician (Post 2309964)
Not tested but I believe this should work:

[[($bbuserinfo[usergroupid]==2 AND !is_member_of($bbuserinfo, 9))]]

Thanks for the quick reply.
That is not working either. The message is not showing for anybody with that conditional.

Any other ideas?

Coop56 07-15-2012 09:16 PM

Is there any way to get this to work with vBulletin 4? If not, is there a similar plugin/mod that will do this?

brycea 09-20-2012 02:02 AM

<a href="http://www.healthcommunity.co" target="_blank">HealthCommunity.co</a>

I need more members to participate in the forums. I know that you have forgotten more than most people will ever know about coding, how about a break.

Bryce

Logician 09-20-2012 07:55 AM

Guys you are aware that vbulletin 4 has a built-in feature called "Notices" which is nearly identical to this hack, right?

brycea 09-20-2012 12:11 PM

HealthCommunity.co

https://vborg.vbsupport.ru/external/2012/09/16.jpg

Earliar dis yeer i couldnt spell weebmaster, now i r one!

xPonyx 09-27-2012 05:17 AM

Quote:

Originally Posted by Logician (Post 2366929)
Guys you are aware that vbulletin 4 has a built-in feature called "Notices" which is nearly identical to this hack, right?

I'm using an announcements mod on my phpbb board. It's got a simple interface from the ACP, and allows moderators without coding/html skills to type text, hit bold/italic/underline, choose a color, and then preview before submitting on the board. Also adjustable per usergroup.

I'm really kinda surprised that I haven't seen one for vB, in looking around this evening. And the "Notices" isn't nearly as nice or functional.


All times are GMT. The time now is 05: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.01419 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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