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)
-   -   Global Announcements (https://vborg.vbsupport.ru/showthread.php?t=104714)

Treak 03-16-2006 01:58 AM

how do you add this to the admin cp so that way instead of going to vb options i can just go to Global Announcements edit or whatever?

Marky 03-16-2006 06:02 AM

I feel that because it doesn't have too many options it's best to keep the options in there. Also I think you must use FTP access to do that, I like to keep my modifications clean and really simple to install.

Todd123 03-21-2006 11:07 PM

Installed and working great :classic:. *Clicks Install*

GoodKarmaKid 03-26-2006 04:06 AM

Great Hack

Super easy to install.

Is it possible to change the position of the global announcement? I'd like to place it between the Navigation bar and the forum description if possible.

https://vborg.vbsupport.ru/external/2006/03/5.jpg

Marky 03-26-2006 09:17 AM

Hmm Ill look into it tonight. It's a nice idea - and if I ever get round to making the modification into announcements in selected forums, I'll definatly put it in there ;)

As I said Ill look into it and get back to you :p

GoodKarmaKid 03-30-2006 04:26 AM

Like I previously mentioned I like it a lot. Thanks for the nice work.


It might be nice to add a little checkbox to make the link "open in a new window" as an option

Marky 03-30-2006 01:05 PM

Quote:

Originally Posted by GoodKarmaKid
Like I previously mentioned I like it a lot. Thanks for the nice work.


It might be nice to add a little checkbox to make the link "open in a new window" as an option

Nice idea - In the next version, you will be able to edit how the window opens (i.e. _blank etc)

Alien 03-30-2006 05:12 PM

Quote:

Originally Posted by Marky
Yup don't worry - Im working on a vB Support forum quite like vBulletin.org. Once the site is up, I will be updating practically all my modifications and start making more :)

Hey.

Don't know how I missed your reply.. So you will be updating at some point to allow multiple styles? Brilliant, Smithers! :D

I will definitely use this then.

Marky 03-30-2006 05:34 PM

Quote:

Originally Posted by Alien
Hey.

Don't know how I missed your reply.. So you will be updating at some point to allow multiple styles? Brilliant, Smithers! :D

I will definitely use this then.

Indeed :) This modification is second on my to-do-list once the site is up ;)

Alien 03-30-2006 07:07 PM

Killer!

almqdad 03-31-2006 12:05 PM

hello
after upgrading to 3.5.4 Global Announcements dissappeared
it does not work any more I tried to remove it and reinstalled
but no luck

any chance for upgrade

thanks

GoodKarmaKid 03-31-2006 10:12 PM

3.54 isn't the isssue, because I am running global announcements with 3.54 no problem.

Something else must have gone awry.

almqdad 04-01-2006 12:29 AM

Hi
but the problem only startrd after I upgraded the forum to 3.5.4
I tried reistalling it just does not work
what a pitty

Marky 04-02-2006 09:18 AM

May I ask how you upgraded your forum? Also when you uninstalled Global Announcements - did you fully delete everything? (i.e. navbar edits, product deletion etc.)

---MAD--- 04-05-2006 07:55 PM

i think you should have a ^ arrow so you can minimize the annoucements window.
It gets annouying when its in the way all day.

Marky 04-06-2006 06:18 AM

Quote:

Originally Posted by MAD_PLayEr1
i think you should have a ^ arrow so you can minimize the annoucements window.
It gets annouying when its in the way all day.

So you wish for collapsable tops? :)
Good idea! Next version ;)

Pathor 04-14-2006 02:31 PM

Quote:

</table>
<br />
</if></if>
<!-- End Global Announcement - Version 1.2 - Created by Marky -->
The 2nd if-tag is redundantly. ;)

|oR|Greg 04-20-2006 02:00 PM

Quote:

Originally Posted by MAD_PLayEr1
i think you should have a ^ arrow so you can minimize the annoucements window.
It gets annouying when its in the way all day.

You mean like mine?

http://www.limmac.org/

|oR|Greg 04-20-2006 02:10 PM

Here is my code for the globalannounce template.

Please note that I changed some of the thickness of the cells as well as the classes to display the way I wanted it. Changes are in GREEN.
Code:


<if condition="$vboptions[global_status] && $vboptions[global_announce] != ''">

<table class="tborder" cellpadding="1" cellspacing="1" border="{$vboptions['global_border']}" width="100%" align="center">
<tr>
<td class="tcat">
<a href="#top" style="float:$stylevar[right]" onclick="return toggle_collapse('global_announcements')">
<img id="collapseimg_global_announcements" border="0" src="$stylevar[imgdir_button]/collapse_tcat.gif"/></a><center>LIMMAC Global Announcements</center>
</td>
</tr>

<tbody id="collapseobj_global_announcements" style="$vbcollapse[collapseobj_global_announcements]">

<tr>
<td class="thead" align="{$vboptions['global_title_align']}">

        <a href="{$vboptions['global_title_link']}"><font color="#{$vboptions['global_title_colour']}">{$vboptions['global_title']}</font></a>
                </td>
        </tr>
        <tr>
<td class="alt2" align="{$vboptions['global_text_align']}">
        <font color="#{$vboptions['global_text_colour']}">{$vboptions['global_announce']}  <if condition="$vboptions[global_menu_by]"><a href="{$vboptions['global_title_link']}">More...</a></if></font>
                </td>
        </tr>


</tbody>


</table>
<br />
</if>


kellee88 04-21-2006 05:24 PM

We are having so much fun with this hack. The members love it. We call it Global Wisdom and change the saying daily. Thank you for this great hack.

See here.

Marky 05-02-2006 06:45 PM

Quote:

Originally Posted by kellee88
We are having so much fun with this hack. The members love it. We call it Global Wisdom and change the saying daily. Thank you for this great hack.

See here.

Hehe great news :)
I'll be implementing the collapsable option in the next update which will be when my site is up and running, which unfortunatly might be a little longer as im waiting for the skin to be coded :p

By the way Kelee, I noticed the title of your Global Wisdom is still linking to MgArcade.com - you can take it off if you wish, i won't sue lol

|oR|Greg 05-03-2006 01:43 PM

Marky, I suggest also adding the documentation for vBAdvanced display that I provided?

Marky 05-03-2006 02:26 PM

Quote:

Originally Posted by |oR|Greg
Marky, I suggest also adding the documentation for vBAdvanced display that I provided?

Yeah I will, if you don't mind ;)
When I update my modifications, I will be including a totally new manual for all modifications, so it is even easier to install and understand etc. ;)

|oR|Greg 05-03-2006 07:09 PM

Mark, here is a MUCH easier and better way to do it that I just realized.

Anyone that wants to add this to the vBAdvanced home page

AdminCP > vbaCMPS > Default Settings > Portal Output Global Variables

add:

globalannounce

Marky 05-04-2006 05:53 PM

Quote:

Originally Posted by |oR|Greg
Mark, here is a MUCH easier and better way to do it that I just realized.

Anyone that wants to add this to the vBAdvanced home page

AdminCP > vbaCMPS > Default Settings > Portal Output Global Variables

add:

globalannounce

lol thanks, I've not tried this out yet but I will do and release it into next version of it ;)

Caiman 05-07-2006 04:44 PM

This is great, thanks a lot.

Stop 05-08-2006 01:52 PM

works like a charm.

|oR|Greg 05-10-2006 04:33 PM

Marky, something that has been bothering me is that it won't display if for instance a user clicks on the "New Posts" button, and returns no new posts. But it shows on all the other search pages... any idea why?

GlobalFusion 05-11-2006 11:54 AM

*installed*

works great. :)

Eric 05-17-2006 12:12 AM

*installed

Very nice, thanks :)

SHalliday 05-19-2006 06:06 PM

"Click Installed"

Thank you for such a great hack! Extremely easy to install and works right out of the box. Very nice. Been using for awhile now on our forums and it works beautifully.

Does everything I need except it does not have an option to allow me to select whether to display globally or just on forumhome. Sometimes that can be very handy depending on what type of announcement you are making. No big deal but thought I would mention it for future consideration.

In any case, fantastic hack and thank you again!

Gizmo999 05-19-2006 08:24 PM

I'm trying to add it to a friends vbadvanced portal, it works fine on the forums but not the portal :( where do I need to put the code??

Konstantinos 05-19-2006 08:43 PM

i modified it a bit cause i wanted the text and title color to match my styles

Code:

<!-- Global Announcement - Version 1.2 - Created by Marky -->
<if condition="$vboptions[global_status] && $vboptions[global_announce] != ''"><if condition="$bbuserinfo[userid] != 0">
<table class="tborder" cellpadding="6" cellspacing="1" border="{$vboptions['global_border']}" width="100%" align="center">
        <tr>
<td class="tcat" align="{$vboptions['global_title_align']}"><span class="normal">{$vboptions['global_title']}</a>
                </span></td>
        </tr>
        <tr>
<td class="alt2" align="{$vboptions['global_text_align']}"><span class="normal">{$vboptions['global_announce']}  <if condition="$vboptions[global_menu_by]"><a href="{$vboptions['global_title_link']}">More...</a></if></font>
                </span></td>
        </tr>
</table>
<br />
</if></if></if>
<!-- End Global Announcement - Version 1.2 - Created by Marky -->


Marky 05-24-2006 06:43 PM

Quote:

Originally Posted by SHalliday
"Click Installed"

Thank you for such a great hack! Extremely easy to install and works right out of the box. Very nice. Been using for awhile now on our forums and it works beautifully.

Does everything I need except it does not have an option to allow me to select whether to display globally or just on forumhome. Sometimes that can be very handy depending on what type of announcement you are making. No big deal but thought I would mention it for future consideration.

In any case, fantastic hack and thank you again!

Hey,

This feature may be in the next version, I'll try my best ;)

Quote:

Originally Posted by Gizmo999
I'm trying to add it to a friends vbadvanced portal, it works fine on the forums but not the portal where do I need to put the code??

Sorry, since I don't use vBAdvanced, I don't know how it's system works. I shall take a look for you and get back to you on how to put it on. Thanks,

Marky

Gizmo999 05-24-2006 08:05 PM

Thanks Marky, look forward to the reply.

Marky 05-25-2006 06:40 AM

I know how to do it for Menu control - my other mod - maybe you do the same...

So, try this:
Add:

globalannounce

to 'Portal Output Global Variables'.

Thanks,

Marky

Gizmo999 05-25-2006 08:55 AM

Quote:

Originally Posted by Marky
I know how to do it for Menu control - my other mod - maybe you do the same...

So, try this:
Add:

globalannounce

to 'Portal Output Global Variables'.

Thanks,

Marky

thanks, it worked perfectly.

KubisForce 05-25-2006 05:38 PM

Thanks - this is a nice hack. But I would need it with a function so that I can have the text according to the selected language because I ran a multilanguage board.

Would that be possible?

arindra 05-25-2006 09:44 PM

thanks , i just installed it :) very very simple to do :)

Marky 05-27-2006 10:48 AM

Quote:

Originally Posted by KubisForce
Thanks - this is a nice hack. But I would need it with a function so that I can have the text according to the selected language because I ran a multilanguage board.

Would that be possible?

Not sure but i'll look into it for you :) It may be a possibility...

Quote:

Originally Posted by arindra
thanks , i just installed it very very simple to do

Great stuff :) Enjoy!


All times are GMT. The time now is 04:27 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.01637 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (14)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