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)

CongTuDepTrai 03-01-2006 11:58 PM

I have 2 question

is this work with forumID? because i wanna se annoucement for each forumID, not only on FORUMHOME

can we setup different announcement for different forumID?

kira 03-06-2006 02:12 AM

Many many thanks for this awesome and extremely integral addon. Used this in vb2 and am delighted to continue now that I'm finally moving to vb 3.5.4. Thank you again, Logician!

dcpaq2xx 03-25-2006 03:47 PM

Quote:

Originally Posted by silurius
What are the big differences between this and the Welcome headers hack?

Group,

Is it possible that Logicians mod here can take the place of and or out do Ted's mod?

Id like to know if I should be using both mods or just this one or using only Ted's mod?

Can someone help shed some light on this for me, I am undecided on what I should do.

Alot of this has to do with where do i like the announcements being displayed, such as in above or below the nav bar such as in the header or just above the forums.

Thanks

Doug

dcpaq2xx 03-25-2006 08:11 PM

Logician,

How about adding a radio button or something within the admin control panel to disable the default Vbulletin "first_visit_message" phrase to keep us from having to manually edit or delete any code?

Would you be willing to do this for us? or me?

Also Id like to make a suggestion to have more boxes added to the acp so we can seperate things according to categories or something, instead of everything being all in one box.

Thanks

Doug

dcpaq2xx 03-25-2006 08:34 PM

Is there a way that I can add my conditional messages like below but also be able to seperate each message with a line and what the message does without it showing up on the forums?

------------Begin Welcome Guest-----------
[[($bbuserinfo[usergroupid]==1)]]Message would be here.[[/($bbuserinfo[usergroupid]==1)]]
--------------End Welcome Guest-----------

For some reason the Begin and End Welcome Guest and lines show up, how can I do this and have them not show up.

Thanks

Doug

dcpaq2xx 03-26-2006 01:52 AM

Group,

What would the IF command be for a user who has NEVER made a post?

What would the IF command be for a user who has registered but has not had their email address confirmed yet?

What would the IF command be for a user who hasnt made a post within a certain period of time?

I ask these as I didnt see these covered in the examples by Logician.

Thanks

Doug

d8tabyte 03-26-2006 12:38 PM

I seen this hack with a fade in box that contained quick registration, how would I go about this?

I saw it on http://www.talkinto.com/forums/index.php? and I really like the idea - I have seen the code pasted here earlier for a fade box, but I am not sure if that is a separate hack or what....

anyone?

d8tabyte 03-28-2006 02:09 AM

Anyone? It seems they don't have the fade in on that site any more.. - but the code that matches is here in this post - https://vborg.vbsupport.ru/showthrea...ade#post851299

Any ideas?

NemoTech 04-02-2006 12:37 PM

Okay I have this working on forumdisplay. I'd like to have announcement on 3 different forums. $forumid == (5, 208, 12). I can go into my template(FORUMDISPLAY) and make adjustments in there. But ideally I'd like to make changes from the "dynamic announcements options".

I am wondering can I do something like this...
[[($bbuserinfo[usergroupid]==6)] and ($forumid=='80')]
MY ANNOUNCEMENTS!!!!
[[/($bbuserinfo[usergroupid]==6)] and /($forumid=='80')]

If I can get this working, I'll be able to have multiple announcements - different announcements for different forums!!! - Which would be ideal!!!

NemoTech 04-02-2006 01:18 PM

<if condition="(in_array($forumid, array(2,4)))">
annoucement
</if>

Multiple forums.


All times are GMT. The time now is 07: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.01534 seconds
  • Memory Usage 1,741KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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