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)

MissKalunji 02-25-2006 04:54 AM

i got a slight problem..........when it pops and i try to close it it gives me a javascript error....

Logician 02-25-2006 07:17 AM

Quote:

Originally Posted by MissKalunji
i got a slight problem..........when it pops and i try to close it it gives me a javascript error....

Have you been using the hack in 3.0.x? If yes, please follow the instructions in the first post to remove old hack remants first, then reinstall the hack. This problem usually happens when 3.0.x templates are used in 3.5.x

MissKalunji 02-25-2006 12:19 PM

no i wasnt using it...

TTG 02-25-2006 02:32 PM

anyone got this working on 3.5.4 ?
Mine stopped working after the upgrade.

SaN-DeeP 02-25-2006 02:37 PM

thanks for the nice update logician works abosolutely perfect on 3.5.4, uninstallation from old 3.0.x went proper as well :)

May you have time to help apply this addon globally on all pages of forum ?
Its working great here: http://forums.techarena.in :nervous:

Regards,

MissKalunji 02-25-2006 02:38 PM

anyone can help me with the javascript error?

Logician 02-25-2006 08:48 PM

Quote:

Originally Posted by TTG
anyone got this working on 3.5.4 ?
Mine stopped working after the upgrade.

uninstall/reinstall product

Logician 02-25-2006 08:51 PM

Quote:

Originally Posted by MissKalunji
anyone can help me with the javascript error?

there is no javascript error with the default vb skin. However if you are using a custom skin, something might be clashing with your skin's HTML code. I think your webdesigner who designed the skin can help more on this.

bashy 02-25-2006 09:32 PM

I wonder if this is where i get my java script error then?
I am using this hack and also using a custom style....the style in question
is the mns7

TheMusicMan 02-26-2006 08:56 PM

Hi Logician

Is there a way of amending the default size of the edit box in the AdminCP that contains the text for the messages? It would be nice if I could increase the dimensions of that.

MissKalunji 02-26-2006 09:34 PM

Quote:

Originally Posted by Logician
there is no javascript error with the default vb skin. However if you are using a custom skin, something might be clashing with your skin's HTML code. I think your webdesigner who designed the skin can help more on this.

mine is doing it also in the default one also

ALL MY SKIN

tim356 02-27-2006 12:11 AM

After installing this hack, my navbar, categories and other gradient images aren't working. For some reason the hack has changed their location - it's looking for them in clientscript/vbulletin_css/images/gradients/gradient_thead.gif
instead of
images/gradients/gradient_thead.gif

Why is this? I've fixed the problem by moving the images/gradients folder to the clientscript/vbulletin_css folder, but I shouldn't have to do this.

MissKalunji 02-27-2006 03:45 AM

i figured it out i 4got to add one of the $ before </head>

Logician 02-27-2006 06:52 AM

Quote:

Originally Posted by tim356
After installing this hack, my navbar, categories and other gradient images aren't working. For some reason the hack has changed their location - it's looking for them in clientscript/vbulletin_css/images/gradients/gradient_thead.gif
instead of
images/gradients/gradient_thead.gif

Why is this? I've fixed the problem by moving the images/gradients folder to the clientscript/vbulletin_css folder, but I shouldn't have to do this.

Make sure you installed correctly. If necessary, remove the hack and then reinstall.

TheMusicMan 02-27-2006 07:03 AM

Hey Logician...

Did you see my qn in post #250? Ta.

Also - if I want the announcement to show on other vB pages, can I add the code to other templates such as the navbar or searchresults templates? I'd love for the table annuncement to appear elsewhere on my site too.

Cheers.

Logician 02-27-2006 07:38 AM

Hack of hack to make it appear in all vb pages.

IMPORTANT NOTE:This hack is originally designed to display the hack announcement in FORUMHOME PAGE ONLY! And I'm only supporting the hack when it is used in the way it is designed. However many users asked how they can make the hack announcement appear in other vb pages too so I'm sharing how to do this. BUT : this is not tested good enough by me, nor do I have time to test it so if you are changing how the original hack works by applying the instructions below, you are on your on if a problem comes up. I dont support the hack anymore when the instructions below are applied. If it does not work as expected, use the original hack.

TheMusicMan 02-27-2006 08:02 AM

oK thanks for this... and the question in post #250...?

SaN-DeeP 02-27-2006 02:46 PM

Quote:

Originally Posted by Logician
Hack of hack to make it appear in all vb pages.

IMPORTANT NOTE:This hack is originally designed to display the hack announcement in FORUMHOME PAGE ONLY! And I'm only supporting the hack when it is used in the way it is designed. However many users asked how they can make the hack announcement appear in other vb pages too so I'm sharing how to do this. BUT : this is not tested good enough by me, nor do I have time to test it so if you are changing how the original hack works by applying the instructions below, you are on your on if a problem comes up. I dont support the hack anymore when the instructions below are applied. If it does not work as expected, use the original hack.

thanks logician,
gonna try this out now :nervous:

Thieutje 02-28-2006 01:14 PM

After the installation is done !, the SHOUTBOX is placed ABOVE the announcement ...

I can't get to change it ..

Is it possible to have it placed ABOVE shout box ????

Anyone ?

D.Ilyin 03-01-2006 05:56 AM

Quote:

Originally Posted by Thieutje
After the installation is done !, the SHOUTBOX is placed ABOVE the announcement ...

I can't get to change it ..

Is it possible to have it placed ABOVE shout box ????

Anyone ?

./admincp/options.php?null=0
vBShout Options - vBShout Position - Above Forums

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.

El-Gazaly 04-17-2006 01:29 AM

Great hack and could be very useful ....downloaded and installed ...
Thanks

fatxy 04-29-2006 12:00 AM

installed! great hack, like it

maybe a turn on/off would be nice for future builds

vauge 04-30-2006 04:33 PM

How do I get rid of the box if I only want to show conditional annoucements?

Thanks!

SaN-DeeP 05-05-2006 11:13 PM

Hi there,
Vague question but is it possible to have different setups for different usergroups ?
Having Global Annoucements for some usergroups while having only forumhome annoucements for some usergroups :)

Thanks.

VTXCafe.com 05-11-2006 05:22 AM

Quote:

Originally Posted by SaN-DeeP
Hi there,
Vague question but is it possible to have different setups for different usergroups ?
Having Global Annoucements for some usergroups while having only forumhome annoucements for some usergroups :)

Thanks.


That is possible and the instructions are in Logicians first post.

paul41598 05-11-2006 12:42 PM

Is there a conditional to test if the user has a profile pic or not? If not, display a msg to remind them to upload one ;)

I cant find the bbuserinfo part its stored in

Logician 05-11-2006 01:47 PM

Quote:

Originally Posted by paul41598
Is there a conditional to test if the user has a profile pic or not? If not, display a msg to remind them to upload one ;)

I cant find the bbuserinfo part its stored in

I agree that this would be a perfect conditional but unfortunately there is no way to do it without a "hack". :)

esfan38 05-14-2006 07:18 PM

Does anyone know if it's possible to easily allow moderators to add announcements via the modcp? Do you think this is even a good idea to let mods make announcements? Certainly mods can use the built-in announcements.

Coach_Guru 05-21-2006 02:28 AM

How to insert external links in the announcement and popup?

If i use <a href="www.externalsite.ext"</a> the result is www.the url of my site.ext/www.externalsite.ext

Thanks.

kushal 05-21-2006 05:39 PM

You can use the external link as <a href="http://www.externalsite.ext">Externalsite</a>
It will show Externalsite


All times are GMT. The time now is 03:42 AM.

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.01532 seconds
  • Memory Usage 1,826KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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