vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Global Announcements (https://vborg.vbsupport.ru/showthread.php?t=124329)

Marky 08-17-2006 10:00 PM

Global Announcements
 
Global Announcements
+ Current Version: 1.3 Beta 1
+ Created By: Marky


What is "Global Announcements"?
Global Announcements is a modification that adds an announcement to most pages on your vBulletin board!
It contains many different features to enhance your forum announcement!

Current Features
* Announcement Status - Turn your announcement On and Off.
* Announcement Title and Text Settings - Edit the title and text of your announcement, as well as the size, colour AND alignment of both!
* Usergroup Settings - Edit which usergroups see the announcement.
* "More..." Link Settings - Turn a "More..." link on and off, as well as editing what it says and where it links too.
* Collapsability + Switch - Turn collapsability of your announcement on and off.
* Border Thickness - Edit the thickness of your announcement border.
* HTML Ready - Ability to use HTML in your announcement

Beta Information

Because Global Announcements is in Beta 1 (vB 3.6), you must remember to use it at your own risk. However, this version is supported!

Support

Support on this modification, will be given at vBDiscussion.com AND in this thread!
You must remember to post any problems or bugs that occur whilst using this modification to help improve it!
If you have any suggestions, be sure to post them in this thread also!

Next Version?
The next version will be version 1.3 Beta 2. The current additional feature list is:

* BBCode Parsing (This includes Smilies) - The ability to use BBCode and smilies in your announcement!

Special Thanks

I'd like to give a Special Thanks to Zero Tolerance (Scot). He's been great in helping me with production and a great help with all things vB related! So Thanks :D!

Other Information

Be sure to click 'Install' if you have installed this modification!

Do you like this modification? If so, be sure to vote it this month's Modification of the Month!

This modification was created by Marky. It is for use on your forum and should only be available on vBulletin.org and vBDiscussion.com.
You may not edit, copy or re-distribute this modification in any way without Mark Spiers' permission.

Thanks,

Marky

Last Updated: 25th August 06

pauloo 08-18-2006 06:00 PM

Very good! Thanks

Work very well !

Snake 08-19-2006 10:11 AM

I shall install this on my other forums. Thank you, Marky! :)

EnIgMa1234 08-19-2006 01:15 PM

thx, nice hack

dudewtfdie 08-19-2006 01:22 PM

Thank you this will become very handy.

wii 08-20-2006 11:32 AM

Installed - works fine on 3.6

Had to delete an </if> at the bottom of the template, and edit the text size to small, but no problems.

pauloo 08-21-2006 05:08 PM

Yes, just one error in the template with </if>.

Edit template globalannounce

Find

PHP Code:

</if></if>
<!-- 
End Global Announcement Version 1.2 Created by Marky --> 

replace with:

PHP Code:

</if>
<!-- 
End Global Announcement Version 1.2 Created by Marky --> 

Thank you Marky

wii 08-22-2006 07:08 AM

Thanks pauloo for making the edit a little easier for everyone.

Marky 08-22-2006 09:08 AM

Quote:

Originally Posted by wii
Installed - works fine on 3.6

Had to delete an </if> at the bottom of the template, and edit the text size to small, but no problems.

Sorry about the extra if. I do tend to go if mad :p
Text size will be added into the next version.
And of course the extra If will be destroyed ;)

wii 08-22-2006 11:36 AM

Thanks

bigsbydapicka 08-23-2006 01:22 AM

Works Great. How can the font size be changed?

wii 08-23-2006 07:16 AM

That will be added in the next version.

Quote:

Originally Posted by bigsbydapicka
Works Great. How can the font size be changed?


wii 08-23-2006 07:37 AM

I just edited the template in mine to have the smallfont. I can show you where, if you like.

bigsbydapicka 08-25-2006 03:38 PM

That would really help!

Marky 08-25-2006 04:54 PM

Global Announcements Version 1.3 Beta 1 Released!
New features include:
* Bugs Fixes
* Title and Announcement Size Option Added
* Collapsability + Switch Added
* "More..." Edit option
* Usergroup Settings
* Box style uses style CSS
* Alignment options easier to use (Dropdown boxes)

Check it out and tell me what you think ^^

bigsbydapicka 08-25-2006 05:53 PM

Installed in 3.6.0 but Sizes do not change when changed in the ACP?? :surprised: Here's the end portion of my navbar. Is something amiss? I had 1.2 installed. I removed it and installed 1.3.

Brian

style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
$globalannounce
</if>

zafrir 08-25-2006 06:10 PM

Can I creat announcement with variables? I'm trying to creat a generic announcement that will appear in all subforums but will include the subforum name in it, putting it as global or parent forum.

thanks

zafrir 08-25-2006 06:40 PM

Sorry,

Installed, everything looks OK,
al menu options set,
but don't get any announcements:cross-eyed:

Marky 08-25-2006 08:37 PM

Quote:

Originally Posted by zafrir
Sorry,

Installed, everything looks OK,
al menu options set,
but don't get any announcements:cross-eyed:

Did you add $globalannounce to the navbar template?

Have you set the usergroup permissions?

Do you have the announcement switched to on?

Quote:

Installed in 3.6.0 but Sizes do not change when changed in the ACP?? Here's the end portion of my navbar. Is something amiss? I had 1.2 installed. I removed it and installed 1.3.

Brian

style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
$globalannounce
</if>
Not sure why that is...
Try putting the $globalannounce right at the bottom of the template.
I won't have time to look into any problems tonight, but tommorow, I will install the thing right from the start and test everything to see if it's all in order and I'll post an update if there is a problem.

bigsbydapicka 08-25-2006 08:54 PM

Everything works fine and everything configured as needs to be but the text size has no affect. I'll try and move to the very bottom.

bigsbydapicka 08-25-2006 08:57 PM

No Change. Font size remains the same.

pauloo 08-26-2006 08:53 AM

Nice ! thanks

Marky 08-26-2006 01:39 PM

Unfortunatly, I installed it on my Test board again and it works perfectly well...

If you'd like me to take a look personally, send me your MSN addy through PM and I'll take a look at the problem.

NoKz 08-26-2006 05:28 PM

Works great, thanks!

brvheart 08-31-2006 07:11 PM

will this be out of beta soon Marky?

azarl 09-01-2006 09:58 AM

Quote:

Originally Posted by Marky
Unfortunatly, I installed it on my Test board again and it works perfectly well...

If you'd like me to take a look personally, send me your MSN addy through PM and I'll take a look at the problem.

Sorry Marky, I get the same problem as Zaprhir, no announcement. Ytried placing it everywhere.

Marky 09-01-2006 06:58 PM

Quote:

Originally Posted by azarl
Sorry Marky, I get the same problem as Zaprhir, no announcement. Ytried placing it everywhere.

Send me your MSN if you have one and I'll have a go for you :)

Quote:

Originally Posted by brvheart
will this be out of beta soon Marky?

I'd like to get it working one people's forums first. I'd really like to take a look at azarl's forum because I'd like to know what the problem is.
I will then, once the bug is fixed, release a Version 1.3 Beta 2, this will include BBCode and smiley parsing, so you are able to use BBCode and Smilies in your announcement.

Then it will come out Beta. If you have any worries about installing the beta, and wish for me to install it for you, just send me a PM with your MSN and Ill do it for you :)

brvheart 09-01-2006 07:10 PM

works great for me :)

jazde86 09-03-2006 06:39 PM

1st, thanks!

2nd, please make it possible to define for every style individual font colours or the complete settings.

wii 09-04-2006 06:14 PM

Installed, and works, just 2 issues:

1. Fontsize should be in px or pt, so that it can match the forum fontsize.
2. Error in template:

Error Line 751 column 51: document type does not allow element "tbody" here.
<tbody id="collapseobj_forumhome_announce" style="">

azarl 09-07-2006 03:47 PM

Did you get a chance to have a look?

Nathan2006 09-20-2006 08:30 PM

Thank you Marky

Glad I upgraded to 3.61 now I can have this great hack:banana:

Install ;)

wii 09-21-2006 08:07 AM

It works great on 3.6.1

pds 10-01-2006 12:33 AM

How can I include all usergroups without typing them all in?

azarl 10-17-2006 03:10 PM

Quote:

Originally Posted by azarl
Did you get a chance to have a look?

.. no response despite 2 requests. Oh well.

JamieLee2k 10-20-2006 02:01 PM

I have this working on 3.6.2 perfectly and does everything I need to do, can you tell me how to add a url and a name instead of the full url showing?

I know in the old vb it used to be like this
Code:

[ url=http://www.yoursite.com/link.php]Your name[/ url]
Without the spaces above

JamieLee2k 10-20-2006 02:07 PM

Quote:

Originally Posted by azarl
.. no response despite 2 requests. Oh well.

Have you got it turned on in the options, it should work just add $globalannouncement to the bottom of navbar and your set to go, did you install the .xml file, if you get completely stuck try the Read-Me.txt file inclosed and then install it from scratch and remove all traces of the $globalannouncement.

I have installed this on 6 styles and never had a problem, What version do you have?

Thanks
JamieLee2k

azarl 10-22-2006 07:22 AM

Thanks JL2K, I'll give that atry Monday

tug? 11-02-2006 01:47 PM

I'd like to know how to do this too :)

Quote:

Originally Posted by JamieLee2k
I have this working on 3.6.2 perfectly and does everything I need to do, can you tell me how to add a url and a name instead of the full url showing?

I know in the old vb it used to be like this
Code:

[ url=http://www.yoursite.com/link.php]Your name[/ url]
Without the spaces above


UncoderMom 11-04-2006 02:43 PM

Since I installed this last week. I have NOT been able to stop using it!! Its a GREAT addition! and extreamly flexible!! It really gets ones attention!

WTG! MOTM!


All times are GMT. The time now is 01:44 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.01346 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (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
  • (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